@wildo-ai/wildo-cli 1.1.5 → 1.1.6
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 +62 -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 +35 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +63 -9
- 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/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.map +0 -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/__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.map +0 -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/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.map +0 -1
- 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/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.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.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.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.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.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.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.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.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.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.map +0 -1
- 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/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.js +0 -61
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- 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.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-assets-delivery.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/application-assets-delivery.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,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,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QAChG,MAAM,CAAC,gCAAgC,CAAC,4BAA4B,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;IAClG,CAAC,CAAC,CAAC;IAEH;;;;;OAKG;IACH,EAAE,CAAC,sEAAsE,EAAE,GAAG,EAAE;QAC9E,MAAM,QAAQ,GAAG,gCAAgC,CAAC,4BAA4B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACjG,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;QAChD,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC;QAClE,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, describe, expect, it } from 'vitest';\nimport { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { tmpdir } from 'node:os';\nimport {\n ApplicationAssetsDeliveryService,\n APPLICATION_DOCS_TARGET_RELATIVE,\n APPLICATION_TEMPLATES_TARGET_RELATIVE,\n} from '../application-assets-delivery.service';\n\nconst tempDirectories: string[] = [];\n\nfunction writeFile(path: string, content: string): void {\n mkdirSync(join(path, '..'), { recursive: true });\n writeFileSync(path, content, 'utf8');\n}\n\n/** An application with `@wildo-ai/framework-knowledge` installed the way pnpm lays it out. */\nfunction makeApplication(withKnowledge: boolean): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-assets-app-'));\n tempDirectories.push(root);\n writeFile(join(root, 'wildo.saas.config.ts'), 'export default {};\\n');\n writeFile(join(root, 'package.json'), '{ \"name\": \"@probe/root\", \"private\": true }\\n');\n if (withKnowledge) {\n const pkg = join(root, 'node_modules', '@wildo-ai', 'framework-knowledge');\n writeFile(join(pkg, 'package.json'), '{ \"name\": \"@wildo-ai/framework-knowledge\", \"version\": \"9.9.9\" }\\n');\n const dist = join(pkg, 'dist', 'knowledge');\n writeFile(join(dist, 'skills', 'INDEX.md'), '# Router\\n');\n writeFile(join(dist, 'skills', 'resource-authoring', 'SKILL.md'), '---\\nname: resource-authoring\\ndescription: x\\n---\\nImport from @wildo-ai/saas-models.\\n');\n writeFile(join(dist, 'rules', 'schema-awareness.md'), '# rule\\n');\n writeFile(join(dist, 'references', 'saas.models.resource.md'), '# ref\\n');\n writeFile(join(dist, 'topic-index.json'), '{\"topics\":[]}\\n');\n writeFile(join(dist, 'playbooks', 'x', 'playbook.json'), '{}\\n');\n }\n return root;\n}\n\nfunction makeAssetsRoot(): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-assets-root-'));\n tempDirectories.push(root);\n writeFile(join(root, 'wildo-framework.info.json'), '{\"name\":\"wildo-ai\",\"version\":\"9.9.9\"}\\n');\n writeFile(join(root, 'templates', 'saas', 'skeleton', 'wildo.saas.config.ts.hbs'), '// {{slug}}\\n');\n writeFile(join(root, 'templates', 'saas', 'scenarios', 'add-website', 'scenario.json'), '{}\\n');\n writeFile(join(root, 'templates', 'infra', 'docker-compose', 'x.hbs'), 'not a saas template\\n');\n return root;\n}\n\ndescribe('ApplicationAssetsDeliveryService', () => {\n afterEach(() => {\n for (const directory of tempDirectories.splice(0)) rmSync(directory, { recursive: true, force: true });\n });\n\n it('delivers the three homes from the installed packages, and only templates/saas from the assets root', () => {\n const app = makeApplication(true);\n const assets = makeAssetsRoot();\n // A stale mirror entry must not survive: the templates lane is a full replacement.\n writeFile(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'stale', 'old.hbs'), 'stale\\n');\n\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: assets });\n\n expect(result.templates.status).toBe('delivered');\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'skeleton', 'wildo.saas.config.ts.hbs'))).toBe(true);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'scenarios', 'add-website', 'scenario.json'))).toBe(true);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'stale'))).toBe(false);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'infra'))).toBe(false);\n\n expect(result.docs.status).toBe('delivered');\n expect(readFileSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'references', 'saas.models.resource.md'), 'utf8')).toBe('# ref\\n');\n expect(existsSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'topic-index.json'))).toBe(true);\n // Playbooks stay package-loaded, never mirrored — the orchestrator's contract.\n expect(existsSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'playbooks'))).toBe(false);\n\n expect(result.skills.status).toBe('delivered');\n expect(existsSync(join(app, '.claude', 'skills', 'resource-authoring', 'SKILL.md'))).toBe(true);\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n expect(ApplicationAssetsDeliveryService.readInstalledPackageVersion(result.knowledgePackageRoot)).toBe('9.9.9');\n });\n\n it('delivers templates and reports the knowledge lanes as waiting for an install when the package is absent', () => {\n const app = makeApplication(false);\n const assets = makeAssetsRoot();\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: assets });\n expect(result.templates.status).toBe('delivered');\n expect(result.docs).toEqual(expect.objectContaining({ status: 'skipped' }));\n expect(result.skills.detail).toContain('pnpm install');\n expect(result.knowledgePackageRoot).toBeNull();\n });\n\n it('skips the templates lane with a reason when no framework-assets root resolved', () => {\n const app = makeApplication(true);\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: null });\n expect(result.templates.status).toBe('skipped');\n expect(result.skills.status).toBe('delivered');\n });\n});\n\n/**\n * Installed is not connected (#886). The skills lane copies the rules into `.claude/rules/` AND wires\n * an import block into the application's `CLAUDE.md`; only the second makes them a loader reaches.\n * The sync service reported when that second step could not happen, this lane dropped the report,\n * and `wildo assets sync` printed delivered counts as though the guidance were connected. Three\n * cases, and the counts stay true in all three — the warning is what the counts do not prove.\n */\ndescribe('ApplicationAssetsDeliveryService — the rule imports travel with the skills lane (#886)', () => {\n it('reports installed rules with NO loader when the application has no CLAUDE.md, and still counts the files', () => {\n const app = makeApplication(true);\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.detail).toContain('1 rule(s) NOT connected');\n expect(result.skills.warning).toContain('No CLAUDE.md');\n expect(result.skills.warning).toContain('have no loader');\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n });\n\n it('reports a rule-import update that FAILED, naming the file, and still counts the installed files', () => {\n const app = makeApplication(true);\n // A directory where the file belongs: readable as a path, unreadable as a file, so the import write fails.\n mkdirSync(join(app, 'CLAUDE.md'), { recursive: true });\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.warning).toContain('Could not update the rule imports');\n expect(result.skills.detail).toContain('NOT connected');\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n });\n\n it('carries no warning and states the connected import count when CLAUDE.md is present and updated', () => {\n const app = makeApplication(true);\n writeFile(join(app, 'CLAUDE.md'), '# App\\n');\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.warning).toBeUndefined();\n expect(result.skills.detail).toContain('1 rule(s) imported by CLAUDE.md (updated)');\n expect(readFileSync(join(app, 'CLAUDE.md'), 'utf8')).toContain('schema-awareness.md');\n // A second delivery finds the block current and says so, rather than claiming an update it did not make.\n expect(ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() }).skills.detail).toContain('(already current)');\n });\n});\n\ndescribe('ApplicationAssetsDeliveryService.describeFrameworkVersionSkew', () => {\n it('is silent when the CLI and the installed knowledge package agree, or when either is unknown', () => {\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', '1.1.2')).toBeNull();\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew(null, '1.1.2')).toBeNull();\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', null)).toBeNull();\n });\n\n /**\n * A hand upgrade that bumps the application's `@wildo-ai/*` pins and re-runs `assets sync` does\n * not replace the CLI. The templates and the platform image tag travel with the CLI, so the\n * application then runs 1.1.3 on templates from 1.1.2 — and until this warning existed, nothing\n * said so (issue #278 review, 2026-09-06). The remedy is `wildo update`, which moves both.\n */\n it('names both versions and the `wildo update` remedy when they disagree', () => {\n const sentence = ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', '1.1.3');\n expect(sentence).toContain('this CLI is 1.1.2');\n expect(sentence).toContain('@wildo-ai/framework-knowledge 1.1.3');\n expect(sentence).toContain('wildo update --to 1.1.3');\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"application-assets-delivery.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/application-assets-delivery.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClG,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,qCAAqC,GACtC,MAAM,wCAAwC,C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BAA4B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QACnG,MAAM,CAAC,gCAAgC,CAAC,4BAA4B,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;QAChG,MAAM,CAAC,gCAAgC,CAAC,4BAA4B,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;IAClG,CAAC,CAAC,CAAC;IAEH;;;;;OAKG;IACH,EAAE,CAAC,sEAAsE,EAAE,GAAG,EAAE;QAC9E,MAAM,QAAQ,GAAG,gCAAgC,CAAC,4BAA4B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACjG,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;QAChD,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,qCAAqC,CAAC,CAAC;QAClE,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, describe, expect, it } from 'vitest';\nimport { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { tmpdir } from 'node:os';\nimport {\n ApplicationAssetsDeliveryService,\n APPLICATION_DOCS_TARGET_RELATIVE,\n APPLICATION_TEMPLATES_TARGET_RELATIVE,\n} from '../application-assets-delivery.service';\n\nconst tempDirectories: string[] = [];\n\nfunction writeFile(path: string, content: string): void {\n mkdirSync(join(path, '..'), { recursive: true });\n writeFileSync(path, content, 'utf8');\n}\n\n/** An application with `@wildo-ai/framework-knowledge` installed the way pnpm lays it out. */\nfunction makeApplication(withKnowledge: boolean, withClaudePlugin = true): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-assets-app-'));\n tempDirectories.push(root);\n writeFile(join(root, 'wildo.saas.config.ts'), 'export default {};\\n');\n writeFile(join(root, 'package.json'), '{ \"name\": \"@probe/root\", \"private\": true }\\n');\n if (withKnowledge) {\n const pkg = join(root, 'node_modules', '@wildo-ai', 'framework-knowledge');\n writeFile(join(pkg, 'package.json'), '{ \"name\": \"@wildo-ai/framework-knowledge\", \"version\": \"9.9.9\" }\\n');\n const dist = join(pkg, 'dist', 'knowledge');\n writeFile(join(dist, 'skills', 'INDEX.md'), '# Router\\n');\n writeFile(join(dist, 'skills', 'resource-authoring', 'SKILL.md'), '---\\nname: resource-authoring\\ndescription: x\\n---\\nImport from @wildo-ai/saas-models.\\n');\n writeFile(join(dist, 'rules', 'schema-awareness.md'), '# rule\\n');\n writeFile(join(dist, 'references', 'saas.models.resource.md'), '# ref\\n');\n writeFile(join(dist, 'topic-index.json'), '{\"topics\":[]}\\n');\n writeFile(join(dist, 'playbooks', 'x', 'playbook.json'), '{}\\n');\n /* The `wildo` Claude Code plugin beside the knowledge (#1651); a package older than it has none. */\n if (withClaudePlugin) writeFile(join(pkg, 'dist', 'claude-marketplace', '.claude-plugin', 'marketplace.json'), '{\"name\":\"wildo\"}\\n');\n }\n return root;\n}\n\nfunction makeAssetsRoot(): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-assets-root-'));\n tempDirectories.push(root);\n writeFile(join(root, 'wildo-framework.info.json'), '{\"name\":\"wildo-ai\",\"version\":\"9.9.9\"}\\n');\n writeFile(join(root, 'templates', 'saas', 'skeleton', 'wildo.saas.config.ts.hbs'), '// {{slug}}\\n');\n writeFile(join(root, 'templates', 'saas', 'scenarios', 'add-website', 'scenario.json'), '{}\\n');\n writeFile(join(root, 'templates', 'infra', 'docker-compose', 'x.hbs'), 'not a saas template\\n');\n return root;\n}\n\ndescribe('ApplicationAssetsDeliveryService', () => {\n afterEach(() => {\n for (const directory of tempDirectories.splice(0)) rmSync(directory, { recursive: true, force: true });\n });\n\n it('delivers the three homes from the installed packages, and only templates/saas from the assets root', () => {\n const app = makeApplication(true);\n const assets = makeAssetsRoot();\n // A stale mirror entry must not survive: the templates lane is a full replacement.\n writeFile(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'stale', 'old.hbs'), 'stale\\n');\n\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: assets });\n\n expect(result.templates.status).toBe('delivered');\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'skeleton', 'wildo.saas.config.ts.hbs'))).toBe(true);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'scenarios', 'add-website', 'scenario.json'))).toBe(true);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'stale'))).toBe(false);\n expect(existsSync(join(app, APPLICATION_TEMPLATES_TARGET_RELATIVE, 'infra'))).toBe(false);\n\n expect(result.docs.status).toBe('delivered');\n expect(readFileSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'references', 'saas.models.resource.md'), 'utf8')).toBe('# ref\\n');\n expect(existsSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'topic-index.json'))).toBe(true);\n // Playbooks stay package-loaded, never mirrored — the orchestrator's contract.\n expect(existsSync(join(app, APPLICATION_DOCS_TARGET_RELATIVE, 'playbooks'))).toBe(false);\n\n expect(result.skills.status).toBe('delivered');\n expect(existsSync(join(app, '.claude', 'skills', 'resource-authoring', 'SKILL.md'))).toBe(true);\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n expect(ApplicationAssetsDeliveryService.readInstalledPackageVersion(result.knowledgePackageRoot)).toBe('9.9.9');\n });\n\n it('delivers templates and reports the knowledge lanes as waiting for an install when the package is absent', () => {\n const app = makeApplication(false);\n const assets = makeAssetsRoot();\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: assets });\n expect(result.templates.status).toBe('delivered');\n expect(result.docs).toEqual(expect.objectContaining({ status: 'skipped' }));\n expect(result.skills.detail).toContain('pnpm install');\n expect(result.knowledgePackageRoot).toBeNull();\n });\n\n it('skips the templates lane with a reason when no framework-assets root resolved', () => {\n const app = makeApplication(true);\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: null });\n expect(result.templates.status).toBe('skipped');\n expect(result.skills.status).toBe('delivered');\n });\n});\n\n/**\n * Installed is not connected (#886). The skills lane copies the rules into `.claude/rules/` AND wires\n * an import block into the application's `CLAUDE.md`; only the second makes them a loader reaches.\n * The sync service reported when that second step could not happen, this lane dropped the report,\n * and `wildo assets sync` printed delivered counts as though the guidance were connected. Three\n * cases, and the counts stay true in all three — the warning is what the counts do not prove.\n */\ndescribe('ApplicationAssetsDeliveryService — the rule imports travel with the skills lane (#886)', () => {\n it('reports installed rules with NO loader when the application has no CLAUDE.md, and still counts the files', () => {\n const app = makeApplication(true);\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.detail).toContain('1 rule(s) NOT connected');\n expect(result.skills.warning).toContain('No CLAUDE.md');\n expect(result.skills.warning).toContain('have no loader');\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n });\n\n it('reports a rule-import update that FAILED, naming the file, and still counts the installed files', () => {\n const app = makeApplication(true);\n // A directory where the file belongs: readable as a path, unreadable as a file, so the import write fails.\n mkdirSync(join(app, 'CLAUDE.md'), { recursive: true });\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.warning).toContain('Could not update the rule imports');\n expect(result.skills.detail).toContain('NOT connected');\n expect(existsSync(join(app, '.claude', 'rules', 'schema-awareness.md'))).toBe(true);\n });\n\n it('carries no warning and states the connected import count when CLAUDE.md is present and updated', () => {\n const app = makeApplication(true);\n writeFile(join(app, 'CLAUDE.md'), '# App\\n');\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.status).toBe('delivered');\n expect(result.skills.warning).toBeUndefined();\n expect(result.skills.detail).toContain('1 rule(s) imported by CLAUDE.md (updated)');\n expect(readFileSync(join(app, 'CLAUDE.md'), 'utf8')).toContain('schema-awareness.md');\n // A second delivery finds the block current and says so, rather than claiming an update it did not make.\n expect(ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() }).skills.detail).toContain('(already current)');\n });\n});\n\ndescribe('ApplicationAssetsDeliveryService — the Claude Code plugin travels with the skills lane (#1651)', () => {\n it('enables the wildo plugin from the installed package and says so', () => {\n const app = makeApplication(true);\n writeFile(join(app, 'CLAUDE.md'), '# App\\n');\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.detail).toContain('/wildo:* plugin enabled');\n const settings = JSON.parse(readFileSync(join(app, '.claude', 'settings.json'), 'utf8')) as {\n extraKnownMarketplaces: { wildo: { source: { path: string } } };\n enabledPlugins: Record<string, boolean>;\n };\n expect(settings.extraKnownMarketplaces.wildo.source.path).toBe('./node_modules/@wildo-ai/framework-knowledge/dist/claude-marketplace');\n expect(settings.enabledPlugins['wildo@wildo']).toBe(true);\n });\n\n it('warns when the installed package predates the plugin, rather than reporting the console as wired', () => {\n const app = makeApplication(true, false);\n writeFile(join(app, 'CLAUDE.md'), '# App\\n');\n const result = ApplicationAssetsDeliveryService.deliver({ applicationRoot: app, frameworkAssetsRoot: makeAssetsRoot() });\n expect(result.skills.detail).not.toContain('plugin enabled');\n expect(result.skills.warning).toContain('carries no Claude Code plugin');\n });\n});\n\ndescribe('ApplicationAssetsDeliveryService.describeFrameworkVersionSkew', () => {\n it('is silent when the CLI and the installed knowledge package agree, or when either is unknown', () => {\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', '1.1.2')).toBeNull();\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew(null, '1.1.2')).toBeNull();\n expect(ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', null)).toBeNull();\n });\n\n /**\n * A hand upgrade that bumps the application's `@wildo-ai/*` pins and re-runs `assets sync` does\n * not replace the CLI. The templates and the platform image tag travel with the CLI, so the\n * application then runs 1.1.3 on templates from 1.1.2 — and until this warning existed, nothing\n * said so (issue #278 review, 2026-09-06). The remedy is `wildo update`, which moves both.\n */\n it('names both versions and the `wildo update` remedy when they disagree', () => {\n const sentence = ApplicationAssetsDeliveryService.describeFrameworkVersionSkew('1.1.2', '1.1.3');\n expect(sentence).toContain('this CLI is 1.1.2');\n expect(sentence).toContain('@wildo-ai/framework-knowledge 1.1.3');\n expect(sentence).toContain('wildo update --to 1.1.3');\n });\n});\n"]}
|
package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js
CHANGED
|
@@ -184,6 +184,24 @@ describe('ApplicationDependencyAlignmentService — reconciliation', () => {
|
|
|
184
184
|
expect(after.peerDependencies.react).toBe('^19.0.0');
|
|
185
185
|
expect(after.peerDependencies['engine-peer']).toBe('*');
|
|
186
186
|
});
|
|
187
|
+
it('aligns a package under a GLOB member, the shape `wildo registry add` writes, and reports a glob it cannot expand (#2019 review)', () => {
|
|
188
|
+
const applicationRoot = buildApplicationFixture();
|
|
189
|
+
writeFileSync(join(applicationRoot, 'pnpm-workspace.yaml'), "packages:\n - 'frontend'\n - 'backend-api'\n - 'providers/demo/*'\n - 'tools/**'\n\nonlyBuiltDependencies:\n - 'not-a-member'\n", 'utf8');
|
|
190
|
+
const providerPath = join(applicationRoot, 'providers', 'demo', 'backend', 'package.json');
|
|
191
|
+
writeJson(providerPath, { name: '@fixture/provider-demo', dependencies: { '@wildo-ai/saas-models': '*' } });
|
|
192
|
+
// A directory without a manifest under the glob is not a member (pnpm's own rule).
|
|
193
|
+
mkdirSync(join(applicationRoot, 'providers', 'demo', 'dist'), { recursive: true });
|
|
194
|
+
writeJson(join(applicationRoot, 'not-a-member', 'package.json'), { name: '@fixture/not-a-member', dependencies: { '@wildo-ai/saas-models': '*' } });
|
|
195
|
+
const { members, unsupportedPatterns } = ApplicationDependencyAlignmentService.discoverWorkspaceMembers(applicationRoot);
|
|
196
|
+
expect(members).toEqual(['.', 'frontend', 'backend-api', 'providers/demo/backend']);
|
|
197
|
+
expect(unsupportedPatterns).toEqual(['tools/**']);
|
|
198
|
+
const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });
|
|
199
|
+
expect(result.unsupportedWorkspacePatterns).toEqual(['tools/**']);
|
|
200
|
+
const provider = JSON.parse(readFileSync(providerPath, 'utf8'));
|
|
201
|
+
expect(provider.peerDependencies?.['engine-peer']).toBe('*');
|
|
202
|
+
// A list item of another top-level block is never read as a member.
|
|
203
|
+
expect(JSON.parse(readFileSync(join(applicationRoot, 'not-a-member', 'package.json'), 'utf8')).peerDependencies).toBeUndefined();
|
|
204
|
+
});
|
|
187
205
|
it('reads the framework exclusion list the scaffolder seeds from', () => {
|
|
188
206
|
const frameworkPath = mkdtempSync(join(tmpdir(), 'wildo-fwk-'));
|
|
189
207
|
cleanups.push(() => rmSync(frameworkPath, { recursive: true, force: true }));
|
package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-dependency-alignment.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/application-dependency-alignment.service.test.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,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AC,EAAE,CAAC;YAChG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI,8BAA8B,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACvF,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * Tests for the standalone-application dependency alignment (issue #222).\n *\n * The fixture builds a real application tree on disk — a root with `pnpm-workspace.yaml`, two\n * workspace members, and installed `@wildo-ai/*` manifests under `node_modules` — because every rule\n * under test is a rule about READING an installed tree, and a mocked filesystem would only prove the\n * mock.\n */\nimport { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'fs';\nimport { tmpdir } from 'os';\nimport { dirname, join } from 'path';\nimport { afterEach, describe, expect, it } from 'vitest';\nimport {\n APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE,\n ApplicationDependencyAlignmentService,\n} from '~wildo-cli/services/application/application-dependency-alignment.service';\n\nconst cleanups: Array<() => void> = [];\nafterEach(() => {\n while (cleanups.length) (cleanups.pop() as () => void)();\n});\n\nfunction writeJson(path: string, value: unknown): void {\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, `${JSON.stringify(value, null, 2)}\\n`, 'utf8');\n}\n\n/**\n * A minimal application: root + `frontend` + `backend-api`, with three installed framework packages\n * hoisted at the root `node_modules` (the layout pnpm produces for a root dependency, and the one the\n * upward `node_modules` walk has to find from a nested member).\n */\nfunction buildApplicationFixture(input?: { exclusions?: Record<string, string> }): string {\n const applicationRoot = mkdtempSync(join(tmpdir(), 'wildo-align-'));\n cleanups.push(() => rmSync(applicationRoot, { recursive: true, force: true }));\n\n writeJson(join(applicationRoot, 'package.json'), {\n name: '@fixture/root',\n private: true,\n pnpm: { overrides: { '@wildo-ai/saas-frontend-lib': '1.1.1', 'already-right': '^2.0.0' } },\n });\n writeFileSync(\n join(applicationRoot, 'pnpm-workspace.yaml'),\n \"packages:\\n - 'frontend'\\n - 'backend-api'\\n - '.wildo-saas/wildo-dev-companion'\\n\",\n 'utf8',\n );\n writeFileSync(join(applicationRoot, 'wildo.saas.config.ts'), 'export default {};\\n', 'utf8');\n\n writeJson(join(applicationRoot, 'frontend', 'package.json'), {\n name: '@fixture/frontend',\n dependencies: { '@wildo-ai/saas-frontend-lib': '*', 'app-owned-direct': '^1.0.0' },\n });\n writeJson(join(applicationRoot, 'backend-api', 'package.json'), {\n name: '@fixture/backend',\n dependencies: { '@wildo-ai/saas-models': '*' },\n });\n // A GENERATED drop: its manifest is rewritten by the companion delivery, so alignment must not\n // reconcile into it (anything written here is erased on the next `wildo local dev`).\n writeJson(join(applicationRoot, '.wildo-saas', 'wildo-dev-companion', 'package.json'), {\n name: '@fixture/companion-drop',\n dependencies: { '@wildo-ai/saas-frontend-lib': '1.1.1' },\n });\n\n const installed = join(applicationRoot, 'node_modules');\n writeJson(join(installed, '@wildo-ai', 'saas-frontend-lib', 'package.json'), {\n name: '@wildo-ai/saas-frontend-lib',\n version: '1.1.1',\n // `pinned-both-ways` / `pinned-both-ways-reversed` appear with the exact and caret forms swapped\n // between the two packages. Both directions are needed: with only one, a `[0]`-takes-whatever-came-\n // first implementation passes whenever the map's iteration order happens to favour it, which is\n // exactly how the first version of this assertion survived its own mutation.\n dependencies: {\n '@wildo-ai/presets-components': '1.1.1',\n 'engine-dep': '^3.1.0',\n 'pinned-both-ways': '^9.0.0',\n 'pinned-both-ways-reversed': '8.0.0',\n },\n peerDependencies: { 'engine-peer': '^4.2.0', 'app-owned-direct': '^1.0.0', esbuild: '^0.27.3' },\n });\n writeJson(join(installed, '@wildo-ai', 'presets-components', 'package.json'), {\n name: '@wildo-ai/presets-components',\n version: '1.1.1',\n peerDependencies: { 'transitive-peer': '^5.0.0', 'optional-peer': '^6.0.0' },\n peerDependenciesMeta: { 'optional-peer': { optional: true } },\n });\n writeJson(join(installed, '@wildo-ai', 'saas-models', 'package.json'), {\n name: '@wildo-ai/saas-models',\n version: '1.1.1',\n dependencies: { 'pinned-both-ways': '9.0.0', 'pinned-both-ways-reversed': '^8.0.0' },\n peerDependencies: { 'engine-peer': '^4.2.0' },\n });\n\n if (input?.exclusions) {\n writeJson(join(applicationRoot, APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE), { excludedNames: input.exclusions });\n }\n return applicationRoot;\n}\n\ndescribe('ApplicationDependencyAlignmentService — derivation', () => {\n it('derives pins from the INSTALLED framework manifests and prefers the exact specifier', () => {\n const applicationRoot = buildApplicationFixture();\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n expect(result.installedFrameworkPackages.map((entry) => entry.name).sort()).toEqual([\n '@wildo-ai/presets-components',\n '@wildo-ai/saas-frontend-lib',\n '@wildo-ai/saas-models',\n ]);\n // A caret range in `dependencies` and nowhere else is the package's PRIVATE dependency, not a root pin:\n // pinning it application-wide forced jiti 2 onto Docusaurus on 2026-09-24 and broke every docs site start.\n expect(result.derivedOverrides['engine-dep']).toBeUndefined();\n expect(result.derivedOverrides['engine-peer']).toBe('^4.2.0');\n // The publish lane writes the tested version EXACTLY into `dependencies` and widens it to a caret\n // in `peerDependencies`; both describe the same version, and the exact form is the one the\n // framework actually ran.\n expect(result.derivedOverrides['pinned-both-ways']).toBe('9.0.0');\n expect(result.derivedOverrides['pinned-both-ways-reversed']).toBe('8.0.0');\n // `@wildo-ai/*` names are never derived: the framework version is the operator's choice.\n expect(Object.keys(result.derivedOverrides).some((name) => name.startsWith('@wildo-ai/'))).toBe(false);\n });\n\n it('reaches a transitive framework package no application manifest names, and skips OPTIONAL peers', () => {\n const applicationRoot = buildApplicationFixture();\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n // `presets-components` is reached only through `saas-frontend-lib`'s own dependencies.\n expect(result.enginePeerClosure['@wildo-ai/saas-frontend-lib']).toContain('transitive-peer');\n // An optional peer is not an obligation, and the engine says so with peerDependenciesMeta.\n expect(result.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('optional-peer');\n expect(result.derivedOverrides['optional-peer']).toBe('^6.0.0');\n });\n\n it('honours application-owned exclusions, exact and prefix, in BOTH the pins and the closure', () => {\n const aligned = ApplicationDependencyAlignmentService.align({\n applicationRoot: buildApplicationFixture(), write: false,\n });\n expect(aligned.derivedOverrides.esbuild).toBe('^0.27.3');\n\n const excluded = ApplicationDependencyAlignmentService.align({\n applicationRoot: buildApplicationFixture({ exclusions: { esbuild: 'follows vite', 'transitive-*': 'app owns it' } }),\n write: false,\n });\n expect(excluded.derivedOverrides.esbuild).toBeUndefined();\n expect(excluded.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('esbuild');\n // Prefix form.\n expect(excluded.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('transitive-peer');\n expect(excluded.derivedOverrides['transitive-peer']).toBeUndefined();\n });\n\n it('REFUSES when no framework package is installed, instead of deriving an empty pin set', () => {\n const applicationRoot = buildApplicationFixture();\n rmSync(join(applicationRoot, 'node_modules'), { recursive: true, force: true });\n expect(() => ApplicationDependencyAlignmentService.align({ applicationRoot, write: false }))\n .toThrow(/run `pnpm install` first/);\n });\n});\n\ndescribe('ApplicationDependencyAlignmentService — reconciliation', () => {\n it('reports without writing when write is false', () => {\n const applicationRoot = buildApplicationFixture();\n const before = readFileSync(join(applicationRoot, 'package.json'), 'utf8');\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n expect(result.findings.length).toBeGreaterThan(0);\n expect(result.written).toBe(false);\n expect(readFileSync(join(applicationRoot, 'package.json'), 'utf8')).toBe(before);\n });\n\n it('writes the pins and the peer declarations, declares peers as \"*\", and converges', () => {\n const applicationRoot = buildApplicationFixture();\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n\n const root = JSON.parse(readFileSync(join(applicationRoot, 'package.json'), 'utf8')) as {\n pnpm: { overrides: Record<string, string> };\n };\n expect(root.pnpm.overrides['pinned-both-ways']).toBe('9.0.0');\n // A package's private range is never written as an application-wide pin.\n expect(root.pnpm.overrides['engine-dep']).toBeUndefined();\n // MERGED, never replaced: the application's own framework pin and its own authored pin survive.\n expect(root.pnpm.overrides['@wildo-ai/saas-frontend-lib']).toBe('1.1.1');\n expect(root.pnpm.overrides['already-right']).toBe('^2.0.0');\n\n const frontend = JSON.parse(readFileSync(join(applicationRoot, 'frontend', 'package.json'), 'utf8')) as {\n peerDependencies?: Record<string, string>;\n dependencies: Record<string, string>;\n };\n // `\"*\"` and never a version — the pin lives in pnpm.overrides, so a later framework bump reaches\n // the application without touching this block.\n expect(frontend.peerDependencies?.['engine-peer']).toBe('*');\n expect(frontend.peerDependencies?.['transitive-peer']).toBe('*');\n // Already a real dependency of the package: the override reaches it there, so no peer entry.\n expect(frontend.peerDependencies?.['app-owned-direct']).toBeUndefined();\n expect(frontend.dependencies['app-owned-direct']).toBe('^1.0.0');\n\n // A second run is a no-op — the whole point of a reconciler.\n const second = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n expect(second.findings).toEqual([]);\n });\n\n it('leaves the GENERATED companion drop alone (its manifest is rewritten on every delivery)', () => {\n const applicationRoot = buildApplicationFixture();\n const dropPath = join(applicationRoot, '.wildo-saas', 'wildo-dev-companion', 'package.json');\n const before = readFileSync(dropPath, 'utf8');\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n expect(readFileSync(dropPath, 'utf8')).toBe(before);\n });\n\n it('never removes an application-authored peer the closure does not require', () => {\n const applicationRoot = buildApplicationFixture();\n const frontendPath = join(applicationRoot, 'frontend', 'package.json');\n const frontend = JSON.parse(readFileSync(frontendPath, 'utf8')) as Record<string, unknown>;\n // React is not in this fixture's closure at all, and the application uses it anyway.\n frontend.peerDependencies = { react: '^19.0.0' };\n writeJson(frontendPath, frontend);\n\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n const after = JSON.parse(readFileSync(frontendPath, 'utf8')) as { peerDependencies: Record<string, string> };\n expect(after.peerDependencies.react).toBe('^19.0.0');\n expect(after.peerDependencies['engine-peer']).toBe('*');\n });\n\n it('reads the framework exclusion list the scaffolder seeds from', () => {\n const frameworkPath = mkdtempSync(join(tmpdir(), 'wildo-fwk-'));\n cleanups.push(() => rmSync(frameworkPath, { recursive: true, force: true }));\n expect(ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath)).toEqual({});\n\n writeJson(join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json'), {\n deliberatelyExcluded: { esbuild: 'follows vite' },\n });\n expect(ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath)).toEqual({ esbuild: 'follows vite' });\n });\n});\n\ndescribe('ApplicationDependencyAlignmentService — the real framework checkout', () => {\n it('seeds every name the framework deliberately excludes, so alignment cannot pin the app toolchain', () => {\n // The REAL list, deliberately: each entry was measured against a real collision (esbuild follows\n // vite, express follows webpack-dev-server, mime follows express), and a fixture would only pin\n // that the reader works.\n let frameworkPath = process.cwd();\n while (!existsSync(join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json'))) {\n const parent = dirname(frameworkPath);\n if (parent === frameworkPath) throw new Error('framework checkout not found from the test cwd');\n frameworkPath = parent;\n }\n const excluded = ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath);\n for (const name of ['esbuild', 'express', 'mime', 'typescript', 'tailwindcss', 'vite', 'astro']) {\n expect(Object.keys(excluded), `${name} must stay application-owned`).toContain(name);\n }\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"application-dependency-alignment.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/application-dependency-alignment.service.test.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM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AAU,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,0BAA0B,EAAE,kCAAkC,CAAC,CAAC,EAAE,CAAC;YACnH,MAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;YACtC,IAAI,MAAM,KAAK,aAAa;gBAAE,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;YAChG,aAAa,GAAG,MAAM,CAAC;QACzB,CAAC;QACD,MAAM,QAAQ,GAAG,qCAAqC,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC;QAC9F,KAAK,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;YAChG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI,8BAA8B,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACvF,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * Tests for the standalone-application dependency alignment (issue #222).\n *\n * The fixture builds a real application tree on disk — a root with `pnpm-workspace.yaml`, two\n * workspace members, and installed `@wildo-ai/*` manifests under `node_modules` — because every rule\n * under test is a rule about READING an installed tree, and a mocked filesystem would only prove the\n * mock.\n */\nimport { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'fs';\nimport { tmpdir } from 'os';\nimport { dirname, join } from 'path';\nimport { afterEach, describe, expect, it } from 'vitest';\nimport {\n APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE,\n ApplicationDependencyAlignmentService,\n} from '~wildo-cli/services/application/application-dependency-alignment.service';\n\nconst cleanups: Array<() => void> = [];\nafterEach(() => {\n while (cleanups.length) (cleanups.pop() as () => void)();\n});\n\nfunction writeJson(path: string, value: unknown): void {\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, `${JSON.stringify(value, null, 2)}\\n`, 'utf8');\n}\n\n/**\n * A minimal application: root + `frontend` + `backend-api`, with three installed framework packages\n * hoisted at the root `node_modules` (the layout pnpm produces for a root dependency, and the one the\n * upward `node_modules` walk has to find from a nested member).\n */\nfunction buildApplicationFixture(input?: { exclusions?: Record<string, string> }): string {\n const applicationRoot = mkdtempSync(join(tmpdir(), 'wildo-align-'));\n cleanups.push(() => rmSync(applicationRoot, { recursive: true, force: true }));\n\n writeJson(join(applicationRoot, 'package.json'), {\n name: '@fixture/root',\n private: true,\n pnpm: { overrides: { '@wildo-ai/saas-frontend-lib': '1.1.1', 'already-right': '^2.0.0' } },\n });\n writeFileSync(\n join(applicationRoot, 'pnpm-workspace.yaml'),\n \"packages:\\n - 'frontend'\\n - 'backend-api'\\n - '.wildo-saas/wildo-dev-companion'\\n\",\n 'utf8',\n );\n writeFileSync(join(applicationRoot, 'wildo.saas.config.ts'), 'export default {};\\n', 'utf8');\n\n writeJson(join(applicationRoot, 'frontend', 'package.json'), {\n name: '@fixture/frontend',\n dependencies: { '@wildo-ai/saas-frontend-lib': '*', 'app-owned-direct': '^1.0.0' },\n });\n writeJson(join(applicationRoot, 'backend-api', 'package.json'), {\n name: '@fixture/backend',\n dependencies: { '@wildo-ai/saas-models': '*' },\n });\n // A GENERATED drop: its manifest is rewritten by the companion delivery, so alignment must not\n // reconcile into it (anything written here is erased on the next `wildo local dev`).\n writeJson(join(applicationRoot, '.wildo-saas', 'wildo-dev-companion', 'package.json'), {\n name: '@fixture/companion-drop',\n dependencies: { '@wildo-ai/saas-frontend-lib': '1.1.1' },\n });\n\n const installed = join(applicationRoot, 'node_modules');\n writeJson(join(installed, '@wildo-ai', 'saas-frontend-lib', 'package.json'), {\n name: '@wildo-ai/saas-frontend-lib',\n version: '1.1.1',\n // `pinned-both-ways` / `pinned-both-ways-reversed` appear with the exact and caret forms swapped\n // between the two packages. Both directions are needed: with only one, a `[0]`-takes-whatever-came-\n // first implementation passes whenever the map's iteration order happens to favour it, which is\n // exactly how the first version of this assertion survived its own mutation.\n dependencies: {\n '@wildo-ai/presets-components': '1.1.1',\n 'engine-dep': '^3.1.0',\n 'pinned-both-ways': '^9.0.0',\n 'pinned-both-ways-reversed': '8.0.0',\n },\n peerDependencies: { 'engine-peer': '^4.2.0', 'app-owned-direct': '^1.0.0', esbuild: '^0.27.3' },\n });\n writeJson(join(installed, '@wildo-ai', 'presets-components', 'package.json'), {\n name: '@wildo-ai/presets-components',\n version: '1.1.1',\n peerDependencies: { 'transitive-peer': '^5.0.0', 'optional-peer': '^6.0.0' },\n peerDependenciesMeta: { 'optional-peer': { optional: true } },\n });\n writeJson(join(installed, '@wildo-ai', 'saas-models', 'package.json'), {\n name: '@wildo-ai/saas-models',\n version: '1.1.1',\n dependencies: { 'pinned-both-ways': '9.0.0', 'pinned-both-ways-reversed': '^8.0.0' },\n peerDependencies: { 'engine-peer': '^4.2.0' },\n });\n\n if (input?.exclusions) {\n writeJson(join(applicationRoot, APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE), { excludedNames: input.exclusions });\n }\n return applicationRoot;\n}\n\ndescribe('ApplicationDependencyAlignmentService — derivation', () => {\n it('derives pins from the INSTALLED framework manifests and prefers the exact specifier', () => {\n const applicationRoot = buildApplicationFixture();\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n expect(result.installedFrameworkPackages.map((entry) => entry.name).sort()).toEqual([\n '@wildo-ai/presets-components',\n '@wildo-ai/saas-frontend-lib',\n '@wildo-ai/saas-models',\n ]);\n // A caret range in `dependencies` and nowhere else is the package's PRIVATE dependency, not a root pin:\n // pinning it application-wide forced jiti 2 onto Docusaurus on 2026-09-24 and broke every docs site start.\n expect(result.derivedOverrides['engine-dep']).toBeUndefined();\n expect(result.derivedOverrides['engine-peer']).toBe('^4.2.0');\n // The publish lane writes the tested version EXACTLY into `dependencies` and widens it to a caret\n // in `peerDependencies`; both describe the same version, and the exact form is the one the\n // framework actually ran.\n expect(result.derivedOverrides['pinned-both-ways']).toBe('9.0.0');\n expect(result.derivedOverrides['pinned-both-ways-reversed']).toBe('8.0.0');\n // `@wildo-ai/*` names are never derived: the framework version is the operator's choice.\n expect(Object.keys(result.derivedOverrides).some((name) => name.startsWith('@wildo-ai/'))).toBe(false);\n });\n\n it('reaches a transitive framework package no application manifest names, and skips OPTIONAL peers', () => {\n const applicationRoot = buildApplicationFixture();\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n // `presets-components` is reached only through `saas-frontend-lib`'s own dependencies.\n expect(result.enginePeerClosure['@wildo-ai/saas-frontend-lib']).toContain('transitive-peer');\n // An optional peer is not an obligation, and the engine says so with peerDependenciesMeta.\n expect(result.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('optional-peer');\n expect(result.derivedOverrides['optional-peer']).toBe('^6.0.0');\n });\n\n it('honours application-owned exclusions, exact and prefix, in BOTH the pins and the closure', () => {\n const aligned = ApplicationDependencyAlignmentService.align({\n applicationRoot: buildApplicationFixture(), write: false,\n });\n expect(aligned.derivedOverrides.esbuild).toBe('^0.27.3');\n\n const excluded = ApplicationDependencyAlignmentService.align({\n applicationRoot: buildApplicationFixture({ exclusions: { esbuild: 'follows vite', 'transitive-*': 'app owns it' } }),\n write: false,\n });\n expect(excluded.derivedOverrides.esbuild).toBeUndefined();\n expect(excluded.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('esbuild');\n // Prefix form.\n expect(excluded.enginePeerClosure['@wildo-ai/saas-frontend-lib']).not.toContain('transitive-peer');\n expect(excluded.derivedOverrides['transitive-peer']).toBeUndefined();\n });\n\n it('REFUSES when no framework package is installed, instead of deriving an empty pin set', () => {\n const applicationRoot = buildApplicationFixture();\n rmSync(join(applicationRoot, 'node_modules'), { recursive: true, force: true });\n expect(() => ApplicationDependencyAlignmentService.align({ applicationRoot, write: false }))\n .toThrow(/run `pnpm install` first/);\n });\n});\n\ndescribe('ApplicationDependencyAlignmentService — reconciliation', () => {\n it('reports without writing when write is false', () => {\n const applicationRoot = buildApplicationFixture();\n const before = readFileSync(join(applicationRoot, 'package.json'), 'utf8');\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n\n expect(result.findings.length).toBeGreaterThan(0);\n expect(result.written).toBe(false);\n expect(readFileSync(join(applicationRoot, 'package.json'), 'utf8')).toBe(before);\n });\n\n it('writes the pins and the peer declarations, declares peers as \"*\", and converges', () => {\n const applicationRoot = buildApplicationFixture();\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n\n const root = JSON.parse(readFileSync(join(applicationRoot, 'package.json'), 'utf8')) as {\n pnpm: { overrides: Record<string, string> };\n };\n expect(root.pnpm.overrides['pinned-both-ways']).toBe('9.0.0');\n // A package's private range is never written as an application-wide pin.\n expect(root.pnpm.overrides['engine-dep']).toBeUndefined();\n // MERGED, never replaced: the application's own framework pin and its own authored pin survive.\n expect(root.pnpm.overrides['@wildo-ai/saas-frontend-lib']).toBe('1.1.1');\n expect(root.pnpm.overrides['already-right']).toBe('^2.0.0');\n\n const frontend = JSON.parse(readFileSync(join(applicationRoot, 'frontend', 'package.json'), 'utf8')) as {\n peerDependencies?: Record<string, string>;\n dependencies: Record<string, string>;\n };\n // `\"*\"` and never a version — the pin lives in pnpm.overrides, so a later framework bump reaches\n // the application without touching this block.\n expect(frontend.peerDependencies?.['engine-peer']).toBe('*');\n expect(frontend.peerDependencies?.['transitive-peer']).toBe('*');\n // Already a real dependency of the package: the override reaches it there, so no peer entry.\n expect(frontend.peerDependencies?.['app-owned-direct']).toBeUndefined();\n expect(frontend.dependencies['app-owned-direct']).toBe('^1.0.0');\n\n // A second run is a no-op — the whole point of a reconciler.\n const second = ApplicationDependencyAlignmentService.align({ applicationRoot, write: false });\n expect(second.findings).toEqual([]);\n });\n\n it('leaves the GENERATED companion drop alone (its manifest is rewritten on every delivery)', () => {\n const applicationRoot = buildApplicationFixture();\n const dropPath = join(applicationRoot, '.wildo-saas', 'wildo-dev-companion', 'package.json');\n const before = readFileSync(dropPath, 'utf8');\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n expect(readFileSync(dropPath, 'utf8')).toBe(before);\n });\n\n it('never removes an application-authored peer the closure does not require', () => {\n const applicationRoot = buildApplicationFixture();\n const frontendPath = join(applicationRoot, 'frontend', 'package.json');\n const frontend = JSON.parse(readFileSync(frontendPath, 'utf8')) as Record<string, unknown>;\n // React is not in this fixture's closure at all, and the application uses it anyway.\n frontend.peerDependencies = { react: '^19.0.0' };\n writeJson(frontendPath, frontend);\n\n ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n const after = JSON.parse(readFileSync(frontendPath, 'utf8')) as { peerDependencies: Record<string, string> };\n expect(after.peerDependencies.react).toBe('^19.0.0');\n expect(after.peerDependencies['engine-peer']).toBe('*');\n });\n\n it('aligns a package under a GLOB member, the shape `wildo registry add` writes, and reports a glob it cannot expand (#2019 review)', () => {\n const applicationRoot = buildApplicationFixture();\n writeFileSync(\n join(applicationRoot, 'pnpm-workspace.yaml'),\n \"packages:\\n - 'frontend'\\n - 'backend-api'\\n - 'providers/demo/*'\\n - 'tools/**'\\n\\nonlyBuiltDependencies:\\n - 'not-a-member'\\n\",\n 'utf8',\n );\n const providerPath = join(applicationRoot, 'providers', 'demo', 'backend', 'package.json');\n writeJson(providerPath, { name: '@fixture/provider-demo', dependencies: { '@wildo-ai/saas-models': '*' } });\n // A directory without a manifest under the glob is not a member (pnpm's own rule).\n mkdirSync(join(applicationRoot, 'providers', 'demo', 'dist'), { recursive: true });\n writeJson(join(applicationRoot, 'not-a-member', 'package.json'), { name: '@fixture/not-a-member', dependencies: { '@wildo-ai/saas-models': '*' } });\n\n const { members, unsupportedPatterns } = ApplicationDependencyAlignmentService.discoverWorkspaceMembers(applicationRoot);\n expect(members).toEqual(['.', 'frontend', 'backend-api', 'providers/demo/backend']);\n expect(unsupportedPatterns).toEqual(['tools/**']);\n\n const result = ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n expect(result.unsupportedWorkspacePatterns).toEqual(['tools/**']);\n const provider = JSON.parse(readFileSync(providerPath, 'utf8')) as { peerDependencies?: Record<string, string> };\n expect(provider.peerDependencies?.['engine-peer']).toBe('*');\n // A list item of another top-level block is never read as a member.\n expect(JSON.parse(readFileSync(join(applicationRoot, 'not-a-member', 'package.json'), 'utf8')).peerDependencies).toBeUndefined();\n });\n\n it('reads the framework exclusion list the scaffolder seeds from', () => {\n const frameworkPath = mkdtempSync(join(tmpdir(), 'wildo-fwk-'));\n cleanups.push(() => rmSync(frameworkPath, { recursive: true, force: true }));\n expect(ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath)).toEqual({});\n\n writeJson(join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json'), {\n deliberatelyExcluded: { esbuild: 'follows vite' },\n });\n expect(ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath)).toEqual({ esbuild: 'follows vite' });\n });\n});\n\ndescribe('ApplicationDependencyAlignmentService — the real framework checkout', () => {\n it('seeds every name the framework deliberately excludes, so alignment cannot pin the app toolchain', () => {\n // The REAL list, deliberately: each entry was measured against a real collision (esbuild follows\n // vite, express follows webpack-dev-server, mime follows express), and a fixture would only pin\n // that the reader works.\n let frameworkPath = process.cwd();\n while (!existsSync(join(frameworkPath, 'scripts', 'app-dependency-alignment', 'propagated-engine-overrides.json'))) {\n const parent = dirname(frameworkPath);\n if (parent === frameworkPath) throw new Error('framework checkout not found from the test cwd');\n frameworkPath = parent;\n }\n const excluded = ApplicationDependencyAlignmentService.readFrameworkExclusions(frameworkPath);\n for (const name of ['esbuild', 'express', 'mime', 'typescript', 'tailwindcss', 'vite', 'astro']) {\n expect(Object.keys(excluded), `${name} must stay application-owned`).toContain(name);\n }\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-public-config-secret-screen.service.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/frontend-public-config-secret-screen.service.test.ts"],"names":[],"mappings":""}
|
package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { tmpdir } from 'node:os';
|
|
3
|
+
import { join } from 'node:path';
|
|
4
|
+
import { afterAll, afterEach, describe, expect, it, vi } from 'vitest';
|
|
5
|
+
import { defineSaaSProviders, materializeSaasProviderRuntimeArtifacts, ProviderContributionOwnerKind, } from '@wildo-ai/platform-config-lib';
|
|
6
|
+
import { AppFrontendType, defineProviderMetadata, ProviderOriginKind, ProviderTier } from '@wildo-ai/saas-models';
|
|
7
|
+
import { getComposedProviderSecretsCatalogue } from '../../../services/credentials/composed-provider-catalogue.js';
|
|
8
|
+
import { EnvironmentUtils } from '../../../services/environment/environment.service.js';
|
|
9
|
+
import { collectConfidentialSecretValues, loadEnvironmentSecretsForScreen, screenFrontendProviderPublicConfigForEnvironment, } from '../frontend-public-config-secret-screen.service.js';
|
|
10
|
+
/**
|
|
11
|
+
* #1705 — a secret VALUE from the environment's `secrets.json`, served under an arbitrary public key of
|
|
12
|
+
* a frontend provider, fails `wildo config sync` naming the key and the slot; an unreadable
|
|
13
|
+
* `secrets.json` refuses outright. Driven through a real fixture environment directory and the real
|
|
14
|
+
* artifact materializer, so the screen sees exactly what sync would write.
|
|
15
|
+
*/
|
|
16
|
+
const fixtureRoot = mkdtempSync(join(tmpdir(), 'wildo-1705-secret-screen-'));
|
|
17
|
+
afterAll(() => rmSync(fixtureRoot, { recursive: true, force: true }));
|
|
18
|
+
const CAPTCHA_SERVER_SECRET = '6LcXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA-server-secret';
|
|
19
|
+
const POSTHOG_PROJECT_KEY = 'phc_0123456789abcdefghijklmnopqrstuvwxyzABCDEF';
|
|
20
|
+
/** A fixture environment on disk: `<root>/<env>/secrets/secrets.json`. */
|
|
21
|
+
function writeFixtureEnvironment(environmentName, secrets) {
|
|
22
|
+
const directory = join(fixtureRoot, environmentName, 'secrets');
|
|
23
|
+
const filePath = join(directory, 'secrets.json');
|
|
24
|
+
mkdirSync(directory, { recursive: true });
|
|
25
|
+
writeFileSync(filePath, JSON.stringify(secrets, null, 2));
|
|
26
|
+
return filePath;
|
|
27
|
+
}
|
|
28
|
+
function loadFrom(filePath) {
|
|
29
|
+
return () => {
|
|
30
|
+
try {
|
|
31
|
+
return JSON.parse(readFileSync(filePath, 'utf8'));
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A BROWSER-ONLY vendor — no backend contribution, so its forbidden-NAME set is empty and no name rule
|
|
40
|
+
* could ever refuse anything it is given. The sharpest gap the issue names.
|
|
41
|
+
*/
|
|
42
|
+
function materializeBrowserOnlyCaptcha(supplied) {
|
|
43
|
+
const contribution = {
|
|
44
|
+
ref: 'acme-captcha',
|
|
45
|
+
identity: { packageName: '@test/providers', tier: ProviderTier.CATALOGUE, vendor: 'acme', origin: { kind: ProviderOriginKind.APPLICATION } },
|
|
46
|
+
runtimeImportPath: '@test/providers/website',
|
|
47
|
+
runtimeTargets: [{ kind: 'frontendService', serviceType: AppFrontendType.STATIC_WEBSITE }],
|
|
48
|
+
engineCapabilities: [],
|
|
49
|
+
providerCapabilities: ['FRONTEND_CAPTCHA'],
|
|
50
|
+
protocols: ['FRONTEND_SDK'],
|
|
51
|
+
secretsContractShape: [],
|
|
52
|
+
frontendEntry: {
|
|
53
|
+
metadata: defineProviderMetadata({ ref: 'acme-captcha', packageName: '@test/providers', tier: ProviderTier.CATALOGUE, origin: { kind: ProviderOriginKind.APPLICATION } }),
|
|
54
|
+
providerCapabilities: ['FRONTEND_CAPTCHA'],
|
|
55
|
+
protocols: ['FRONTEND_SDK'],
|
|
56
|
+
publicConfig: { integrationKind: 'captcha' },
|
|
57
|
+
publicConfigKeys: ['integrationKind', 'siteKey', 'apiKey'],
|
|
58
|
+
},
|
|
59
|
+
owner: { kind: ProviderContributionOwnerKind.SERVICE, key: 'website', packageRoot: '/tmp/website' },
|
|
60
|
+
};
|
|
61
|
+
return materializeSaasProviderRuntimeArtifacts({
|
|
62
|
+
modules: {},
|
|
63
|
+
providers: defineSaaSProviders({
|
|
64
|
+
scopes: {
|
|
65
|
+
frontendServices: {
|
|
66
|
+
website: { providers: { 'acme-captcha': { engineCapabilities: [], providerCapabilities: ['FRONTEND_CAPTCHA'], protocols: ['FRONTEND_SDK'] } } },
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
}),
|
|
70
|
+
services: { website: { path: './website', serviceName: 'website', frontendType: AppFrontendType.STATIC_WEBSITE, sessionStorage: 'ephemeral' } },
|
|
71
|
+
providerConfigurations: { 'acme-captcha': { frontend_sdk: supplied } },
|
|
72
|
+
}, { generatedAt: '2026-09-28T00:00:00.000Z', discoveredContributions: [contribution] }).artifacts;
|
|
73
|
+
}
|
|
74
|
+
const fixtureSecrets = {
|
|
75
|
+
admin: { email: 'owner@example.test', password: 'correct-horse-battery-staple', firstName: 'Ada', lastName: 'Lovelace' },
|
|
76
|
+
postgresql: { adminUser: 'wildo_admin', adminPassword: 'pg-admin-password-0123456789' },
|
|
77
|
+
providerEnv: {
|
|
78
|
+
ACME_CAPTCHA_SECRET_KEY: CAPTCHA_SERVER_SECRET,
|
|
79
|
+
POSTHOG_PROJECT_API_KEY: POSTHOG_PROJECT_KEY,
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
describe('screenFrontendProviderPublicConfigForEnvironment (#1705)', () => {
|
|
83
|
+
const secretsFilePath = writeFixtureEnvironment('local', fixtureSecrets);
|
|
84
|
+
it("refuses a secrets.json value served under an innocent key of a browser-only vendor, naming key and slot", () => {
|
|
85
|
+
let message = '';
|
|
86
|
+
try {
|
|
87
|
+
screenFrontendProviderPublicConfigForEnvironment({
|
|
88
|
+
artifacts: materializeBrowserOnlyCaptcha({ siteKey: CAPTCHA_SERVER_SECRET }),
|
|
89
|
+
environmentName: 'local',
|
|
90
|
+
loadSecrets: loadFrom(secretsFilePath),
|
|
91
|
+
secretsFilePath,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
catch (error) {
|
|
95
|
+
message = error.message;
|
|
96
|
+
}
|
|
97
|
+
expect(message).toContain('publicConfig "siteKey" of provider "acme-captcha"');
|
|
98
|
+
expect(message).toContain('providerEnv.ACME_CAPTCHA_SECRET_KEY');
|
|
99
|
+
expect(message).not.toContain(CAPTCHA_SERVER_SECRET);
|
|
100
|
+
});
|
|
101
|
+
it('refuses framework and operator secrets too — a secret is anything the file does not declare an identity', () => {
|
|
102
|
+
expect(() => screenFrontendProviderPublicConfigForEnvironment({
|
|
103
|
+
artifacts: materializeBrowserOnlyCaptcha({ apiKey: 'correct-horse-battery-staple' }),
|
|
104
|
+
environmentName: 'local',
|
|
105
|
+
loadSecrets: loadFrom(secretsFilePath),
|
|
106
|
+
secretsFilePath,
|
|
107
|
+
})).toThrow(/admin\.password/);
|
|
108
|
+
});
|
|
109
|
+
it('admits a public value, and a value the vendor made public (PostHog\'s project key) — read off the ENGINE contract', () => {
|
|
110
|
+
for (const supplied of [{ siteKey: 'public-site-key-for-browsers' }, { apiKey: POSTHOG_PROJECT_KEY }, { siteKey: 'owner@example.test' }]) {
|
|
111
|
+
expect(() => screenFrontendProviderPublicConfigForEnvironment({
|
|
112
|
+
artifacts: materializeBrowserOnlyCaptcha(supplied),
|
|
113
|
+
environmentName: 'local',
|
|
114
|
+
loadSecrets: loadFrom(secretsFilePath),
|
|
115
|
+
secretsFilePath,
|
|
116
|
+
catalogue: getComposedProviderSecretsCatalogue(),
|
|
117
|
+
})).not.toThrow();
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
it('REFUSES to produce anything when the environment\'s secrets.json cannot be read, naming the file', () => {
|
|
121
|
+
const missing = join(fixtureRoot, 'staging', 'secrets', 'secrets.json');
|
|
122
|
+
expect(() => screenFrontendProviderPublicConfigForEnvironment({
|
|
123
|
+
artifacts: materializeBrowserOnlyCaptcha({ siteKey: 'public-site-key-for-browsers' }),
|
|
124
|
+
environmentName: 'staging',
|
|
125
|
+
loadSecrets: loadFrom(missing),
|
|
126
|
+
secretsFilePath: missing,
|
|
127
|
+
})).toThrow(new RegExp(`environment "staging": its secrets at ${missing.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')} cannot be read`));
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
describe('collectConfidentialSecretValues (#1705)', () => {
|
|
131
|
+
it('is TOTAL over the file: identities and marked-public provider slots are the only exemptions', () => {
|
|
132
|
+
const slots = collectConfidentialSecretValues({
|
|
133
|
+
secrets: { ...fixtureSecrets, someFutureSection: { token: 'x' } },
|
|
134
|
+
secretsFileLabel: 'secrets.json',
|
|
135
|
+
catalogue: getComposedProviderSecretsCatalogue(),
|
|
136
|
+
}).map((secret) => secret.slot);
|
|
137
|
+
expect(slots).toEqual(expect.arrayContaining([
|
|
138
|
+
'secrets.json → admin.password',
|
|
139
|
+
'secrets.json → postgresql.adminPassword',
|
|
140
|
+
'secrets.json → providerEnv.ACME_CAPTCHA_SECRET_KEY',
|
|
141
|
+
'secrets.json → someFutureSection.token',
|
|
142
|
+
]));
|
|
143
|
+
expect(slots).not.toContain('secrets.json → admin.email');
|
|
144
|
+
expect(slots).not.toContain('secrets.json → postgresql.adminUser');
|
|
145
|
+
expect(slots).not.toContain('secrets.json → providerEnv.POSTHOG_PROJECT_API_KEY');
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
describe('loadEnvironmentSecretsForScreen — a deploy job has no secrets.json (#1705 review F1)', () => {
|
|
149
|
+
afterEach(() => { vi.restoreAllMocks(); });
|
|
150
|
+
it('reads the WILDO_SECRET_* variables a deploy workflow publishes when there is no file, and screens against them', () => {
|
|
151
|
+
vi.spyOn(EnvironmentUtils, 'loadSecretsJson').mockReturnValue(null);
|
|
152
|
+
// The shape a generated deploy workflow publishes: every required section, plus the provider env.
|
|
153
|
+
const ciEnv = {
|
|
154
|
+
WILDO_SECRET_POSTGRESQL_ADMIN_USER: 'pg', WILDO_SECRET_POSTGRESQL_ADMIN_PASSWORD: 'pg-password-0123456789',
|
|
155
|
+
WILDO_SECRET_RABBITMQ_ADMIN_USERNAME: 'mq', WILDO_SECRET_RABBITMQ_ADMIN_PASSWORD: 'mq-password-0123456789', WILDO_SECRET_RABBITMQ_ERLANG_COOKIE: 'cookie-0123456789abcdef',
|
|
156
|
+
WILDO_SECRET_STORAGE_ACCESS_KEY: 'access', WILDO_SECRET_STORAGE_SECRET_KEY: 'storage-secret-0123456789',
|
|
157
|
+
WILDO_SECRET_PLATFORM_PRIMARY_SECRET: 'primary-0123456789abcdef', WILDO_SECRET_PLATFORM_ADMIN_SECRET: 'admin-0123456789abcdef',
|
|
158
|
+
WILDO_SECRET_PLATFORM_APPS_MANAGER_PRIVATE_KEY: 'private-key', WILDO_SECRET_PLATFORM_APPS_MANAGER_PUBLIC_KEY: 'public-key',
|
|
159
|
+
WILDO_SECRET_ADMIN_EMAIL: 'owner@example.test', WILDO_SECRET_ADMIN_FIRST_NAME: 'Ada', WILDO_SECRET_ADMIN_LAST_NAME: 'Lovelace', WILDO_SECRET_ADMIN_PASSWORD: 'ci-admin-password-0123',
|
|
160
|
+
WILDO_SECRET_PROVIDER_ENV_ACME_CAPTCHA_SECRET_KEY: CAPTCHA_SERVER_SECRET,
|
|
161
|
+
};
|
|
162
|
+
const secrets = loadEnvironmentSecretsForScreen('staging', ciEnv);
|
|
163
|
+
expect(secrets?.providerEnv?.ACME_CAPTCHA_SECRET_KEY).toBe(CAPTCHA_SERVER_SECRET);
|
|
164
|
+
expect(() => screenFrontendProviderPublicConfigForEnvironment({
|
|
165
|
+
artifacts: materializeBrowserOnlyCaptcha({ siteKey: CAPTCHA_SERVER_SECRET }),
|
|
166
|
+
environmentName: 'staging',
|
|
167
|
+
loadSecrets: (name) => loadEnvironmentSecretsForScreen(name, ciEnv),
|
|
168
|
+
})).toThrow(/providerEnv\.ACME_CAPTCHA_SECRET_KEY/);
|
|
169
|
+
});
|
|
170
|
+
it('still answers "unreadable" when a step has neither the file nor the variables', () => {
|
|
171
|
+
vi.spyOn(EnvironmentUtils, 'loadSecretsJson').mockReturnValue(null);
|
|
172
|
+
expect(loadEnvironmentSecretsForScreen('staging', { PATH: '/usr/bin', WILDO_SECRET_EMPTY: '' })).toBeNull();
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
//# sourceMappingURL=frontend-public-config-secret-screen.service.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-public-config-secret-screen.service.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/frontend-public-config-secret-screen.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACtF,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEvE,OAAO,EACL,mBAAmB,EACnB,uCAAuC,EACvC,6BAA6B,GAE9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAE,mCAAmC,EAAE,MAAM,6DAA6D,CAAC;AAElH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,gDAAgD,GACjD,MAAM,iDAAiD,CAAC;AAEzD;;;;;GAKG;AAEH,MAAM,WAAW,GAAG,WAAW,C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AAC,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC9G,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { join } from 'node:path';\nimport { afterAll, afterEach, describe, expect, it, vi } from 'vitest';\n\nimport {\n defineSaaSProviders,\n materializeSaasProviderRuntimeArtifacts,\n ProviderContributionOwnerKind,\n type DiscoveredProviderCompanionContribution,\n} from '@wildo-ai/platform-config-lib';\nimport { AppFrontendType, defineProviderMetadata, ProviderOriginKind, ProviderTier } from '@wildo-ai/saas-models';\n\nimport { getComposedProviderSecretsCatalogue } from '~wildo-cli/services/credentials/composed-provider-catalogue';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport {\n collectConfidentialSecretValues,\n loadEnvironmentSecretsForScreen,\n screenFrontendProviderPublicConfigForEnvironment,\n} from '../frontend-public-config-secret-screen.service';\n\n/**\n * #1705 — a secret VALUE from the environment's `secrets.json`, served under an arbitrary public key of\n * a frontend provider, fails `wildo config sync` naming the key and the slot; an unreadable\n * `secrets.json` refuses outright. Driven through a real fixture environment directory and the real\n * artifact materializer, so the screen sees exactly what sync would write.\n */\n\nconst fixtureRoot = mkdtempSync(join(tmpdir(), 'wildo-1705-secret-screen-'));\nafterAll(() => rmSync(fixtureRoot, { recursive: true, force: true }));\n\nconst CAPTCHA_SERVER_SECRET = '6LcXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA-server-secret';\nconst POSTHOG_PROJECT_KEY = 'phc_0123456789abcdefghijklmnopqrstuvwxyzABCDEF';\n\n/** A fixture environment on disk: `<root>/<env>/secrets/secrets.json`. */\nfunction writeFixtureEnvironment(environmentName: string, secrets: Record<string, unknown>): string {\n const directory = join(fixtureRoot, environmentName, 'secrets');\n const filePath = join(directory, 'secrets.json');\n mkdirSync(directory, { recursive: true });\n writeFileSync(filePath, JSON.stringify(secrets, null, 2));\n return filePath;\n}\n\nfunction loadFrom(filePath: string): () => PlatformEnvSecretsJson | null {\n return () => {\n try {\n return JSON.parse(readFileSync(filePath, 'utf8')) as PlatformEnvSecretsJson;\n } catch {\n return null;\n }\n };\n}\n\n/**\n * A BROWSER-ONLY vendor — no backend contribution, so its forbidden-NAME set is empty and no name rule\n * could ever refuse anything it is given. The sharpest gap the issue names.\n */\nfunction materializeBrowserOnlyCaptcha(supplied: Record<string, unknown>) {\n const contribution: DiscoveredProviderCompanionContribution = {\n ref: 'acme-captcha',\n identity: { packageName: '@test/providers', tier: ProviderTier.CATALOGUE, vendor: 'acme', origin: { kind: ProviderOriginKind.APPLICATION } },\n runtimeImportPath: '@test/providers/website',\n runtimeTargets: [{ kind: 'frontendService', serviceType: AppFrontendType.STATIC_WEBSITE }],\n engineCapabilities: [],\n providerCapabilities: ['FRONTEND_CAPTCHA'],\n protocols: ['FRONTEND_SDK'],\n secretsContractShape: [],\n frontendEntry: {\n metadata: defineProviderMetadata({ ref: 'acme-captcha', packageName: '@test/providers', tier: ProviderTier.CATALOGUE, origin: { kind: ProviderOriginKind.APPLICATION } }),\n providerCapabilities: ['FRONTEND_CAPTCHA'],\n protocols: ['FRONTEND_SDK'],\n publicConfig: { integrationKind: 'captcha' },\n publicConfigKeys: ['integrationKind', 'siteKey', 'apiKey'],\n },\n owner: { kind: ProviderContributionOwnerKind.SERVICE, key: 'website', packageRoot: '/tmp/website' },\n };\n\n return materializeSaasProviderRuntimeArtifacts(\n {\n modules: {},\n providers: defineSaaSProviders({\n scopes: {\n frontendServices: {\n website: { providers: { 'acme-captcha': { engineCapabilities: [], providerCapabilities: ['FRONTEND_CAPTCHA'], protocols: ['FRONTEND_SDK'] } } },\n },\n },\n }),\n services: { website: { path: './website', serviceName: 'website', frontendType: AppFrontendType.STATIC_WEBSITE, sessionStorage: 'ephemeral' as const } },\n providerConfigurations: { 'acme-captcha': { frontend_sdk: supplied } },\n },\n { generatedAt: '2026-09-28T00:00:00.000Z', discoveredContributions: [contribution] },\n ).artifacts;\n}\n\nconst fixtureSecrets = {\n admin: { email: 'owner@example.test', password: 'correct-horse-battery-staple', firstName: 'Ada', lastName: 'Lovelace' },\n postgresql: { adminUser: 'wildo_admin', adminPassword: 'pg-admin-password-0123456789' },\n providerEnv: {\n ACME_CAPTCHA_SECRET_KEY: CAPTCHA_SERVER_SECRET,\n POSTHOG_PROJECT_API_KEY: POSTHOG_PROJECT_KEY,\n },\n};\n\ndescribe('screenFrontendProviderPublicConfigForEnvironment (#1705)', () => {\n const secretsFilePath = writeFixtureEnvironment('local', fixtureSecrets);\n\n it(\"refuses a secrets.json value served under an innocent key of a browser-only vendor, naming key and slot\", () => {\n let message = '';\n try {\n screenFrontendProviderPublicConfigForEnvironment({\n artifacts: materializeBrowserOnlyCaptcha({ siteKey: CAPTCHA_SERVER_SECRET }),\n environmentName: 'local',\n loadSecrets: loadFrom(secretsFilePath),\n secretsFilePath,\n });\n } catch (error) { message = (error as Error).message; }\n\n expect(message).toContain('publicConfig \"siteKey\" of provider \"acme-captcha\"');\n expect(message).toContain('providerEnv.ACME_CAPTCHA_SECRET_KEY');\n expect(message).not.toContain(CAPTCHA_SERVER_SECRET);\n });\n\n it('refuses framework and operator secrets too — a secret is anything the file does not declare an identity', () => {\n expect(() => screenFrontendProviderPublicConfigForEnvironment({\n artifacts: materializeBrowserOnlyCaptcha({ apiKey: 'correct-horse-battery-staple' }),\n environmentName: 'local',\n loadSecrets: loadFrom(secretsFilePath),\n secretsFilePath,\n })).toThrow(/admin\\.password/);\n });\n\n it('admits a public value, and a value the vendor made public (PostHog\\'s project key) — read off the ENGINE contract', () => {\n for (const supplied of [{ siteKey: 'public-site-key-for-browsers' }, { apiKey: POSTHOG_PROJECT_KEY }, { siteKey: 'owner@example.test' }]) {\n expect(() => screenFrontendProviderPublicConfigForEnvironment({\n artifacts: materializeBrowserOnlyCaptcha(supplied),\n environmentName: 'local',\n loadSecrets: loadFrom(secretsFilePath),\n secretsFilePath,\n catalogue: getComposedProviderSecretsCatalogue(),\n })).not.toThrow();\n }\n });\n\n it('REFUSES to produce anything when the environment\\'s secrets.json cannot be read, naming the file', () => {\n const missing = join(fixtureRoot, 'staging', 'secrets', 'secrets.json');\n expect(() => screenFrontendProviderPublicConfigForEnvironment({\n artifacts: materializeBrowserOnlyCaptcha({ siteKey: 'public-site-key-for-browsers' }),\n environmentName: 'staging',\n loadSecrets: loadFrom(missing),\n secretsFilePath: missing,\n })).toThrow(new RegExp(`environment \"staging\": its secrets at ${missing.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&')} cannot be read`));\n });\n});\n\ndescribe('collectConfidentialSecretValues (#1705)', () => {\n it('is TOTAL over the file: identities and marked-public provider slots are the only exemptions', () => {\n const slots = collectConfidentialSecretValues({\n secrets: { ...fixtureSecrets, someFutureSection: { token: 'x' } } as unknown as PlatformEnvSecretsJson,\n secretsFileLabel: 'secrets.json',\n catalogue: getComposedProviderSecretsCatalogue(),\n }).map((secret) => secret.slot);\n\n expect(slots).toEqual(expect.arrayContaining([\n 'secrets.json → admin.password',\n 'secrets.json → postgresql.adminPassword',\n 'secrets.json → providerEnv.ACME_CAPTCHA_SECRET_KEY',\n 'secrets.json → someFutureSection.token',\n ]));\n expect(slots).not.toContain('secrets.json → admin.email');\n expect(slots).not.toContain('secrets.json → postgresql.adminUser');\n expect(slots).not.toContain('secrets.json → providerEnv.POSTHOG_PROJECT_API_KEY');\n });\n});\n\ndescribe('loadEnvironmentSecretsForScreen — a deploy job has no secrets.json (#1705 review F1)', () => {\n afterEach(() => { vi.restoreAllMocks(); });\n\n it('reads the WILDO_SECRET_* variables a deploy workflow publishes when there is no file, and screens against them', () => {\n vi.spyOn(EnvironmentUtils, 'loadSecretsJson').mockReturnValue(null);\n // The shape a generated deploy workflow publishes: every required section, plus the provider env.\n const ciEnv: Record<string, string> = {\n WILDO_SECRET_POSTGRESQL_ADMIN_USER: 'pg', WILDO_SECRET_POSTGRESQL_ADMIN_PASSWORD: 'pg-password-0123456789',\n WILDO_SECRET_RABBITMQ_ADMIN_USERNAME: 'mq', WILDO_SECRET_RABBITMQ_ADMIN_PASSWORD: 'mq-password-0123456789', WILDO_SECRET_RABBITMQ_ERLANG_COOKIE: 'cookie-0123456789abcdef',\n WILDO_SECRET_STORAGE_ACCESS_KEY: 'access', WILDO_SECRET_STORAGE_SECRET_KEY: 'storage-secret-0123456789',\n WILDO_SECRET_PLATFORM_PRIMARY_SECRET: 'primary-0123456789abcdef', WILDO_SECRET_PLATFORM_ADMIN_SECRET: 'admin-0123456789abcdef',\n WILDO_SECRET_PLATFORM_APPS_MANAGER_PRIVATE_KEY: 'private-key', WILDO_SECRET_PLATFORM_APPS_MANAGER_PUBLIC_KEY: 'public-key',\n WILDO_SECRET_ADMIN_EMAIL: 'owner@example.test', WILDO_SECRET_ADMIN_FIRST_NAME: 'Ada', WILDO_SECRET_ADMIN_LAST_NAME: 'Lovelace', WILDO_SECRET_ADMIN_PASSWORD: 'ci-admin-password-0123',\n WILDO_SECRET_PROVIDER_ENV_ACME_CAPTCHA_SECRET_KEY: CAPTCHA_SERVER_SECRET,\n };\n const secrets = loadEnvironmentSecretsForScreen('staging', ciEnv);\n expect(secrets?.providerEnv?.ACME_CAPTCHA_SECRET_KEY).toBe(CAPTCHA_SERVER_SECRET);\n expect(() => screenFrontendProviderPublicConfigForEnvironment({\n artifacts: materializeBrowserOnlyCaptcha({ siteKey: CAPTCHA_SERVER_SECRET }),\n environmentName: 'staging',\n loadSecrets: (name) => loadEnvironmentSecretsForScreen(name, ciEnv),\n })).toThrow(/providerEnv\\.ACME_CAPTCHA_SECRET_KEY/);\n });\n\n it('still answers \"unreadable\" when a step has neither the file nor the variables', () => {\n vi.spyOn(EnvironmentUtils, 'loadSecretsJson').mockReturnValue(null);\n expect(loadEnvironmentSecretsForScreen('staging', { PATH: '/usr/bin', WILDO_SECRET_EMPTY: '' })).toBeNull();\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-vite-warmup.template.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/frontend-vite-warmup.template.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
2
|
+
import { dirname, join, resolve } from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import Handlebars from 'handlebars';
|
|
5
|
+
import ts from 'typescript';
|
|
6
|
+
import { describe, expect, it } from 'vitest';
|
|
7
|
+
const REPOSITORY_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..', '..', '..', '..', '..', '..', '..');
|
|
8
|
+
const WARMUP = /warmup: \{ clientFiles: \['\.\/src\/main\.tsx'\] \}/;
|
|
9
|
+
/**
|
|
10
|
+
* #1580. Every generated application's frontend dev server warms its module graph at startup, so a
|
|
11
|
+
* restart does not hand the next page load a cold transform of the whole static graph. The line lives in
|
|
12
|
+
* the skeleton template (both modes) and in the two dogfood applications, and nothing else kept it there.
|
|
13
|
+
*/
|
|
14
|
+
describe('frontend dev-server warmup (#1580)', () => {
|
|
15
|
+
const template = readFileSync(join(REPOSITORY_ROOT, 'templates/saas/skeleton/frontend/vite.config.ts.hbs'), 'utf8');
|
|
16
|
+
for (const isFrameworkDev of [true, false]) {
|
|
17
|
+
it(`the skeleton renders valid TypeScript with the warmup when isFrameworkDev=${isFrameworkDev}`, () => {
|
|
18
|
+
const rendered = Handlebars.compile(template, { noEscape: true })({ isFrameworkDev, slug: 'probe-app' });
|
|
19
|
+
const parsed = ts.createSourceFile('vite.config.ts', rendered, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
|
|
20
|
+
expect(parsed.parseDiagnostics ?? []).toEqual([]);
|
|
21
|
+
expect(rendered).toMatch(WARMUP);
|
|
22
|
+
expect(rendered).not.toMatch(/\{\{/);
|
|
23
|
+
// The comment describes the mode it is rendered in: only framework development serves the engine from source.
|
|
24
|
+
expect(rendered.includes('served from SOURCE')).toBe(isFrameworkDev);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
it.each(['examples/wonder-todos', 'examples/wonder-crm'])('the dogfood application %s declares it too', (app) => {
|
|
28
|
+
expect(readFileSync(join(REPOSITORY_ROOT, app, 'frontend/vite.config.ts'), 'utf8')).toMatch(WARMUP);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=frontend-vite-warmup.template.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-vite-warmup.template.test.js","sourceRoot":"","sources":["../../../../../../../src/services/application/__tests__/frontend-vite-warmup.template.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AACnH,MAAM,MAAM,GAAG,qDAAqD,CAAC;AAErE;;;;GAIG;AACH,QAAQ,CAAC,oCAAoC,EAAE,GAAG,EAAE;IAClD,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,eAAe,EAA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dirname, join, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport Handlebars from 'handlebars';\nimport ts from 'typescript';\nimport { describe, expect, it } from 'vitest';\n\nconst REPOSITORY_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..', '..', '..', '..', '..', '..', '..');\nconst WARMUP = /warmup: \\{ clientFiles: \\['\\.\\/src\\/main\\.tsx'\\] \\}/;\n\n/**\n * #1580. Every generated application's frontend dev server warms its module graph at startup, so a\n * restart does not hand the next page load a cold transform of the whole static graph. The line lives in\n * the skeleton template (both modes) and in the two dogfood applications, and nothing else kept it there.\n */\ndescribe('frontend dev-server warmup (#1580)', () => {\n const template = readFileSync(join(REPOSITORY_ROOT, 'templates/saas/skeleton/frontend/vite.config.ts.hbs'), 'utf8');\n\n for (const isFrameworkDev of [true, false]) {\n it(`the skeleton renders valid TypeScript with the warmup when isFrameworkDev=${isFrameworkDev}`, () => {\n const rendered = Handlebars.compile(template, { noEscape: true })({ isFrameworkDev, slug: 'probe-app' });\n const parsed = ts.createSourceFile('vite.config.ts', rendered, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS) as ts.SourceFile & { parseDiagnostics?: readonly unknown[] };\n expect(parsed.parseDiagnostics ?? []).toEqual([]);\n expect(rendered).toMatch(WARMUP);\n expect(rendered).not.toMatch(/\\{\\{/);\n // The comment describes the mode it is rendered in: only framework development serves the engine from source.\n expect(rendered.includes('served from SOURCE')).toBe(isFrameworkDev);\n });\n }\n\n it.each(['examples/wonder-todos', 'examples/wonder-crm'])('the dogfood application %s declares it too', (app) => {\n expect(readFileSync(join(REPOSITORY_ROOT, app, 'frontend/vite.config.ts'), 'utf8')).toMatch(WARMUP);\n });\n});\n"]}
|
package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js
CHANGED
|
@@ -15,6 +15,8 @@ const mocks = vi.hoisted(() => ({
|
|
|
15
15
|
ensureLocalRuntimeArtifacts: vi.fn(async () => undefined),
|
|
16
16
|
infraEnsureReady: vi.fn(async () => undefined),
|
|
17
17
|
appBootstrap: vi.fn(async () => ({ backendCount: 1, companionCount: 1, frontendCount: 0, workerCount: 0, minionCount: 0 })),
|
|
18
|
+
invalidateCache: vi.fn(),
|
|
19
|
+
loadSecretsJson: vi.fn(() => ({ platform: {} })),
|
|
18
20
|
}));
|
|
19
21
|
vi.mock('~wildo-cli/services/environment/infrastructure-host.service', () => ({
|
|
20
22
|
InfrastructureHost: { resolveAuthored: mocks.resolveAuthored },
|
|
@@ -43,7 +45,7 @@ vi.mock('~wildo-cli/services/application/application-runtime-bootstrap.service',
|
|
|
43
45
|
ApplicationRuntimeBootstrapService: { initialize: mocks.appBootstrap },
|
|
44
46
|
}));
|
|
45
47
|
vi.mock('~wildo-cli/services/environment/environment.service', () => ({
|
|
46
|
-
EnvironmentUtils: { loadSecretsJson:
|
|
48
|
+
EnvironmentUtils: { loadSecretsJson: mocks.loadSecretsJson, invalidateCache: mocks.invalidateCache },
|
|
47
49
|
}));
|
|
48
50
|
import { LocalApplicationInitializationService } from '../local-application-initialization.service.js';
|
|
49
51
|
const HOST = { applicationRoot: '/fw/examples/wonder-todos', infraConfigPath: '/fw/examples/wonder-todos/wildo.infra.local.config.ts' };
|
|
@@ -84,6 +86,23 @@ describe('LocalApplicationInitializationService — hosted application', () => {
|
|
|
84
86
|
.toBeLessThan(mocks.appBootstrap.mock.invocationCallOrder[0]);
|
|
85
87
|
expectNoSharedSubstrateTouched();
|
|
86
88
|
});
|
|
89
|
+
it('loads the secrets only AFTER config.json is on the host and the cache is dropped, and registers with them', async () => {
|
|
90
|
+
// `loadSecretsJson` decides hosted-vs-owner from the GENERATED config.json and caches the answer. Read
|
|
91
|
+
// before `ensureLocalRuntimeArtifacts` points it at the host, an app turned hosted after being
|
|
92
|
+
// scaffolded as an owner presented its own leftover platform admin secret on the first run.
|
|
93
|
+
mocks.resolveAuthored.mockResolvedValue(HOST);
|
|
94
|
+
mocks.readLiveLocalDevPlatformOwner.mockReturnValue(null);
|
|
95
|
+
const hostedSecrets = { platform: { adminSecret: 'from-the-host' } };
|
|
96
|
+
mocks.loadSecretsJson.mockReturnValueOnce(hostedSecrets);
|
|
97
|
+
await LocalApplicationInitializationService.initialize(input);
|
|
98
|
+
const ensured = mocks.ensureLocalRuntimeArtifacts.mock.invocationCallOrder[0];
|
|
99
|
+
const invalidated = mocks.invalidateCache.mock.invocationCallOrder[0];
|
|
100
|
+
const loaded = mocks.loadSecretsJson.mock.invocationCallOrder[0];
|
|
101
|
+
expect(mocks.loadSecretsJson).toHaveBeenCalledTimes(1);
|
|
102
|
+
expect(ensured).toBeLessThan(invalidated);
|
|
103
|
+
expect(invalidated).toBeLessThan(loaded);
|
|
104
|
+
expect(mocks.appBootstrap).toHaveBeenCalledWith(expect.objectContaining({ credentials: hostedSecrets }));
|
|
105
|
+
});
|
|
87
106
|
it('is NOT refused under a live platform owner', async () => {
|
|
88
107
|
mocks.resolveAuthored.mockResolvedValue(HOST);
|
|
89
108
|
mocks.readLiveLocalDevPlatformOwner.mockReturnValue(LIVE_OWNER);
|