@wildo-ai/wildo-cli 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js +3 -2
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +7 -5
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +100 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +50 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +104 -14
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-compliance-module-wiring.js","sourceRoot":"","sources":["../../../../../../src/services/compliance/generated-compliance-module-wiring.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"generated-compliance-module-wiring.js","sourceRoot":"","sources":["../../../../../../src/services/compliance/generated-compliance-module-wiring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,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AAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,KAAK,aAAa,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AACnI,CAAC;AAED,0GAA0G;AAC1G,MAAM,UAAU,0CAA0C,CAAC,UAAkB,EAAE,SAAgD;IAC7H,MAAM,SAAS,GAAG,KAAK,QAAQ,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IACvE,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9E,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvG,OAAO,GAAG,4BAA4B,mBAAmB,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;UAC7H,YAAY,SAAS,YAAY,SAAS,gBAAgB,WAAW,wBAAwB,CAAC;AACpG,CAAC","sourcesContent":["/**\n * Does the backend configuration actually CARRY what a generated compliance module holds?\n *\n * `wildo config document-releases`, `wildo config service-consent`, `wildo config data-retention` and `wildo config\n * subject-data-recipients` write modules into\n * `backend-api/src/`, and the `document-releases` and `service-consent` validate domains check that\n * each module is CURRENT. Neither checked that anything imports it. A module can therefore be\n * byte-for-byte current while `saas-config.backend.ts` never assigns it — and then the running\n * application serves no public privacy or terms document, offers no acceptance control at\n * registration and enforces no consent gate, with every check green.\n *\n * That is not hypothetical wiring trivia: an application that adopts governed documents later (Wonder\n * Todos holds a compliance programme and no release yet) gets the module the day its first draft\n * lands, and nothing in `saas-config.backend.ts` names it.\n *\n * ## Why the comparison is by VALUE, not by reading the import text\n *\n * The question is whether the RUNNING configuration carries the value, and a configuration can import\n * the constant and still assign something else, or assign it through a helper module. So both sides are\n * loaded the way a process would load them — the generated module through `tsImport`, the backend\n * configuration through `loadConfig` — and compared structurally with key order ignored. Both parse\n * through the same schema, so a carried value compares equal and an uncarried one cannot.\n *\n * ## Why an EMPTY value owes nothing\n *\n * A module exporting `[]` or `undefined` changes nothing when it is not carried: the runtime default is\n * the same empty value. Refusing it would turn every application with nothing to publish red over an\n * import that could not change a byte of behaviour — the same reason both domains PASS when no module\n * exists at all. It also means the backend configuration is not loaded for an application that has\n * nothing to carry.\n */\n\nimport { existsSync } from 'node:fs';\nimport { basename, join } from 'node:path';\n\nimport { loadConfig } from '@wildo-ai/platform-config-lib';\nimport { tsImport } from 'tsx/esm/api';\n\n/** The backend configuration every generated compliance module is carried by. Relative to the application root. */\nexport const BACKEND_CONFIG_RELATIVE_PATH = join('backend-api', 'src', 'saas-config.backend.ts');\n\n/** The `compliance` field a generated constant must reach in the backend configuration. */\nexport enum GeneratedComplianceConfigField {\n /** The consent surfaces the registration control and the interaction recorder read. */\n GOVERNED_DOCUMENT_RELEASES = 'governedDocumentReleases',\n /** The documents the public privacy and terms pages serve. */\n PUBLIC_DOCUMENTS = 'publicDocuments',\n /** The consent gate's runtime requirement. */\n SERVICE_CONSENT_REQUIREMENT = 'serviceConsentRequirement',\n /** The retention schedule the retention-class sweep enforces (#1613). */\n DATA_RETENTION = 'dataRetention',\n /** Who else holds a data subject's data — what a subject export lists and a subject erasure accounts for (#1710). */\n SUBJECT_DATA_RECIPIENTS = 'subjectDataRecipients',\n}\n\n/** One generated constant and the configuration field it must reach. */\nexport interface GeneratedComplianceBinding {\n readonly field: GeneratedComplianceConfigField;\n readonly constantName: string;\n}\n\nexport class GeneratedComplianceWiringError extends Error {}\n\n/** Recursively key-sorted JSON, so two structurally equal values compare equal whatever order produced them. */\nfunction canonicalJson(value: unknown): string {\n return JSON.stringify(value, (_key, nested: unknown) => {\n if (nested === null || typeof nested !== 'object' || Array.isArray(nested)) return nested;\n return Object.fromEntries(Object.keys(nested).sort().map((key) => [key, (nested as Record<string, unknown>)[key]]));\n });\n}\n\nconst owesCarrying = (value: unknown): boolean => value !== undefined && value !== null && !(Array.isArray(value) && value.length === 0);\n\n/**\n * The bindings whose generated value is NOT what the backend configuration carries.\n *\n * Throws when a value is owed and the backend configuration cannot be found or loaded: an unknowable\n * answer is not a pass, which is how both validate domains already treat a generator that cannot load.\n */\nexport async function findUncarriedGeneratedComplianceValues(input: {\n readonly appRoot: string;\n readonly modulePath: string;\n readonly bindings: readonly GeneratedComplianceBinding[];\n /** Test seams; production loads both files the way a process would. */\n readonly loadModuleExports?: (path: string) => Promise<Record<string, unknown>>;\n readonly loadBackendConfig?: (path: string) => Promise<unknown>;\n}): Promise<readonly GeneratedComplianceBinding[]> {\n const loadModuleExports = input.loadModuleExports\n ?? (async (path: string) => (await tsImport(path, { parentURL: import.meta.url })) as Record<string, unknown>);\n const moduleExports = await loadModuleExports(input.modulePath);\n const owed = input.bindings.filter((binding) => owesCarrying(moduleExports[binding.constantName]));\n if (owed.length === 0) return [];\n\n const backendConfigPath = join(input.appRoot, BACKEND_CONFIG_RELATIVE_PATH);\n if (!existsSync(backendConfigPath)) {\n throw new GeneratedComplianceWiringError(\n `${basename(input.modulePath)} holds values to carry, and there is no ${BACKEND_CONFIG_RELATIVE_PATH} to carry them.`,\n );\n }\n const loadBackendConfig = input.loadBackendConfig ?? ((path: string) => loadConfig<unknown>(path));\n const backendConfig = (await loadBackendConfig(backendConfigPath)) as { compliance?: Record<string, unknown> } | undefined;\n const compliance = backendConfig?.compliance ?? {};\n return owed.filter((binding) => canonicalJson(compliance[binding.field]) !== canonicalJson(moduleExports[binding.constantName]));\n}\n\n/** The remedy, naming the exact import and assignments — so the gate output alone is enough to fix it. */\nexport function describeUncarriedGeneratedComplianceValues(modulePath: string, uncarried: readonly GeneratedComplianceBinding[]): string {\n const specifier = `./${basename(modulePath).replace(/\\.ts$/u, '.js')}`;\n const constants = uncarried.map((binding) => binding.constantName).join(', ');\n const assignments = uncarried.map((binding) => `${binding.field}: ${binding.constantName}`).join(', ');\n return `${BACKEND_CONFIG_RELATIVE_PATH} does not carry ${uncarried.map((binding) => `compliance.${binding.field}`).join(', ')}. `\n + `Import { ${constants} } from '${specifier}' and assign ${assignments} under \\`compliance\\`.`;\n}\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carries WHO ELSE HOLDS a data subject's personal data into the application's runtime config (#1710).
|
|
3
|
+
*
|
|
4
|
+
* ## The gap this closes
|
|
5
|
+
*
|
|
6
|
+
* A subject export answers Art. 15, which names "the recipients or categories of recipient", and an erasure answers
|
|
7
|
+
* Art. 17, after which Art. 19 asks the controller to tell each recipient. The running backend knew neither: the
|
|
8
|
+
* recipient population, the processor register and the #1709 disclosures live in the application's configuration,
|
|
9
|
+
* specifications and source, none of which the backend loads. This projects the one derivation that joins them —
|
|
10
|
+
* `deriveSubjectDataRecipients`, the same functions the companion and the evidence collector call — into
|
|
11
|
+
* `backend-api/src/subject-data-recipients.generated.ts`, which `saas-config.backend.ts` composes into
|
|
12
|
+
* `compliance.subjectDataRecipients`. The `wildo config data-retention` precedent.
|
|
13
|
+
*
|
|
14
|
+
* ## What it reads, and how each input fails
|
|
15
|
+
*
|
|
16
|
+
* - `wildo.saas.config.ts`: providers, compliance choices, role allocations, lawful bases.
|
|
17
|
+
* - The providers' compliance profiles, through the application's own discovery (`resolveProviderComplianceProfiles`):
|
|
18
|
+
* a profile is where a vendor declares its erasure stance. An owner discovery could not read REFUSES generation —
|
|
19
|
+
* a projection missing one vendor's stance would tell every erasure that vendor is unmeasured.
|
|
20
|
+
* - The processor register, from the specifications package's companion exports. A package that cannot be loaded
|
|
21
|
+
* refuses; an application with no register projects every operator recipient with no legal identity, which the
|
|
22
|
+
* export then states as such.
|
|
23
|
+
* - Typed-client imports, by `git grep` over the working tree (the companion's reader). A scan that could not run is
|
|
24
|
+
* carried as an UNSCANNED code path, never as "nothing imports it".
|
|
25
|
+
* - Systems of record are NOT recipients here: `deriveSubjectDataRecipients` excludes them, because their erasure and
|
|
26
|
+
* what they hold are maintained on the systems-of-record lane. So their flows are not read either.
|
|
27
|
+
*/
|
|
28
|
+
import { type SubjectDataRecipientsDeclaration } from '@wildo-ai/saas-models';
|
|
29
|
+
import { type ProviderTypedClientSite } from '@wildo-ai/saas-specifications/application-creation';
|
|
30
|
+
export declare class SubjectDataRecipientsGenerationError extends Error {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Typed-client imports in the working tree, untracked files included: imports of the provider packages the
|
|
34
|
+
* application owns (#2018). `undefined` when the scan could not run.
|
|
35
|
+
*/
|
|
36
|
+
export declare function scanTypedClientSites(appRoot: string): readonly ProviderTypedClientSite[] | undefined;
|
|
37
|
+
/** Derive the application's recipient declaration. Throws a {@link SubjectDataRecipientsGenerationError} on an input it cannot trust. */
|
|
38
|
+
export declare function deriveApplicationSubjectDataRecipients(appRoot: string): Promise<SubjectDataRecipientsDeclaration>;
|
|
39
|
+
/** Write the module into `<appRoot>/backend-api/src/`. Returns whether the bytes changed. */
|
|
40
|
+
export declare function generateSubjectDataRecipientsModule(input: {
|
|
41
|
+
readonly appRoot: string;
|
|
42
|
+
readonly dryRun?: boolean;
|
|
43
|
+
}): Promise<{
|
|
44
|
+
readonly path: string;
|
|
45
|
+
readonly recipientCount: number;
|
|
46
|
+
readonly changed: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
//# sourceMappingURL=subject-data-recipients.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subject-data-recipients.generator.d.ts","sourceRoot":"","sources":["../../../../../../src/services/compliance/subject-data-recipients.generator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAQH,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAYL,KAAK,uBAAuB,EAC7B,MAAM,oDAAoD,CAAC;AAE5D,qBAAa,oCAAqC,SAAQ,KAAK;CAAG;AAoBlE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,uBAAuB,EAAE,GAAG,SAAS,CAoBpG;AAED,yIAAyI;AACzI,wBAAsB,sCAAsC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gCAAgC,CAAC,CA6DvH;AAED,6FAA6F;AAC7F,wBAAsB,mCAAmC,CAAC,KAAK,EAAE;IAC/D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,OAAO,CAAC;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAcjG"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carries WHO ELSE HOLDS a data subject's personal data into the application's runtime config (#1710).
|
|
3
|
+
*
|
|
4
|
+
* ## The gap this closes
|
|
5
|
+
*
|
|
6
|
+
* A subject export answers Art. 15, which names "the recipients or categories of recipient", and an erasure answers
|
|
7
|
+
* Art. 17, after which Art. 19 asks the controller to tell each recipient. The running backend knew neither: the
|
|
8
|
+
* recipient population, the processor register and the #1709 disclosures live in the application's configuration,
|
|
9
|
+
* specifications and source, none of which the backend loads. This projects the one derivation that joins them —
|
|
10
|
+
* `deriveSubjectDataRecipients`, the same functions the companion and the evidence collector call — into
|
|
11
|
+
* `backend-api/src/subject-data-recipients.generated.ts`, which `saas-config.backend.ts` composes into
|
|
12
|
+
* `compliance.subjectDataRecipients`. The `wildo config data-retention` precedent.
|
|
13
|
+
*
|
|
14
|
+
* ## What it reads, and how each input fails
|
|
15
|
+
*
|
|
16
|
+
* - `wildo.saas.config.ts`: providers, compliance choices, role allocations, lawful bases.
|
|
17
|
+
* - The providers' compliance profiles, through the application's own discovery (`resolveProviderComplianceProfiles`):
|
|
18
|
+
* a profile is where a vendor declares its erasure stance. An owner discovery could not read REFUSES generation —
|
|
19
|
+
* a projection missing one vendor's stance would tell every erasure that vendor is unmeasured.
|
|
20
|
+
* - The processor register, from the specifications package's companion exports. A package that cannot be loaded
|
|
21
|
+
* refuses; an application with no register projects every operator recipient with no legal identity, which the
|
|
22
|
+
* export then states as such.
|
|
23
|
+
* - Typed-client imports, by `git grep` over the working tree (the companion's reader). A scan that could not run is
|
|
24
|
+
* carried as an UNSCANNED code path, never as "nothing imports it".
|
|
25
|
+
* - Systems of record are NOT recipients here: `deriveSubjectDataRecipients` excludes them, because their erasure and
|
|
26
|
+
* what they hold are maintained on the systems-of-record lane. So their flows are not read either.
|
|
27
|
+
*/
|
|
28
|
+
import { execFileSync } from 'node:child_process';
|
|
29
|
+
import { existsSync, readFileSync } from 'node:fs';
|
|
30
|
+
import { mkdir, readFile, writeFile } from 'node:fs/promises';
|
|
31
|
+
import { dirname, join } from 'node:path';
|
|
32
|
+
import { loadPackageCompanionExport, loadSaasConfig, resolveProviderComplianceProfiles } from '@wildo-ai/platform-config-lib';
|
|
33
|
+
import { ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, } from '@wildo-ai/saas-models';
|
|
34
|
+
import { ApplicationProcessorRegisterSchema, computeRecipientPopulation, deriveRecipientDisclosures, deriveSubjectDataRecipients, APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC, applicationProviderPackagesFromManifests, RecipientPopulationMemberKind, renderSubjectDataRecipientsModule, SUBJECT_DATA_RECIPIENTS_GENERATED_RELATIVE_PATH, typedClientSearchNeedles, typedClientSitesFromGrepLines, } from '@wildo-ai/saas-specifications/application-creation';
|
|
35
|
+
export class SubjectDataRecipientsGenerationError extends Error {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The provider packages this application owns (package name → ref), from `providers/<ref>/<facet>/package.json`
|
|
39
|
+
* in the working tree, untracked included (#2018). `undefined` when they could not be listed, so the scan below
|
|
40
|
+
* reports itself UNSCANNED rather than reading "no owned package" as "nothing imports a provider".
|
|
41
|
+
*/
|
|
42
|
+
function readApplicationProviderPackages(appRoot) {
|
|
43
|
+
try {
|
|
44
|
+
const listed = execFileSync('git', ['ls-files', '--cached', '--others', '--exclude-standard', '--', APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC], {
|
|
45
|
+
cwd: appRoot,
|
|
46
|
+
encoding: 'utf8',
|
|
47
|
+
stdio: ['ignore', 'pipe', 'ignore'],
|
|
48
|
+
}).split('\n').filter(Boolean);
|
|
49
|
+
return applicationProviderPackagesFromManifests(listed.map((path) => ({ path, content: readFileSync(join(appRoot, path), 'utf8') })));
|
|
50
|
+
}
|
|
51
|
+
catch {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Typed-client imports in the working tree, untracked files included: imports of the provider packages the
|
|
57
|
+
* application owns (#2018). `undefined` when the scan could not run.
|
|
58
|
+
*/
|
|
59
|
+
export function scanTypedClientSites(appRoot) {
|
|
60
|
+
const applicationProviderPackages = readApplicationProviderPackages(appRoot);
|
|
61
|
+
if (applicationProviderPackages === undefined)
|
|
62
|
+
return undefined;
|
|
63
|
+
const needles = typedClientSearchNeedles(applicationProviderPackages).flatMap((needle) => ['-e', needle]);
|
|
64
|
+
// No owned provider package, nothing a typed client could be imported from: a scan that found none. Never run
|
|
65
|
+
// `git grep` with no `-e`: it would read the pathspec `.` as the PATTERN and return every line holding a dot.
|
|
66
|
+
if (needles.length === 0)
|
|
67
|
+
return [];
|
|
68
|
+
try {
|
|
69
|
+
const output = execFileSync('git', ['grep', '--untracked', '-n', '-F', ...needles, '--', '.'], {
|
|
70
|
+
cwd: appRoot,
|
|
71
|
+
encoding: 'utf8',
|
|
72
|
+
stdio: ['ignore', 'pipe', 'ignore'],
|
|
73
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
74
|
+
});
|
|
75
|
+
return typedClientSitesFromGrepLines(output.split('\n'), applicationProviderPackages);
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
78
|
+
// `git grep` exits 1 when nothing matches: a scan that found none, not one that failed.
|
|
79
|
+
if (error.status === 1)
|
|
80
|
+
return [];
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/** Derive the application's recipient declaration. Throws a {@link SubjectDataRecipientsGenerationError} on an input it cannot trust. */
|
|
85
|
+
export async function deriveApplicationSubjectDataRecipients(appRoot) {
|
|
86
|
+
const configPath = join(appRoot, 'wildo.saas.config.ts');
|
|
87
|
+
const config = await loadSaasConfig(configPath);
|
|
88
|
+
if (config === null)
|
|
89
|
+
throw new SubjectDataRecipientsGenerationError(`Could not load ${configPath}, so the application's recipients are unknown.`);
|
|
90
|
+
const choices = config.providerComplianceChoices === undefined ? undefined : ApplicationProviderComplianceChoicesSchema.safeParse(config.providerComplianceChoices);
|
|
91
|
+
if (choices !== undefined && !choices.success) {
|
|
92
|
+
throw new SubjectDataRecipientsGenerationError(`providerComplianceChoices in ${configPath} is invalid: ${choices.error.issues.map((issue) => issue.message).join('; ')}`);
|
|
93
|
+
}
|
|
94
|
+
const identity = config.operatorComplianceIdentity === undefined ? undefined : ApplicationOperatorComplianceIdentitySchema.safeParse(config.operatorComplianceIdentity);
|
|
95
|
+
if (identity !== undefined && !identity.success) {
|
|
96
|
+
throw new SubjectDataRecipientsGenerationError(`operatorComplianceIdentity in ${configPath} is invalid: ${identity.error.issues.map((issue) => issue.message).join('; ')}`);
|
|
97
|
+
}
|
|
98
|
+
const profiles = await resolveProviderComplianceProfiles({ saasRoot: appRoot, saasConfig: config });
|
|
99
|
+
if (profiles.unreadableOwners.length > 0) {
|
|
100
|
+
throw new SubjectDataRecipientsGenerationError(`Provider discovery could not read ${profiles.unreadableOwners.length} owner(s), so their vendors' erasure stances are unknown. Build or install them and re-run.`);
|
|
101
|
+
}
|
|
102
|
+
const population = computeRecipientPopulation({
|
|
103
|
+
providers: config.providers,
|
|
104
|
+
systemsOfRecord: config.systemsOfRecord,
|
|
105
|
+
providerComplianceChoices: choices?.data,
|
|
106
|
+
typedClientSites: scanTypedClientSites(appRoot),
|
|
107
|
+
providerComplianceProfiles: profiles.profilesByProviderRef,
|
|
108
|
+
});
|
|
109
|
+
const specificationsRoot = join(appRoot, 'specifications');
|
|
110
|
+
let register;
|
|
111
|
+
if (existsSync(specificationsRoot)) {
|
|
112
|
+
let exports;
|
|
113
|
+
try {
|
|
114
|
+
exports = await loadPackageCompanionExport(specificationsRoot);
|
|
115
|
+
}
|
|
116
|
+
catch (error) {
|
|
117
|
+
// A package that cannot be loaded is not "no register": that would strip every legal identity from the list.
|
|
118
|
+
throw new SubjectDataRecipientsGenerationError(`Could not load the specifications package at ${specificationsRoot}: ${error.message}`);
|
|
119
|
+
}
|
|
120
|
+
if (exports.processorRegister !== undefined) {
|
|
121
|
+
const parsed = ApplicationProcessorRegisterSchema.safeParse(exports.processorRegister);
|
|
122
|
+
if (!parsed.success)
|
|
123
|
+
throw new SubjectDataRecipientsGenerationError(`The processor register is invalid: ${parsed.error.issues.map((issue) => issue.message).join('; ')}`);
|
|
124
|
+
register = parsed.data;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
const disclosures = deriveRecipientDisclosures({
|
|
128
|
+
population,
|
|
129
|
+
// Not read here: systems of record are excluded from this list by `deriveSubjectDataRecipients` (see the module JSDoc).
|
|
130
|
+
systemOfRecordFlows: population.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD) ? undefined : [],
|
|
131
|
+
providerComplianceChoices: choices?.data,
|
|
132
|
+
lawfulBases: identity?.data?.lawfulBases,
|
|
133
|
+
});
|
|
134
|
+
return deriveSubjectDataRecipients({
|
|
135
|
+
population,
|
|
136
|
+
disclosures,
|
|
137
|
+
register,
|
|
138
|
+
providerComplianceChoices: choices?.data,
|
|
139
|
+
roleAllocations: identity?.data?.roleAllocations,
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/** Write the module into `<appRoot>/backend-api/src/`. Returns whether the bytes changed. */
|
|
143
|
+
export async function generateSubjectDataRecipientsModule(input) {
|
|
144
|
+
if (!existsSync(join(input.appRoot, 'backend-api'))) {
|
|
145
|
+
throw new SubjectDataRecipientsGenerationError(`No backend-api/ package under ${input.appRoot}, so there is no runtime config to carry the recipients into.`);
|
|
146
|
+
}
|
|
147
|
+
const declaration = await deriveApplicationSubjectDataRecipients(input.appRoot);
|
|
148
|
+
const content = renderSubjectDataRecipientsModule(declaration);
|
|
149
|
+
const path = join(input.appRoot, SUBJECT_DATA_RECIPIENTS_GENERATED_RELATIVE_PATH);
|
|
150
|
+
const previous = existsSync(path) ? await readFile(path, 'utf-8') : undefined;
|
|
151
|
+
const changed = previous !== content;
|
|
152
|
+
if (changed && input.dryRun !== true) {
|
|
153
|
+
await mkdir(dirname(path), { recursive: true });
|
|
154
|
+
await writeFile(path, content, 'utf-8');
|
|
155
|
+
}
|
|
156
|
+
return { path, recipientCount: declaration.recipients.length, changed };
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=subject-data-recipients.generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subject-data-recipients.generator.js","sourceRoot":"","sources":["../../../../../../src/services/compliance/subject-data-recipients.generator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SA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IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;AAC1E,CAAC","sourcesContent":["/**\n * Carries WHO ELSE HOLDS a data subject's personal data into the application's runtime config (#1710).\n *\n * ## The gap this closes\n *\n * A subject export answers Art. 15, which names \"the recipients or categories of recipient\", and an erasure answers\n * Art. 17, after which Art. 19 asks the controller to tell each recipient. The running backend knew neither: the\n * recipient population, the processor register and the #1709 disclosures live in the application's configuration,\n * specifications and source, none of which the backend loads. This projects the one derivation that joins them —\n * `deriveSubjectDataRecipients`, the same functions the companion and the evidence collector call — into\n * `backend-api/src/subject-data-recipients.generated.ts`, which `saas-config.backend.ts` composes into\n * `compliance.subjectDataRecipients`. The `wildo config data-retention` precedent.\n *\n * ## What it reads, and how each input fails\n *\n * - `wildo.saas.config.ts`: providers, compliance choices, role allocations, lawful bases.\n * - The providers' compliance profiles, through the application's own discovery (`resolveProviderComplianceProfiles`):\n * a profile is where a vendor declares its erasure stance. An owner discovery could not read REFUSES generation —\n * a projection missing one vendor's stance would tell every erasure that vendor is unmeasured.\n * - The processor register, from the specifications package's companion exports. A package that cannot be loaded\n * refuses; an application with no register projects every operator recipient with no legal identity, which the\n * export then states as such.\n * - Typed-client imports, by `git grep` over the working tree (the companion's reader). A scan that could not run is\n * carried as an UNSCANNED code path, never as \"nothing imports it\".\n * - Systems of record are NOT recipients here: `deriveSubjectDataRecipients` excludes them, because their erasure and\n * what they hold are maintained on the systems-of-record lane. So their flows are not read either.\n */\n\nimport { execFileSync } from 'node:child_process';\nimport { existsSync, readFileSync } from 'node:fs';\nimport { mkdir, readFile, writeFile } from 'node:fs/promises';\nimport { dirname, join } from 'node:path';\n\nimport { loadPackageCompanionExport, loadSaasConfig, resolveProviderComplianceProfiles } from '@wildo-ai/platform-config-lib';\nimport {\n ApplicationOperatorComplianceIdentitySchema,\n ApplicationProviderComplianceChoicesSchema,\n type SubjectDataRecipientsDeclaration,\n} from '@wildo-ai/saas-models';\nimport {\n ApplicationProcessorRegisterSchema,\n computeRecipientPopulation,\n deriveRecipientDisclosures,\n deriveSubjectDataRecipients,\n APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC,\n applicationProviderPackagesFromManifests,\n RecipientPopulationMemberKind,\n renderSubjectDataRecipientsModule,\n SUBJECT_DATA_RECIPIENTS_GENERATED_RELATIVE_PATH,\n typedClientSearchNeedles,\n typedClientSitesFromGrepLines,\n type ProviderTypedClientSite,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport class SubjectDataRecipientsGenerationError extends Error {}\n\n/**\n * The provider packages this application owns (package name → ref), from `providers/<ref>/<facet>/package.json`\n * in the working tree, untracked included (#2018). `undefined` when they could not be listed, so the scan below\n * reports itself UNSCANNED rather than reading \"no owned package\" as \"nothing imports a provider\".\n */\nfunction readApplicationProviderPackages(appRoot: string): ReadonlyMap<string, string> | undefined {\n try {\n const listed = execFileSync('git', ['ls-files', '--cached', '--others', '--exclude-standard', '--', APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC], {\n cwd: appRoot,\n encoding: 'utf8',\n stdio: ['ignore', 'pipe', 'ignore'],\n }).split('\\n').filter(Boolean);\n return applicationProviderPackagesFromManifests(listed.map((path) => ({ path, content: readFileSync(join(appRoot, path), 'utf8') })));\n } catch {\n return undefined;\n }\n}\n\n/**\n * Typed-client imports in the working tree, untracked files included: imports of the provider packages the\n * application owns (#2018). `undefined` when the scan could not run.\n */\nexport function scanTypedClientSites(appRoot: string): readonly ProviderTypedClientSite[] | undefined {\n const applicationProviderPackages = readApplicationProviderPackages(appRoot);\n if (applicationProviderPackages === undefined) return undefined;\n const needles = typedClientSearchNeedles(applicationProviderPackages).flatMap((needle) => ['-e', needle]);\n // No owned provider package, nothing a typed client could be imported from: a scan that found none. Never run\n // `git grep` with no `-e`: it would read the pathspec `.` as the PATTERN and return every line holding a dot.\n if (needles.length === 0) return [];\n try {\n const output = execFileSync('git', ['grep', '--untracked', '-n', '-F', ...needles, '--', '.'], {\n cwd: appRoot,\n encoding: 'utf8',\n stdio: ['ignore', 'pipe', 'ignore'],\n maxBuffer: 16 * 1024 * 1024,\n });\n return typedClientSitesFromGrepLines(output.split('\\n'), applicationProviderPackages);\n } catch (error) {\n // `git grep` exits 1 when nothing matches: a scan that found none, not one that failed.\n if ((error as { status?: unknown }).status === 1) return [];\n return undefined;\n }\n}\n\n/** Derive the application's recipient declaration. Throws a {@link SubjectDataRecipientsGenerationError} on an input it cannot trust. */\nexport async function deriveApplicationSubjectDataRecipients(appRoot: string): Promise<SubjectDataRecipientsDeclaration> {\n const configPath = join(appRoot, 'wildo.saas.config.ts');\n const config = await loadSaasConfig(configPath);\n if (config === null) throw new SubjectDataRecipientsGenerationError(`Could not load ${configPath}, so the application's recipients are unknown.`);\n\n const choices = config.providerComplianceChoices === undefined ? undefined : ApplicationProviderComplianceChoicesSchema.safeParse(config.providerComplianceChoices);\n if (choices !== undefined && !choices.success) {\n throw new SubjectDataRecipientsGenerationError(`providerComplianceChoices in ${configPath} is invalid: ${choices.error.issues.map((issue) => issue.message).join('; ')}`);\n }\n const identity = config.operatorComplianceIdentity === undefined ? undefined : ApplicationOperatorComplianceIdentitySchema.safeParse(config.operatorComplianceIdentity);\n if (identity !== undefined && !identity.success) {\n throw new SubjectDataRecipientsGenerationError(`operatorComplianceIdentity in ${configPath} is invalid: ${identity.error.issues.map((issue) => issue.message).join('; ')}`);\n }\n\n const profiles = await resolveProviderComplianceProfiles({ saasRoot: appRoot, saasConfig: config });\n if (profiles.unreadableOwners.length > 0) {\n throw new SubjectDataRecipientsGenerationError(\n `Provider discovery could not read ${profiles.unreadableOwners.length} owner(s), so their vendors' erasure stances are unknown. Build or install them and re-run.`,\n );\n }\n\n const population = computeRecipientPopulation({\n providers: config.providers,\n systemsOfRecord: config.systemsOfRecord,\n providerComplianceChoices: choices?.data,\n typedClientSites: scanTypedClientSites(appRoot),\n providerComplianceProfiles: profiles.profilesByProviderRef,\n });\n\n const specificationsRoot = join(appRoot, 'specifications');\n let register;\n if (existsSync(specificationsRoot)) {\n let exports: { processorRegister?: unknown };\n try {\n exports = await loadPackageCompanionExport<{ processorRegister?: unknown }>(specificationsRoot);\n } catch (error) {\n // A package that cannot be loaded is not \"no register\": that would strip every legal identity from the list.\n throw new SubjectDataRecipientsGenerationError(`Could not load the specifications package at ${specificationsRoot}: ${(error as Error).message}`);\n }\n if (exports.processorRegister !== undefined) {\n const parsed = ApplicationProcessorRegisterSchema.safeParse(exports.processorRegister);\n if (!parsed.success) throw new SubjectDataRecipientsGenerationError(`The processor register is invalid: ${parsed.error.issues.map((issue) => issue.message).join('; ')}`);\n register = parsed.data;\n }\n }\n\n const disclosures = deriveRecipientDisclosures({\n population,\n // Not read here: systems of record are excluded from this list by `deriveSubjectDataRecipients` (see the module JSDoc).\n systemOfRecordFlows: population.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD) ? undefined : [],\n providerComplianceChoices: choices?.data,\n lawfulBases: identity?.data?.lawfulBases,\n });\n\n return deriveSubjectDataRecipients({\n population,\n disclosures,\n register,\n providerComplianceChoices: choices?.data,\n roleAllocations: identity?.data?.roleAllocations,\n });\n}\n\n/** Write the module into `<appRoot>/backend-api/src/`. Returns whether the bytes changed. */\nexport async function generateSubjectDataRecipientsModule(input: {\n readonly appRoot: string;\n readonly dryRun?: boolean;\n}): Promise<{ readonly path: string; readonly recipientCount: number; readonly changed: boolean }> {\n if (!existsSync(join(input.appRoot, 'backend-api'))) {\n throw new SubjectDataRecipientsGenerationError(`No backend-api/ package under ${input.appRoot}, so there is no runtime config to carry the recipients into.`);\n }\n const declaration = await deriveApplicationSubjectDataRecipients(input.appRoot);\n const content = renderSubjectDataRecipientsModule(declaration);\n const path = join(input.appRoot, SUBJECT_DATA_RECIPIENTS_GENERATED_RELATIVE_PATH);\n const previous = existsSync(path) ? await readFile(path, 'utf-8') : undefined;\n const changed = previous !== content;\n if (changed && input.dryRun !== true) {\n await mkdir(dirname(path), { recursive: true });\n await writeFile(path, content, 'utf-8');\n }\n return { path, recipientCount: declaration.recipients.length, changed };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-manager.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/context/context-manager.service.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAoB,MAAM,6CAA6C,CAAC;AACtH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAOnG,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA2B;IAClD,OAAO,CAAC,MAAM,CAAC,YAAY,CAAuB;IAElD;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,GAAE,MAAsB,GAAG,UAAU;IAqCtD;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAKlC,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAYrC,MAAM,CAAC,GAAG,IAAI,UAAU;IAOxB,MAAM,CAAC,KAAK,IAAI,IAAI;IAMpB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,gBAAgB,IAAI,UAAU,CAAC,eAAe,CAAC;IAYtD,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IA+BnE;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,+BAA+B;IAM9C,OAAO,CAAC,MAAM,CAAC,eAAe;IAiB9B;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,oBAAoB,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"context-manager.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/context/context-manager.service.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAoB,MAAM,6CAA6C,CAAC;AACtH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAOnG,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA2B;IAClD,OAAO,CAAC,MAAM,CAAC,YAAY,CAAuB;IAElD;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,GAAE,MAAsB,GAAG,UAAU;IAqCtD;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAKlC,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAYrC,MAAM,CAAC,GAAG,IAAI,UAAU;IAOxB,MAAM,CAAC,KAAK,IAAI,IAAI;IAMpB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,gBAAgB,IAAI,UAAU,CAAC,eAAe,CAAC;IAYtD,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IA+BnE;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,+BAA+B;IAM9C,OAAO,CAAC,MAAM,CAAC,eAAe;IAiB9B;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,oBAAoB,GAAG,IAAI;IAgCrE;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;CAkBzC"}
|
|
@@ -199,6 +199,7 @@ export class ContextManager {
|
|
|
199
199
|
...(member('localDefaults', Object.values(LocalDefaultsMode)) !== undefined
|
|
200
200
|
? { localDefaults: member('localDefaults', Object.values(LocalDefaultsMode)) }
|
|
201
201
|
: {}),
|
|
202
|
+
...(text('codingAgent') !== undefined ? { codingAgent: text('codingAgent') } : {}),
|
|
202
203
|
};
|
|
203
204
|
return Object.keys(defaults).length === 0 ? null : defaults;
|
|
204
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-manager.service.js","sourceRoot":"","sources":["../../../../../../src/services/context/context-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,6BAA6B,EAC7B,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAG3F,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AAEvH,MAAM,OAAO,cAAc;IACjB,MAAM,CAAC,QAAQ,GAAsB,IAAI,CAAC;IAC1C,MAAM,CAAC,YAAY,GAAkB,IAAI,CAAC;IAElD;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,CAAC,MAAc,OAAO,CAAC,GAAG,EAAE;QACvC,IAAI,cAAc,CAAC,QAAQ,EAAE,CAAC;YAC5B,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;YAC3C,cAAc,CAAC,+BAA+B,EAAE,CAAC;YACjD,OAAO,cAAc,CAAC,QAAQ,CAAC;QACjC,CAAC;QAED,MAAM,cAAc,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC;QAClD,MAAM,iBAAiB,GAAG,cAAc,CAAC,eAAe,EAAE,CAAC;QAC3D,MAAM,aAAa,GAAG,kBAAkB,CAAC,cAAc,EAAE;YACvD;;;;;;;;eAQG;YACH,iBAAiB,EAAE,cAAc,CAAC,mBAAmB,CAAC,iBAAiB,CAA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C,CAAC,KAAK,SAAS;gBACxE,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAE,EAAE;gBACxE,CAAC,CAAC,EAAE,CAAC;YACP,GAAG,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,KAAK,SAAS;gBACzE,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAE,EAAE;gBAC/E,CAAC,CAAC,EAAE,CAAC;SACR,CAAC;QACF,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACK,MAAM,CAAC,yBAAyB,CACtC,iBAA0C,EAC1C,aAA0C;QAE1C,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC;YAClE,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO;YACL,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,cAAc,IAAI,EAAE;YAC3D,oBAAoB,EAClB,iBAAiB,EAAE,oBAAoB,KAAK,IAAI;gBAChD,aAAa,CAAC,YAAY,CAAC,iCAAiC;YAC9D,+FAA+F;YAC/F,uEAAuE;YACvE,GAAG,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACjF,CAAC;IACJ,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'fs';\nimport { join } from 'path';\nimport {\n buildResolvedHomes,\n DatabaseEngine,\n resolveMachinePreferencesPath,\n resolveWorkspaceScope,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\nimport { LocalDefaultsMode } from '~wildo-cli/services/credentials/local-defaults.service';\nimport type { CliContext, WildoMachineDefaults, WildoPreferences } from '~wildo-cli/services/context/context.schemas';\nimport type { PlatformRuntimeContext } from '~wildo-cli/services/deployment/docker/docker.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { resolveInstalledFrameworkAssetsRoot } from '~wildo-cli/services/framework/installed-framework-assets.service';\n\nexport class ContextManager {\n private static instance: CliContext | null = null;\n private static detectionCwd: string | null = null;\n\n /**\n * Resolve (and cache) the trusted CLI context for the given working directory.\n *\n * The singleton shape means the first `detect(cwd)` call wins; subsequent calls\n * with a matching `cwd` (or without one) just reuse the cache. If a caller\n * passes a `cwd` that differs from the one that built the cached context,\n * we throw instead of silently returning a context for a different root —\n * the caller must `reset()` first to opt into re-detection.\n */\n static detect(cwd: string = process.cwd()): CliContext {\n if (ContextManager.instance) {\n ContextManager.assertCachedCwdMatches(cwd);\n ContextManager.syncEnvironmentRegistryResolver();\n return ContextManager.instance;\n }\n\n const workspaceScope = resolveWorkspaceScope(cwd);\n const storedPreferences = ContextManager.loadPreferences();\n const resolvedHomes = buildResolvedHomes(workspaceScope, {\n /*\n * Ranking, lowest last: a checkout found by walking up from `cwd` (inside\n * `buildResolvedHomes`), then the operator's stored `frameworkPath`, then the\n * framework-assets root the RUNNING CLI lives in — the monorepo when the CLI runs from a\n * checkout, the published package when it was installed from npm. The last rung is what\n * lets an application creator with no checkout scaffold, render compose and pin the\n * companion; it grants no framework-developer capability (see\n * `installed-framework-assets.service.ts`).\n */\n frameworkPathHint: ContextManager.storedFrameworkPath(storedPreferences) ?? resolveInstalledFrameworkAssetsRoot(),\n isFrameworkDeveloperHint: storedPreferences?.isFrameworkDeveloper ?? false,\n });\n const preferences = ContextManager.buildEffectivePreferences(storedPreferences, resolvedHomes);\n\n ContextManager.instance = {\n resolvedHomes,\n workspaceScope: resolvedHomes.workspaceScope,\n scope: resolvedHomes.scope,\n preferences,\n hasFrameworkWorkspace: resolvedHomes.capabilities.hasFrameworkWorkspace,\n };\n ContextManager.detectionCwd = cwd;\n ContextManager.syncEnvironmentRegistryResolver();\n\n return ContextManager.instance;\n }\n\n /**\n * A stored `frameworkPath` counts only when it names something. `loadPreferences` coerces an\n * absent key to `\"\"` — and `\"\" ?? fallback` keeps the empty string, so an installer-written\n * preferences file (which always exists in app-creator mode and carries no `frameworkPath`)\n * silently disabled the installed-assets fallback: measured 2026-09-05 on the first real\n * install from get.wildo.ai, `wildo init` refused with \"no framework-assets root resolved\"\n * while the templates sat beside the CLI. Blank means absent.\n */\n private static storedFrameworkPath(preferences: WildoPreferences | null): string | null {\n const value = preferences?.frameworkPath?.trim();\n return value ? value : null;\n }\n\n private static assertCachedCwdMatches(cwd: string): void {\n if (ContextManager.detectionCwd === null || ContextManager.detectionCwd === cwd) {\n return;\n }\n\n throw new Error(\n `ContextManager.detect() was called with cwd \"${cwd}\" but a context is already cached `\n + `for cwd \"${ContextManager.detectionCwd}\". Call ContextManager.reset() before re-detecting `\n + 'from a different working directory.',\n );\n }\n\n static get(): CliContext {\n if (!ContextManager.instance) {\n throw new Error('ContextManager.detect() must be called before ContextManager.get()');\n }\n return ContextManager.instance;\n }\n\n static reset(): void {\n ContextManager.instance = null;\n ContextManager.detectionCwd = null;\n EnvironmentRegistry.setSaasRootResolver(null);\n }\n\n /**\n * Return the trusted resolved-homes snapshot for consumers that already know\n * `ContextManager.detect()` has run during CLI bootstrap.\n *\n * This intentionally throws if the singleton is cold. Earlier revisions\n * lazily called `detect(process.cwd())`, but that silently re-ran workspace\n * discovery against whatever the current working directory happened to be —\n * contradicting the Phase 5 contract that every resolved-homes read must\n * come from the single snapshot produced at bootstrap. Callers that\n * legitimately need a snapshot before bootstrap should call `detect(cwd)`\n * explicitly with an intentional working directory.\n */\n static getResolvedHomes(): CliContext['resolvedHomes'] {\n if (!ContextManager.instance) {\n throw new Error(\n 'ContextManager.getResolvedHomes() was called before ContextManager.detect(). '\n + 'Every CLI command path must route through the bootstrap detection so the '\n + 'resolved-homes snapshot is built once from an intentional cwd — never '\n + 'silently derived from process.cwd() at read time.',\n );\n }\n return ContextManager.instance.resolvedHomes;\n }\n\n static resolveInfraContext(envName: string): PlatformRuntimeContext {\n /*\n * A HOSTED environment's containers are described by its HOST's compose file — the only one that\n * names the shared project's real data directories. Every read through this context (`ps`, readiness,\n * status) therefore looks at the host's render; mutations are refused at their own guards.\n */\n const host = InfrastructureHost.resolveByName(envName);\n const composeDir = host !== null\n ? InfrastructureHost.resolveHostDockerComposeDir(host, envName)\n : EnvironmentUtils.resolveDockerComposeDir(envName);\n const composeFile = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFile = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n\n if (host !== null && !existsSync(composeFile)) {\n throw new Error(\n `Environment '${envName}' runs on the infrastructure of ${host.applicationRoot}, which has not rendered its Docker Compose `\n + `project yet (expected ${composeFile}). Start the host first: cd ${host.applicationRoot} && wildo local dev`,\n );\n }\n\n if (!existsSync(composeFile)) {\n throw new Error(\n `Docker Compose file not found at ${composeFile}\\n`\n + `Run 'wildo local up' to bootstrap the local Docker Compose runtime artifacts (config.json, the docker-compose file, and .env.wildo-platform are written automatically from the authored wildo.infra.<env>.config.ts).\\n`\n + `If you only want to regenerate the docker-compose manifest after editing the authored infra config, run: wildo config sync --domain manifest`,\n );\n }\n\n return { composeDir, composeFile, envFile };\n }\n\n /**\n * Keep the EnvironmentRegistry resolver aligned with the cached CLI context.\n *\n * Some test/setup flows reset the registry independently from the ContextManager\n * singleton. Re-install the resolver whenever callers reuse the cached context\n * so Phase 5's removal of cwd-based fallback discovery does not leave later\n * environment-path reads without a targeted app root.\n */\n private static syncEnvironmentRegistryResolver(): void {\n EnvironmentRegistry.setSaasRootResolver(\n () => ContextManager.instance?.resolvedHomes.app.declarationRoot ?? null,\n );\n }\n\n private static loadPreferences(\n preferencesPath: string = resolveMachinePreferencesPath(),\n ): WildoPreferences | null {\n try {\n if (!existsSync(preferencesPath)) return null;\n const raw = JSON.parse(readFileSync(preferencesPath, 'utf8'));\n const defaults = ContextManager.readMachineDefaults(raw.defaults);\n return {\n frameworkPath: raw.frameworkPath ?? '',\n isFrameworkDeveloper: raw.isFrameworkDeveloper === true,\n ...(defaults === null ? {} : { defaults }),\n };\n } catch {\n return null;\n }\n }\n\n /**\n * Read the machine-defaults block, DROPPING any member that is not a declared value.\n *\n * This file is hand-edited, so a typo is the expected failure rather than an exotic one. A\n * mistyped closed-vocabulary member must not survive as a plausible string: `\"database\":\n * \"postgres\"` (for `postgresql`) would otherwise be carried to the point where a scaffold is\n * authored against a store nobody selected, and the application would be wrong in a way no\n * message explains. Dropping it means the command ASKS, which is the behaviour the operator had\n * before they wrote the file and is always safe.\n *\n * Free-text members (the administrator identity) are taken as given — there is no vocabulary to\n * check them against, and a wrong name is visible to the person who typed it.\n *\n * PUBLIC so `wildo prefs set` can report what a LATER command will load rather than what this\n * process loaded at startup — the two differ precisely after a write, which is the one moment the\n * report is read. Sharing the function rather than re-implementing the check is what keeps the\n * report's own claim (\"an unrecognized value is dropped on read\") true of the loader it describes.\n */\n static readMachineDefaults(raw: unknown): WildoMachineDefaults | null {\n if (typeof raw !== 'object' || raw === null) return null;\n const source = raw as Record<string, unknown>;\n const text = (key: string): string | undefined => {\n const value = source[key];\n return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined;\n };\n const member = <T extends string>(key: string, vocabulary: readonly T[]): T | undefined => {\n const value = source[key];\n return typeof value === 'string' && (vocabulary as readonly string[]).includes(value)\n ? value as T\n : undefined;\n };\n\n const defaults: WildoMachineDefaults = {\n ...(text('adminEmail') !== undefined ? { adminEmail: text('adminEmail')! } : {}),\n ...(text('adminFirstName') !== undefined ? { adminFirstName: text('adminFirstName')! } : {}),\n ...(text('adminLastName') !== undefined ? { adminLastName: text('adminLastName')! } : {}),\n ...(member('database', Object.values(DatabaseEngine)) !== undefined\n ? { database: member('database', Object.values(DatabaseEngine))! }\n : {}),\n ...(member('runtime', Object.values(WildoDeploymentRuntime)) !== undefined\n ? { runtime: member('runtime', Object.values(WildoDeploymentRuntime))! }\n : {}),\n ...(member('localDefaults', Object.values(LocalDefaultsMode)) !== undefined\n ? { localDefaults: member('localDefaults', Object.values(LocalDefaultsMode))! }\n : {}),\n };\n return Object.keys(defaults).length === 0 ? null : defaults;\n }\n\n /**\n * Build the effective preferences exposed on `ctx.cliContext.preferences`.\n *\n * `frameworkPath` is derived SOLELY from the resolved-homes snapshot. Earlier\n * revisions fell back to `storedPreferences.frameworkPath` when\n * `resolvedHomes.framework.repositoryRoot` was null, but that reintroduced\n * the Phase 5 failure mode: raw preference strings leaking downstream as an\n * effective framework root, bypassing the trusted-homes resolution pipeline.\n *\n * `storedPreferences.frameworkPath` is STILL consulted by `detect()` — but\n * only as a hint (`frameworkPathHint`) that feeds into `buildResolvedHomes`,\n * where it is validated and layout-resolved before surfacing. If the hint\n * does not resolve to a real framework root, `repositoryRoot` stays null and\n * we emit an empty string here so callers fail loudly instead of silently\n * receiving a stored-preferences path that never went through layout\n * resolution.\n *\n * `isFrameworkDeveloper` still merges the stored flag with the capability\n * derived from the resolved homes, because that signal is pure metadata and\n * not a path that participates in file-system resolution.\n */\n private static buildEffectivePreferences(\n storedPreferences: WildoPreferences | null,\n resolvedHomes: CliContext['resolvedHomes'],\n ): WildoPreferences | null {\n if (!storedPreferences && !resolvedHomes.framework.repositoryRoot) {\n return null;\n }\n\n return {\n frameworkPath: resolvedHomes.framework.repositoryRoot ?? '',\n isFrameworkDeveloper:\n storedPreferences?.isFrameworkDeveloper === true ||\n resolvedHomes.capabilities.hasFrameworkDeveloperCapabilities,\n // Pure metadata, like `isFrameworkDeveloper` above: answers a command would otherwise ask for,\n // participating in no path resolution, so they pass through as stored.\n ...(storedPreferences?.defaults ? { defaults: storedPreferences.defaults } : {}),\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"context-manager.service.js","sourceRoot":"","sources":["../../../../../../src/services/context/context-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,6BAA6B,EAC7B,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAG3F,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AAEvH,MAAM,OAAO,cAAc;IACjB,MAAM,CAAC,QAAQ,GAAsB,IAAI,CAAC;IAC1C,MAAM,CAAC,YAAY,GAAkB,IAAI,CAAC;IAElD;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,CAAC,MAAc,OAAO,CAAC,GAAG,EAAE;QACvC,IAAI,cAAc,CAAC,QAAQ,EAAE,CAAC;YAC5B,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC;YAC3C,cAAc,CAAC,+BAA+B,EAAE,CAAC;YACjD,OAAO,cAAc,CAAC,QAAQ,CAAC;QACjC,CAAC;QAED,MAAM,cAAc,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC;QAClD,MAAM,iBAAiB,GAAG,cAAc,CAA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C9D,+FAA+F;YAC/F,uEAAuE;YACvE,GAAG,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACjF,CAAC;IACJ,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'fs';\nimport { join } from 'path';\nimport {\n buildResolvedHomes,\n DatabaseEngine,\n resolveMachinePreferencesPath,\n resolveWorkspaceScope,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\nimport { LocalDefaultsMode } from '~wildo-cli/services/credentials/local-defaults.service';\nimport type { CliContext, WildoMachineDefaults, WildoPreferences } from '~wildo-cli/services/context/context.schemas';\nimport type { PlatformRuntimeContext } from '~wildo-cli/services/deployment/docker/docker.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { resolveInstalledFrameworkAssetsRoot } from '~wildo-cli/services/framework/installed-framework-assets.service';\n\nexport class ContextManager {\n private static instance: CliContext | null = null;\n private static detectionCwd: string | null = null;\n\n /**\n * Resolve (and cache) the trusted CLI context for the given working directory.\n *\n * The singleton shape means the first `detect(cwd)` call wins; subsequent calls\n * with a matching `cwd` (or without one) just reuse the cache. If a caller\n * passes a `cwd` that differs from the one that built the cached context,\n * we throw instead of silently returning a context for a different root —\n * the caller must `reset()` first to opt into re-detection.\n */\n static detect(cwd: string = process.cwd()): CliContext {\n if (ContextManager.instance) {\n ContextManager.assertCachedCwdMatches(cwd);\n ContextManager.syncEnvironmentRegistryResolver();\n return ContextManager.instance;\n }\n\n const workspaceScope = resolveWorkspaceScope(cwd);\n const storedPreferences = ContextManager.loadPreferences();\n const resolvedHomes = buildResolvedHomes(workspaceScope, {\n /*\n * Ranking, lowest last: a checkout found by walking up from `cwd` (inside\n * `buildResolvedHomes`), then the operator's stored `frameworkPath`, then the\n * framework-assets root the RUNNING CLI lives in — the monorepo when the CLI runs from a\n * checkout, the published package when it was installed from npm. The last rung is what\n * lets an application creator with no checkout scaffold, render compose and pin the\n * companion; it grants no framework-developer capability (see\n * `installed-framework-assets.service.ts`).\n */\n frameworkPathHint: ContextManager.storedFrameworkPath(storedPreferences) ?? resolveInstalledFrameworkAssetsRoot(),\n isFrameworkDeveloperHint: storedPreferences?.isFrameworkDeveloper ?? false,\n });\n const preferences = ContextManager.buildEffectivePreferences(storedPreferences, resolvedHomes);\n\n ContextManager.instance = {\n resolvedHomes,\n workspaceScope: resolvedHomes.workspaceScope,\n scope: resolvedHomes.scope,\n preferences,\n hasFrameworkWorkspace: resolvedHomes.capabilities.hasFrameworkWorkspace,\n };\n ContextManager.detectionCwd = cwd;\n ContextManager.syncEnvironmentRegistryResolver();\n\n return ContextManager.instance;\n }\n\n /**\n * A stored `frameworkPath` counts only when it names something. `loadPreferences` coerces an\n * absent key to `\"\"` — and `\"\" ?? fallback` keeps the empty string, so an installer-written\n * preferences file (which always exists in app-creator mode and carries no `frameworkPath`)\n * silently disabled the installed-assets fallback: measured 2026-09-05 on the first real\n * install from get.wildo.ai, `wildo init` refused with \"no framework-assets root resolved\"\n * while the templates sat beside the CLI. Blank means absent.\n */\n private static storedFrameworkPath(preferences: WildoPreferences | null): string | null {\n const value = preferences?.frameworkPath?.trim();\n return value ? value : null;\n }\n\n private static assertCachedCwdMatches(cwd: string): void {\n if (ContextManager.detectionCwd === null || ContextManager.detectionCwd === cwd) {\n return;\n }\n\n throw new Error(\n `ContextManager.detect() was called with cwd \"${cwd}\" but a context is already cached `\n + `for cwd \"${ContextManager.detectionCwd}\". Call ContextManager.reset() before re-detecting `\n + 'from a different working directory.',\n );\n }\n\n static get(): CliContext {\n if (!ContextManager.instance) {\n throw new Error('ContextManager.detect() must be called before ContextManager.get()');\n }\n return ContextManager.instance;\n }\n\n static reset(): void {\n ContextManager.instance = null;\n ContextManager.detectionCwd = null;\n EnvironmentRegistry.setSaasRootResolver(null);\n }\n\n /**\n * Return the trusted resolved-homes snapshot for consumers that already know\n * `ContextManager.detect()` has run during CLI bootstrap.\n *\n * This intentionally throws if the singleton is cold. Earlier revisions\n * lazily called `detect(process.cwd())`, but that silently re-ran workspace\n * discovery against whatever the current working directory happened to be —\n * contradicting the Phase 5 contract that every resolved-homes read must\n * come from the single snapshot produced at bootstrap. Callers that\n * legitimately need a snapshot before bootstrap should call `detect(cwd)`\n * explicitly with an intentional working directory.\n */\n static getResolvedHomes(): CliContext['resolvedHomes'] {\n if (!ContextManager.instance) {\n throw new Error(\n 'ContextManager.getResolvedHomes() was called before ContextManager.detect(). '\n + 'Every CLI command path must route through the bootstrap detection so the '\n + 'resolved-homes snapshot is built once from an intentional cwd — never '\n + 'silently derived from process.cwd() at read time.',\n );\n }\n return ContextManager.instance.resolvedHomes;\n }\n\n static resolveInfraContext(envName: string): PlatformRuntimeContext {\n /*\n * A HOSTED environment's containers are described by its HOST's compose file — the only one that\n * names the shared project's real data directories. Every read through this context (`ps`, readiness,\n * status) therefore looks at the host's render; mutations are refused at their own guards.\n */\n const host = InfrastructureHost.resolveByName(envName);\n const composeDir = host !== null\n ? InfrastructureHost.resolveHostDockerComposeDir(host, envName)\n : EnvironmentUtils.resolveDockerComposeDir(envName);\n const composeFile = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFile = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n\n if (host !== null && !existsSync(composeFile)) {\n throw new Error(\n `Environment '${envName}' runs on the infrastructure of ${host.applicationRoot}, which has not rendered its Docker Compose `\n + `project yet (expected ${composeFile}). Start the host first: cd ${host.applicationRoot} && wildo local dev`,\n );\n }\n\n if (!existsSync(composeFile)) {\n throw new Error(\n `Docker Compose file not found at ${composeFile}\\n`\n + `Run 'wildo local up' to bootstrap the local Docker Compose runtime artifacts (config.json, the docker-compose file, and .env.wildo-platform are written automatically from the authored wildo.infra.<env>.config.ts).\\n`\n + `If you only want to regenerate the docker-compose manifest after editing the authored infra config, run: wildo config sync --domain manifest`,\n );\n }\n\n return { composeDir, composeFile, envFile };\n }\n\n /**\n * Keep the EnvironmentRegistry resolver aligned with the cached CLI context.\n *\n * Some test/setup flows reset the registry independently from the ContextManager\n * singleton. Re-install the resolver whenever callers reuse the cached context\n * so Phase 5's removal of cwd-based fallback discovery does not leave later\n * environment-path reads without a targeted app root.\n */\n private static syncEnvironmentRegistryResolver(): void {\n EnvironmentRegistry.setSaasRootResolver(\n () => ContextManager.instance?.resolvedHomes.app.declarationRoot ?? null,\n );\n }\n\n private static loadPreferences(\n preferencesPath: string = resolveMachinePreferencesPath(),\n ): WildoPreferences | null {\n try {\n if (!existsSync(preferencesPath)) return null;\n const raw = JSON.parse(readFileSync(preferencesPath, 'utf8'));\n const defaults = ContextManager.readMachineDefaults(raw.defaults);\n return {\n frameworkPath: raw.frameworkPath ?? '',\n isFrameworkDeveloper: raw.isFrameworkDeveloper === true,\n ...(defaults === null ? {} : { defaults }),\n };\n } catch {\n return null;\n }\n }\n\n /**\n * Read the machine-defaults block, DROPPING any member that is not a declared value.\n *\n * This file is hand-edited, so a typo is the expected failure rather than an exotic one. A\n * mistyped closed-vocabulary member must not survive as a plausible string: `\"database\":\n * \"postgres\"` (for `postgresql`) would otherwise be carried to the point where a scaffold is\n * authored against a store nobody selected, and the application would be wrong in a way no\n * message explains. Dropping it means the command ASKS, which is the behaviour the operator had\n * before they wrote the file and is always safe.\n *\n * Free-text members (the administrator identity) are taken as given — there is no vocabulary to\n * check them against, and a wrong name is visible to the person who typed it.\n *\n * PUBLIC so `wildo prefs set` can report what a LATER command will load rather than what this\n * process loaded at startup — the two differ precisely after a write, which is the one moment the\n * report is read. Sharing the function rather than re-implementing the check is what keeps the\n * report's own claim (\"an unrecognized value is dropped on read\") true of the loader it describes.\n */\n static readMachineDefaults(raw: unknown): WildoMachineDefaults | null {\n if (typeof raw !== 'object' || raw === null) return null;\n const source = raw as Record<string, unknown>;\n const text = (key: string): string | undefined => {\n const value = source[key];\n return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined;\n };\n const member = <T extends string>(key: string, vocabulary: readonly T[]): T | undefined => {\n const value = source[key];\n return typeof value === 'string' && (vocabulary as readonly string[]).includes(value)\n ? value as T\n : undefined;\n };\n\n const defaults: WildoMachineDefaults = {\n ...(text('adminEmail') !== undefined ? { adminEmail: text('adminEmail')! } : {}),\n ...(text('adminFirstName') !== undefined ? { adminFirstName: text('adminFirstName')! } : {}),\n ...(text('adminLastName') !== undefined ? { adminLastName: text('adminLastName')! } : {}),\n ...(member('database', Object.values(DatabaseEngine)) !== undefined\n ? { database: member('database', Object.values(DatabaseEngine))! }\n : {}),\n ...(member('runtime', Object.values(WildoDeploymentRuntime)) !== undefined\n ? { runtime: member('runtime', Object.values(WildoDeploymentRuntime))! }\n : {}),\n ...(member('localDefaults', Object.values(LocalDefaultsMode)) !== undefined\n ? { localDefaults: member('localDefaults', Object.values(LocalDefaultsMode))! }\n : {}),\n ...(text('codingAgent') !== undefined ? { codingAgent: text('codingAgent')! } : {}),\n };\n return Object.keys(defaults).length === 0 ? null : defaults;\n }\n\n /**\n * Build the effective preferences exposed on `ctx.cliContext.preferences`.\n *\n * `frameworkPath` is derived SOLELY from the resolved-homes snapshot. Earlier\n * revisions fell back to `storedPreferences.frameworkPath` when\n * `resolvedHomes.framework.repositoryRoot` was null, but that reintroduced\n * the Phase 5 failure mode: raw preference strings leaking downstream as an\n * effective framework root, bypassing the trusted-homes resolution pipeline.\n *\n * `storedPreferences.frameworkPath` is STILL consulted by `detect()` — but\n * only as a hint (`frameworkPathHint`) that feeds into `buildResolvedHomes`,\n * where it is validated and layout-resolved before surfacing. If the hint\n * does not resolve to a real framework root, `repositoryRoot` stays null and\n * we emit an empty string here so callers fail loudly instead of silently\n * receiving a stored-preferences path that never went through layout\n * resolution.\n *\n * `isFrameworkDeveloper` still merges the stored flag with the capability\n * derived from the resolved homes, because that signal is pure metadata and\n * not a path that participates in file-system resolution.\n */\n private static buildEffectivePreferences(\n storedPreferences: WildoPreferences | null,\n resolvedHomes: CliContext['resolvedHomes'],\n ): WildoPreferences | null {\n if (!storedPreferences && !resolvedHomes.framework.repositoryRoot) {\n return null;\n }\n\n return {\n frameworkPath: resolvedHomes.framework.repositoryRoot ?? '',\n isFrameworkDeveloper:\n storedPreferences?.isFrameworkDeveloper === true ||\n resolvedHomes.capabilities.hasFrameworkDeveloperCapabilities,\n // Pure metadata, like `isFrameworkDeveloper` above: answers a command would otherwise ask for,\n // participating in no path resolution, so they pass through as stored.\n ...(storedPreferences?.defaults ? { defaults: storedPreferences.defaults } : {}),\n };\n }\n}\n"]}
|
|
@@ -41,6 +41,14 @@ export interface WildoMachineDefaults {
|
|
|
41
41
|
runtime?: WildoDeploymentRuntime;
|
|
42
42
|
/** How `~/.wildo/local-defaults.json` is treated when it exists. */
|
|
43
43
|
localDefaults?: LocalDefaultsMode;
|
|
44
|
+
/**
|
|
45
|
+
* The coding agent this machine builds applications with — a provider ref declaring an ACP agent
|
|
46
|
+
* (`anthropic`, `openai`, `opencode`). A HOST decision, as the companion treats it: its login lives
|
|
47
|
+
* on this machine. `WILDO_CODING_AGENT` in the environment overrides it. Stored as text and
|
|
48
|
+
* validated where it is resolved (`resolveSelectedCodingAgent`), so reading preferences never loads
|
|
49
|
+
* the provider registry.
|
|
50
|
+
*/
|
|
51
|
+
codingAgent?: string;
|
|
44
52
|
}
|
|
45
53
|
export interface WildoPreferences {
|
|
46
54
|
frameworkPath: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/services/context/context.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,sBAAsB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACjJ,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAMhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,oBAAoB;IACnC,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,uEAAuE;IACvE,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,oEAAoE;IACpE,aAAa,CAAC,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"context.schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/services/context/context.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,sBAAsB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACjJ,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAMhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,oBAAoB;IACnC,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,uEAAuE;IACvE,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,oEAAoE;IACpE,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC;AAOD,MAAM,WAAW,UAAU;IACzB,0DAA0D;IAC1D,aAAa,EAAE,aAAa,CAAC;IAC7B,wDAAwD;IACxD,cAAc,EAAE,oBAAoB,CAAC;IACrC,+DAA+D;IAC/D,KAAK,EAAE,cAAc,CAAC;IAEtB,2EAA2E;IAC3E,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;OAaG;IACH,qBAAqB,EAAE,OAAO,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.schemas.js","sourceRoot":"","sources":["../../../../../../src/services/context/context.schemas.ts"],"names":[],"mappings":"","sourcesContent":["import type { DatabaseEngine, ResolvedHomes, WildoDeploymentRuntime, WorkspaceScope, WorkspaceScopeResult } from '@wildo-ai/platform-config-lib';\nimport type { LocalDefaultsMode } from '~wildo-cli/services/credentials/local-defaults.service';\n\n// ============================================================================\n// Preferences (global user config — <home>/.wildo/preferences.json)\n// ============================================================================\n\n/**\n * What this MACHINE answers when a command would otherwise ask.\n *\n * ## Why these belong on the machine and not in a flag\n *\n * Every field here has the same property: its answer is the same for every application created on\n * this machine, and typing it again is the operator restating something the machine already knows.\n * `wildo init` asked six questions whose answers never varied between two applications created an\n * hour apart, so the command a creator actually ran was seven lines long and had to be kept\n * somewhere to be re-run — which is a preferences file with no reader.\n *\n * Three kinds sit here deliberately, because all three answer that one test:\n *\n * - **identity** (`adminEmail`, `adminFirstName`, `adminLastName`) — who the operator IS. Note this\n * is the per-application platform administrator, NOT shared credential material: it is minted per\n * application precisely so two applications do not share one operator door. What the machine knows\n * is the person, not the secret.\n * - **posture** (`localDefaults`) — how this machine treats an application created beside a platform\n * that is already running.\n * - **house default** (`database`, `runtime`) — a per-application choice that in practice is made\n * once and then repeated.\n *\n * ## Resolution, and why a FLAG still wins\n *\n * `flag → answer file → preference → interactive prompt → declared default`. A preference means\n * \"stop asking me\", never \"decide for me\": an explicit flag overrides it on any single run, so one\n * application can differ without the preference being edited. And nothing here is a secret — a value\n * a command must not print is credential material and belongs in `local-defaults.json` beside it,\n * which is written `0600` and holds values rather than answers.\n */\nexport interface WildoMachineDefaults {\n /** Platform-administrator identity for a newly created application's local environment. */\n adminEmail?: string;\n adminFirstName?: string;\n adminLastName?: string;\n /** The APPLICATION's own store for a newly created application. */\n database?: DatabaseEngine;\n /** The infrastructure runtime a newly created application declares. */\n runtime?: WildoDeploymentRuntime;\n /** How `~/.wildo/local-defaults.json` is treated when it exists. */\n localDefaults?: LocalDefaultsMode;\n}\n\nexport interface WildoPreferences {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n /** {@link WildoMachineDefaults} — absent when this machine has stated none. */\n defaults?: WildoMachineDefaults;\n}\n\n\n// ============================================================================\n// CLI Context (runtime detection)\n// ============================================================================\n\nexport interface CliContext {\n /** Trusted path/home snapshot resolved once at startup */\n resolvedHomes: ResolvedHomes;\n /** Resolved workspace scope from platform-config-lib */\n workspaceScope: WorkspaceScopeResult;\n /** Most specific scope (shorthand for workspaceScope.scope) */\n scope: WorkspaceScope;\n\n /** Effective CLI preferences from machine config or framework inference */\n preferences: WildoPreferences | null;\n\n /**\n * True when the caller's cwd is inside a framework workspace that was\n * discovered by walking up for `wildo-framework.info.json`.\n *\n * This is a convenience mirror of\n * `resolvedHomes.framework.isInFrameworkWorkspace`, narrowed for the\n * CLI category-gating code path so command registry guards do not\n * need to reach through the full resolved-homes snapshot.\n *\n * It is NOT equivalent to \"framework assets are reachable\" — that\n * signal lives on `resolvedHomes.capabilities.canUseFrameworkAssets`,\n * which is also true for SaaS apps that reference a framework via\n * `frameworkPathHint` in machine preferences.\n */\n hasFrameworkWorkspace: boolean;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"context.schemas.js","sourceRoot":"","sources":["../../../../../../src/services/context/context.schemas.ts"],"names":[],"mappings":"","sourcesContent":["import type { DatabaseEngine, ResolvedHomes, WildoDeploymentRuntime, WorkspaceScope, WorkspaceScopeResult } from '@wildo-ai/platform-config-lib';\nimport type { LocalDefaultsMode } from '~wildo-cli/services/credentials/local-defaults.service';\n\n// ============================================================================\n// Preferences (global user config — <home>/.wildo/preferences.json)\n// ============================================================================\n\n/**\n * What this MACHINE answers when a command would otherwise ask.\n *\n * ## Why these belong on the machine and not in a flag\n *\n * Every field here has the same property: its answer is the same for every application created on\n * this machine, and typing it again is the operator restating something the machine already knows.\n * `wildo init` asked six questions whose answers never varied between two applications created an\n * hour apart, so the command a creator actually ran was seven lines long and had to be kept\n * somewhere to be re-run — which is a preferences file with no reader.\n *\n * Three kinds sit here deliberately, because all three answer that one test:\n *\n * - **identity** (`adminEmail`, `adminFirstName`, `adminLastName`) — who the operator IS. Note this\n * is the per-application platform administrator, NOT shared credential material: it is minted per\n * application precisely so two applications do not share one operator door. What the machine knows\n * is the person, not the secret.\n * - **posture** (`localDefaults`) — how this machine treats an application created beside a platform\n * that is already running.\n * - **house default** (`database`, `runtime`) — a per-application choice that in practice is made\n * once and then repeated.\n *\n * ## Resolution, and why a FLAG still wins\n *\n * `flag → answer file → preference → interactive prompt → declared default`. A preference means\n * \"stop asking me\", never \"decide for me\": an explicit flag overrides it on any single run, so one\n * application can differ without the preference being edited. And nothing here is a secret — a value\n * a command must not print is credential material and belongs in `local-defaults.json` beside it,\n * which is written `0600` and holds values rather than answers.\n */\nexport interface WildoMachineDefaults {\n /** Platform-administrator identity for a newly created application's local environment. */\n adminEmail?: string;\n adminFirstName?: string;\n adminLastName?: string;\n /** The APPLICATION's own store for a newly created application. */\n database?: DatabaseEngine;\n /** The infrastructure runtime a newly created application declares. */\n runtime?: WildoDeploymentRuntime;\n /** How `~/.wildo/local-defaults.json` is treated when it exists. */\n localDefaults?: LocalDefaultsMode;\n /**\n * The coding agent this machine builds applications with — a provider ref declaring an ACP agent\n * (`anthropic`, `openai`, `opencode`). A HOST decision, as the companion treats it: its login lives\n * on this machine. `WILDO_CODING_AGENT` in the environment overrides it. Stored as text and\n * validated where it is resolved (`resolveSelectedCodingAgent`), so reading preferences never loads\n * the provider registry.\n */\n codingAgent?: string;\n}\n\nexport interface WildoPreferences {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n /** {@link WildoMachineDefaults} — absent when this machine has stated none. */\n defaults?: WildoMachineDefaults;\n}\n\n\n// ============================================================================\n// CLI Context (runtime detection)\n// ============================================================================\n\nexport interface CliContext {\n /** Trusted path/home snapshot resolved once at startup */\n resolvedHomes: ResolvedHomes;\n /** Resolved workspace scope from platform-config-lib */\n workspaceScope: WorkspaceScopeResult;\n /** Most specific scope (shorthand for workspaceScope.scope) */\n scope: WorkspaceScope;\n\n /** Effective CLI preferences from machine config or framework inference */\n preferences: WildoPreferences | null;\n\n /**\n * True when the caller's cwd is inside a framework workspace that was\n * discovered by walking up for `wildo-framework.info.json`.\n *\n * This is a convenience mirror of\n * `resolvedHomes.framework.isInFrameworkWorkspace`, narrowed for the\n * CLI category-gating code path so command registry guards do not\n * need to reach through the full resolved-homes snapshot.\n *\n * It is NOT equivalent to \"framework assets are reachable\" — that\n * signal lives on `resolvedHomes.capabilities.canUseFrameworkAssets`,\n * which is also true for SaaS apps that reference a framework via\n * `frameworkPathHint` in machine preferences.\n */\n hasFrameworkWorkspace: boolean;\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Write members of `preferences.json` → `defaults`, keeping everything else.
|
|
3
|
+
*
|
|
4
|
+
* READ-MODIFY-WRITE the whole document, never replace it: `frameworkPath` and `isFrameworkDeveloper`
|
|
5
|
+
* are written by the installer and are what every command resolves its framework root through, so
|
|
6
|
+
* overwriting them to record one answer would break the CLI for every workspace on this machine.
|
|
7
|
+
*
|
|
8
|
+
* One writer for `wildo prefs set` and for the answers `wildo init`/`setup` record (the coding agent),
|
|
9
|
+
* so the two cannot disagree about the document's shape.
|
|
10
|
+
*/
|
|
11
|
+
export declare function writeMachineDefaults(changes: {
|
|
12
|
+
set?: Record<string, string>;
|
|
13
|
+
unset?: readonly string[];
|
|
14
|
+
}, path?: string): void;
|
|
15
|
+
//# sourceMappingURL=machine-preferences.writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine-preferences.writer.d.ts","sourceRoot":"","sources":["../../../../../../src/services/context/machine-preferences.writer.ts"],"names":[],"mappings":"AAKA;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,EAAE,IAAI,GAAE,MAAwC,GAAG,IAAI,CAW/J"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
|
|
2
|
+
import { dirname } from 'path';
|
|
3
|
+
import { resolveMachinePreferencesPath } from '@wildo-ai/platform-config-lib';
|
|
4
|
+
/**
|
|
5
|
+
* Write members of `preferences.json` → `defaults`, keeping everything else.
|
|
6
|
+
*
|
|
7
|
+
* READ-MODIFY-WRITE the whole document, never replace it: `frameworkPath` and `isFrameworkDeveloper`
|
|
8
|
+
* are written by the installer and are what every command resolves its framework root through, so
|
|
9
|
+
* overwriting them to record one answer would break the CLI for every workspace on this machine.
|
|
10
|
+
*
|
|
11
|
+
* One writer for `wildo prefs set` and for the answers `wildo init`/`setup` record (the coding agent),
|
|
12
|
+
* so the two cannot disagree about the document's shape.
|
|
13
|
+
*/
|
|
14
|
+
export function writeMachineDefaults(changes, path = resolveMachinePreferencesPath()) {
|
|
15
|
+
const document = existsSync(path) ? JSON.parse(readFileSync(path, 'utf8')) : {};
|
|
16
|
+
const defaults = typeof document.defaults === 'object' && document.defaults !== null
|
|
17
|
+
? { ...document.defaults }
|
|
18
|
+
: {};
|
|
19
|
+
for (const [key, value] of Object.entries(changes.set ?? {}))
|
|
20
|
+
defaults[key] = value;
|
|
21
|
+
for (const key of changes.unset ?? [])
|
|
22
|
+
delete defaults[key];
|
|
23
|
+
if (Object.keys(defaults).length === 0)
|
|
24
|
+
delete document.defaults;
|
|
25
|
+
else
|
|
26
|
+
document.defaults = defaults;
|
|
27
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
28
|
+
writeFileSync(path, `${JSON.stringify(document, null, 2)}\n`, 'utf8');
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=machine-preferences.writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine-preferences.writer.js","sourceRoot":"","sources":["../../../../../../src/services/context/machine-preferences.writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAE9E;;;;;;;;;GASG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAoE,EAAE,OAAe,6BAA6B,EAAE;IACvJ,MAAM,QAAQ,GAA4B,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACzG,MAAM,QAAQ,GAA4B,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,QAAQ,KAAK,IAAI;QAC3G,CAAC,CAAC,EAAE,GAAI,QAAQ,CAAC,QAAoC,EAAE;QACvD,CAAC,CAAC,EAAE,CAAC;IACP,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,CAAC;QAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACpF,KAAK,MAAM,GAAG,IAAI,OAAO,CAAC,KAAK,IAAI,EAAE;QAAE,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC5D,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC,QAAQ,CAAC;;QAC5D,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAClC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9C,aAAa,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACxE,CAAC","sourcesContent":["import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';\nimport { dirname } from 'path';\n\nimport { resolveMachinePreferencesPath } from '@wildo-ai/platform-config-lib';\n\n/**\n * Write members of `preferences.json` → `defaults`, keeping everything else.\n *\n * READ-MODIFY-WRITE the whole document, never replace it: `frameworkPath` and `isFrameworkDeveloper`\n * are written by the installer and are what every command resolves its framework root through, so\n * overwriting them to record one answer would break the CLI for every workspace on this machine.\n *\n * One writer for `wildo prefs set` and for the answers `wildo init`/`setup` record (the coding agent),\n * so the two cannot disagree about the document's shape.\n */\nexport function writeMachineDefaults(changes: { set?: Record<string, string>; unset?: readonly string[] }, path: string = resolveMachinePreferencesPath()): void {\n const document: Record<string, unknown> = existsSync(path) ? JSON.parse(readFileSync(path, 'utf8')) : {};\n const defaults: Record<string, unknown> = typeof document.defaults === 'object' && document.defaults !== null\n ? { ...(document.defaults as Record<string, unknown>) }\n : {};\n for (const [key, value] of Object.entries(changes.set ?? {})) defaults[key] = value;\n for (const key of changes.unset ?? []) delete defaults[key];\n if (Object.keys(defaults).length === 0) delete document.defaults;\n else document.defaults = defaults;\n mkdirSync(dirname(path), { recursive: true });\n writeFileSync(path, `${JSON.stringify(document, null, 2)}\\n`, 'utf8');\n}\n"]}
|
package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-secret-owners.service.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/credentials/__tests__/application-secret-owners.service.test.ts"],"names":[],"mappings":""}
|