@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":"publish.command.js","sourceRoot":"","sources":["../../../../../../src/commands/registry/publish.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EA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path>]` — package the local\n * SaaS app's module source and publish it to a registry. Aliased as\n * `wildo publish`.\n *\n * Pipeline:\n * 1. Read the module manifest from `<saasRoot>/wildo.module.json`\n * (or the path supplied via `--manifest`); validates against\n * `ModuleManifestSchema`.\n * 2. `ModulePackagerService.stageFresh(saasRoot, manifest.id)` —\n * wipes + recreates the per-module staging root.\n * 3. For each declared `boundaries.<layer>` directory, walk the\n * app source tree and `ModulePackagerService.copyFile` every\n * file into staging (KD-12 boundary enforcement happens here —\n * a file outside any declared boundary is rejected).\n * 4. `ModulePackagerService.writeManifest` — drops the validated\n * manifest at `wildo.module.json` inside the staging root.\n * 5. `createZipFromDir(stagingRoot)` — yazl-built deterministic\n * zip (sorted file order, epoch mtime so byte output is\n * reproducible across machines).\n * 6. POST the bytes (base64 in JSON) to\n * `<registry>/v1/registry/:domain/modules/:moduleId/:version`.\n * Auth via the per-machine credential for the resolved registry\n * URL — publishing requires an `ORG_ADMIN`-roled api-key.\n *\n * The registry server's controller computes its own `sha256:<hex>`\n * over the received bytes and stores it as the version's integrity;\n * future `wildo registry add` invocations verify against that digest\n * (KD-9, non-negotiable).\n */\n\nimport { promises as fs } from 'node:fs';\nimport type { Dirent } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n ModulePackagerService,\n} from '@wildo-ai/wildo-module-client';\nimport {\n ModuleManifestSchema,\n type ModuleManifest,\n type ModuleManifestBoundaries,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryCredentialsService } from '~wildo-cli/services/registry/registry-credentials.service';\nimport {\n requireSaasRoot,\n resolveRegistryUrlForCommand,\n} from '~wildo-cli/services/registry/registry-command.utils';\nimport { createZipFromDir } from '~wildo-cli/services/registry/artifact-extractor.utils';\nimport { REGISTRY_PUBLISH_REQUEST_TIMEOUT_MS } from './registry-transport.constants';\n\nconst DEFAULT_MANIFEST_FILE = 'wildo.module.json';\n\nasync function readManifest(manifestPath: string): Promise<ModuleManifest> {\n const raw = await fs.readFile(manifestPath, 'utf8');\n const parsed = JSON.parse(raw) as unknown;\n return ModuleManifestSchema.parse(parsed);\n}\n\nasync function walkFiles(rootAbs: string, prefix = ''): Promise<string[]> {\n // Pin the entry type to `Dirent` (non-generic — @types/node aliases this\n // to `Dirent<string>`) rather than `Awaited<ReturnType<typeof fs.readdir>>`\n // which resolves to the broadest overload (`Dirent<NonSharedBuffer>[]`)\n // and breaks `entry.name`-as-string consumers below.\n let entries: Dirent[];\n try {\n entries = await fs.readdir(path.join(rootAbs, prefix), { withFileTypes: true });\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return [];\n throw err;\n }\n const out: string[] = [];\n for (const entry of entries) {\n const rel = path.join(prefix, entry.name);\n if (entry.isDirectory()) {\n out.push(...(await walkFiles(rootAbs, rel)));\n } else if (entry.isFile()) {\n out.push(rel);\n }\n }\n return out;\n}\n\nfunction flattenBoundaries(boundaries: ModuleManifestBoundaries | undefined): string[] {\n if (!boundaries) return [];\n return [\n ...boundaries.specifications,\n ...boundaries.shared,\n ...boundaries.frontend,\n ...boundaries.backend,\n ...boundaries.minions,\n ...boundaries.workers,\n ];\n}\n\nfunction extractDomain(moduleId: string): { domain: string; localId: string } {\n const slashIdx = moduleId.indexOf('/');\n if (slashIdx <= 0 || slashIdx === moduleId.length - 1) {\n throw new Error(\n `manifest.id \"${moduleId}\" must be in <domain>/<name> form (e.g. \"acme/billing\").`,\n );\n }\n return { domain: moduleId.slice(0, slashIdx), localId: moduleId };\n}\n\nexport default class RegistryPublishCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry publish',\n description: 'Package the local module source and publish it to a registry.',\n category: CommandCategory.Registry,\n aliases: ['publish'],\n flags: {\n registry: {\n type: 'string',\n description: 'Registry id, URL, or alias. Default resolved like `wildo registry login`.',\n },\n manifest: {\n type: 'string',\n description: `Path to the module manifest. Default: \\`<saasRoot>/${DEFAULT_MANIFEST_FILE}\\`.`,\n },\n domain: {\n type: 'string',\n description:\n 'Override the domain segment used in the publish URL. Default: derived from `manifest.id` (`<domain>/<name>`).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'publish');\n const manifestPath = path.resolve(\n saasRoot,\n (ctx.flags.manifest as string | undefined) ?? DEFAULT_MANIFEST_FILE,\n );\n\n let manifest: ModuleManifest;\n try {\n manifest = await readManifest(manifestPath);\n } catch (err) {\n return {\n success: false,\n message: `Failed to read manifest at ${manifestPath}: ${(err as Error).message}`,\n };\n }\n ctx.log.info(`[registry publish] manifest → ${manifest.id}@${manifest.version}`);\n\n const flag = ctx.flags.registry as string | undefined;\n const resolved = await resolveRegistryUrlForCommand(ctx, { flag, saasRoot });\n const credential = await RegistryCredentialsService.get(resolved.url);\n if (!credential) {\n return {\n success: false,\n message: `Not logged in to ${resolved.url}. Run \\`wildo registry login --registry ${flag ?? resolved.url}\\` (publishing requires an ORG_ADMIN api-key).`,\n };\n }\n\n // Stage fresh + collect every file under each declared boundary.\n const stagingPaths = await ModulePackagerService.stageFresh(saasRoot, manifest.id);\n const boundaryDirs = flattenBoundaries(manifest.boundaries);\n if (boundaryDirs.length === 0) {\n return {\n success: false,\n message: 'manifest.boundaries declares no directories — nothing to publish.',\n };\n }\n // Dedupe overlapping boundary dirs: if `boundaries.frontend` and\n // `boundaries.shared` overlap (e.g. `app/src` + `app/src/shared`),\n // a naive walk visits the inner-tree files twice and inflates the\n // staging-tree byte ordering. Collect unique app-relative paths\n // first, then call `copyFile` once per unique path.\n const uniquePaths = new Set<string>();\n for (const boundaryDir of boundaryDirs) {\n const filesUnder = await walkFiles(path.resolve(saasRoot, boundaryDir));\n for (const rel of filesUnder) {\n uniquePaths.add(path.posix.join(\n boundaryDir.split(path.sep).join(path.posix.sep),\n rel.split(path.sep).join(path.posix.sep),\n ));\n }\n }\n let copiedCount = 0;\n for (const appRelativePath of uniquePaths) {\n await ModulePackagerService.copyFile({\n saasRoot,\n moduleId: manifest.id,\n appRelativePath,\n manifest,\n });\n copiedCount += 1;\n }\n ctx.log.success(` staged ${copiedCount} file(s) → ${path.relative(saasRoot, stagingPaths.stagingRoot)}/`);\n\n await ModulePackagerService.writeManifest({ saasRoot, manifest });\n\n // Build the deterministic zip.\n const zipBytes = await createZipFromDir(stagingPaths.stagingRoot);\n ctx.log.info(` zipped → ${zipBytes.byteLength} bytes`);\n\n // POST to the registry's publish endpoint.\n const explicitDomain = (ctx.flags.domain as string | undefined) ?? extractDomain(manifest.id).domain;\n const publishUrl =\n `${resolved.url.replace(/\\/+$/, '')}/v1/registry/${encodeURIComponent(explicitDomain)}` +\n `/modules/${encodeURIComponent(manifest.id)}/${encodeURIComponent(manifest.version)}`;\n const res = await fetch(publishUrl, {\n method: 'POST',\n headers: {\n 'content-type': 'application/json',\n authorization: `Bearer ${credential.rawToken}`,\n },\n body: JSON.stringify({\n manifest,\n artifactBase64: Buffer.from(zipBytes).toString('base64'),\n }),\n signal: AbortSignal.timeout(REGISTRY_PUBLISH_REQUEST_TIMEOUT_MS),\n });\n\n if (res.status === 201) {\n const body = (await res.json()) as { version?: string; integrity?: string };\n await RegistryCredentialsService.touch(resolved.url);\n ctx.log.success(\n `Published ${manifest.id}@${body.version ?? manifest.version} (integrity ${body.integrity ?? '?'})`,\n );\n return { success: true, message: 'Publish successful.' };\n }\n if (res.status === 409) {\n const body = (await res.json().catch(() => ({}))) as { detail?: string };\n return {\n success: false,\n message: `Version is immutable — refusing to republish (${body.detail ?? '409'}). Bump \\`manifest.version\\` and try again.`,\n };\n }\n if (res.status === 401 || res.status === 403) {\n return {\n success: false,\n message: `Auth rejected (${res.status}). The api-key may lack the ORG_ADMIN role required to publish into this domain.`,\n };\n }\n return {\n success: false,\n message: `Publish failed (${res.status} ${res.statusText}) at ${publishUrl}.`,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,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C;QAC3D,CAAC;QACD,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YACvB,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAwB,CAAC;YACzE,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,iDAAiD,IAAI,CAAC,MAAM,IAAI,KAAK,6CAA6C;aAC5H,CAAC;QACJ,CAAC;QACD,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC7C,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,kBAAkB,GAAG,CAAC,MAAM,kFAAkF;aACxH,CAAC;QACJ,CAAC;QACD,OAAO;YACL,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,mBAAmB,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,QAAQ,UAAU,GAAG;SAC9E,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry publish [--manifest <path>]` — package the local\n * SaaS app's module source and publish it to a registry. Aliased as\n * `wildo publish`.\n *\n * Pipeline:\n * 1. Read the module manifest from `<saasRoot>/wildo.module.json`\n * (or the path supplied via `--manifest`); validates against\n * `ModuleManifestSchema`.\n * 2. `ModulePackagerService.stageFresh(saasRoot, manifest.id)` —\n * wipes + recreates the per-module staging root.\n * 3. For each declared `boundaries.<layer>` directory, walk the\n * app source tree and `ModulePackagerService.copyFile` every\n * file into staging (KD-12 boundary enforcement happens here —\n * a file outside any declared boundary is rejected).\n * 4. `ModulePackagerService.writeManifest` — drops the validated\n * manifest at `wildo.module.json` inside the staging root.\n * 5. `createZipFromDir(stagingRoot)` — yazl-built deterministic\n * zip (sorted file order, epoch mtime so byte output is\n * reproducible across machines).\n * 6. POST the bytes (base64 in JSON) to\n * `<registry>/v1/registry/:domain/modules/:moduleId/:version`.\n * Auth via the per-machine credential for the resolved registry\n * URL — publishing requires an `ORG_ADMIN`-roled api-key.\n *\n * The registry server's controller computes its own `sha256:<hex>`\n * over the received bytes and stores it as the version's integrity;\n * future `wildo registry add` invocations verify against that digest\n * (KD-9, non-negotiable).\n */\n\nimport { createHash } from 'node:crypto';\nimport { promises as fs } from 'node:fs';\nimport type { Dirent } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n ModulePackagerService,\n} from '@wildo-ai/wildo-module-client';\nimport {\n flattenModuleBoundaries,\n isModuleArtifactPathAllowed,\n MODULE_BOUNDARY_LAYER_ROOTS,\n ModuleKind,\n ModuleManifestSchema,\n type ModuleManifest,\n MODULE_MANIFEST_FILE_NAME,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryCredentialsService } from '~wildo-cli/services/registry/registry-credentials.service';\nimport {\n requireSaasRoot,\n resolveRegistryUrlForCommand,\n} from '~wildo-cli/services/registry/registry-command.utils';\nimport { createZipFromDir } from '~wildo-cli/services/registry/artifact-extractor.utils';\nimport { deriveModuleRegistration } from '~wildo-cli/services/registry/module-registration.service';\nimport { providerModuleCodeRefusals, providerModuleStructureRefusals } from '~wildo-cli/services/registry/provider-module-checks.service';\nimport { gitIgnoredPathsUnder } from '~wildo-cli/services/registry/git-ignored-paths.utils';\nimport { REGISTRY_PUBLISH_REQUEST_TIMEOUT_MS } from './registry-transport.constants';\n\nconst DEFAULT_MANIFEST_FILE = MODULE_MANIFEST_FILE_NAME;\n\nasync function readManifest(manifestPath: string): Promise<ModuleManifest> {\n const raw = await fs.readFile(manifestPath, 'utf8');\n const parsed = JSON.parse(raw) as unknown;\n return ModuleManifestSchema.parse(parsed);\n}\n\nasync function walkFiles(rootAbs: string, prefix = ''): Promise<string[]> {\n // Pin the entry type to `Dirent` (non-generic — @types/node aliases this\n // to `Dirent<string>`) rather than `Awaited<ReturnType<typeof fs.readdir>>`\n // which resolves to the broadest overload (`Dirent<NonSharedBuffer>[]`)\n // and breaks `entry.name`-as-string consumers below.\n let entries: Dirent[];\n try {\n entries = await fs.readdir(path.join(rootAbs, prefix), { withFileTypes: true });\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return [];\n throw err;\n }\n const out: string[] = [];\n for (const entry of entries) {\n const rel = path.join(prefix, entry.name);\n if (entry.isDirectory()) {\n out.push(...(await walkFiles(rootAbs, rel)));\n } else if (entry.isFile()) {\n out.push(rel);\n }\n }\n return out;\n}\n\nfunction extractDomain(moduleId: string): { domain: string; localId: string } {\n const slashIdx = moduleId.indexOf('/');\n if (slashIdx <= 0 || slashIdx === moduleId.length - 1) {\n throw new Error(\n `manifest.id \"${moduleId}\" must be in <domain>/<name> form (e.g. \"acme/billing\").`,\n );\n }\n return { domain: moduleId.slice(0, slashIdx), localId: moduleId };\n}\n\nexport default class RegistryPublishCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry publish',\n description: 'Package the local module source and publish it to a registry.',\n category: CommandCategory.Registry,\n aliases: ['publish'],\n flags: {\n registry: {\n type: 'string',\n description: 'Registry id, URL, or alias. Default resolved like `wildo registry login`.',\n },\n manifest: {\n type: 'string',\n description: `Path to the module manifest. Default: \\`<saasRoot>/${DEFAULT_MANIFEST_FILE}\\`.`,\n },\n domain: {\n type: 'string',\n description:\n 'Override the domain segment used in the publish URL. Default: derived from `manifest.id` (`<domain>/<name>`).',\n },\n tag: {\n type: 'string',\n description:\n 'Dist-tag to point at this version (e.g. `next`, `beta`). Without it, `latest` moves only UP to a stable release, '\n + 'so a backport or prerelease never becomes the default install. `--tag latest` points `latest` here regardless.',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'publish');\n const manifestPath = path.resolve(\n saasRoot,\n (ctx.flags.manifest as string | undefined) ?? DEFAULT_MANIFEST_FILE,\n );\n\n let manifest: ModuleManifest;\n try {\n manifest = await readManifest(manifestPath);\n } catch (err) {\n return {\n success: false,\n message: `Failed to read manifest at ${manifestPath}: ${(err as Error).message}`,\n };\n }\n ctx.log.info(`[registry publish] manifest → ${manifest.id}@${manifest.version}`);\n\n // #2014: a provider module's layout is checked before anything is staged — one package per declared facet,\n // a browser facet that does not depend on the backend one, and no system-of-record content — and, once the\n // layout is sound, its code: the module it ships is the one the manifest describes, and its SDKs are declared.\n if (manifest.kind === ModuleKind.PROVIDER && manifest.provider !== undefined) {\n const moduleRoot = path.join(saasRoot, MODULE_BOUNDARY_LAYER_ROOTS.providers, manifest.provider.ref);\n const structural = providerModuleStructureRefusals({ moduleRoot, provider: manifest.provider });\n const refusals = structural.length > 0 ? structural : await providerModuleCodeRefusals({ moduleRoot, provider: manifest.provider });\n if (refusals.length > 0) {\n return { success: false, message: `Refusing to publish provider module ${manifest.id}:\\n- ${refusals.join('\\n- ')}` };\n }\n }\n\n // #1755 / #1773: the registration is DERIVED here from this application — never taken from the\n // authored manifest — so an installer can only ever be asked to add the entries the publisher\n // demonstrably has. A domain module (whole or a service-bearing subset of layers), a minion or a\n // worker that this application registers ships one; anything else installs marked as unregistered.\n const derived = deriveModuleRegistration(saasRoot, ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null, manifest);\n if ('registration' in derived) {\n manifest = { ...manifest, registration: derived.registration };\n const layers = derived.registration.layers ? ` [${derived.registration.layers.join(', ')}]` : '';\n ctx.log.info(` registration → ${derived.registration.scenario} (${derived.registration.moduleId})${layers}`);\n } else {\n const { registration: _authored, ...withoutRegistration } = manifest;\n manifest = withoutRegistration;\n // A provider module ships no registration BY DESIGN (#2014): each installer derives the wiring from its own\n // services, so saying its installers get a \"not registered\" notice would be false. The #2014 live proof\n // printed exactly that while the scratch installer wired the provider in full.\n if (manifest.kind === ModuleKind.PROVIDER) {\n ctx.log.info(` registration → none shipped: each installing application wires the provider from its own services`);\n } else {\n ctx.log.warn(` no registration: ${derived.reason}. Installers will get the files and a \"not registered\" notice.`);\n }\n }\n\n const flag = ctx.flags.registry as string | undefined;\n const resolved = await resolveRegistryUrlForCommand(ctx, { flag, saasRoot });\n const credential = await RegistryCredentialsService.get(resolved.url);\n if (!credential) {\n return {\n success: false,\n message: `Not logged in to ${resolved.url}. Run \\`wildo registry login --registry ${flag ?? resolved.url}\\` (publishing requires an ORG_ADMIN api-key).`,\n };\n }\n\n // Stage fresh + collect every file under each declared boundary.\n const stagingPaths = await ModulePackagerService.stageFresh(saasRoot, manifest.id);\n const boundaryDirs = flattenModuleBoundaries(manifest.boundaries);\n if (boundaryDirs.length === 0) {\n return {\n success: false,\n message: 'manifest.boundaries declares no directories — nothing to publish.',\n };\n }\n // Dedupe overlapping boundary dirs: two entries of ONE layer may nest\n // (e.g. `backend-api/src/modules/billing` + `…/billing/jobs`), and a\n // naive walk would visit the inner tree twice and inflate the\n // staging-tree byte ordering. Collect unique app-relative paths\n // first, then call `copyFile` once per unique path.\n //\n // Files a module may never ship are SKIPPED here, not packed: a minion or worker package carries\n // its generated `.env` beside its source, and `.git` / `node_modules` / build caches sit inside\n // ordinary module directories. The install side refuses an artifact carrying any of them, so a\n // publish that packed them would produce an artifact nobody can install.\n //\n // Files the publisher's git ignores are skipped too (build output, generated files), as `npm pack` does: see\n // `gitIgnoredPathsUnder` for why that is the rule.\n const uniquePaths = new Set<string>();\n const skippedPaths: string[] = [];\n const gitIgnoredSkips: string[] = [];\n const unaskedBoundaries: Array<{ boundaryDir: string; why: string }> = [];\n for (const boundaryDir of boundaryDirs) {\n const boundaryAbs = path.resolve(saasRoot, boundaryDir);\n const filesUnder = await walkFiles(boundaryAbs);\n const gitAnswer = gitIgnoredPathsUnder(boundaryAbs, filesUnder);\n if (!gitAnswer.asked) unaskedBoundaries.push({ boundaryDir, why: gitAnswer.unanswered ?? 'git gave no answer' });\n for (const rel of filesUnder) {\n const appRelativePath = path.posix.join(\n boundaryDir.split(path.sep).join(path.posix.sep),\n rel.split(path.sep).join(path.posix.sep),\n );\n if (!isModuleArtifactPathAllowed(appRelativePath)) skippedPaths.push(appRelativePath);\n else if (gitAnswer.ignored.has(rel)) gitIgnoredSkips.push(appRelativePath);\n else uniquePaths.add(appRelativePath);\n }\n }\n if (skippedPaths.length > 0) {\n ctx.log.info(` skipped ${skippedPaths.length} file(s) a module never ships (dot-files, node_modules), e.g. ${skippedPaths.slice(0, 3).join(', ')}`);\n }\n if (gitIgnoredSkips.length > 0) {\n ctx.log.info(` skipped ${gitIgnoredSkips.length} file(s) this application's git ignores (build output), e.g. ${gitIgnoredSkips.slice(0, 3).join(', ')}`);\n }\n for (const { boundaryDir, why } of unaskedBoundaries) {\n ctx.log.warn(` git could not say what ${boundaryDir} ignores (${why}), so every file there is shipped, build output included`);\n }\n let copiedCount = 0;\n for (const appRelativePath of uniquePaths) {\n await ModulePackagerService.copyFile({\n saasRoot,\n moduleId: manifest.id,\n appRelativePath,\n manifest,\n });\n copiedCount += 1;\n }\n ctx.log.success(` staged ${copiedCount} file(s) → ${path.relative(saasRoot, stagingPaths.stagingRoot)}/`);\n\n await ModulePackagerService.writeManifest({ saasRoot, manifest });\n\n // Build the deterministic zip.\n const zipBytes = await createZipFromDir(stagingPaths.stagingRoot);\n ctx.log.info(` zipped → ${zipBytes.byteLength} bytes`);\n\n // POST to the registry's publish endpoint.\n const explicitDomain = (ctx.flags.domain as string | undefined) ?? extractDomain(manifest.id).domain;\n const publishUrl =\n `${resolved.url.replace(/\\/+$/, '')}/v1/registry/${encodeURIComponent(explicitDomain)}` +\n `/modules/${encodeURIComponent(manifest.id)}/${encodeURIComponent(manifest.version)}`;\n const res = await fetch(publishUrl, {\n method: 'POST',\n headers: {\n 'content-type': 'application/json',\n authorization: `Bearer ${credential.rawToken}`,\n },\n body: JSON.stringify({\n manifest,\n artifactBase64: Buffer.from(zipBytes).toString('base64'),\n ...(typeof ctx.flags.tag === 'string' ? { tag: ctx.flags.tag } : {}),\n }),\n signal: AbortSignal.timeout(REGISTRY_PUBLISH_REQUEST_TIMEOUT_MS),\n });\n\n if (res.status === 201) {\n const body = (await res.json()) as { version?: string; integrity?: string; latest?: string | null };\n await RegistryCredentialsService.touch(resolved.url);\n // The registry computes the version's integrity from the bytes it RECEIVED; every later install\n // verifies against that value. If it differs from the bytes we sent, the published version is\n // not the one built here — say so rather than report success.\n const sentDigest = `sha256:${createHash('sha256').update(zipBytes).digest('hex')}`;\n if (body.integrity !== sentDigest) {\n return {\n success: false,\n message:\n `Published ${manifest.id}@${manifest.version}, but the registry recorded integrity ${body.integrity ?? '(none)'} ` +\n `for bytes that hash to ${sentDigest}. The stored version is not what this command sent; investigate the registry before anyone installs it.`,\n };\n }\n ctx.log.success(\n `Published ${manifest.id}@${body.version ?? manifest.version} (integrity ${body.integrity ?? '?'})`,\n );\n if (body.latest !== undefined) ctx.log.info(` latest → ${body.latest ?? '(none)'}`);\n return { success: true, message: 'Publish successful.' };\n }\n if (res.status === 409) {\n const body = (await res.json().catch(() => ({}))) as { detail?: string };\n return {\n success: false,\n message: `Version is immutable — refusing to republish (${body.detail ?? '409'}). Bump \\`manifest.version\\` and try again.`,\n };\n }\n if (res.status === 401 || res.status === 403) {\n return {\n success: false,\n message: `Auth rejected (${res.status}). The api-key may lack the ORG_ADMIN role required to publish into this domain.`,\n };\n }\n return {\n success: false,\n message: `Publish failed (${res.status} ${res.statusText}) at ${publishUrl}.`,\n };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"remove.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AA4C1F,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAmBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA8JvD"}
|
|
@@ -20,11 +20,24 @@ import { promises as fs } from 'node:fs';
|
|
|
20
20
|
import * as path from 'node:path';
|
|
21
21
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
22
22
|
import { CommandCategory } from '../../kernel/types.js';
|
|
23
|
-
import { RegistryLockfileService, runProviderSync, } from '@wildo-ai/wildo-module-client';
|
|
24
|
-
import { requireSaasRoot, asRegistryLogger } from '../../services/registry/registry-command.utils.js';
|
|
25
|
-
|
|
23
|
+
import { MODULES_ARTIFACTS_RELATIVE_DIR, RegistryLockfileService, runProviderSync, } from '@wildo-ai/wildo-module-client';
|
|
24
|
+
import { requireSaasRoot, asRegistryLogger, withRegistryWorkspaceMutationLock, assertModuleEntryUnchangedUnderLock, } from '../../services/registry/registry-command.utils.js';
|
|
25
|
+
import { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile } from '../../services/registry/boundary-fanout.utils.js';
|
|
26
|
+
import { describeProtectedFile, planProtectedRemoval, registryForceBackupDirectory, } from '../../services/registry/installed-file-state.utils.js';
|
|
27
|
+
import { deriveMigrationObligation, describeMigrationObligation, findResourceConfigurationFiles, } from '../../services/registry/migration-obligation.utils.js';
|
|
28
|
+
import { restoreRegistrationSnapshot, reverseModuleRegistration } from '../../services/registry/module-registration.service.js';
|
|
29
|
+
import { MODULE_BOUNDARY_LAYER_ROOTS, ModuleRegistrationScenario } from '@wildo-ai/platform-config-lib';
|
|
30
|
+
import { derivedEntryNames, removeDerivedContentLeftByRemoval } from '../../services/registry/git-ignored-paths.utils.js';
|
|
31
|
+
import { installAfterProviderChange, NO_INSTALL_FLAG } from '../../services/registry/provider-install-step.js';
|
|
32
|
+
import { moduleArtifactRoot } from '../../services/registry/module-artifact-files.utils.js';
|
|
33
|
+
/**
|
|
34
|
+
* Delete one recorded module FILE. Deliberately `unlink`, not a recursive `rm`: a lockfile entry
|
|
35
|
+
* records files, so a path naming a directory is not something this command should ever delete
|
|
36
|
+
* wholesale — it is left on disk and reported.
|
|
37
|
+
*/
|
|
38
|
+
async function unlinkIfExists(absPath) {
|
|
26
39
|
try {
|
|
27
|
-
await fs.
|
|
40
|
+
await fs.unlink(absPath);
|
|
28
41
|
return true;
|
|
29
42
|
}
|
|
30
43
|
catch (err) {
|
|
@@ -46,6 +59,13 @@ export default class RegistryRemoveCommand extends BaseCommand {
|
|
|
46
59
|
required: true,
|
|
47
60
|
},
|
|
48
61
|
],
|
|
62
|
+
flags: {
|
|
63
|
+
'no-install': NO_INSTALL_FLAG,
|
|
64
|
+
force: {
|
|
65
|
+
type: 'boolean',
|
|
66
|
+
description: 'Also delete files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
49
69
|
};
|
|
50
70
|
async run(ctx) {
|
|
51
71
|
const saasRoot = requireSaasRoot(ctx, 'remove');
|
|
@@ -61,46 +81,139 @@ export default class RegistryRemoveCommand extends BaseCommand {
|
|
|
61
81
|
message: `"${moduleId}" is not installed; nothing to remove.`,
|
|
62
82
|
};
|
|
63
83
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
ctx.log.warn(`
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
let resourceConfigurationFiles = [];
|
|
85
|
+
await withRegistryWorkspaceMutationLock(saasRoot, async () => {
|
|
86
|
+
await assertModuleEntryUnchangedUnderLock(saasRoot, moduleId, existing);
|
|
87
|
+
// Asked BEFORE anything is deleted: removing a module that declares resources drops tables.
|
|
88
|
+
resourceConfigurationFiles = await findResourceConfigurationFiles(saasRoot, existing.files);
|
|
89
|
+
// Resolve every path this command will delete BEFORE changing anything, so a poisoned entry
|
|
90
|
+
// stops the command with the application untouched.
|
|
91
|
+
const recordedFiles = existing.files.map((relFile) => ({ relFile, absFile: resolveRecordedModuleFile(saasRoot, relFile) }));
|
|
92
|
+
const artifactDir = moduleArtifactRoot(saasRoot, existing.domain, existing.moduleId);
|
|
93
|
+
// #1755: unregister first, so no registry is left importing a directory that is about to go.
|
|
94
|
+
// Restored if a later step fails: the lockfile entry then still exists, and its registration
|
|
95
|
+
// must stay applied beside it.
|
|
96
|
+
const kept = [];
|
|
97
|
+
const unregistered = existing.registration
|
|
98
|
+
? reverseModuleRegistration(saasRoot, ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null, existing.registration, { kept })
|
|
99
|
+
: [];
|
|
100
|
+
if (unregistered.length > 0)
|
|
101
|
+
ctx.log.success(` unregistered from ${unregistered.map((entry) => entry.targetRelativePath).join(', ')}`);
|
|
102
|
+
for (const entry of kept)
|
|
103
|
+
ctx.log.warn(` [kept] ${entry}`);
|
|
104
|
+
try {
|
|
105
|
+
// Delete the artifact-bytes directory — the one recursive delete here, so its path comes from the
|
|
106
|
+
// shared helper that checks both names' SHAPE and containment (the lockfile schema checks them
|
|
107
|
+
// too; this is the point of deletion).
|
|
108
|
+
try {
|
|
109
|
+
await fs.rm(artifactDir, { recursive: true });
|
|
110
|
+
ctx.log.success(` removed artifact dir → ${path.relative(saasRoot, artifactDir)}`);
|
|
111
|
+
}
|
|
112
|
+
catch (err) {
|
|
113
|
+
if (err.code !== 'ENOENT')
|
|
114
|
+
throw err;
|
|
115
|
+
}
|
|
116
|
+
// …and the `<domain>/<scope>` directories above it, once empty — also when the artifact directory
|
|
117
|
+
// was already gone, since those parents are what an earlier removal would have left.
|
|
118
|
+
await pruneEmptiedDirectories([artifactDir], path.resolve(saasRoot, MODULES_ARTIFACTS_RELATIVE_DIR));
|
|
119
|
+
// Delete app-source files copied in at install time. Cross-module
|
|
120
|
+
// file-overlap guard: if another lockfile entry claims a path, skip
|
|
121
|
+
// it — that module still owns the file. Prevents `remove` from
|
|
122
|
+
// silently pulling files out from under sibling modules.
|
|
123
|
+
const claimedBy = await RegistryLockfileService.findFileOwners({
|
|
124
|
+
saasRoot,
|
|
125
|
+
paths: existing.files,
|
|
126
|
+
excludeModuleId: moduleId,
|
|
127
|
+
});
|
|
128
|
+
let filesRemoved = 0;
|
|
129
|
+
let filesSkipped = 0;
|
|
130
|
+
const unlinked = [];
|
|
131
|
+
const unclaimed = [];
|
|
132
|
+
for (const { relFile } of recordedFiles) {
|
|
133
|
+
const owners = claimedBy.get(relFile) ?? [];
|
|
134
|
+
if (owners.length > 0) {
|
|
135
|
+
ctx.log.warn(` keep ${relFile} — also owned by ${owners.join(', ')}`);
|
|
136
|
+
filesSkipped += 1;
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
unclaimed.push(relFile);
|
|
140
|
+
}
|
|
141
|
+
// #2016: a file you changed since install is kept (it becomes the application's own), unless --force.
|
|
142
|
+
const removalPlan = await planProtectedRemoval({
|
|
143
|
+
saasRoot,
|
|
144
|
+
entry: existing,
|
|
145
|
+
paths: unclaimed,
|
|
146
|
+
force: ctx.flags.force === true,
|
|
147
|
+
backupDirectory: registryForceBackupDirectory(saasRoot, moduleId),
|
|
148
|
+
});
|
|
149
|
+
for (const kept of removalPlan.kept)
|
|
150
|
+
ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'deleted')} It is now the application's own file.`);
|
|
151
|
+
for (const forced of removalPlan.forced)
|
|
152
|
+
ctx.log.warn(` deleted ${forced.path} (--force); your version is at ${path.relative(saasRoot, forced.backup)}`);
|
|
153
|
+
const absoluteByPath = new Map(recordedFiles.map(({ relFile, absFile }) => [relFile, absFile]));
|
|
154
|
+
// #2014: which entries of each package directory a build or an install made is read from its package.json,
|
|
155
|
+
// and that file is about to be unlinked with the rest, so it is read first.
|
|
156
|
+
const derivedEntryNamesByDirectory = new Map();
|
|
157
|
+
for (const relFile of removalPlan.remove) {
|
|
158
|
+
if (path.basename(relFile) !== 'package.json')
|
|
159
|
+
continue;
|
|
160
|
+
const directory = path.dirname(absoluteByPath.get(relFile));
|
|
161
|
+
derivedEntryNamesByDirectory.set(directory, await derivedEntryNames(directory));
|
|
162
|
+
}
|
|
163
|
+
for (const relFile of removalPlan.remove) {
|
|
164
|
+
if (await unlinkIfExists(absoluteByPath.get(relFile)))
|
|
165
|
+
filesRemoved += 1;
|
|
166
|
+
unlinked.push(relFile);
|
|
167
|
+
}
|
|
168
|
+
unlinked.push(...removalPlan.gone);
|
|
169
|
+
// #2014: what was derived from the module's files (its package's `node_modules`, its build output) is what
|
|
170
|
+
// kept its directories alive, so it goes first — only where nothing but ignored content remains.
|
|
171
|
+
for (const layerRoot of new Set(Object.values(MODULE_BOUNDARY_LAYER_ROOTS))) {
|
|
172
|
+
const inLayer = unlinked.filter((file) => file.startsWith(`${layerRoot}/`));
|
|
173
|
+
if (inLayer.length === 0)
|
|
174
|
+
continue;
|
|
175
|
+
const derived = await removeDerivedContentLeftByRemoval({
|
|
176
|
+
saasRoot,
|
|
177
|
+
layerRootAbs: path.resolve(saasRoot, layerRoot),
|
|
178
|
+
removedFilesAbs: inLayer.map((file) => path.resolve(saasRoot, file)),
|
|
179
|
+
derivedEntryNamesByDirectory,
|
|
180
|
+
});
|
|
181
|
+
if (derived.deleted.length > 0)
|
|
182
|
+
ctx.log.info(` removed what was derived from it: ${derived.deleted.join(', ')}`);
|
|
183
|
+
for (const kept of derived.kept)
|
|
184
|
+
ctx.log.warn(` kept ${kept.directory}: ${kept.because}. Delete it yourself if nothing there is needed.`);
|
|
185
|
+
}
|
|
186
|
+
// Pruned whether or not the files were still there: a module whose files were deleted by hand
|
|
187
|
+
// still leaves the directories it created (#1765 review).
|
|
188
|
+
const directoriesRemoved = await pruneEmptiedModuleDirectories(saasRoot, unlinked);
|
|
189
|
+
if (filesRemoved > 0 || directoriesRemoved > 0) {
|
|
190
|
+
ctx.log.success(` removed ${filesRemoved} adopted file(s)${directoriesRemoved > 0 ? ` and ${directoriesRemoved} emptied director${directoriesRemoved === 1 ? 'y' : 'ies'}` : ''}`);
|
|
191
|
+
}
|
|
192
|
+
if (filesSkipped > 0) {
|
|
193
|
+
ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);
|
|
194
|
+
}
|
|
195
|
+
// Drop the lockfile entry.
|
|
196
|
+
await RegistryLockfileService.mutate(saasRoot, (current) => {
|
|
197
|
+
const next = { ...current.installed };
|
|
198
|
+
delete next[moduleId];
|
|
199
|
+
return { ...current, installed: next };
|
|
200
|
+
});
|
|
201
|
+
ctx.log.success(' lockfile entry dropped');
|
|
202
|
+
}
|
|
203
|
+
catch (error) {
|
|
204
|
+
restoreRegistrationSnapshot(saasRoot, unregistered);
|
|
205
|
+
throw error;
|
|
86
206
|
}
|
|
87
|
-
const absFile = path.resolve(saasRoot, relFile);
|
|
88
|
-
if (await rmIfExists(absFile))
|
|
89
|
-
filesRemoved += 1;
|
|
90
|
-
}
|
|
91
|
-
if (filesRemoved > 0) {
|
|
92
|
-
ctx.log.success(` removed ${filesRemoved} adopted file(s)`);
|
|
93
|
-
}
|
|
94
|
-
if (filesSkipped > 0) {
|
|
95
|
-
ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);
|
|
96
|
-
}
|
|
97
|
-
// Drop the lockfile entry.
|
|
98
|
-
await RegistryLockfileService.mutate(saasRoot, (current) => {
|
|
99
|
-
const next = { ...current.installed };
|
|
100
|
-
delete next[moduleId];
|
|
101
|
-
return { ...current, installed: next };
|
|
102
207
|
});
|
|
103
|
-
|
|
208
|
+
// #1757: removing a module that declares resources leaves a migration owed (the drop) on an
|
|
209
|
+
// application that has adopted migrations.
|
|
210
|
+
const migrationObligation = deriveMigrationObligation({ saasRoot, moduleId, verb: 'remove', resourceConfigurationFiles });
|
|
211
|
+
if (migrationObligation)
|
|
212
|
+
for (const line of describeMigrationObligation(migrationObligation))
|
|
213
|
+
ctx.log.warn(line);
|
|
214
|
+
// #2014: a removed provider's packages leave the dependency graph only once the install runs again.
|
|
215
|
+
if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE)
|
|
216
|
+
installAfterProviderChange(ctx, saasRoot, moduleId);
|
|
104
217
|
try {
|
|
105
218
|
await runProviderSync({
|
|
106
219
|
saasRoot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove.command.js","sourceRoot":"","sources":["../../../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,uBAAuB,EACvB,eAAe,GAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAExG,KAAK,UAAU,UAAU,CAAC,OAAe;IACvC,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACvD,OAAO,IAAI,CAAC;IACd,CAAC;IA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C,MAAM,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE;YACzD,MAAM,IAAI,GAAG,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;YACtC,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;YACtB,OAAO,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;QACzC,CAAC,CAAC,CAAC;QACH,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;QAE5C,IAAI,CAAC;YACH,MAAM,eAAe,CAAC;gBACpB,QAAQ;gBACR,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC;aAC3B,CAAC,CAAC;YACH,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACxC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,2BAA4B,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,WAAW,QAAQ,IAAI,QAAQ,CAAC,OAAO,GAAG;SACpD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry remove <moduleId>` — uninstall a module from the\n * SaaS app. Aliased as `wildo remove`.\n *\n * Pipeline:\n * 1. Look up the lockfile entry. Refuse if not present (nothing to\n * remove).\n * 2. Delete the artifact bytes (`<saasRoot>/.wildo-saas/generated/modules-artifacts/<domain>/<moduleId>/`).\n * Per `RegistryModulesLockEntry.files`, also delete every\n * app-source file that was fanned out at install/update time —\n * with a cross-module overlap guard so a path claimed by another\n * lockfile entry is preserved.\n * 3. Drop the entry from `sections.modules.installed[<moduleId>]`.\n * 4. Run provider-sync with `reason: 'remove'` so any registered\n * provider artifacts get re-materialized without the module.\n *\n * Does NOT call the registry server — remove is purely local.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n RegistryLockfileService,\n runProviderSync,\n} from '@wildo-ai/wildo-module-client';\nimport { requireSaasRoot, asRegistryLogger } from '~wildo-cli/services/registry/registry-command.utils';\n\nasync function rmIfExists(absPath: string): Promise<boolean> {\n try {\n await fs.rm(absPath, { recursive: true, force: true });\n return true;\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return false;\n throw err;\n }\n}\n\nexport default class RegistryRemoveCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry remove',\n description: 'Remove an installed module from the current SaaS app.',\n category: CommandCategory.Registry,\n aliases: ['remove'],\n args: [\n {\n name: 'moduleId',\n description: 'Module id (e.g. `acme/billing`).',\n required: true,\n },\n ],\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'remove');\n const moduleId = ctx.args.moduleId;\n if (!moduleId) {\n return { success: false, message: '`moduleId` argument is required.' };\n }\n\n const section = await RegistryLockfileService.read(saasRoot);\n const existing = section.installed[moduleId];\n if (!existing) {\n return {\n success: false,\n message: `\"${moduleId}\" is not installed; nothing to remove.`,\n };\n }\n\n // Delete the artifact-bytes directory.\n const artifactDir = path.resolve(\n saasRoot,\n '.wildo-saas/generated/modules-artifacts',\n existing.domain,\n moduleId,\n );\n if (await rmIfExists(artifactDir)) {\n ctx.log.success(` removed artifact dir → ${path.relative(saasRoot, artifactDir)}`);\n }\n\n // Delete app-source files copied in at install time. Cross-module\n // file-overlap guard: if another lockfile entry claims a path, skip\n // it — that module still owns the file. Prevents `remove` from\n // silently pulling files out from under sibling modules.\n const claimedBy = await RegistryLockfileService.findFileOwners({\n saasRoot,\n paths: existing.files,\n excludeModuleId: moduleId,\n });\n let filesRemoved = 0;\n let filesSkipped = 0;\n for (const relFile of existing.files) {\n const owners = claimedBy.get(relFile) ?? [];\n if (owners.length > 0) {\n ctx.log.warn(` keep ${relFile} — also owned by ${owners.join(', ')}`);\n filesSkipped += 1;\n continue;\n }\n const absFile = path.resolve(saasRoot, relFile);\n if (await rmIfExists(absFile)) filesRemoved += 1;\n }\n if (filesRemoved > 0) {\n ctx.log.success(` removed ${filesRemoved} adopted file(s)`);\n }\n if (filesSkipped > 0) {\n ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);\n }\n\n // Drop the lockfile entry.\n await RegistryLockfileService.mutate(saasRoot, (current) => {\n const next = { ...current.installed };\n delete next[moduleId];\n return { ...current, installed: next };\n });\n ctx.log.success(' lockfile entry dropped');\n\n try {\n await runProviderSync({\n saasRoot,\n reason: 'remove',\n dryRun: false,\n log: asRegistryLogger(ctx),\n });\n ctx.log.success(' provider-sync OK');\n } catch (err) {\n ctx.log.warn(` provider-sync failed: ${(err as Error).message}`);\n }\n\n return {\n success: true,\n message: `Removed ${moduleId}@${existing.version}.`,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"remove.command.js","sourceRoot":"","sources":["../../../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,eAAe,GAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,iCAAiC,EACjC,mCAAmC,GACpC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,yBAAyB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,EAAE,QAAQ;gBAChB,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC;aAC3B,CAAC,CAAC;YACH,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACxC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,2BAA4B,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,WAAW,QAAQ,IAAI,QAAQ,CAAC,OAAO,GAAG;SACpD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry remove <moduleId>` — uninstall a module from the\n * SaaS app. Aliased as `wildo remove`.\n *\n * Pipeline:\n * 1. Look up the lockfile entry. Refuse if not present (nothing to\n * remove).\n * 2. Delete the artifact bytes (`<saasRoot>/.wildo-saas/generated/modules-artifacts/<domain>/<moduleId>/`).\n * Per `RegistryModulesLockEntry.files`, also delete every\n * app-source file that was fanned out at install/update time —\n * with a cross-module overlap guard so a path claimed by another\n * lockfile entry is preserved.\n * 3. Drop the entry from `sections.modules.installed[<moduleId>]`.\n * 4. Run provider-sync with `reason: 'remove'` so any registered\n * provider artifacts get re-materialized without the module.\n *\n * Does NOT call the registry server — remove is purely local.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n MODULES_ARTIFACTS_RELATIVE_DIR,\n RegistryLockfileService,\n runProviderSync,\n} from '@wildo-ai/wildo-module-client';\nimport {\n requireSaasRoot,\n asRegistryLogger,\n withRegistryWorkspaceMutationLock,\n assertModuleEntryUnchangedUnderLock,\n} from '~wildo-cli/services/registry/registry-command.utils';\nimport { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile } from '~wildo-cli/services/registry/boundary-fanout.utils';\nimport {\n describeProtectedFile,\n planProtectedRemoval,\n registryForceBackupDirectory,\n} from '~wildo-cli/services/registry/installed-file-state.utils';\nimport {\n deriveMigrationObligation,\n describeMigrationObligation,\n findResourceConfigurationFiles,\n} from '~wildo-cli/services/registry/migration-obligation.utils';\nimport { restoreRegistrationSnapshot, reverseModuleRegistration } from '~wildo-cli/services/registry/module-registration.service';\nimport { MODULE_BOUNDARY_LAYER_ROOTS, ModuleRegistrationScenario } from '@wildo-ai/platform-config-lib';\nimport { derivedEntryNames, removeDerivedContentLeftByRemoval } from '~wildo-cli/services/registry/git-ignored-paths.utils';\nimport { installAfterProviderChange, NO_INSTALL_FLAG } from '~wildo-cli/services/registry/provider-install-step';\nimport { moduleArtifactRoot } from '~wildo-cli/services/registry/module-artifact-files.utils';\n\n/**\n * Delete one recorded module FILE. Deliberately `unlink`, not a recursive `rm`: a lockfile entry\n * records files, so a path naming a directory is not something this command should ever delete\n * wholesale — it is left on disk and reported.\n */\nasync function unlinkIfExists(absPath: string): Promise<boolean> {\n try {\n await fs.unlink(absPath);\n return true;\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return false;\n throw err;\n }\n}\n\nexport default class RegistryRemoveCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry remove',\n description: 'Remove an installed module from the current SaaS app.',\n category: CommandCategory.Registry,\n aliases: ['remove'],\n args: [\n {\n name: 'moduleId',\n description: 'Module id (e.g. `acme/billing`).',\n required: true,\n },\n ],\n flags: {\n 'no-install': NO_INSTALL_FLAG,\n force: {\n type: 'boolean',\n description: 'Also delete files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'remove');\n const moduleId = ctx.args.moduleId;\n if (!moduleId) {\n return { success: false, message: '`moduleId` argument is required.' };\n }\n\n const section = await RegistryLockfileService.read(saasRoot);\n const existing = section.installed[moduleId];\n if (!existing) {\n return {\n success: false,\n message: `\"${moduleId}\" is not installed; nothing to remove.`,\n };\n }\n\n let resourceConfigurationFiles: string[] = [];\n await withRegistryWorkspaceMutationLock(saasRoot, async () => {\n await assertModuleEntryUnchangedUnderLock(saasRoot, moduleId, existing);\n // Asked BEFORE anything is deleted: removing a module that declares resources drops tables.\n resourceConfigurationFiles = await findResourceConfigurationFiles(saasRoot, existing.files);\n // Resolve every path this command will delete BEFORE changing anything, so a poisoned entry\n // stops the command with the application untouched.\n const recordedFiles = existing.files.map((relFile) => ({ relFile, absFile: resolveRecordedModuleFile(saasRoot, relFile) }));\n const artifactDir = moduleArtifactRoot(saasRoot, existing.domain, existing.moduleId);\n\n // #1755: unregister first, so no registry is left importing a directory that is about to go.\n // Restored if a later step fails: the lockfile entry then still exists, and its registration\n // must stay applied beside it.\n const kept: string[] = [];\n const unregistered = existing.registration\n ? reverseModuleRegistration(saasRoot, ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null, existing.registration, { kept })\n : [];\n if (unregistered.length > 0) ctx.log.success(` unregistered from ${unregistered.map((entry) => entry.targetRelativePath).join(', ')}`);\n for (const entry of kept) ctx.log.warn(` [kept] ${entry}`);\n\n try {\n // Delete the artifact-bytes directory — the one recursive delete here, so its path comes from the\n // shared helper that checks both names' SHAPE and containment (the lockfile schema checks them\n // too; this is the point of deletion).\n try {\n await fs.rm(artifactDir, { recursive: true });\n ctx.log.success(` removed artifact dir → ${path.relative(saasRoot, artifactDir)}`);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== 'ENOENT') throw err;\n }\n // …and the `<domain>/<scope>` directories above it, once empty — also when the artifact directory\n // was already gone, since those parents are what an earlier removal would have left.\n await pruneEmptiedDirectories([artifactDir], path.resolve(saasRoot, MODULES_ARTIFACTS_RELATIVE_DIR));\n\n // Delete app-source files copied in at install time. Cross-module\n // file-overlap guard: if another lockfile entry claims a path, skip\n // it — that module still owns the file. Prevents `remove` from\n // silently pulling files out from under sibling modules.\n const claimedBy = await RegistryLockfileService.findFileOwners({\n saasRoot,\n paths: existing.files,\n excludeModuleId: moduleId,\n });\n let filesRemoved = 0;\n let filesSkipped = 0;\n const unlinked: string[] = [];\n const unclaimed: string[] = [];\n for (const { relFile } of recordedFiles) {\n const owners = claimedBy.get(relFile) ?? [];\n if (owners.length > 0) {\n ctx.log.warn(` keep ${relFile} — also owned by ${owners.join(', ')}`);\n filesSkipped += 1;\n continue;\n }\n unclaimed.push(relFile);\n }\n // #2016: a file you changed since install is kept (it becomes the application's own), unless --force.\n const removalPlan = await planProtectedRemoval({\n saasRoot,\n entry: existing,\n paths: unclaimed,\n force: ctx.flags.force === true,\n backupDirectory: registryForceBackupDirectory(saasRoot, moduleId),\n });\n for (const kept of removalPlan.kept) ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'deleted')} It is now the application's own file.`);\n for (const forced of removalPlan.forced) ctx.log.warn(` deleted ${forced.path} (--force); your version is at ${path.relative(saasRoot, forced.backup)}`);\n const absoluteByPath = new Map(recordedFiles.map(({ relFile, absFile }) => [relFile, absFile]));\n // #2014: which entries of each package directory a build or an install made is read from its package.json,\n // and that file is about to be unlinked with the rest, so it is read first.\n const derivedEntryNamesByDirectory = new Map<string, ReadonlySet<string>>();\n for (const relFile of removalPlan.remove) {\n if (path.basename(relFile) !== 'package.json') continue;\n const directory = path.dirname(absoluteByPath.get(relFile)!);\n derivedEntryNamesByDirectory.set(directory, await derivedEntryNames(directory));\n }\n for (const relFile of removalPlan.remove) {\n if (await unlinkIfExists(absoluteByPath.get(relFile)!)) filesRemoved += 1;\n unlinked.push(relFile);\n }\n unlinked.push(...removalPlan.gone);\n // #2014: what was derived from the module's files (its package's `node_modules`, its build output) is what\n // kept its directories alive, so it goes first — only where nothing but ignored content remains.\n for (const layerRoot of new Set(Object.values(MODULE_BOUNDARY_LAYER_ROOTS))) {\n const inLayer = unlinked.filter((file) => file.startsWith(`${layerRoot}/`));\n if (inLayer.length === 0) continue;\n const derived = await removeDerivedContentLeftByRemoval({\n saasRoot,\n layerRootAbs: path.resolve(saasRoot, layerRoot),\n removedFilesAbs: inLayer.map((file) => path.resolve(saasRoot, file)),\n derivedEntryNamesByDirectory,\n });\n if (derived.deleted.length > 0) ctx.log.info(` removed what was derived from it: ${derived.deleted.join(', ')}`);\n for (const kept of derived.kept) ctx.log.warn(` kept ${kept.directory}: ${kept.because}. Delete it yourself if nothing there is needed.`);\n }\n // Pruned whether or not the files were still there: a module whose files were deleted by hand\n // still leaves the directories it created (#1765 review).\n const directoriesRemoved = await pruneEmptiedModuleDirectories(saasRoot, unlinked);\n if (filesRemoved > 0 || directoriesRemoved > 0) {\n ctx.log.success(` removed ${filesRemoved} adopted file(s)${directoriesRemoved > 0 ? ` and ${directoriesRemoved} emptied director${directoriesRemoved === 1 ? 'y' : 'ies'}` : ''}`);\n }\n if (filesSkipped > 0) {\n ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);\n }\n\n // Drop the lockfile entry.\n await RegistryLockfileService.mutate(saasRoot, (current) => {\n const next = { ...current.installed };\n delete next[moduleId];\n return { ...current, installed: next };\n });\n ctx.log.success(' lockfile entry dropped');\n } catch (error) {\n restoreRegistrationSnapshot(saasRoot, unregistered);\n throw error;\n }\n });\n\n // #1757: removing a module that declares resources leaves a migration owed (the drop) on an\n // application that has adopted migrations.\n const migrationObligation = deriveMigrationObligation({ saasRoot, moduleId, verb: 'remove', resourceConfigurationFiles });\n if (migrationObligation) for (const line of describeMigrationObligation(migrationObligation)) ctx.log.warn(line);\n\n // #2014: a removed provider's packages leave the dependency graph only once the install runs again.\n if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE) installAfterProviderChange(ctx, saasRoot, moduleId);\n\n try {\n await runProviderSync({\n saasRoot,\n reason: 'remove',\n dryRun: false,\n log: asRegistryLogger(ctx),\n });\n ctx.log.success(' provider-sync OK');\n } catch (err) {\n ctx.log.warn(` provider-sync failed: ${(err as Error).message}`);\n }\n\n return {\n success: true,\n message: `Removed ${moduleId}@${existing.version}.`,\n };\n }\n}\n"]}
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
* `--fix`: attempts auto-repair for the fixable finding kinds:
|
|
10
10
|
* - `module-file-missing` → re-fetch the artifact via the recorded
|
|
11
11
|
* registry URL + lockfile entry. Calls `RegistryServerClient.resolve`
|
|
12
|
-
* against the stored exact version,
|
|
13
|
-
*
|
|
14
|
-
* into the staging dir + re-fans-out
|
|
12
|
+
* against the stored exact version, REFUSES when the registry now
|
|
13
|
+
* serves a different digest than the lockfile pins, downloads against
|
|
14
|
+
* the PINNED digest, and re-extracts into the staging dir + re-fans-out
|
|
15
|
+
* onto the SaaS source. The pin is never rewritten.
|
|
15
16
|
*
|
|
16
17
|
* `envelope-malformed` / `modules-section-malformed` are NOT
|
|
17
18
|
* auto-fixable — those require manual correction. Repair can replace
|
|
@@ -23,5 +24,10 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
23
24
|
readonly meta: CommandMeta;
|
|
24
25
|
run(ctx: CommandContext): Promise<CommandResult>;
|
|
25
26
|
private repairEntry;
|
|
27
|
+
/**
|
|
28
|
+
* The version the entry RECORDS, from where it was recorded: the pinned artifact from its registry, or
|
|
29
|
+
* the checkout. Never a different version: a repair restores the recorded state.
|
|
30
|
+
*/
|
|
31
|
+
private acquireRecordedVersion;
|
|
26
32
|
}
|
|
27
33
|
//# sourceMappingURL=repair-lockfile.command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repair-lockfile.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/repair-lockfile.command.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"repair-lockfile.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/repair-lockfile.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAgD1F,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,WAAW;IACpE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;YAmExC,WAAW;IAsDzB;;;OAGG;YACW,sBAAsB;CAsErC"}
|