@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":"framework-update.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-update.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,SAAS,EAAgD,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,I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K,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;gBACtF,CAAC,CAAC;aACH,CAAC;QACJ,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,6BAA6B,CAAC,WAAW,EAAE,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IACjI,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAY,CAAC;QAChE,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7C,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC","sourcesContent":["/**\n * `wildo update` — move an app-creator machine, and the application it is standing in, to a\n * published framework release.\n *\n * ## Why a command, and why one command for both halves\n *\n * A framework release has two homes on an application creator's machine, and they must move\n * TOGETHER:\n *\n * - **the CLI** (`<prefix>/node_modules/@wildo-ai/wildo-cli`, installed by `get.wildo.ai`). It\n * carries the scaffold templates, the compose/k8s templates and the platform image tag;\n * - **the application**: its `@wildo-ai/*` pins in `pnpm.overrides`, the companion drop, and the\n * skills, rules and docs `wildo assets sync` delivers from `@wildo-ai/framework-knowledge`.\n *\n * Before this existed the upgrade was seven manual steps (re-run the installer, hand-edit the\n * overrides, install, `align-deps --write`, install, `assets sync`, `config sync`), and even done\n * perfectly it left two packages behind: the companion drop pins `@wildo-ai/dev-companion` exactly\n * and `align-deps` skips `.wildo-saas/*`, and `@wildo-ai/framework-knowledge` is declared `\"*\"`\n * with no override, so the lockfile kept the old one. Upgrading several times a day through that\n * was not realistic, and a half-applied upgrade presents as the framework misbehaving.\n *\n * ## Order: CLI first, then the application, run BY THE NEW CLI\n *\n * The application half reads templates and the framework marker from the CLI package, so running it\n * from the old CLI would deliver the old templates beside the new packages — exactly the skew\n * `assets sync` warns about. The command therefore installs the new CLI beside the old one, points\n * the launcher at it, then re-executes the NEW binary for the application half (`--app-only`).\n * Re-executing is what makes the second half provably the new release.\n *\n * ## What it refuses\n *\n * - A framework-DEVELOPER CLI (running from a checkout): the checkout is the version; `git pull`.\n * - A CLI not installed by the Wildo installer (e.g. `npm i -g`): writing beside, and later cleaning,\n * a prefix it does not own could delete someone else's packages, so it names the npm command instead.\n * - A target older than {@link FIRST_RELEASE_WITH_UPDATE_COMMAND}: the machine would be left with a CLI\n * that cannot update itself, so it names the installer command instead.\n * - A framework-developer APPLICATION (`file:` links into a checkout): nothing to pin.\n */\nimport { spawnSync, type SpawnSyncOptions, type SpawnSyncReturns } from 'child_process';\nimport { existsSync, mkdirSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'fs';\nimport { basename, dirname, join, resolve } from 'path';\nimport { FRAMEWORK_WORKSPACE_MARKER_FILE, loadSaasConfig, resolveMachinePreferencesPath } from '@wildo-ai/platform-config-lib';\nimport {\n APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS,\n APP_CREATOR_WORKBENCH_DROP_RELATIVE,\n writeAppCreatorCompanionDrop,\n writeAppCreatorWorkbenchDrop,\n} from '~wildo-cli/services/application/saas-skeleton.service';\nimport { isNpmNotFoundOutput } from '~wildo-cli/services/framework/npm-registry-output';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport { WORKBENCH_PORT_OFFSET_FROM_COMPANION } from '~wildo-cli/services/application/application-dev-port-offsets';\n\nexport const WILDO_CLI_PACKAGE_NAME = '@wildo-ai/wildo-cli';\n\n/** The dist-tag `wildo update` follows when no `--to <version>` is given. */\nexport const DEFAULT_FRAMEWORK_DIST_TAG = 'latest';\n\n/**\n * The `name` the installer writes into its private prefix manifest (`install.sh` / `install.ps1`), and\n * that `wildo update` writes into each prefix it creates. It is the proof that a prefix belongs to\n * this mechanism, so a release may be installed beside it and old prefixes cleaned.\n */\nexport const INSTALLER_PREFIX_MANIFEST_NAME = 'wildo-cli-install';\n\n/**\n * A `pnpm.overrides` key that pins a framework package by its BARE name. Every package the framework\n * publishes lives under `@wildo-ai/`; a parent-scoped selector (`@wildo-ai/x>semver`) or a\n * version-qualified one (`@wildo-ai/x@1`) pins a THIRD-PARTY dependency and is left alone.\n */\nconst FRAMEWORK_PACKAGE_OVERRIDE_KEY = /^@wildo-ai\\/[^/>@]+$/;\n\nconst EXACT_VERSION_PATTERN = /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?$/;\n\n/**\n * Whether one exact version of a package is on the registry — three answers, because the third is\n * the one that matters. \"Could not ask\" read as \"not published\" once meant: skip the bump, pass every\n * gate, and push a Docker tag over a release that already exists.\n */\nexport enum RegistryVersionStatus {\n PUBLISHED = 'published',\n /** npm answered E404 for the version or the package. */\n NOT_PUBLISHED = 'not-published',\n /** Anything else — offline, auth, a registry error. Never to be read as either of the above. */\n UNKNOWN = 'unknown',\n}\n\n/**\n * The one seam to the npm registry, injectable so tests never touch the network.\n *\n * `view` returns the raw `--json` answer, or `null` when npm answered nothing usable. It is for\n * reading FIELDS (a dist-tag's version, the published pin set); whether a version EXISTS is\n * `versionStatus`, which does not collapse \"not found\" and \"could not ask\" into one `null`.\n */\nexport interface FrameworkRegistryClient {\n view(spec: string, field: string): unknown;\n versionStatus(packageName: string, version: string): RegistryVersionStatus;\n install(prefix: string, spec: string): { ok: boolean; output: string };\n}\n\n\n\nexport const npmRegistryClient: FrameworkRegistryClient = {\n view(spec, field) {\n const result = runNpm(['view', spec, field, '--json']);\n const text = result.stdout.trim();\n if (result.status !== 0 || text.length === 0) return null;\n try {\n return JSON.parse(text) as unknown;\n } catch {\n return null;\n }\n },\n versionStatus(packageName, version) {\n const result = runNpm(['view', `${packageName}@${version}`, 'version', '--json']);\n if (result.status === 0) {\n try {\n return JSON.parse(result.stdout.trim()) === version ? RegistryVersionStatus.PUBLISHED : RegistryVersionStatus.UNKNOWN;\n } catch {\n return RegistryVersionStatus.UNKNOWN;\n }\n }\n return isNpmNotFoundOutput(`${result.stdout}\\n${result.stderr}`) ? RegistryVersionStatus.NOT_PUBLISHED : RegistryVersionStatus.UNKNOWN;\n },\n install(prefix, spec) {\n const result = runNpm(['install', '--prefix', prefix, '--no-fund', '--no-audit', '--loglevel', 'error', spec]);\n return { ok: result.status === 0, output: `${result.stdout}${result.stderr}` };\n },\n};\n\nfunction runNpm(args: string[]): { status: number | null; stdout: string; stderr: string } {\n const result = spawnPackageManager(PackageManagerCommand.NPM, args, { encoding: 'utf8' });\n return { status: result.status, stdout: String(result.stdout ?? ''), stderr: String(result.stderr ?? '') };\n}\n\n/** The package managers `wildo update` drives: npm for the CLI prefix, pnpm for the application. */\nexport enum PackageManagerCommand {\n NPM = 'npm',\n PNPM = 'pnpm',\n}\n\n/**\n * Start `npm` / `pnpm` on every platform.\n *\n * On Windows both are `.cmd` shims, which `spawnSync` can only start through `cmd.exe`. Passing an\n * argument ARRAY with `shell: true` joins it unquoted (and is deprecated, DEP0190), so a path with a\n * space — `C:\\Users\\First Last\\AppData\\Local\\…`, the usual install location — would split into two\n * arguments. The command line is therefore built here, each argument quoted when it needs to be.\n */\nexport function spawnPackageManager(\n command: PackageManagerCommand,\n args: string[],\n options: SpawnSyncOptions,\n): SpawnSyncReturns<string | Buffer> {\n if (process.platform !== 'win32') return spawnSync(command, args, options);\n return spawnSync([command, ...args].map(quoteWindowsShellArgument).join(' '), { ...options, shell: true });\n}\n\n/** Quote one `cmd.exe` argument when it carries whitespace or a shell metacharacter. */\nexport function quoteWindowsShellArgument(argument: string): string {\n return /[\\s\"&|<>^()%!]/.test(argument) ? `\"${argument.replace(/\"/g, '\"\"')}\"` : argument;\n}\n\n// ─── Target version ─────────────────────────────────────────────────────────────\n\n/**\n * The release to move to: `requestedVersion` when given (and only if it is published), otherwise\n * whatever `distTag` points at. The CLI package is the reference because every release publishes it\n * and the installer installs it; the lockstep publish lane gives every other `@wildo-ai/*` package\n * the same version.\n */\nexport function resolveTargetFrameworkVersion(input: {\n requestedVersion?: string | undefined;\n distTag: string;\n registry?: FrameworkRegistryClient;\n}): string {\n const registry = input.registry ?? npmRegistryClient;\n if (input.requestedVersion !== undefined) {\n const requested = input.requestedVersion.trim();\n if (!EXACT_VERSION_PATTERN.test(requested)) {\n throw new Error(`'${requested}' is not an exact version (expected x.y.z).`);\n }\n const status = registry.versionStatus(WILDO_CLI_PACKAGE_NAME, requested);\n if (status === RegistryVersionStatus.NOT_PUBLISHED) {\n throw new Error(`${WILDO_CLI_PACKAGE_NAME}@${requested} is not published on npm.`);\n }\n if (status === RegistryVersionStatus.UNKNOWN) {\n throw new Error(`Could not ask npm whether ${WILDO_CLI_PACKAGE_NAME}@${requested} exists (is the registry reachable?).`);\n }\n return requested;\n }\n const tagged = registry.view(`${WILDO_CLI_PACKAGE_NAME}@${input.distTag}`, 'version');\n if (typeof tagged !== 'string' || !EXACT_VERSION_PATTERN.test(tagged)) {\n throw new Error(\n `Could not read the '${input.distTag}' release of ${WILDO_CLI_PACKAGE_NAME} from npm `\n + '(is the dist-tag published, and is the registry reachable?).',\n );\n }\n return tagged;\n}\n\n// ─── The CLI half ───────────────────────────────────────────────────────────────\n\n/** Whether `wildo update` may install a release beside the running CLI. */\nexport enum InstalledCliLocationKind {\n /** The running CLI sits in a prefix the Wildo installer (or a previous `wildo update`) created. */\n INSTALLER_PREFIX = 'installer-prefix',\n /** Anything else: a framework checkout, an `npm -g` install, an unrecognised layout. */\n REFUSED = 'refused',\n}\n\nexport type InstalledCliLocation =\n | { kind: InstalledCliLocationKind.INSTALLER_PREFIX; packageRoot: string; prefix: string }\n | { kind: InstalledCliLocationKind.REFUSED; reason: string };\n\n/**\n * Where the running CLI lives, and whether `wildo update` may install a release beside it.\n *\n * Only an installer-owned prefix qualifies: `<prefix>/node_modules/@wildo-ai/wildo-cli` whose\n * `<prefix>/package.json` is the installer's manifest. That check is what stops the update from\n * writing into — and later cleaning — a global npm prefix full of unrelated packages.\n *\n * @param packageRoot - the running CLI's framework-assets root (`resolveInstalledFrameworkAssetsRoot()`).\n */\nexport function locateInstalledCli(packageRoot: string | null): InstalledCliLocation {\n if (packageRoot === null) {\n return { kind: InstalledCliLocationKind.REFUSED, reason: 'The running CLI is not inside an installed @wildo-ai/wildo-cli package.' };\n }\n const scopeDir = dirname(packageRoot);\n const nodeModulesDir = dirname(scopeDir);\n if (basename(packageRoot) !== 'wildo-cli' || basename(scopeDir) !== '@wildo-ai' || basename(nodeModulesDir) !== 'node_modules') {\n return {\n kind: InstalledCliLocationKind.REFUSED,\n reason:\n `This CLI runs from ${packageRoot}, which is a framework checkout rather than an installed release. `\n + 'A framework developer moves the framework with git; `wildo update` is for application creators.',\n };\n }\n const prefix = dirname(nodeModulesDir);\n const prefixManifest = readJsonObject(join(prefix, 'package.json'));\n if (prefixManifest?.name !== INSTALLER_PREFIX_MANIFEST_NAME) {\n return {\n kind: InstalledCliLocationKind.REFUSED,\n reason:\n `This CLI was not installed by the Wildo installer (${prefix} is not its prefix), so no release is `\n + `installed beside it. Upgrade it the way it was installed, e.g. \\`npm install -g ${WILDO_CLI_PACKAGE_NAME}@<version>\\`, `\n + 'or reinstall with `curl -fsSL https://get.wildo.ai/install.sh | sh`.',\n };\n }\n return { kind: InstalledCliLocationKind.INSTALLER_PREFIX, packageRoot, prefix };\n}\n\n/**\n * The first release that carries `wildo update`. Installing an older one would leave the machine\n * with a CLI that cannot update itself — and the re-executed application half would reach a CLI\n * that has no such command (up to 1.1.4, `update` was an alias of `registry update`).\n *\n * A PRERELEASE of this version (`1.1.5-next.1`) sorts below it and is refused, even though it may\n * carry the command. Deliberate while releases are plain `x.y.z` — the side channel is a dist-tag\n * (`--distTag next`), never a prerelease version, and the version schema accepts only `x.y.z`. Lower\n * the floor to the first prerelease that carries the command if that ever changes.\n */\nexport const FIRST_RELEASE_WITH_UPDATE_COMMAND = '1.1.5';\n\n/**\n * Refuse, with the command that DOES apply, a target the update cannot install and come back from.\n * Only the CLI swap needs this: a CLI already at the target obviously carries the command.\n */\nexport function assertReleaseCarriesUpdateCommand(version: string): void {\n if (compareReleaseVersions(version, FIRST_RELEASE_WITH_UPDATE_COMMAND) < 0) {\n throw new Error(\n `${version} predates \\`wildo update\\` (first shipped in ${FIRST_RELEASE_WITH_UPDATE_COMMAND}); installing it this way would leave `\n + 'this machine with a CLI that cannot update itself. Install it with the installer instead: '\n + `\\`curl -fsSL https://get.wildo.ai/install.sh | sh -s -- --cli-version=${version}\\`.`,\n );\n }\n}\n\n/**\n * Order two `x.y.z[-pre]` releases: negative when `a` is older. A prerelease sorts before its\n * release, and two prereleases of one release compare by their tag text — enough for a floor check,\n * deliberately not a full SemVer 2.0 precedence implementation.\n */\nexport function compareReleaseVersions(a: string, b: string): number {\n const split = (version: string): { core: number[]; pre: string | null } => {\n const [core, pre] = version.split('-', 2);\n return { core: core.split('.').map((part) => Number.parseInt(part, 10)), pre: pre ?? null };\n };\n const left = split(a);\n const right = split(b);\n for (let index = 0; index < 3; index += 1) {\n const difference = (left.core[index] ?? 0) - (right.core[index] ?? 0);\n if (difference !== 0) return difference;\n }\n if (left.pre === right.pre) return 0;\n if (left.pre === null) return 1;\n if (right.pre === null) return -1;\n return left.pre.localeCompare(right.pre);\n}\n\n/**\n * The directory a release is installed into: `cli-<version>`, beside the installer's own `cli`.\n * Matches only the two names this mechanism owns, because the same parent also holds other\n * framework toolchains (`acp-agents/…`) that a cleanup must never touch.\n */\nconst INSTALLED_CLI_DIRECTORY_PATTERN = /^cli(?:-\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?)?$/;\n\n/**\n * A staging directory `installCliRelease` creates and renames away on success. One left behind was\n * abandoned by a run that died between `mkdir` and the rename; the pid in its name says whose it was.\n */\nconst CLI_STAGING_DIRECTORY_PATTERN = /^cli-\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?\\.staging-(\\d+)$/;\n\n/** Whether `pid` names a live process (EPERM means alive but not ours to signal). */\nfunction isProcessAlive(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return (error as NodeJS.ErrnoException).code === 'EPERM';\n }\n}\n\nexport interface CliReleaseInstallation {\n /** The new CLI entry point, which `preferences.json` now names. */\n entryPoint: string;\n /** Earlier CLI directories (and abandoned staging trees) removed after the switch. */\n removedDirectories: string[];\n /** Earlier CLI directories that could not be removed (a later update retries them). */\n retainedDirectories: string[];\n}\n\n/**\n * Install `version` BESIDE the running CLI and point the launcher at it.\n *\n * The install is the installer's own method — the release's `wildo.frameworkOverrides` as npm\n * `overrides`, then `npm install --prefix` — into `<parent>/cli-<version>`, verified with the\n * installer's three checks, then `preferences.json` is rewritten (`cliPath` / `frameworkPath`), which\n * both launchers read on every invocation.\n *\n * Why a new directory rather than replacing the prefix in place: the running process was loaded from\n * the prefix, native addons included (`argon2.node` is mapped for the whole run). Windows refuses to\n * rename a directory holding a loaded DLL, and on every platform an in-place swap has a window in\n * which a failure strands the machine between two CLIs. Writing only NEW paths, then flipping one\n * preference, has neither problem: until the flip the old CLI is untouched and still in use.\n *\n * Earlier CLI directories, and staging trees abandoned by a run that died, are removed afterwards,\n * best-effort, never the running one: a failure there is reported and retried by the next update, and\n * never reported as a failed update.\n */\nexport function installCliRelease(input: {\n prefix: string;\n version: string;\n registry?: FrameworkRegistryClient;\n preferencesPath?: string;\n}): CliReleaseInstallation {\n const registry = input.registry ?? npmRegistryClient;\n const spec = `${WILDO_CLI_PACKAGE_NAME}@${input.version}`;\n\n const overrides = registry.view(spec, 'wildo.frameworkOverrides');\n if (overrides === null || typeof overrides !== 'object' || Array.isArray(overrides) || Object.keys(overrides).length === 0) {\n throw new Error(`${spec} publishes no wildo.frameworkOverrides; only releases that carry the framework pin set can be installed.`);\n }\n\n const installParent = dirname(input.prefix);\n const target = join(installParent, `cli-${input.version}`);\n if (resolve(target) === resolve(input.prefix)) {\n throw new Error(`${spec} is the running CLI (${target}); there is nothing to install.`);\n }\n const staging = `${target}.staging-${process.pid}`;\n rmSync(staging, { recursive: true, force: true });\n mkdirSync(staging, { recursive: true });\n try {\n writeFileSync(\n join(staging, 'package.json'),\n `${JSON.stringify({ name: INSTALLER_PREFIX_MANIFEST_NAME, private: true, overrides }, null, 2)}\\n`,\n 'utf8',\n );\n const installed = registry.install(staging, spec);\n if (!installed.ok) {\n throw new Error(`npm could not install ${spec}:\\n${installed.output.trim()}`);\n }\n const stagedPackage = join(staging, 'node_modules', '@wildo-ai', 'wildo-cli');\n // The same three checks the installer makes: an entry point, and the framework assets\n // (templates + marker) every app-creator command reads.\n for (const required of [join('dist', 'bin', 'wildo.js'), FRAMEWORK_WORKSPACE_MARKER_FILE, 'templates']) {\n if (!existsSync(join(stagedPackage, required))) {\n throw new Error(`The installed ${spec} is incomplete: ${required} is missing.`);\n }\n }\n // A leftover `cli-<version>` from an interrupted earlier run is not running (the guard above), so\n // it may be replaced. Renaming staging into place is the last step that touches the new tree.\n rmSync(target, { recursive: true, force: true });\n renameSync(staging, target);\n } catch (error) {\n rmSync(staging, { recursive: true, force: true });\n throw error;\n }\n\n const packageRoot = join(target, 'node_modules', '@wildo-ai', 'wildo-cli');\n pointPreferencesAtCli(input.preferencesPath ?? resolveMachinePreferencesPath(), packageRoot);\n\n const removedDirectories: string[] = [];\n const retainedDirectories: string[] = [];\n for (const entry of readdirSync(installParent, { withFileTypes: true })) {\n if (!entry.isDirectory()) continue;\n const directory = join(installParent, entry.name);\n const staging = CLI_STAGING_DIRECTORY_PATTERN.exec(entry.name);\n if (staging !== null) {\n // An abandoned staging tree — unless its run is still alive (a concurrent update).\n if (isProcessAlive(Number(staging[1]))) continue;\n } else if (!INSTALLED_CLI_DIRECTORY_PATTERN.test(entry.name)) {\n continue;\n }\n if (resolve(directory) === resolve(target) || resolve(directory) === resolve(input.prefix)) continue;\n try {\n rmSync(directory, { recursive: true, force: true });\n removedDirectories.push(directory);\n } catch {\n retainedDirectories.push(directory);\n }\n }\n return { entryPoint: join(packageRoot, 'dist', 'bin', 'wildo.js'), removedDirectories, retainedDirectories };\n}\n\n/**\n * Point `preferences.json` at a CLI package, exactly as the installers do: `cliPath` and\n * `frameworkPath` both name the installed package (it is the framework-assets root for an\n * application creator), and `isFrameworkDeveloper` is false. Read-modify-write, so every other\n * preference survives.\n */\nfunction pointPreferencesAtCli(preferencesPath: string, packageRoot: string): void {\n const document = existsSync(preferencesPath) ? (readJsonObject(preferencesPath) ?? {}) : {};\n document.cliPath = packageRoot;\n document.frameworkPath = packageRoot;\n document.isFrameworkDeveloper = false;\n mkdirSync(dirname(preferencesPath), { recursive: true });\n writeFileSync(preferencesPath, `${JSON.stringify(document, null, 2)}\\n`, 'utf8');\n}\n\n// ─── The application half ───────────────────────────────────────────────────────\n\nexport interface ApplicationFrameworkPinsReport {\n /** Distinct `@wildo-ai/*` versions the application pinned before the rewrite. */\n previousVersions: string[];\n /** `@wildo-ai/*` names whose pin changed (or was added). */\n changedPackages: string[];\n}\n\n/**\n * Point every `@wildo-ai/*` pin in the application root's `pnpm.overrides` at `version`, and make\n * sure the two app-creator pins that are not in the file-link core are present (see\n * `APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS`).\n *\n * \"Every\" rather than a list: provider packages are pinned demand-driven by `wildo compose`, so the\n * application's own overrides are the only complete record of which ones it links. Pinned exact,\n * because the lockstep publish lane gives every package the same version and a caret would let one\n * float ahead of the others.\n *\n * Refuses a framework-developer application: a `file:`/`link:` pin points into a checkout, and\n * rewriting it to a registry version would silently detach that application from its framework.\n */\nexport function pinApplicationFrameworkVersion(input: {\n applicationRoot: string;\n version: string;\n /** The app-creator pins beyond the file-link core to ensure; default all of them. */\n additionalPins?: readonly string[];\n /**\n * Framework pins to REMOVE rather than move: a package the target release does not publish. Moving\n * such a pin names a version npm has never seen, and the next install fails.\n */\n removedPins?: readonly string[];\n}): ApplicationFrameworkPinsReport {\n const manifestPath = join(input.applicationRoot, 'package.json');\n const manifest = readJsonObject(manifestPath);\n if (manifest === null) {\n throw new Error(`${manifestPath} is missing or not a JSON object.`);\n }\n const pnpmBlock = (isPlainObject(manifest.pnpm) ? manifest.pnpm : {}) as Record<string, unknown>;\n const overrides = (isPlainObject(pnpmBlock.overrides) ? pnpmBlock.overrides : {}) as Record<string, unknown>;\n\n const frameworkEntries = Object.entries(overrides).filter(([name]) => FRAMEWORK_PACKAGE_OVERRIDE_KEY.test(name));\n const linked = frameworkEntries.filter(([, value]) => typeof value === 'string' && /^(file|link):/.test(value));\n if (linked.length > 0) {\n throw new Error(\n `This application links the framework from a checkout (${linked[0][0]} → ${String(linked[0][1])}). `\n + 'It follows that checkout; there is no published version to move it to.',\n );\n }\n if (frameworkEntries.length === 0) {\n throw new Error(`${manifestPath} pins no @wildo-ai/* package in pnpm.overrides — is this a Wildo application?`);\n }\n\n const previousVersions = [...new Set(frameworkEntries.map(([, value]) => String(value)))].sort();\n const changedPackages: string[] = [];\n const removed = new Set(input.removedPins ?? []);\n for (const name of removed) {\n if (name in overrides) {\n delete overrides[name];\n changedPackages.push(name);\n }\n }\n const names = new Set(\n [...frameworkEntries.map(([name]) => name), ...(input.additionalPins ?? APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS)].filter((name) => !removed.has(name)),\n );\n for (const name of names) {\n if (overrides[name] !== input.version) {\n overrides[name] = input.version;\n changedPackages.push(name);\n }\n }\n\n pnpmBlock.overrides = Object.fromEntries(Object.entries(overrides).sort(([a], [b]) => a.localeCompare(b)));\n manifest.pnpm = pnpmBlock;\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n return { previousVersions, changedPackages: changedPackages.sort() };\n}\n\n/** What an application's `pnpm.overrides` say about the framework it runs. */\nexport enum ApplicationFrameworkPinsKind {\n /** Pinned to published releases — `versions` holds the distinct values (one, when aligned). */\n RELEASE = 'release',\n /** Linked into a framework checkout (`file:` / `link:`): a framework-developer application. */\n CHECKOUT = 'checkout',\n /** No `@wildo-ai/*` pin at all. */\n NONE = 'none',\n}\n\nexport type ApplicationFrameworkPins =\n | { kind: ApplicationFrameworkPinsKind.RELEASE; versions: string[] }\n | { kind: ApplicationFrameworkPinsKind.CHECKOUT }\n | { kind: ApplicationFrameworkPinsKind.NONE };\n\n/** Which framework release an application pins, for `wildo update --check`. */\nexport function readApplicationFrameworkPins(applicationRoot: string): ApplicationFrameworkPins {\n const pnpmBlock = readJsonObject(join(applicationRoot, 'package.json'))?.pnpm;\n const overrides = isPlainObject(pnpmBlock) && isPlainObject(pnpmBlock.overrides) ? pnpmBlock.overrides : {};\n const values = [...new Set(\n Object.entries(overrides).filter(([name]) => FRAMEWORK_PACKAGE_OVERRIDE_KEY.test(name)).map(([, value]) => String(value)),\n )].sort();\n if (values.length === 0) return { kind: ApplicationFrameworkPinsKind.NONE };\n if (values.some((value) => /^(file|link):/.test(value))) return { kind: ApplicationFrameworkPinsKind.CHECKOUT };\n return { kind: ApplicationFrameworkPinsKind.RELEASE, versions: values };\n}\n\n/**\n * The application's slug, from the root manifest's `@<slug>/root` name — which is how the skeleton\n * names it. Refuses rather than guesses: a wrong slug names the drops after somebody else.\n */\nfunction readApplicationSlug(applicationRoot: string): string {\n const rootName = readJsonObject(join(applicationRoot, 'package.json'))?.name;\n const slug = typeof rootName === 'string' ? /^@([^/]+)\\/root$/.exec(rootName)?.[1] : undefined;\n if (slug === undefined) {\n throw new Error(\n `Cannot derive the application slug: the root package.json is named ${JSON.stringify(rootName)}, not \"@<slug>/root\".`,\n );\n }\n return slug;\n}\n\n/** Rewrite the app-creator companion drop at `version`, through the SAME writer `wildo init` uses. */\nexport function rewriteApplicationCompanionDrop(input: { applicationRoot: string; version: string }): void {\n writeAppCreatorCompanionDrop({ appRoot: input.applicationRoot, slug: readApplicationSlug(input.applicationRoot), companionVersion: input.version });\n}\n\n/** The published package the workbench drop depends on. */\nexport const WORKBENCH_PACKAGE_NAME = '@wildo-ai/application-creation-workbench';\n\nexport interface WorkbenchDropPorts {\n companionPort: number;\n workbenchPort: number;\n}\n\n/**\n * The workbench drop's ports, from the application's own declared companion address — never parsed\n * back out of an earlier drop: the declaration is the source, and the workbench's port is derived from\n * it exactly as `wildo workbench open` derives the address it opens.\n *\n * Resolved BEFORE anything is written: an application with no declared companion must be refused\n * whole, not left with its pins moved and its workbench drop missing.\n */\nexport async function resolveApplicationWorkbenchPorts(applicationRoot: string): Promise<WorkbenchDropPorts> {\n const companion = (await loadAppLocalRuntimeServiceAddresses(applicationRoot))?.devCompanion;\n const companionPort = companion?.port ?? (companion?.url ? Number(new URL(companion.url).port) : undefined);\n if (companionPort === undefined || !Number.isInteger(companionPort) || companionPort <= 0) {\n throw new Error('The application declares no local dev-companion address, so the workbench has no companion to front.');\n }\n return { companionPort, workbenchPort: companionPort + WORKBENCH_PORT_OFFSET_FROM_COMPANION };\n}\n\n/**\n * Write the app-creator workbench drop at `version`, through the SAME writer `wildo init` uses — which\n * also CREATES it in an application scaffolded before the workbench was published (1.1.4 and earlier),\n * whose creator has never had one.\n */\n/**\n * Remove the app-creator workbench drop — for a move to a release that does not publish the workbench.\n * Only a drop that depends on the PUBLISHED package is removed: a framework developer's launcher at the\n * same path is never touched (`wildo update` refuses those applications before reaching here anyway).\n *\n * @returns whether a drop was removed.\n */\nexport function removeApplicationWorkbenchDrop(applicationRoot: string): boolean {\n const dropRoot = join(applicationRoot, APP_CREATOR_WORKBENCH_DROP_RELATIVE);\n const dependencies = readJsonObject(join(dropRoot, 'package.json'))?.dependencies;\n if (!isPlainObject(dependencies) || !(WORKBENCH_PACKAGE_NAME in dependencies)) return false;\n rmSync(dropRoot, { recursive: true, force: true });\n return true;\n}\n\nexport function rewriteApplicationWorkbenchDrop(input: { applicationRoot: string; version: string; ports: WorkbenchDropPorts }): void {\n writeAppCreatorWorkbenchDrop({\n appRoot: input.applicationRoot,\n slug: readApplicationSlug(input.applicationRoot),\n workbenchVersion: input.version,\n companionPort: input.ports.companionPort,\n workbenchPort: input.ports.workbenchPort,\n });\n}\n\n/** How this application's `wildo.saas.config.ts` fares under the release the running CLI carries. */\nexport enum ApplicationConfigCheckOutcome {\n /** It loads and satisfies the release's config contract. */\n LOADS = 'loads',\n /** It loads, and the release's schema refuses it: a declaration is owed (see `issues`). */\n CONTRACT_UNMET = 'contract-unmet',\n /** It could not be evaluated at all (syntax, a missing module): not a contract question. */\n LOAD_FAILED = 'load-failed',\n}\n\nexport type ApplicationConfigCheck =\n | { outcome: ApplicationConfigCheckOutcome.LOADS }\n | { outcome: ApplicationConfigCheckOutcome.CONTRACT_UNMET; issues: string[] }\n | { outcome: ApplicationConfigCheckOutcome.LOAD_FAILED; message: string };\n\n/**\n * Judge this application's `wildo.saas.config.ts` by the release's config contract, reporting each\n * schema issue as `path: message`.\n *\n * A release can add a REQUIRED declaration — `organizationTypes` became required on 2026-09-14, one\n * release after 1.1.4 — and every application scaffolded before it then fails `config sync`,\n * `config validate` and `local dev` with a raw Zod dump that reads as though the update broke\n * something. The update has not failed: the application owes a declaration the new release asks for.\n * Saying so, per field, is the difference between a five-minute edit and a debugging session. Only a\n * schema refusal means that; any other failure to load is reported as what it is.\n *\n * Deliberately NOT a codemod. The missing value is usually a product decision (a tenancy model, a\n * first administrator's user types), and writing the scaffold's default into an existing application\n * would decide it silently. The current scaffold's shape is delivered at\n * `.wildo-saas/templates/skeleton/wildo.saas.config.ts.init.hbs`, which the report points at.\n *\n * The contract applied is the RUNNING CLI's: `loadConfig` aliases `@wildo-ai/platform-config-lib`\n * to the CLI's own copy, whatever the application has installed. That is one more reason the\n * application half runs from the target release (the command refuses otherwise). It still runs\n * after the install, because the config may import the application's own workspace packages.\n */\nexport async function checkApplicationConfigAgainstRelease(applicationRoot: string): Promise<ApplicationConfigCheck> {\n try {\n await loadSaasConfig(join(applicationRoot, 'wildo.saas.config.ts'), { freshModuleCache: true });\n return { outcome: ApplicationConfigCheckOutcome.LOADS };\n } catch (error) {\n const issues = (error as { issues?: unknown }).issues;\n if (Array.isArray(issues) && issues.length > 0) {\n return {\n outcome: ApplicationConfigCheckOutcome.CONTRACT_UNMET,\n issues: issues.map((issue) => {\n const { path, message } = issue as { path?: unknown; message?: unknown };\n const where = Array.isArray(path) && path.length > 0 ? path.join('.') : '(root)';\n return `${where}: ${typeof message === 'string' ? message : JSON.stringify(issue)}`;\n }),\n };\n }\n return { outcome: ApplicationConfigCheckOutcome.LOAD_FAILED, message: error instanceof Error ? error.message : String(error) };\n }\n}\n\nfunction readJsonObject(path: string): Record<string, unknown> | null {\n try {\n const value = JSON.parse(readFileSync(path, 'utf8')) as unknown;\n return isPlainObject(value) ? value : null;\n } catch {\n return null;\n }\n}\n\nfunction isPlainObject(value: unknown): value is Record<string, unknown> {\n return value !== null && typeof value === 'object' && !Array.isArray(value);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"framework-update.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-update.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,SAAS,EAAgD,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,cAAc,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC/H,OAAO,EACL,qCAAqC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QACJ,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,6BAA6B,CAAC,WAAW,EAAE,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IACjI,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAY,CAAC;QAChE,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7C,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC","sourcesContent":["/**\n * `wildo update` — move an app-creator machine, and the application it is standing in, to a\n * published framework release.\n *\n * ## Why a command, and why one command for both halves\n *\n * A framework release has two homes on an application creator's machine, and they must move\n * TOGETHER:\n *\n * - **the CLI** (`<prefix>/node_modules/@wildo-ai/wildo-cli`, installed by `get.wildo.ai`). It\n * carries the scaffold templates, the compose/k8s templates and the platform image tag;\n * - **the application**: its `@wildo-ai/*` pins in `pnpm.overrides`, the companion drop, and the\n * skills, rules and docs `wildo assets sync` delivers from `@wildo-ai/framework-knowledge`.\n *\n * Before this existed the upgrade was seven manual steps (re-run the installer, hand-edit the\n * overrides, install, `align-deps --write`, install, `assets sync`, `config sync`), and even done\n * perfectly it left two packages behind: the companion drop pins `@wildo-ai/dev-companion` exactly\n * and `align-deps` skips `.wildo-saas/*`, and `@wildo-ai/framework-knowledge` is declared `\"*\"`\n * with no override, so the lockfile kept the old one. Upgrading several times a day through that\n * was not realistic, and a half-applied upgrade presents as the framework misbehaving.\n *\n * ## Order: CLI first, then the application, run BY THE NEW CLI\n *\n * The application half reads templates and the framework marker from the CLI package, so running it\n * from the old CLI would deliver the old templates beside the new packages — exactly the skew\n * `assets sync` warns about. The command therefore installs the new CLI beside the old one, points\n * the launcher at it, then re-executes the NEW binary for the application half (`--app-only`).\n * Re-executing is what makes the second half provably the new release.\n *\n * ## What it refuses\n *\n * - A framework-DEVELOPER CLI (running from a checkout): the checkout is the version; `git pull`.\n * - A CLI not installed by the Wildo installer (e.g. `npm i -g`): writing beside, and later cleaning,\n * a prefix it does not own could delete someone else's packages, so it names the npm command instead.\n * - A target older than {@link FIRST_RELEASE_WITH_UPDATE_COMMAND}: the machine would be left with a CLI\n * that cannot update itself, so it names the installer command instead.\n * - A framework-developer APPLICATION (`file:` links into a checkout): nothing to pin.\n */\nimport { spawnSync, type SpawnSyncOptions, type SpawnSyncReturns } from 'child_process';\nimport { existsSync, mkdirSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'fs';\nimport { basename, dirname, join, resolve } from 'path';\nimport { FRAMEWORK_WORKSPACE_MARKER_FILE, loadSaasConfig, resolveMachinePreferencesPath } from '@wildo-ai/platform-config-lib';\nimport {\n APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS,\n APP_CREATOR_WORKBENCH_DROP_RELATIVE,\n writeAppCreatorCompanionDrop,\n writeAppCreatorWorkbenchDrop,\n} from '~wildo-cli/services/application/saas-skeleton.service';\nimport { isNpmNotFoundOutput } from '~wildo-cli/services/framework/npm-registry-output';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport { WORKBENCH_PORT_OFFSET_FROM_COMPANION } from '~wildo-cli/services/application/application-dev-port-offsets';\nimport { ApplicationDependencyAlignmentService } from '~wildo-cli/services/application/application-dependency-alignment.service';\n\nexport const WILDO_CLI_PACKAGE_NAME = '@wildo-ai/wildo-cli';\n\n/** The dist-tag `wildo update` follows when no `--to <version>` is given. */\nexport const DEFAULT_FRAMEWORK_DIST_TAG = 'latest';\n\n/**\n * The `name` the installer writes into its private prefix manifest (`install.sh` / `install.ps1`), and\n * that `wildo update` writes into each prefix it creates. It is the proof that a prefix belongs to\n * this mechanism, so a release may be installed beside it and old prefixes cleaned.\n */\nexport const INSTALLER_PREFIX_MANIFEST_NAME = 'wildo-cli-install';\n\n/**\n * A `pnpm.overrides` key that pins a framework package by its BARE name. Every package the framework\n * publishes lives under `@wildo-ai/`; a parent-scoped selector (`@wildo-ai/x>semver`) or a\n * version-qualified one (`@wildo-ai/x@1`) pins a THIRD-PARTY dependency and is left alone.\n */\nconst FRAMEWORK_PACKAGE_OVERRIDE_KEY = /^@wildo-ai\\/[^/>@]+$/;\n\nconst EXACT_VERSION_PATTERN = /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?$/;\n\n/**\n * Whether one exact version of a package is on the registry — three answers, because the third is\n * the one that matters. \"Could not ask\" read as \"not published\" once meant: skip the bump, pass every\n * gate, and push a Docker tag over a release that already exists.\n */\nexport enum RegistryVersionStatus {\n PUBLISHED = 'published',\n /** npm answered E404 for the version or the package. */\n NOT_PUBLISHED = 'not-published',\n /** Anything else — offline, auth, a registry error. Never to be read as either of the above. */\n UNKNOWN = 'unknown',\n}\n\n/**\n * The one seam to the npm registry, injectable so tests never touch the network.\n *\n * `view` returns the raw `--json` answer, or `null` when npm answered nothing usable. It is for\n * reading FIELDS (a dist-tag's version, the published pin set); whether a version EXISTS is\n * `versionStatus`, which does not collapse \"not found\" and \"could not ask\" into one `null`.\n */\nexport interface FrameworkRegistryClient {\n view(spec: string, field: string): unknown;\n versionStatus(packageName: string, version: string): RegistryVersionStatus;\n install(prefix: string, spec: string): { ok: boolean; output: string };\n}\n\n\n\nexport const npmRegistryClient: FrameworkRegistryClient = {\n view(spec, field) {\n const result = runNpm(['view', spec, field, '--json']);\n const text = result.stdout.trim();\n if (result.status !== 0 || text.length === 0) return null;\n try {\n return JSON.parse(text) as unknown;\n } catch {\n return null;\n }\n },\n versionStatus(packageName, version) {\n const result = runNpm(['view', `${packageName}@${version}`, 'version', '--json']);\n if (result.status === 0) {\n try {\n return JSON.parse(result.stdout.trim()) === version ? RegistryVersionStatus.PUBLISHED : RegistryVersionStatus.UNKNOWN;\n } catch {\n return RegistryVersionStatus.UNKNOWN;\n }\n }\n return isNpmNotFoundOutput(`${result.stdout}\\n${result.stderr}`) ? RegistryVersionStatus.NOT_PUBLISHED : RegistryVersionStatus.UNKNOWN;\n },\n install(prefix, spec) {\n const result = runNpm(['install', '--prefix', prefix, '--no-fund', '--no-audit', '--loglevel', 'error', spec]);\n return { ok: result.status === 0, output: `${result.stdout}${result.stderr}` };\n },\n};\n\nfunction runNpm(args: string[]): { status: number | null; stdout: string; stderr: string } {\n const result = spawnPackageManager(PackageManagerCommand.NPM, args, { encoding: 'utf8' });\n return { status: result.status, stdout: String(result.stdout ?? ''), stderr: String(result.stderr ?? '') };\n}\n\n/** The package managers `wildo update` drives: npm for the CLI prefix, pnpm for the application. */\nexport enum PackageManagerCommand {\n NPM = 'npm',\n PNPM = 'pnpm',\n}\n\n/**\n * Start `npm` / `pnpm` on every platform.\n *\n * On Windows both are `.cmd` shims, which `spawnSync` can only start through `cmd.exe`. Passing an\n * argument ARRAY with `shell: true` joins it unquoted (and is deprecated, DEP0190), so a path with a\n * space — `C:\\Users\\First Last\\AppData\\Local\\…`, the usual install location — would split into two\n * arguments. The command line is therefore built here, each argument quoted when it needs to be.\n */\nexport function spawnPackageManager(\n command: PackageManagerCommand,\n args: string[],\n options: SpawnSyncOptions,\n): SpawnSyncReturns<string | Buffer> {\n if (process.platform !== 'win32') return spawnSync(command, args, options);\n return spawnSync([command, ...args].map(quoteWindowsShellArgument).join(' '), { ...options, shell: true });\n}\n\n/** Quote one `cmd.exe` argument when it carries whitespace or a shell metacharacter. */\nexport function quoteWindowsShellArgument(argument: string): string {\n return /[\\s\"&|<>^()%!]/.test(argument) ? `\"${argument.replace(/\"/g, '\"\"')}\"` : argument;\n}\n\n// ─── Target version ─────────────────────────────────────────────────────────────\n\n/**\n * The release to move to: `requestedVersion` when given (and only if it is published), otherwise\n * whatever `distTag` points at. The CLI package is the reference because every release publishes it\n * and the installer installs it; the lockstep publish lane gives every other `@wildo-ai/*` package\n * the same version.\n */\nexport function resolveTargetFrameworkVersion(input: {\n requestedVersion?: string | undefined;\n distTag: string;\n registry?: FrameworkRegistryClient;\n}): string {\n const registry = input.registry ?? npmRegistryClient;\n if (input.requestedVersion !== undefined) {\n const requested = input.requestedVersion.trim();\n if (!EXACT_VERSION_PATTERN.test(requested)) {\n throw new Error(`'${requested}' is not an exact version (expected x.y.z).`);\n }\n const status = registry.versionStatus(WILDO_CLI_PACKAGE_NAME, requested);\n if (status === RegistryVersionStatus.NOT_PUBLISHED) {\n throw new Error(`${WILDO_CLI_PACKAGE_NAME}@${requested} is not published on npm.`);\n }\n if (status === RegistryVersionStatus.UNKNOWN) {\n throw new Error(`Could not ask npm whether ${WILDO_CLI_PACKAGE_NAME}@${requested} exists (is the registry reachable?).`);\n }\n return requested;\n }\n const tagged = registry.view(`${WILDO_CLI_PACKAGE_NAME}@${input.distTag}`, 'version');\n if (typeof tagged !== 'string' || !EXACT_VERSION_PATTERN.test(tagged)) {\n throw new Error(\n `Could not read the '${input.distTag}' release of ${WILDO_CLI_PACKAGE_NAME} from npm `\n + '(is the dist-tag published, and is the registry reachable?).',\n );\n }\n return tagged;\n}\n\n// ─── The CLI half ───────────────────────────────────────────────────────────────\n\n/** Whether `wildo update` may install a release beside the running CLI. */\nexport enum InstalledCliLocationKind {\n /** The running CLI sits in a prefix the Wildo installer (or a previous `wildo update`) created. */\n INSTALLER_PREFIX = 'installer-prefix',\n /** Anything else: a framework checkout, an `npm -g` install, an unrecognised layout. */\n REFUSED = 'refused',\n}\n\nexport type InstalledCliLocation =\n | { kind: InstalledCliLocationKind.INSTALLER_PREFIX; packageRoot: string; prefix: string }\n | { kind: InstalledCliLocationKind.REFUSED; reason: string };\n\n/**\n * Where the running CLI lives, and whether `wildo update` may install a release beside it.\n *\n * Only an installer-owned prefix qualifies: `<prefix>/node_modules/@wildo-ai/wildo-cli` whose\n * `<prefix>/package.json` is the installer's manifest. That check is what stops the update from\n * writing into — and later cleaning — a global npm prefix full of unrelated packages.\n *\n * @param packageRoot - the running CLI's framework-assets root (`resolveInstalledFrameworkAssetsRoot()`).\n */\nexport function locateInstalledCli(packageRoot: string | null): InstalledCliLocation {\n if (packageRoot === null) {\n return { kind: InstalledCliLocationKind.REFUSED, reason: 'The running CLI is not inside an installed @wildo-ai/wildo-cli package.' };\n }\n const scopeDir = dirname(packageRoot);\n const nodeModulesDir = dirname(scopeDir);\n if (basename(packageRoot) !== 'wildo-cli' || basename(scopeDir) !== '@wildo-ai' || basename(nodeModulesDir) !== 'node_modules') {\n return {\n kind: InstalledCliLocationKind.REFUSED,\n reason:\n `This CLI runs from ${packageRoot}, which is a framework checkout rather than an installed release. `\n + 'A framework developer moves the framework with git; `wildo update` is for application creators.',\n };\n }\n const prefix = dirname(nodeModulesDir);\n const prefixManifest = readJsonObject(join(prefix, 'package.json'));\n if (prefixManifest?.name !== INSTALLER_PREFIX_MANIFEST_NAME) {\n return {\n kind: InstalledCliLocationKind.REFUSED,\n reason:\n `This CLI was not installed by the Wildo installer (${prefix} is not its prefix), so no release is `\n + `installed beside it. Upgrade it the way it was installed, e.g. \\`npm install -g ${WILDO_CLI_PACKAGE_NAME}@<version>\\`, `\n + 'or reinstall with `curl -fsSL https://get.wildo.ai/install.sh | sh`.',\n };\n }\n return { kind: InstalledCliLocationKind.INSTALLER_PREFIX, packageRoot, prefix };\n}\n\n/**\n * The first release that carries `wildo update`. Installing an older one would leave the machine\n * with a CLI that cannot update itself — and the re-executed application half would reach a CLI\n * that has no such command (up to 1.1.4, `update` was an alias of `registry update`).\n *\n * A PRERELEASE of this version (`1.1.5-next.1`) sorts below it and is refused, even though it may\n * carry the command. Deliberate while releases are plain `x.y.z` — the side channel is a dist-tag\n * (`--distTag next`), never a prerelease version, and the version schema accepts only `x.y.z`. Lower\n * the floor to the first prerelease that carries the command if that ever changes.\n */\nexport const FIRST_RELEASE_WITH_UPDATE_COMMAND = '1.1.5';\n\n/**\n * Refuse, with the command that DOES apply, a target the update cannot install and come back from.\n * Only the CLI swap needs this: a CLI already at the target obviously carries the command.\n */\nexport function assertReleaseCarriesUpdateCommand(version: string): void {\n if (compareReleaseVersions(version, FIRST_RELEASE_WITH_UPDATE_COMMAND) < 0) {\n throw new Error(\n `${version} predates \\`wildo update\\` (first shipped in ${FIRST_RELEASE_WITH_UPDATE_COMMAND}); installing it this way would leave `\n + 'this machine with a CLI that cannot update itself. Install it with the installer instead: '\n + `\\`curl -fsSL https://get.wildo.ai/install.sh | sh -s -- --cli-version=${version}\\`.`,\n );\n }\n}\n\n/**\n * Order two `x.y.z[-pre]` releases: negative when `a` is older. A prerelease sorts before its\n * release, and two prereleases of one release compare by their tag text — enough for a floor check,\n * deliberately not a full SemVer 2.0 precedence implementation.\n */\nexport function compareReleaseVersions(a: string, b: string): number {\n const split = (version: string): { core: number[]; pre: string | null } => {\n const [core, pre] = version.split('-', 2);\n return { core: core.split('.').map((part) => Number.parseInt(part, 10)), pre: pre ?? null };\n };\n const left = split(a);\n const right = split(b);\n for (let index = 0; index < 3; index += 1) {\n const difference = (left.core[index] ?? 0) - (right.core[index] ?? 0);\n if (difference !== 0) return difference;\n }\n if (left.pre === right.pre) return 0;\n if (left.pre === null) return 1;\n if (right.pre === null) return -1;\n return left.pre.localeCompare(right.pre);\n}\n\n/**\n * The directory a release is installed into: `cli-<version>`, beside the installer's own `cli`.\n * Matches only the two names this mechanism owns, because the same parent also holds other\n * framework toolchains (`acp-agents/…`) that a cleanup must never touch.\n */\nconst INSTALLED_CLI_DIRECTORY_PATTERN = /^cli(?:-\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?)?$/;\n\n/**\n * A staging directory `installCliRelease` creates and renames away on success. One left behind was\n * abandoned by a run that died between `mkdir` and the rename; the pid in its name says whose it was.\n */\nconst CLI_STAGING_DIRECTORY_PATTERN = /^cli-\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?\\.staging-(\\d+)$/;\n\n/** Whether `pid` names a live process (EPERM means alive but not ours to signal). */\nfunction isProcessAlive(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return (error as NodeJS.ErrnoException).code === 'EPERM';\n }\n}\n\nexport interface CliReleaseInstallation {\n /** The new CLI entry point, which `preferences.json` now names. */\n entryPoint: string;\n /** Earlier CLI directories (and abandoned staging trees) removed after the switch. */\n removedDirectories: string[];\n /** Earlier CLI directories that could not be removed (a later update retries them). */\n retainedDirectories: string[];\n}\n\n/**\n * Install `version` BESIDE the running CLI and point the launcher at it.\n *\n * The install is the installer's own method — the release's `wildo.frameworkOverrides` as npm\n * `overrides`, then `npm install --prefix` — into `<parent>/cli-<version>`, verified with the\n * installer's three checks, then `preferences.json` is rewritten (`cliPath` / `frameworkPath`), which\n * both launchers read on every invocation.\n *\n * Why a new directory rather than replacing the prefix in place: the running process was loaded from\n * the prefix, native addons included (`argon2.node` is mapped for the whole run). Windows refuses to\n * rename a directory holding a loaded DLL, and on every platform an in-place swap has a window in\n * which a failure strands the machine between two CLIs. Writing only NEW paths, then flipping one\n * preference, has neither problem: until the flip the old CLI is untouched and still in use.\n *\n * Earlier CLI directories, and staging trees abandoned by a run that died, are removed afterwards,\n * best-effort, never the running one: a failure there is reported and retried by the next update, and\n * never reported as a failed update.\n */\nexport function installCliRelease(input: {\n prefix: string;\n version: string;\n registry?: FrameworkRegistryClient;\n preferencesPath?: string;\n}): CliReleaseInstallation {\n const registry = input.registry ?? npmRegistryClient;\n const spec = `${WILDO_CLI_PACKAGE_NAME}@${input.version}`;\n\n const overrides = registry.view(spec, 'wildo.frameworkOverrides');\n if (overrides === null || typeof overrides !== 'object' || Array.isArray(overrides) || Object.keys(overrides).length === 0) {\n throw new Error(`${spec} publishes no wildo.frameworkOverrides; only releases that carry the framework pin set can be installed.`);\n }\n\n const installParent = dirname(input.prefix);\n const target = join(installParent, `cli-${input.version}`);\n if (resolve(target) === resolve(input.prefix)) {\n throw new Error(`${spec} is the running CLI (${target}); there is nothing to install.`);\n }\n const staging = `${target}.staging-${process.pid}`;\n rmSync(staging, { recursive: true, force: true });\n mkdirSync(staging, { recursive: true });\n try {\n writeFileSync(\n join(staging, 'package.json'),\n `${JSON.stringify({ name: INSTALLER_PREFIX_MANIFEST_NAME, private: true, overrides }, null, 2)}\\n`,\n 'utf8',\n );\n const installed = registry.install(staging, spec);\n if (!installed.ok) {\n throw new Error(`npm could not install ${spec}:\\n${installed.output.trim()}`);\n }\n const stagedPackage = join(staging, 'node_modules', '@wildo-ai', 'wildo-cli');\n // The same three checks the installer makes: an entry point, and the framework assets\n // (templates + marker) every app-creator command reads.\n for (const required of [join('dist', 'bin', 'wildo.js'), FRAMEWORK_WORKSPACE_MARKER_FILE, 'templates']) {\n if (!existsSync(join(stagedPackage, required))) {\n throw new Error(`The installed ${spec} is incomplete: ${required} is missing.`);\n }\n }\n // A leftover `cli-<version>` from an interrupted earlier run is not running (the guard above), so\n // it may be replaced. Renaming staging into place is the last step that touches the new tree.\n rmSync(target, { recursive: true, force: true });\n renameSync(staging, target);\n } catch (error) {\n rmSync(staging, { recursive: true, force: true });\n throw error;\n }\n\n const packageRoot = join(target, 'node_modules', '@wildo-ai', 'wildo-cli');\n pointPreferencesAtCli(input.preferencesPath ?? resolveMachinePreferencesPath(), packageRoot);\n\n const removedDirectories: string[] = [];\n const retainedDirectories: string[] = [];\n for (const entry of readdirSync(installParent, { withFileTypes: true })) {\n if (!entry.isDirectory()) continue;\n const directory = join(installParent, entry.name);\n const staging = CLI_STAGING_DIRECTORY_PATTERN.exec(entry.name);\n if (staging !== null) {\n // An abandoned staging tree — unless its run is still alive (a concurrent update).\n if (isProcessAlive(Number(staging[1]))) continue;\n } else if (!INSTALLED_CLI_DIRECTORY_PATTERN.test(entry.name)) {\n continue;\n }\n if (resolve(directory) === resolve(target) || resolve(directory) === resolve(input.prefix)) continue;\n try {\n rmSync(directory, { recursive: true, force: true });\n removedDirectories.push(directory);\n } catch {\n retainedDirectories.push(directory);\n }\n }\n return { entryPoint: join(packageRoot, 'dist', 'bin', 'wildo.js'), removedDirectories, retainedDirectories };\n}\n\n/**\n * Point `preferences.json` at a CLI package, exactly as the installers do: `cliPath` and\n * `frameworkPath` both name the installed package (it is the framework-assets root for an\n * application creator), and `isFrameworkDeveloper` is false. Read-modify-write, so every other\n * preference survives.\n */\nfunction pointPreferencesAtCli(preferencesPath: string, packageRoot: string): void {\n const document = existsSync(preferencesPath) ? (readJsonObject(preferencesPath) ?? {}) : {};\n document.cliPath = packageRoot;\n document.frameworkPath = packageRoot;\n document.isFrameworkDeveloper = false;\n mkdirSync(dirname(preferencesPath), { recursive: true });\n writeFileSync(preferencesPath, `${JSON.stringify(document, null, 2)}\\n`, 'utf8');\n}\n\n// ─── The application half ───────────────────────────────────────────────────────\n\nexport interface ApplicationFrameworkPinsReport {\n /** Distinct `@wildo-ai/*` versions the application pinned before the rewrite. */\n previousVersions: string[];\n /** `@wildo-ai/*` names whose pin changed (or was added). */\n changedPackages: string[];\n}\n\n/**\n * Framework packages that are no longer published, whose pin an update REMOVES whatever the target.\n *\n * `@wildo-ai/providers` is the generated provider catalogue, archived at the #2019 cut-over (epic\n * #2012); 1.1.5 is its last published version. An application that declared it before the cut-over\n * carries its pin, and moving that pin to a later release names a version npm has never seen, so the\n * next install would fail. A provider the application uses now reaches it through `wildo registry\n * add wildo/providers/<ref>`, as its own workspace package, which needs no framework pin.\n */\nexport const RETIRED_FRAMEWORK_PACKAGE_PINS: readonly string[] = ['@wildo-ai/providers'];\n\n/**\n * A workspace package that still DEPENDS on a retired framework package, and what replaces it.\n *\n * Removing the pin is not enough on its own. A dependency the application declared (the v2 `add-provider`\n * scenario wrote `\"@wildo-ai/providers\": \"*\"` into the backend) still installs the last published version, and\n * `wildo config sync` then refuses every catalogue ref as uncontributed without naming the way forward. So\n * `wildo update` names each such dependency and its replacement rather than editing it: the application's code\n * imports from it, and only the person who owns that code can move it (#2019 review).\n */\nexport interface RetiredFrameworkPackageDependent {\n /** Application-root-relative path of the manifest that declares it. */\n manifestRelativePath: string;\n packageName: string;\n replacement: string;\n}\n\n/** What replaces each retired framework package, stated once so every report says the same thing. */\nexport const RETIRED_FRAMEWORK_PACKAGE_REPLACEMENTS: Readonly<Record<string, string>> = {\n '@wildo-ai/providers': 'install each provider the application uses with `wildo registry add wildo/providers/<ref>`, then remove this dependency',\n};\n\n/** Every workspace manifest that still declares a package in {@link RETIRED_FRAMEWORK_PACKAGE_PINS}. */\nexport function findRetiredFrameworkPackageDependents(applicationRoot: string): RetiredFrameworkPackageDependent[] {\n const dependents: RetiredFrameworkPackageDependent[] = [];\n for (const member of ApplicationDependencyAlignmentService.discoverWorkspaceMembers(applicationRoot).members) {\n const manifestRelativePath = member === '.' ? 'package.json' : `${member}/package.json`;\n const manifest = readJsonObject(join(applicationRoot, manifestRelativePath));\n if (manifest === null) continue;\n const declared = ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']\n .map((field) => manifest[field])\n .filter(isPlainObject);\n for (const packageName of RETIRED_FRAMEWORK_PACKAGE_PINS) {\n if (declared.some((block) => packageName in block)) {\n dependents.push({ manifestRelativePath, packageName, replacement: RETIRED_FRAMEWORK_PACKAGE_REPLACEMENTS[packageName] ?? 'no replacement is recorded' });\n }\n }\n }\n return dependents;\n}\n\n/**\n * Point every `@wildo-ai/*` pin in the application root's `pnpm.overrides` at `version`, and make\n * sure the two app-creator pins that are not in the file-link core are present (see\n * `APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS`). A pin in {@link RETIRED_FRAMEWORK_PACKAGE_PINS} is\n * removed rather than moved.\n *\n * \"Every\" rather than a list: provider and opt-in packages are pinned demand-driven by `wildo\n * compose`, so the application's own overrides are the only complete record of which ones it links.\n * Pinned exact, because the lockstep publish lane gives every package the same version and a caret\n * would let one float ahead of the others.\n *\n * Refuses a framework-developer application: a `file:`/`link:` pin points into a checkout, and\n * rewriting it to a registry version would silently detach that application from its framework.\n */\nexport function pinApplicationFrameworkVersion(input: {\n applicationRoot: string;\n version: string;\n /** The app-creator pins beyond the file-link core to ensure; default all of them. */\n additionalPins?: readonly string[];\n /**\n * Framework pins to REMOVE rather than move: a package the target release does not publish. Moving\n * such a pin names a version npm has never seen, and the next install fails.\n */\n removedPins?: readonly string[];\n}): ApplicationFrameworkPinsReport {\n const manifestPath = join(input.applicationRoot, 'package.json');\n const manifest = readJsonObject(manifestPath);\n if (manifest === null) {\n throw new Error(`${manifestPath} is missing or not a JSON object.`);\n }\n const pnpmBlock = (isPlainObject(manifest.pnpm) ? manifest.pnpm : {}) as Record<string, unknown>;\n const overrides = (isPlainObject(pnpmBlock.overrides) ? pnpmBlock.overrides : {}) as Record<string, unknown>;\n\n const frameworkEntries = Object.entries(overrides).filter(([name]) => FRAMEWORK_PACKAGE_OVERRIDE_KEY.test(name));\n const linked = frameworkEntries.filter(([, value]) => typeof value === 'string' && /^(file|link):/.test(value));\n if (linked.length > 0) {\n throw new Error(\n `This application links the framework from a checkout (${linked[0][0]} → ${String(linked[0][1])}). `\n + 'It follows that checkout; there is no published version to move it to.',\n );\n }\n if (frameworkEntries.length === 0) {\n throw new Error(`${manifestPath} pins no @wildo-ai/* package in pnpm.overrides — is this a Wildo application?`);\n }\n\n const previousVersions = [...new Set(frameworkEntries.map(([, value]) => String(value)))].sort();\n const changedPackages: string[] = [];\n const removed = new Set([...RETIRED_FRAMEWORK_PACKAGE_PINS, ...(input.removedPins ?? [])]);\n for (const name of removed) {\n if (name in overrides) {\n delete overrides[name];\n changedPackages.push(name);\n }\n }\n const names = new Set(\n [...frameworkEntries.map(([name]) => name), ...(input.additionalPins ?? APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS)].filter((name) => !removed.has(name)),\n );\n for (const name of names) {\n if (overrides[name] !== input.version) {\n overrides[name] = input.version;\n changedPackages.push(name);\n }\n }\n\n pnpmBlock.overrides = Object.fromEntries(Object.entries(overrides).sort(([a], [b]) => a.localeCompare(b)));\n manifest.pnpm = pnpmBlock;\n writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n return { previousVersions, changedPackages: changedPackages.sort() };\n}\n\n/** What an application's `pnpm.overrides` say about the framework it runs. */\nexport enum ApplicationFrameworkPinsKind {\n /** Pinned to published releases — `versions` holds the distinct values (one, when aligned). */\n RELEASE = 'release',\n /** Linked into a framework checkout (`file:` / `link:`): a framework-developer application. */\n CHECKOUT = 'checkout',\n /** No `@wildo-ai/*` pin at all. */\n NONE = 'none',\n}\n\nexport type ApplicationFrameworkPins =\n | { kind: ApplicationFrameworkPinsKind.RELEASE; versions: string[] }\n | { kind: ApplicationFrameworkPinsKind.CHECKOUT }\n | { kind: ApplicationFrameworkPinsKind.NONE };\n\n/** Which framework release an application pins, for `wildo update --check`. */\nexport function readApplicationFrameworkPins(applicationRoot: string): ApplicationFrameworkPins {\n const pnpmBlock = readJsonObject(join(applicationRoot, 'package.json'))?.pnpm;\n const overrides = isPlainObject(pnpmBlock) && isPlainObject(pnpmBlock.overrides) ? pnpmBlock.overrides : {};\n const values = [...new Set(\n Object.entries(overrides).filter(([name]) => FRAMEWORK_PACKAGE_OVERRIDE_KEY.test(name)).map(([, value]) => String(value)),\n )].sort();\n if (values.length === 0) return { kind: ApplicationFrameworkPinsKind.NONE };\n if (values.some((value) => /^(file|link):/.test(value))) return { kind: ApplicationFrameworkPinsKind.CHECKOUT };\n return { kind: ApplicationFrameworkPinsKind.RELEASE, versions: values };\n}\n\n/**\n * The application's slug, from the root manifest's `@<slug>/root` name — which is how the skeleton\n * names it. Refuses rather than guesses: a wrong slug names the drops after somebody else.\n */\nfunction readApplicationSlug(applicationRoot: string): string {\n const rootName = readJsonObject(join(applicationRoot, 'package.json'))?.name;\n const slug = typeof rootName === 'string' ? /^@([^/]+)\\/root$/.exec(rootName)?.[1] : undefined;\n if (slug === undefined) {\n throw new Error(\n `Cannot derive the application slug: the root package.json is named ${JSON.stringify(rootName)}, not \"@<slug>/root\".`,\n );\n }\n return slug;\n}\n\n/** Rewrite the app-creator companion drop at `version`, through the SAME writer `wildo init` uses. */\nexport function rewriteApplicationCompanionDrop(input: { applicationRoot: string; version: string }): void {\n writeAppCreatorCompanionDrop({ appRoot: input.applicationRoot, slug: readApplicationSlug(input.applicationRoot), companionVersion: input.version });\n}\n\n/** The published package the workbench drop depends on. */\nexport const WORKBENCH_PACKAGE_NAME = '@wildo-ai/application-creation-workbench';\n\nexport interface WorkbenchDropPorts {\n companionPort: number;\n workbenchPort: number;\n}\n\n/**\n * The workbench drop's ports, from the application's own declared companion address — never parsed\n * back out of an earlier drop: the declaration is the source, and the workbench's port is derived from\n * it exactly as `wildo workbench open` derives the address it opens.\n *\n * Resolved BEFORE anything is written: an application with no declared companion must be refused\n * whole, not left with its pins moved and its workbench drop missing.\n */\nexport async function resolveApplicationWorkbenchPorts(applicationRoot: string): Promise<WorkbenchDropPorts> {\n const companion = (await loadAppLocalRuntimeServiceAddresses(applicationRoot))?.devCompanion;\n const companionPort = companion?.port ?? (companion?.url ? Number(new URL(companion.url).port) : undefined);\n if (companionPort === undefined || !Number.isInteger(companionPort) || companionPort <= 0) {\n throw new Error('The application declares no local dev-companion address, so the workbench has no companion to front.');\n }\n return { companionPort, workbenchPort: companionPort + WORKBENCH_PORT_OFFSET_FROM_COMPANION };\n}\n\n/**\n * Write the app-creator workbench drop at `version`, through the SAME writer `wildo init` uses — which\n * also CREATES it in an application scaffolded before the workbench was published (1.1.4 and earlier),\n * whose creator has never had one.\n */\n/**\n * Remove the app-creator workbench drop — for a move to a release that does not publish the workbench.\n * Only a drop that depends on the PUBLISHED package is removed: a framework developer's launcher at the\n * same path is never touched (`wildo update` refuses those applications before reaching here anyway).\n *\n * @returns whether a drop was removed.\n */\nexport function removeApplicationWorkbenchDrop(applicationRoot: string): boolean {\n const dropRoot = join(applicationRoot, APP_CREATOR_WORKBENCH_DROP_RELATIVE);\n const dependencies = readJsonObject(join(dropRoot, 'package.json'))?.dependencies;\n if (!isPlainObject(dependencies) || !(WORKBENCH_PACKAGE_NAME in dependencies)) return false;\n rmSync(dropRoot, { recursive: true, force: true });\n return true;\n}\n\nexport function rewriteApplicationWorkbenchDrop(input: { applicationRoot: string; version: string; ports: WorkbenchDropPorts }): void {\n writeAppCreatorWorkbenchDrop({\n appRoot: input.applicationRoot,\n slug: readApplicationSlug(input.applicationRoot),\n workbenchVersion: input.version,\n companionPort: input.ports.companionPort,\n workbenchPort: input.ports.workbenchPort,\n });\n}\n\n/** How this application's `wildo.saas.config.ts` fares under the release the running CLI carries. */\nexport enum ApplicationConfigCheckOutcome {\n /** It loads and satisfies the release's config contract. */\n LOADS = 'loads',\n /** It loads, and the release's schema refuses it: a declaration is owed (see `issues`). */\n CONTRACT_UNMET = 'contract-unmet',\n /** It could not be evaluated at all (syntax, a missing module): not a contract question. */\n LOAD_FAILED = 'load-failed',\n}\n\nexport type ApplicationConfigCheck =\n | { outcome: ApplicationConfigCheckOutcome.LOADS }\n | { outcome: ApplicationConfigCheckOutcome.CONTRACT_UNMET; issues: string[] }\n | { outcome: ApplicationConfigCheckOutcome.LOAD_FAILED; message: string };\n\n/**\n * Judge this application's `wildo.saas.config.ts` by the release's config contract, reporting each\n * schema issue as `path: message`.\n *\n * A release can add a REQUIRED declaration — `organizationTypes` became required on 2026-09-14, one\n * release after 1.1.4 — and every application scaffolded before it then fails `config sync`,\n * `config validate` and `local dev` with a raw Zod dump that reads as though the update broke\n * something. The update has not failed: the application owes a declaration the new release asks for.\n * Saying so, per field, is the difference between a five-minute edit and a debugging session. Only a\n * schema refusal means that; any other failure to load is reported as what it is.\n *\n * Deliberately NOT a codemod. The missing value is usually a product decision (a tenancy model, a\n * first administrator's user types), and writing the scaffold's default into an existing application\n * would decide it silently. The current scaffold's shape is delivered at\n * `.wildo-saas/templates/skeleton/wildo.saas.config.ts.init.hbs`, which the report points at.\n *\n * The contract applied is the RUNNING CLI's: `loadConfig` aliases `@wildo-ai/platform-config-lib`\n * to the CLI's own copy, whatever the application has installed. That is one more reason the\n * application half runs from the target release (the command refuses otherwise). It still runs\n * after the install, because the config may import the application's own workspace packages.\n */\nexport async function checkApplicationConfigAgainstRelease(applicationRoot: string): Promise<ApplicationConfigCheck> {\n try {\n await loadSaasConfig(join(applicationRoot, 'wildo.saas.config.ts'), { freshModuleCache: true });\n return { outcome: ApplicationConfigCheckOutcome.LOADS };\n } catch (error) {\n const issues = (error as { issues?: unknown }).issues;\n if (Array.isArray(issues) && issues.length > 0) {\n return {\n outcome: ApplicationConfigCheckOutcome.CONTRACT_UNMET,\n issues: issues.map((issue) => {\n const { path, message } = issue as { path?: unknown; message?: unknown };\n const where = Array.isArray(path) && path.length > 0 ? path.join('.') : '(root)';\n return `${where}: ${typeof message === 'string' ? message : JSON.stringify(issue)}`;\n }),\n };\n }\n return { outcome: ApplicationConfigCheckOutcome.LOAD_FAILED, message: error instanceof Error ? error.message : String(error) };\n }\n}\n\nfunction readJsonObject(path: string): Record<string, unknown> | null {\n try {\n const value = JSON.parse(readFileSync(path, 'utf8')) as unknown;\n return isPlainObject(value) ? value : null;\n } catch {\n return null;\n }\n}\n\nfunction isPlainObject(value: unknown): value is Record<string, unknown> {\n return value !== null && typeof value === 'object' && !Array.isArray(value);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-component-catalog.generator.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/frontend-component-catalog.generator.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,mFAAmF;AACnF,oBAAY,+BAA+B;IACzC,4FAA4F;IAC5F,OAAO,YAAY;IACnB,4FAA4F;IAC5F,KAAK,UAAU;IACf;;;;;;;;;;OAUG;IACH,KAAK,UAAU;CAChB;
|
|
1
|
+
{"version":3,"file":"frontend-component-catalog.generator.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/frontend-component-catalog.generator.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,mFAAmF;AACnF,oBAAY,+BAA+B;IACzC,4FAA4F;IAC5F,OAAO,YAAY;IACnB,4FAA4F;IAC5F,KAAK,UAAU;IACf;;;;;;;;;;OAUG;IACH,KAAK,UAAU;CAChB;AAsVD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,SAAS;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EAAE,EACpH,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAClC,KAAK,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAKpD;AAsFD;;;;;;;;;GASG;AACH,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,+BAA+B,EACxC,aAAa,EAAE,MAAM,GACpB,MAAM,CAuBR;AAED,oGAAoG;AACpG,wBAAgB,gCAAgC,IAAI,MAAM,CAEzD"}
|
|
@@ -153,6 +153,8 @@ function titleFromDirectory(directory) {
|
|
|
153
153
|
return directory
|
|
154
154
|
.split('/')
|
|
155
155
|
.map((segment) => segment
|
|
156
|
+
// invented-display-text: a GROUP HEADING in generated framework-knowledge prose, compiled once in one
|
|
157
|
+
// language for a coding agent — the same reason as `titleFromNamespace` below; the input is a directory path.
|
|
156
158
|
.split('-')
|
|
157
159
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
158
160
|
.join(' '))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-component-catalog.generator.js","sourceRoot":"","sources":["../../../../../../src/services/framework/frontend-component-catalog.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,iCAAiC,EAAE,MAAM,6DAA6D,CAAC;AAChH,OAAO,EACL,wCAAwC,EACxC,8BAA8B,GAG/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAsB,MAAM,0BAA0B,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,mFAAmF;AACnF,MAAM,CAAN,IAAY,+BAiBX;AAjBD,WAAY,+BAA+B;IACzC,4FAA4F;IAC5F,sDAAmB,CAAA;IACnB,4FAA4F;IAC5F,kDAAe,CAAA;IACf;;;;;;;;;;OAUG;IACH,kDAAe,CAAA;AACjB,CAAC,EAjBW,+BAA+B,KAA/B,+BAA+B,QAiB1C;AAED;;;;;;GAMG;AACH,MAAM,yBAAyB,GAAG,QAAQ,CAAC;AAE3C,mEAAmE;AACnE,MAAM,6BAA6B,GAAG,6BAA6B,CAAC;AAEpE,4FAA4F;AAC5F,MAAM,yBAAyB,GAAG,sCAAsC,CAAC;AACzE,8FAA8F;AAC9F,MAAM,kBAAkB,GAAG,2BAA2B,CAAC;AAQvD;;;;;;GAMG;AACH,SAAS,qBAAqB,CAAC,aAAmD;IAChF,MAAM,oBAAoB,GAAG,aAAa,CAAC,oBAAoB,IAAI,EAAE,CAAC;IACtE,MAAM,MAAM,GAAG,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,oBAAoB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;WACvG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,C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,+BAA+B,CAAC,KAAK;YACxC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,gCAAgC;IAC9C,OAAO,qBAAqB,EAAE,CAAC,MAAM,CAAC;AACxC,CAAC","sourcesContent":["import { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { join, relative } from 'node:path';\n\nimport { resolveFrontendLibraryRootExports } from '~wildo-cli/services/framework/frontend-library-root-exports';\nimport {\n frameworkFrontendComponentSpecifications,\n FrontendComponentPropValueKind,\n type FrontendComponentPropSpecification,\n type FrontendComponentSpecificationConfig,\n} from '@wildo-ai/saas-specifications';\nimport { CodeDeclarationKind, type CodeSymbolRef } from '@wildo-ai/zod-decorators';\n\n/**\n * The application-facing framework COMPONENT CATALOG, derived from the frontend-component\n * specifications.\n *\n * ## Why this is derived and not written\n *\n * An application's coding agent sees only anchored source surfaces and compiled skills\n * (`capability-catalog-integration.md`: \"Un-anchored = invisible = unbuildable\"). Measured\n * 2026-09-20 for issue #1376, the component vocabulary was in NEITHER: one compiled reference\n * file mentioned a preset component, incidentally, while 314 specifications described the whole\n * set — props, enumerated vocabularies, when to use and when not to. So a generated\n * application's custom view got built from raw `div`s and hand-assembled utility classes,\n * bypassing the theme, the surface policy and the accessibility work each preset carries.\n *\n * A HAND-KEPT catalogue of 269 components is the \"list of someone else's catalogue\" shape that\n * rots (`invariant-call-site-enumeration.md` #16), and it would rot in the one direction that is\n * invisible: a component omitted from the list is a component the agent never builds with, and\n * nothing goes red. The specifications are already total over `FrontendComponentType` — 313 of\n * its 315 members carried one on the day this was written — so the catalogue is a FUNCTION of\n * them, and a component added tomorrow appears in the shipped skill with no authored edit.\n *\n * ## The two derived bodies, and why exactly two\n *\n * The reader asks two questions, and they want different amounts of text:\n *\n * - **\"Which component shows X?\"** — one row per component, answered by scanning. That is\n * {@link FrontendComponentCatalogSection.CHOOSER}: export name, what it renders, when to use\n * it, when not to.\n * - **\"How do I write this one?\"** — props with their enumerated vocabularies, composition\n * rules, a truthful snippet. That is {@link FrontendComponentCatalogSection.USAGE}, and it\n * carries an entry only for a component that has something beyond its row, which measured 91\n * of 269.\n *\n * Splitting further — a file per component, or per `componentId` namespace — was considered and\n * rejected: only 65 of 269 components document a prop beyond the boilerplate `preset` one, so\n * the bulk of the catalogue is choosing prose and a finer split would multiply files without\n * shortening the read.\n *\n * ## The importability discriminator is MEASURED, not listed\n *\n * A specification earns a catalogue entry when its default preset's base element declares a\n * `consumerFacingSymbol` — the export an application actually imports. The 45 specifications\n * without one are framework-MOUNTED slots (the high-level views, the guidance renderers, the\n * settings hub, the lifecycle homes, the AI-element containers): the framework renders them, an\n * application never composes them, and telling an agent otherwise would be an instruction it\n * cannot follow. That is a property of the data rather than a list somebody maintains, so a new\n * mounted slot stays out and a new importable one comes in, both for free.\n */\n\n/** Which derived body a `{{COMPONENT_CATALOG:<section>}}` placeholder asks for. */\nexport enum FrontendComponentCatalogSection {\n /** One row per importable component: export name, what it renders, use when, avoid when. */\n CHOOSER = 'chooser',\n /** Per-component authoring detail: props with vocabularies, composition rules, snippets. */\n USAGE = 'usage',\n /**\n * The navigational MAP: every functional group and the components in it, names only.\n *\n * This is the ENTRY POINT, and it exists because the corpus must never be read whole. Measured\n * 2026-09-21: the chooser is ~18k tokens and the usage body ~39k, so an agent following the first\n * version of this skill — \"open the catalog and scan\" — pulled ~57k tokens to place one badge.\n * The map costs ~1.3k, a single group's rows ~0.3–1.3k and one usage entry ~146, so the same\n * decision made through the map costs about 2.5k. It is small enough to live in the SKILL body,\n * which means an agent that loaded the skill at all already holds it and never pays to discover\n * what exists.\n */\n INDEX = 'index',\n}\n\n/**\n * The prop every preset wrapper takes, and the one prop the catalogue deliberately drops.\n *\n * It is registry plumbing — it selects which registered preset renders — and it is present on\n * 267 of the 476 documented props. Repeating it 267 times would more than double the usage body\n * to say the same sentence, so the skill says it ONCE in prose and the catalogue omits it.\n */\nconst PRESET_SELECTOR_PROP_NAME = 'preset';\n\n/** The one package every catalogued component is imported from. */\nconst FRONTEND_LIBRARY_PACKAGE_NAME = '@wildo-ai/saas-frontend-lib';\n\n/** Spec files carry this suffix; the scan keys on it rather than on a directory listing. */\nconst SPECIFICATION_FILE_SUFFIX = '.frontend-component.specification.ts';\n/** `componentId: 'framework.low-level.badge'` — the one field that joins a file to a spec. */\nconst COMPONENT_ID_REGEX = /componentId:\\s*'([^']+)'/u;\n\ninterface CatalogEntry {\n readonly specification: FrontendComponentSpecificationConfig;\n readonly consumerSymbol: CodeSymbolRef;\n readonly authoringProps: readonly FrontendComponentPropSpecification[];\n}\n\n/**\n * The preset whose base element carries the consumer-facing export.\n *\n * `defaultPreset` first, because that is what a caller gets when it names no preset; any preset\n * otherwise, so a component that declares presets without electing a default still resolves\n * rather than silently leaving the catalogue.\n */\nfunction resolveConsumerSymbol(specification: FrontendComponentSpecificationConfig): CodeSymbolRef | undefined {\n const presetSpecifications = specification.presetSpecifications ?? {};\n const preset = (specification.defaultPreset ? presetSpecifications[specification.defaultPreset] : undefined)\n ?? Object.values(presetSpecifications)[0];\n return preset?.baseElement?.consumerFacingSymbol;\n}\n\n/** Markdown table cells are pipe-delimited, so a pipe inside authored prose has to be escaped. */\nfunction escapeTableCell(text: string): string {\n return text.replaceAll('|', '\\\\|').replaceAll('\\n', ' ').trim();\n}\n\n/**\n * Map every specification's `componentId` to the DIRECTORY its spec file lives in.\n *\n * ## Why the filesystem, and not `componentId`\n *\n * The catalogue's grouping is what lets a reader take a SUBSET instead of the whole corpus, so the\n * axis has to be FUNCTIONAL — \"I need a form control\", \"I need something that shows a status\".\n * `componentId`'s namespace is not that axis: it is a layering fact, and it puts 172 of the 270\n * components under one `framework.low-level` heading, which tells a chooser nothing and cannot be\n * narrowed.\n *\n * The spec TREE is that axis, and it already exists: `form/controls/enum`, `data-display/formatters`,\n * `overlays/floating`, `navigation/app-level`, `feedback`, `typography`, `actions`, `sections`. Forty\n * groups, largest 26, maintained by the people who author the specifications — so it stays a\n * derivation rather than a taxonomy this file invents and then has to keep true.\n *\n * Read by scanning rather than imported, because a specification does not record where it lives.\n * Returns an empty map when the tree is absent (an installed CLI has no `engine/`), and the caller\n * then falls back to the namespace so the catalogue degrades rather than disappearing.\n */\nfunction collectSpecificationDirectoriesByComponentId(frameworkRoot: string): ReadonlyMap<string, string> {\n const specificationRoot = join(frameworkRoot, 'engine', 'saas-specifications', 'src', 'engine', 'frontend-components');\n const directoriesByComponentId = new Map<string, string>();\n if (!existsSync(specificationRoot)) return directoriesByComponentId;\n\n const walk = (directory: string): void => {\n for (const entry of readdirSync(directory, { withFileTypes: true })) {\n const entryPath = join(directory, entry.name);\n if (entry.isDirectory()) {\n walk(entryPath);\n continue;\n }\n if (!entry.name.endsWith(SPECIFICATION_FILE_SUFFIX)) continue;\n const componentId = COMPONENT_ID_REGEX.exec(readFileSync(entryPath, 'utf8'))?.[1];\n if (!componentId) continue;\n const relativeDirectory = relative(specificationRoot, directory).replaceAll('\\\\', '/');\n directoriesByComponentId.set(componentId, relativeDirectory.length > 0 ? relativeDirectory : '.');\n }\n };\n walk(specificationRoot);\n return directoriesByComponentId;\n}\n\n/** `form/controls/enum` → `Form / Controls / Enum`; `.` → the root group's own label. */\nfunction titleFromDirectory(directory: string): string {\n if (directory === '.') return 'General';\n return directory\n .split('/')\n .map((segment) => segment\n .split('-')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' '))\n .join(' / ');\n}\n\n/**\n * `framework.low-level` → `Low Level`.\n *\n * Derived from the namespace rather than read from a label map on purpose: a map would have to\n * gain a row every time a namespace is introduced, and the failure mode of forgetting is a\n * heading-less group — which is exactly the silent omission this whole file exists to avoid. A\n * slightly blunt heading is the price, and the columns beside it carry the meaning.\n */\nfunction titleFromNamespace(namespace: string): string {\n return namespace\n .split('.')\n .slice(1)\n .join(' ')\n // invented-display-text: a GROUP HEADING in generated framework-knowledge prose, compiled once\n // in one language for a coding agent. No label tree could have supplied it — the input is a\n // `componentId` namespace, an identifier no application declares and no locale carries.\n .split(/[-\\s]+/u)\n .filter((word) => word.length > 0)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n}\n\n/** The first two `componentId` segments (`framework.low-level.badge` → `framework.low-level`). */\nfunction namespaceOf(specification: FrontendComponentSpecificationConfig): string {\n return specification.componentId.split('.').slice(0, 2).join('.');\n}\n\n/**\n * Every importable component, ordered so the output is byte-stable across runs.\n *\n * Sorted by export name, which is what a reader searches for and what a diff should track — the\n * record's own key order is an authoring artifact of one barrel file and would reshuffle the\n * whole catalogue the day somebody reorders an import.\n */\nfunction collectCatalogEntries(): CatalogEntry[] {\n const entries: CatalogEntry[] = [];\n for (const specification of Object.values(frameworkFrontendComponentSpecifications)) {\n const consumerSymbol = resolveConsumerSymbol(specification);\n if (!consumerSymbol) continue;\n entries.push({\n specification,\n consumerSymbol,\n authoringProps: (specification.componentInterface?.propSpecifications ?? []).filter(\n (prop) => prop.propName !== PRESET_SELECTOR_PROP_NAME,\n ),\n });\n }\n return entries.sort((left, right) => left.consumerSymbol.exportName.localeCompare(right.consumerSymbol.exportName));\n}\n\n/**\n * Group the entries by `componentId` namespace, largest group first.\n *\n * Size order rather than alphabetical because the general-purpose primitives are the biggest\n * group and the group an author reaches for first; ties break alphabetically so the ordering is\n * total and the output stays byte-stable.\n */\nfunction groupByFunction(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): Array<{ label: string; entries: CatalogEntry[] }> {\n const byGroup = new Map<string, CatalogEntry[]>();\n for (const entry of entries) {\n const directory = directoriesByComponentId.get(entry.specification.componentId);\n // Namespace fallback keeps an unscannable tree (an installed CLI) producing a catalogue rather\n // than producing nothing — degraded grouping, never a missing component.\n const label = directory ? titleFromDirectory(directory) : titleFromNamespace(namespaceOf(entry.specification));\n const group = byGroup.get(label);\n if (group) group.push(entry);\n else byGroup.set(label, [entry]);\n }\n // Alphabetical, because this is a MAP a reader navigates by name — size order would move a group\n // every time a component is added, and the reader's entry point is the label, not the count.\n return [...byGroup.entries()]\n .map(([label, groupEntries]) => ({ label, entries: groupEntries }))\n .sort((left, right) => left.label.localeCompare(right.label));\n}\n\n/**\n * Describe a prop's accepted values, and say when they are NOT strings.\n *\n * This is the half of the catalogue that decides whether its output compiles, and the first version\n * got it wrong. It rendered every vocabulary as bare literals — `Values: \\`destructive\\` · \\`sm\\`` —\n * and **35 of the 36 enumerated vocabularies are backed by a TypeScript enum**, where a literal is\n * not assignable. Measured against the real application: `<Badge variant=\"success\">` compiles\n * (`BadgeVariants_Variant` is the one TYPE_ALIAS) while `<Button variant=\"destructive\" size=\"sm\">`\n * raises two `TS2322`. An agent whose first framework-component attempt fails its typecheck is an\n * agent pushed straight back to the raw `div` this catalogue exists to remove.\n *\n * The discriminator is in the data — `enumerationSource.declarationKind` — so the fix is to STOP\n * DROPPING a field the specification already authors, not to add one.\n *\n * The enum's MEMBER name is deliberately NOT emitted. The specification records a member's VALUE\n * (`'destructive'`) and the enum's export name, never the member identifier, so printing\n * `ButtonVariants_Variant.DESTRUCTIVE` would be an upper-snake GUESS — right for this population\n * today and unfalsifiable at generation time. Naming the type is always true, and it is the fact the\n * reader is missing: once they know it is an enum they import it, and the compiler picks the member.\n */\nfunction renderValueSummary(prop: FrontendComponentPropSpecification): string {\n const vocabulary = prop.vocabulary;\n const vocabularyValues = vocabulary?.values ?? [];\n\n if (vocabularyValues.length > 0) {\n const rendered = vocabularyValues.map((option) => `\\`${option.value}\\``).join(' · ');\n const source = vocabulary?.enumerationSource;\n if (source?.declarationKind === CodeDeclarationKind.TYPESCRIPT_ENUM) {\n return ` **Enum** \\`${source.exportName}\\` from \\`${source.packageName}\\` — import it and pass a MEMBER,`\n + ` not a string. Values: ${rendered}.`;\n }\n const named = source ? ` (\\`${source.exportName}\\` from \\`${source.packageName}\\`)` : '';\n return ` Values${named}: ${rendered}.`;\n }\n\n if (prop.valueKind === FrontendComponentPropValueKind.FUNCTION && prop.functionSignature) {\n return ` Signature: \\`${prop.functionSignature}\\`.`;\n }\n if (prop.valueTypeSymbol) {\n return ` Type: \\`${prop.valueTypeSymbol.exportName}\\` from \\`${prop.valueTypeSymbol.packageName}\\`.`;\n }\n if (prop.unionMembers?.length) {\n // A required prop with no type at all is the one an author cannot guess; a union summary is the\n // cheapest honest answer where the specification declares no single symbol.\n const members = prop.unionMembers\n .map((member) => member.valueTypeSymbol?.exportName ?? member.primitiveType ?? member.valueKind)\n .filter((label): label is string => Boolean(label));\n if (members.length > 0) return ` One of: ${members.map((label) => `\\`${label}\\``).join(' | ')}.`;\n }\n if (prop.arrayElement) {\n const element = prop.arrayElement.valueTypeSymbol?.exportName\n ?? prop.arrayElement.primitiveType\n ?? prop.arrayElement.valueKind;\n return element ? ` Array of \\`${element}\\`.` : ' An array.';\n }\n if (prop.primitiveType) {\n return ` Type: \\`${prop.primitiveType}\\`.`;\n }\n return '';\n}\n\n/** One prop bullet: name, requiredness, purpose, accepted values, default, then its caveats. */\nfunction renderPropBullet(prop: FrontendComponentPropSpecification): string[] {\n const segments = [`- \\`${prop.propName}\\`${prop.required ? ' **(required)**' : ''} — ${prop.purpose}`];\n segments.push(renderValueSummary(prop));\n\n if (prop.defaultValue !== undefined) {\n segments.push(` Default \\`${String(prop.defaultValue)}\\`.`);\n }\n\n const lines = [segments.join('')];\n /*\n * The schema's COMPANION-BULLET CONTRACT, honoured for all three note slots it names.\n *\n * `FrontendComponentPropSpecification.notes`, `FrontendComponentPropValueVocabulary.notes` and\n * `FrontendComponentPropValueShape.notes` each say a note MUST be its own bullet, never joined\n * into the structural line and never collapsed, so a caveat stays individually citable. The first\n * version rendered only the first of the three — dropping, among others, a vocabulary note about\n * an enum not being reachable from a package root, which is exactly the kind of caveat that\n * decides whether the reader's code resolves.\n */\n for (const note of prop.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` note: ${note}`);\n }\n for (const note of prop.vocabulary?.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` values note: ${note}`);\n }\n for (const member of [...(prop.unionMembers ?? []), ...(prop.arrayElement ? [prop.arrayElement] : [])]) {\n for (const note of member.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` shape note: ${note}`);\n }\n }\n return lines;\n}\n\n/** Explain a vocabulary's members once, under the prop that carries it, when they carry meaning. */\nfunction renderVocabularyMeanings(prop: FrontendComponentPropSpecification): string[] {\n const values = (prop.vocabulary?.values ?? []).filter((option) => Boolean(option.meaning));\n if (values.length === 0) return [];\n return values.map((option) => ` - \\`${option.value}\\` — ${option.meaning}`);\n}\n\nfunction renderChooserBody(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): string {\n const lines: string[] = [];\n for (const { label, entries: groupEntries } of groupByFunction(entries, directoriesByComponentId)) {\n lines.push(`## ${label} (${groupEntries.length})`, '');\n lines.push('| Component | Renders | Use when | Avoid when |', '| --- | --- | --- | --- |');\n for (const entry of groupEntries) {\n lines.push(\n `| \\`${entry.consumerSymbol.exportName}\\` | ${escapeTableCell(entry.specification.uiRole)} `\n + `| ${escapeTableCell(entry.specification.useWhen ?? '—')} `\n + `| ${escapeTableCell(entry.specification.avoidWhen ?? '—')} |`,\n );\n }\n lines.push('');\n }\n return lines.join('\\n').trimEnd();\n}\n\n/** A component earns a usage entry only when it has something its chooser row does not carry. */\nfunction hasUsageDetail(entry: CatalogEntry): boolean {\n return entry.authoringProps.length > 0\n || (entry.specification.usageExamples?.length ?? 0) > 0\n || (entry.specification.compositionNotes?.length ?? 0) > 0\n || (entry.specification.authoringNotes?.length ?? 0) > 0;\n}\n\nfunction renderUsageBody(entries: readonly CatalogEntry[]): string {\n const lines: string[] = [];\n for (const entry of entries.filter(hasUsageDetail)) {\n const { specification, consumerSymbol, authoringProps } = entry;\n lines.push(`## \\`${consumerSymbol.exportName}\\``, '');\n lines.push(specification.purpose, '');\n\n if (authoringProps.length > 0) {\n lines.push('**Props**', '');\n for (const prop of authoringProps) {\n lines.push(...renderPropBullet(prop), ...renderVocabularyMeanings(prop));\n }\n lines.push('');\n }\n\n const notes = [...(specification.compositionNotes ?? []), ...(specification.authoringNotes ?? [])];\n if (notes.length > 0) {\n lines.push('**Composition**', '');\n for (const note of notes) lines.push(`- ${note}`);\n lines.push('');\n }\n\n for (const example of specification.usageExamples ?? []) {\n lines.push(`**${example.title}**`, '');\n if (example.description) lines.push(example.description, '');\n lines.push(`\\`\\`\\`${example.language ?? 'tsx'}`, example.code.trimEnd(), '```', '');\n for (const note of example.notes ?? []) lines.push(`- ${note}`);\n if ((example.notes?.length ?? 0) > 0) lines.push('');\n }\n }\n return lines.join('\\n').trimEnd();\n}\n\n/**\n * Refuse to describe a component whose declared export the library does not publish.\n *\n * The catalogue turns `consumerFacingSymbol` into an `import { X } from '@wildo-ai/saas-frontend-lib'`\n * line and ships it into every generated application as an INSTRUCTION. A declaration naming an\n * export that is not there is therefore not untidiness, it is a statement the only reader cannot\n * act on — and it happened: measured 2026-09-20, `Auth_OAuthLoggedOut` and `Auth_OAuthLogoutConfirm`\n * were declared by their specifications, existed as components beside `Auth_OAuthConsent`, and were\n * absent from the root barrel because only the sibling's line had ever been written.\n *\n * This FAILS the generation rather than omitting the component and warning, and the deciding\n * question is the one `application-creation-directive.md` asks: what does the operator do next?\n * Here the answer is \"add the barrel line, or correct the specification\" — a concrete artifact fix,\n * deterministic, in the same checkout. That is an issue, not an unfinished workflow, so it may\n * refuse. Omitting-and-warning was rejected for the reason this whole catalogue exists: a component\n * missing from the list is a component the agent never builds with, and nothing goes red.\n *\n * Skipped entirely when the library source is not on disk — an installed CLI has no `engine/`\n * tree — because an unknown export set must not be read as an empty one.\n *\n * The DECISION is split out as {@link findUnpublishedConsumerSymbols} so it can be pinned against a\n * synthetic violation. Asserting only that the live catalogue renders would be a pin satisfied by\n * the absence of a defect: it stays green with this whole function deleted, which is the shape\n * `.claude/rules/invariant-call-site-enumeration.md` calls a pin that proves nothing.\n */\nexport function findUnpublishedConsumerSymbols(\n declarations: readonly { readonly componentId: string; readonly packageName: string; readonly exportName: string }[],\n publishedNames: ReadonlySet<string>,\n): Array<{ componentId: string; exportName: string }> {\n return declarations\n .filter((declaration) => declaration.packageName === FRONTEND_LIBRARY_PACKAGE_NAME)\n .filter((declaration) => !publishedNames.has(declaration.exportName))\n .map((declaration) => ({ componentId: declaration.componentId, exportName: declaration.exportName }));\n}\n\nfunction assertConsumerSymbolsAreExported(entries: readonly CatalogEntry[], frameworkRoot: string): void {\n const publishedNames = resolveFrontendLibraryRootExports(frameworkRoot);\n if (!publishedNames) return;\n\n const unpublished = findUnpublishedConsumerSymbols(\n entries.map((entry) => ({\n componentId: entry.specification.componentId,\n packageName: entry.consumerSymbol.packageName,\n exportName: entry.consumerSymbol.exportName,\n })),\n publishedNames,\n );\n if (unpublished.length === 0) return;\n\n throw new Error(\n 'Framework component catalog would ship an import line that cannot resolve. These '\n + `frontend-component specifications declare a consumer-facing export that ${FRONTEND_LIBRARY_PACKAGE_NAME} `\n + 'does not publish from its root barrel:\\n'\n + unpublished\n .map((declaration) => ` - ${declaration.componentId} declares \\`${declaration.exportName}\\``)\n .join('\\n')\n + '\\n\\nEither add the missing `export * from` line to engine/saas-frontend-lib/src/index.ts, or correct '\n + 'the specification to name the export an application can actually import.',\n );\n}\n\n/**\n * The map: one line per functional group, naming its components.\n *\n * Names ONLY, deliberately. A line that also carried each component's role would be the chooser\n * again at full price, and the map's whole job is to be affordable enough to hold before you know\n * what you are looking for. A reader narrows to a group here, then pays for that group's rows.\n */\nfunction renderIndexBody(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): string {\n return groupByFunction(entries, directoriesByComponentId)\n .map(({ label, entries: groupEntries }) => {\n const names = groupEntries\n .map((entry) => `\\`${entry.consumerSymbol.exportName}\\``)\n .join(', ');\n return `- **${label}** (${groupEntries.length}) — ${names}`;\n })\n .join('\\n');\n}\n\n/**\n * Two specifications may not claim the SAME consumer-facing export.\n *\n * An export name identifies one component, so two specifications naming it means one of them is\n * wrong — and this is the worse half of the class {@link assertConsumerSymbolsAreExported} covers.\n * There, the declared export does not exist and the import fails loudly. Here it DOES exist, so the\n * code compiles and renders a different component than the reader asked for. It also breaks the\n * skill's own instruction to jump to a ``## `Name` `` heading, because the second entry under a\n * duplicated heading is unreachable.\n *\n * Found by this catalogue on its first run: `duration.frontend-component.specification.ts` had been\n * copy-pasted from the identifier spec and still named `Identifier` as both its implementation and\n * its consumer-facing symbol, so the catalogue offered `Identifier` twice — once as the monospaced\n * identifier chip it is, once as a live elapsed-time clock it is not.\n */\nfunction assertConsumerSymbolsAreDistinct(entries: readonly CatalogEntry[]): void {\n const componentIdsByExportName = new Map<string, string[]>();\n for (const entry of entries) {\n const claimants = componentIdsByExportName.get(entry.consumerSymbol.exportName);\n if (claimants) claimants.push(entry.specification.componentId);\n else componentIdsByExportName.set(entry.consumerSymbol.exportName, [entry.specification.componentId]);\n }\n\n const contested = [...componentIdsByExportName.entries()].filter(([, claimants]) => claimants.length > 1);\n if (contested.length === 0) return;\n\n throw new Error(\n 'Framework component catalog would describe one export as two different components. These '\n + 'consumer-facing export names are claimed by more than one frontend-component specification:\\n'\n + contested\n .map(([exportName, claimants]) => ` - \\`${exportName}\\` claimed by ${claimants.join(', ')}`)\n .join('\\n')\n + '\\n\\nAn export name identifies ONE component. Correct the specification that names the wrong '\n + 'export — this is usually a spec copy-pasted from a sibling with its symbols left behind.',\n );\n}\n\n/**\n * Render one derived catalogue body.\n *\n * **Fails closed on an empty derivation**, which is the same discipline the `--self-test` flags\n * in `scripts/code-conduct/` exist for: a generator whose population comes back empty would\n * otherwise ship a skill whose catalogue reads \"no components\" exactly as a healthy one reads,\n * and the reader cannot tell a framework with no components from a derivation that stopped\n * working. There is no honest empty answer here — this repository always has importable preset\n * components — so an empty result is a broken generator and it says so.\n */\nexport function renderFrontendComponentCatalogSection(\n section: FrontendComponentCatalogSection,\n frameworkRoot: string,\n): string {\n const entries = collectCatalogEntries();\n assertConsumerSymbolsAreDistinct(entries);\n assertConsumerSymbolsAreExported(entries, frameworkRoot);\n if (entries.length === 0) {\n throw new Error(\n 'Framework component catalog derived ZERO importable components from '\n + '`frameworkFrontendComponentSpecifications`. Every specification either failed to load or '\n + 'declared no `consumerFacingSymbol` on its default preset — both are generator faults, not '\n + 'a framework with no components. Rebuild `@wildo-ai/saas-specifications` and re-run.',\n );\n }\n\n const directoriesByComponentId = collectSpecificationDirectoriesByComponentId(frameworkRoot);\n\n switch (section) {\n case FrontendComponentCatalogSection.INDEX:\n return renderIndexBody(entries, directoriesByComponentId);\n case FrontendComponentCatalogSection.CHOOSER:\n return renderChooserBody(entries, directoriesByComponentId);\n case FrontendComponentCatalogSection.USAGE:\n return renderUsageBody(entries);\n }\n}\n\n/** How many importable components the catalogue currently describes — reported by the generator. */\nexport function countCatalogedFrontendComponents(): number {\n return collectCatalogEntries().length;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"frontend-component-catalog.generator.js","sourceRoot":"","sources":["../../../../../../src/services/framework/frontend-component-catalog.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,iCAAiC,EAAE,MAAM,6DAA6D,CAAC;AAChH,OAAO,EACL,wCAAwC,EACxC,8BAA8B,GAG/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAsB,MAAM,0BAA0B,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,mFAAmF;AACnF,MAAM,CAAN,IAAY,+BAiBX;AAjBD,WAAY,+BAA+B;IACzC,4FAA4F;IAC5F,sDAAmB,CAAA;IACnB,4FAA4F;IAC5F,kDAAe,CAAA;IACf;;;;;;;;;;OAUG;IACH,kDAAe,CAAA;AACjB,CAAC,EAjBW,+BAA+B,KAA/B,+BAA+B,Q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AO,GAAG,qBAAqB,EAAE,CAAC;IACxC,gCAAgC,CAAC,OAAO,CAAC,CAAC;IAC1C,gCAAgC,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IACzD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,sEAAsE;cACpE,2FAA2F;cAC3F,4FAA4F;cAC5F,qFAAqF,CACxF,CAAC;IACJ,CAAC;IAED,MAAM,wBAAwB,GAAG,4CAA4C,CAAC,aAAa,CAAC,CAAC;IAE7F,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,+BAA+B,CAAC,KAAK;YACxC,OAAO,eAAe,CAAC,OAAO,EAAE,wBAAwB,CAAC,CAAC;QAC5D,KAAK,+BAA+B,CAAC,OAAO;YAC1C,OAAO,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,CAAC,CAAC;QAC9D,KAAK,+BAA+B,CAAC,KAAK;YACxC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,gCAAgC;IAC9C,OAAO,qBAAqB,EAAE,CAAC,MAAM,CAAC;AACxC,CAAC","sourcesContent":["import { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { join, relative } from 'node:path';\n\nimport { resolveFrontendLibraryRootExports } from '~wildo-cli/services/framework/frontend-library-root-exports';\nimport {\n frameworkFrontendComponentSpecifications,\n FrontendComponentPropValueKind,\n type FrontendComponentPropSpecification,\n type FrontendComponentSpecificationConfig,\n} from '@wildo-ai/saas-specifications';\nimport { CodeDeclarationKind, type CodeSymbolRef } from '@wildo-ai/zod-decorators';\n\n/**\n * The application-facing framework COMPONENT CATALOG, derived from the frontend-component\n * specifications.\n *\n * ## Why this is derived and not written\n *\n * An application's coding agent sees only anchored source surfaces and compiled skills\n * (`capability-catalog-integration.md`: \"Un-anchored = invisible = unbuildable\"). Measured\n * 2026-09-20 for issue #1376, the component vocabulary was in NEITHER: one compiled reference\n * file mentioned a preset component, incidentally, while 314 specifications described the whole\n * set — props, enumerated vocabularies, when to use and when not to. So a generated\n * application's custom view got built from raw `div`s and hand-assembled utility classes,\n * bypassing the theme, the surface policy and the accessibility work each preset carries.\n *\n * A HAND-KEPT catalogue of 269 components is the \"list of someone else's catalogue\" shape that\n * rots (`invariant-call-site-enumeration.md` #16), and it would rot in the one direction that is\n * invisible: a component omitted from the list is a component the agent never builds with, and\n * nothing goes red. The specifications are already total over `FrontendComponentType` — 313 of\n * its 315 members carried one on the day this was written — so the catalogue is a FUNCTION of\n * them, and a component added tomorrow appears in the shipped skill with no authored edit.\n *\n * ## The two derived bodies, and why exactly two\n *\n * The reader asks two questions, and they want different amounts of text:\n *\n * - **\"Which component shows X?\"** — one row per component, answered by scanning. That is\n * {@link FrontendComponentCatalogSection.CHOOSER}: export name, what it renders, when to use\n * it, when not to.\n * - **\"How do I write this one?\"** — props with their enumerated vocabularies, composition\n * rules, a truthful snippet. That is {@link FrontendComponentCatalogSection.USAGE}, and it\n * carries an entry only for a component that has something beyond its row, which measured 91\n * of 269.\n *\n * Splitting further — a file per component, or per `componentId` namespace — was considered and\n * rejected: only 65 of 269 components document a prop beyond the boilerplate `preset` one, so\n * the bulk of the catalogue is choosing prose and a finer split would multiply files without\n * shortening the read.\n *\n * ## The importability discriminator is MEASURED, not listed\n *\n * A specification earns a catalogue entry when its default preset's base element declares a\n * `consumerFacingSymbol` — the export an application actually imports. The 45 specifications\n * without one are framework-MOUNTED slots (the high-level views, the guidance renderers, the\n * settings hub, the lifecycle homes, the AI-element containers): the framework renders them, an\n * application never composes them, and telling an agent otherwise would be an instruction it\n * cannot follow. That is a property of the data rather than a list somebody maintains, so a new\n * mounted slot stays out and a new importable one comes in, both for free.\n */\n\n/** Which derived body a `{{COMPONENT_CATALOG:<section>}}` placeholder asks for. */\nexport enum FrontendComponentCatalogSection {\n /** One row per importable component: export name, what it renders, use when, avoid when. */\n CHOOSER = 'chooser',\n /** Per-component authoring detail: props with vocabularies, composition rules, snippets. */\n USAGE = 'usage',\n /**\n * The navigational MAP: every functional group and the components in it, names only.\n *\n * This is the ENTRY POINT, and it exists because the corpus must never be read whole. Measured\n * 2026-09-21: the chooser is ~18k tokens and the usage body ~39k, so an agent following the first\n * version of this skill — \"open the catalog and scan\" — pulled ~57k tokens to place one badge.\n * The map costs ~1.3k, a single group's rows ~0.3–1.3k and one usage entry ~146, so the same\n * decision made through the map costs about 2.5k. It is small enough to live in the SKILL body,\n * which means an agent that loaded the skill at all already holds it and never pays to discover\n * what exists.\n */\n INDEX = 'index',\n}\n\n/**\n * The prop every preset wrapper takes, and the one prop the catalogue deliberately drops.\n *\n * It is registry plumbing — it selects which registered preset renders — and it is present on\n * 267 of the 476 documented props. Repeating it 267 times would more than double the usage body\n * to say the same sentence, so the skill says it ONCE in prose and the catalogue omits it.\n */\nconst PRESET_SELECTOR_PROP_NAME = 'preset';\n\n/** The one package every catalogued component is imported from. */\nconst FRONTEND_LIBRARY_PACKAGE_NAME = '@wildo-ai/saas-frontend-lib';\n\n/** Spec files carry this suffix; the scan keys on it rather than on a directory listing. */\nconst SPECIFICATION_FILE_SUFFIX = '.frontend-component.specification.ts';\n/** `componentId: 'framework.low-level.badge'` — the one field that joins a file to a spec. */\nconst COMPONENT_ID_REGEX = /componentId:\\s*'([^']+)'/u;\n\ninterface CatalogEntry {\n readonly specification: FrontendComponentSpecificationConfig;\n readonly consumerSymbol: CodeSymbolRef;\n readonly authoringProps: readonly FrontendComponentPropSpecification[];\n}\n\n/**\n * The preset whose base element carries the consumer-facing export.\n *\n * `defaultPreset` first, because that is what a caller gets when it names no preset; any preset\n * otherwise, so a component that declares presets without electing a default still resolves\n * rather than silently leaving the catalogue.\n */\nfunction resolveConsumerSymbol(specification: FrontendComponentSpecificationConfig): CodeSymbolRef | undefined {\n const presetSpecifications = specification.presetSpecifications ?? {};\n const preset = (specification.defaultPreset ? presetSpecifications[specification.defaultPreset] : undefined)\n ?? Object.values(presetSpecifications)[0];\n return preset?.baseElement?.consumerFacingSymbol;\n}\n\n/** Markdown table cells are pipe-delimited, so a pipe inside authored prose has to be escaped. */\nfunction escapeTableCell(text: string): string {\n return text.replaceAll('|', '\\\\|').replaceAll('\\n', ' ').trim();\n}\n\n/**\n * Map every specification's `componentId` to the DIRECTORY its spec file lives in.\n *\n * ## Why the filesystem, and not `componentId`\n *\n * The catalogue's grouping is what lets a reader take a SUBSET instead of the whole corpus, so the\n * axis has to be FUNCTIONAL — \"I need a form control\", \"I need something that shows a status\".\n * `componentId`'s namespace is not that axis: it is a layering fact, and it puts 172 of the 270\n * components under one `framework.low-level` heading, which tells a chooser nothing and cannot be\n * narrowed.\n *\n * The spec TREE is that axis, and it already exists: `form/controls/enum`, `data-display/formatters`,\n * `overlays/floating`, `navigation/app-level`, `feedback`, `typography`, `actions`, `sections`. Forty\n * groups, largest 26, maintained by the people who author the specifications — so it stays a\n * derivation rather than a taxonomy this file invents and then has to keep true.\n *\n * Read by scanning rather than imported, because a specification does not record where it lives.\n * Returns an empty map when the tree is absent (an installed CLI has no `engine/`), and the caller\n * then falls back to the namespace so the catalogue degrades rather than disappearing.\n */\nfunction collectSpecificationDirectoriesByComponentId(frameworkRoot: string): ReadonlyMap<string, string> {\n const specificationRoot = join(frameworkRoot, 'engine', 'saas-specifications', 'src', 'engine', 'frontend-components');\n const directoriesByComponentId = new Map<string, string>();\n if (!existsSync(specificationRoot)) return directoriesByComponentId;\n\n const walk = (directory: string): void => {\n for (const entry of readdirSync(directory, { withFileTypes: true })) {\n const entryPath = join(directory, entry.name);\n if (entry.isDirectory()) {\n walk(entryPath);\n continue;\n }\n if (!entry.name.endsWith(SPECIFICATION_FILE_SUFFIX)) continue;\n const componentId = COMPONENT_ID_REGEX.exec(readFileSync(entryPath, 'utf8'))?.[1];\n if (!componentId) continue;\n const relativeDirectory = relative(specificationRoot, directory).replaceAll('\\\\', '/');\n directoriesByComponentId.set(componentId, relativeDirectory.length > 0 ? relativeDirectory : '.');\n }\n };\n walk(specificationRoot);\n return directoriesByComponentId;\n}\n\n/** `form/controls/enum` → `Form / Controls / Enum`; `.` → the root group's own label. */\nfunction titleFromDirectory(directory: string): string {\n if (directory === '.') return 'General';\n return directory\n .split('/')\n .map((segment) => segment\n // invented-display-text: a GROUP HEADING in generated framework-knowledge prose, compiled once in one\n // language for a coding agent — the same reason as `titleFromNamespace` below; the input is a directory path.\n .split('-')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' '))\n .join(' / ');\n}\n\n/**\n * `framework.low-level` → `Low Level`.\n *\n * Derived from the namespace rather than read from a label map on purpose: a map would have to\n * gain a row every time a namespace is introduced, and the failure mode of forgetting is a\n * heading-less group — which is exactly the silent omission this whole file exists to avoid. A\n * slightly blunt heading is the price, and the columns beside it carry the meaning.\n */\nfunction titleFromNamespace(namespace: string): string {\n return namespace\n .split('.')\n .slice(1)\n .join(' ')\n // invented-display-text: a GROUP HEADING in generated framework-knowledge prose, compiled once\n // in one language for a coding agent. No label tree could have supplied it — the input is a\n // `componentId` namespace, an identifier no application declares and no locale carries.\n .split(/[-\\s]+/u)\n .filter((word) => word.length > 0)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n}\n\n/** The first two `componentId` segments (`framework.low-level.badge` → `framework.low-level`). */\nfunction namespaceOf(specification: FrontendComponentSpecificationConfig): string {\n return specification.componentId.split('.').slice(0, 2).join('.');\n}\n\n/**\n * Every importable component, ordered so the output is byte-stable across runs.\n *\n * Sorted by export name, which is what a reader searches for and what a diff should track — the\n * record's own key order is an authoring artifact of one barrel file and would reshuffle the\n * whole catalogue the day somebody reorders an import.\n */\nfunction collectCatalogEntries(): CatalogEntry[] {\n const entries: CatalogEntry[] = [];\n for (const specification of Object.values(frameworkFrontendComponentSpecifications)) {\n const consumerSymbol = resolveConsumerSymbol(specification);\n if (!consumerSymbol) continue;\n entries.push({\n specification,\n consumerSymbol,\n authoringProps: (specification.componentInterface?.propSpecifications ?? []).filter(\n (prop) => prop.propName !== PRESET_SELECTOR_PROP_NAME,\n ),\n });\n }\n return entries.sort((left, right) => left.consumerSymbol.exportName.localeCompare(right.consumerSymbol.exportName));\n}\n\n/**\n * Group the entries by `componentId` namespace, largest group first.\n *\n * Size order rather than alphabetical because the general-purpose primitives are the biggest\n * group and the group an author reaches for first; ties break alphabetically so the ordering is\n * total and the output stays byte-stable.\n */\nfunction groupByFunction(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): Array<{ label: string; entries: CatalogEntry[] }> {\n const byGroup = new Map<string, CatalogEntry[]>();\n for (const entry of entries) {\n const directory = directoriesByComponentId.get(entry.specification.componentId);\n // Namespace fallback keeps an unscannable tree (an installed CLI) producing a catalogue rather\n // than producing nothing — degraded grouping, never a missing component.\n const label = directory ? titleFromDirectory(directory) : titleFromNamespace(namespaceOf(entry.specification));\n const group = byGroup.get(label);\n if (group) group.push(entry);\n else byGroup.set(label, [entry]);\n }\n // Alphabetical, because this is a MAP a reader navigates by name — size order would move a group\n // every time a component is added, and the reader's entry point is the label, not the count.\n return [...byGroup.entries()]\n .map(([label, groupEntries]) => ({ label, entries: groupEntries }))\n .sort((left, right) => left.label.localeCompare(right.label));\n}\n\n/**\n * Describe a prop's accepted values, and say when they are NOT strings.\n *\n * This is the half of the catalogue that decides whether its output compiles, and the first version\n * got it wrong. It rendered every vocabulary as bare literals — `Values: \\`destructive\\` · \\`sm\\`` —\n * and **35 of the 36 enumerated vocabularies are backed by a TypeScript enum**, where a literal is\n * not assignable. Measured against the real application: `<Badge variant=\"success\">` compiles\n * (`BadgeVariants_Variant` is the one TYPE_ALIAS) while `<Button variant=\"destructive\" size=\"sm\">`\n * raises two `TS2322`. An agent whose first framework-component attempt fails its typecheck is an\n * agent pushed straight back to the raw `div` this catalogue exists to remove.\n *\n * The discriminator is in the data — `enumerationSource.declarationKind` — so the fix is to STOP\n * DROPPING a field the specification already authors, not to add one.\n *\n * The enum's MEMBER name is deliberately NOT emitted. The specification records a member's VALUE\n * (`'destructive'`) and the enum's export name, never the member identifier, so printing\n * `ButtonVariants_Variant.DESTRUCTIVE` would be an upper-snake GUESS — right for this population\n * today and unfalsifiable at generation time. Naming the type is always true, and it is the fact the\n * reader is missing: once they know it is an enum they import it, and the compiler picks the member.\n */\nfunction renderValueSummary(prop: FrontendComponentPropSpecification): string {\n const vocabulary = prop.vocabulary;\n const vocabularyValues = vocabulary?.values ?? [];\n\n if (vocabularyValues.length > 0) {\n const rendered = vocabularyValues.map((option) => `\\`${option.value}\\``).join(' · ');\n const source = vocabulary?.enumerationSource;\n if (source?.declarationKind === CodeDeclarationKind.TYPESCRIPT_ENUM) {\n return ` **Enum** \\`${source.exportName}\\` from \\`${source.packageName}\\` — import it and pass a MEMBER,`\n + ` not a string. Values: ${rendered}.`;\n }\n const named = source ? ` (\\`${source.exportName}\\` from \\`${source.packageName}\\`)` : '';\n return ` Values${named}: ${rendered}.`;\n }\n\n if (prop.valueKind === FrontendComponentPropValueKind.FUNCTION && prop.functionSignature) {\n return ` Signature: \\`${prop.functionSignature}\\`.`;\n }\n if (prop.valueTypeSymbol) {\n return ` Type: \\`${prop.valueTypeSymbol.exportName}\\` from \\`${prop.valueTypeSymbol.packageName}\\`.`;\n }\n if (prop.unionMembers?.length) {\n // A required prop with no type at all is the one an author cannot guess; a union summary is the\n // cheapest honest answer where the specification declares no single symbol.\n const members = prop.unionMembers\n .map((member) => member.valueTypeSymbol?.exportName ?? member.primitiveType ?? member.valueKind)\n .filter((label): label is string => Boolean(label));\n if (members.length > 0) return ` One of: ${members.map((label) => `\\`${label}\\``).join(' | ')}.`;\n }\n if (prop.arrayElement) {\n const element = prop.arrayElement.valueTypeSymbol?.exportName\n ?? prop.arrayElement.primitiveType\n ?? prop.arrayElement.valueKind;\n return element ? ` Array of \\`${element}\\`.` : ' An array.';\n }\n if (prop.primitiveType) {\n return ` Type: \\`${prop.primitiveType}\\`.`;\n }\n return '';\n}\n\n/** One prop bullet: name, requiredness, purpose, accepted values, default, then its caveats. */\nfunction renderPropBullet(prop: FrontendComponentPropSpecification): string[] {\n const segments = [`- \\`${prop.propName}\\`${prop.required ? ' **(required)**' : ''} — ${prop.purpose}`];\n segments.push(renderValueSummary(prop));\n\n if (prop.defaultValue !== undefined) {\n segments.push(` Default \\`${String(prop.defaultValue)}\\`.`);\n }\n\n const lines = [segments.join('')];\n /*\n * The schema's COMPANION-BULLET CONTRACT, honoured for all three note slots it names.\n *\n * `FrontendComponentPropSpecification.notes`, `FrontendComponentPropValueVocabulary.notes` and\n * `FrontendComponentPropValueShape.notes` each say a note MUST be its own bullet, never joined\n * into the structural line and never collapsed, so a caveat stays individually citable. The first\n * version rendered only the first of the three — dropping, among others, a vocabulary note about\n * an enum not being reachable from a package root, which is exactly the kind of caveat that\n * decides whether the reader's code resolves.\n */\n for (const note of prop.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` note: ${note}`);\n }\n for (const note of prop.vocabulary?.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` values note: ${note}`);\n }\n for (const member of [...(prop.unionMembers ?? []), ...(prop.arrayElement ? [prop.arrayElement] : [])]) {\n for (const note of member.notes ?? []) {\n lines.push(` - \\`${prop.propName}\\` shape note: ${note}`);\n }\n }\n return lines;\n}\n\n/** Explain a vocabulary's members once, under the prop that carries it, when they carry meaning. */\nfunction renderVocabularyMeanings(prop: FrontendComponentPropSpecification): string[] {\n const values = (prop.vocabulary?.values ?? []).filter((option) => Boolean(option.meaning));\n if (values.length === 0) return [];\n return values.map((option) => ` - \\`${option.value}\\` — ${option.meaning}`);\n}\n\nfunction renderChooserBody(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): string {\n const lines: string[] = [];\n for (const { label, entries: groupEntries } of groupByFunction(entries, directoriesByComponentId)) {\n lines.push(`## ${label} (${groupEntries.length})`, '');\n lines.push('| Component | Renders | Use when | Avoid when |', '| --- | --- | --- | --- |');\n for (const entry of groupEntries) {\n lines.push(\n `| \\`${entry.consumerSymbol.exportName}\\` | ${escapeTableCell(entry.specification.uiRole)} `\n + `| ${escapeTableCell(entry.specification.useWhen ?? '—')} `\n + `| ${escapeTableCell(entry.specification.avoidWhen ?? '—')} |`,\n );\n }\n lines.push('');\n }\n return lines.join('\\n').trimEnd();\n}\n\n/** A component earns a usage entry only when it has something its chooser row does not carry. */\nfunction hasUsageDetail(entry: CatalogEntry): boolean {\n return entry.authoringProps.length > 0\n || (entry.specification.usageExamples?.length ?? 0) > 0\n || (entry.specification.compositionNotes?.length ?? 0) > 0\n || (entry.specification.authoringNotes?.length ?? 0) > 0;\n}\n\nfunction renderUsageBody(entries: readonly CatalogEntry[]): string {\n const lines: string[] = [];\n for (const entry of entries.filter(hasUsageDetail)) {\n const { specification, consumerSymbol, authoringProps } = entry;\n lines.push(`## \\`${consumerSymbol.exportName}\\``, '');\n lines.push(specification.purpose, '');\n\n if (authoringProps.length > 0) {\n lines.push('**Props**', '');\n for (const prop of authoringProps) {\n lines.push(...renderPropBullet(prop), ...renderVocabularyMeanings(prop));\n }\n lines.push('');\n }\n\n const notes = [...(specification.compositionNotes ?? []), ...(specification.authoringNotes ?? [])];\n if (notes.length > 0) {\n lines.push('**Composition**', '');\n for (const note of notes) lines.push(`- ${note}`);\n lines.push('');\n }\n\n for (const example of specification.usageExamples ?? []) {\n lines.push(`**${example.title}**`, '');\n if (example.description) lines.push(example.description, '');\n lines.push(`\\`\\`\\`${example.language ?? 'tsx'}`, example.code.trimEnd(), '```', '');\n for (const note of example.notes ?? []) lines.push(`- ${note}`);\n if ((example.notes?.length ?? 0) > 0) lines.push('');\n }\n }\n return lines.join('\\n').trimEnd();\n}\n\n/**\n * Refuse to describe a component whose declared export the library does not publish.\n *\n * The catalogue turns `consumerFacingSymbol` into an `import { X } from '@wildo-ai/saas-frontend-lib'`\n * line and ships it into every generated application as an INSTRUCTION. A declaration naming an\n * export that is not there is therefore not untidiness, it is a statement the only reader cannot\n * act on — and it happened: measured 2026-09-20, `Auth_OAuthLoggedOut` and `Auth_OAuthLogoutConfirm`\n * were declared by their specifications, existed as components beside `Auth_OAuthConsent`, and were\n * absent from the root barrel because only the sibling's line had ever been written.\n *\n * This FAILS the generation rather than omitting the component and warning, and the deciding\n * question is the one `application-creation-directive.md` asks: what does the operator do next?\n * Here the answer is \"add the barrel line, or correct the specification\" — a concrete artifact fix,\n * deterministic, in the same checkout. That is an issue, not an unfinished workflow, so it may\n * refuse. Omitting-and-warning was rejected for the reason this whole catalogue exists: a component\n * missing from the list is a component the agent never builds with, and nothing goes red.\n *\n * Skipped entirely when the library source is not on disk — an installed CLI has no `engine/`\n * tree — because an unknown export set must not be read as an empty one.\n *\n * The DECISION is split out as {@link findUnpublishedConsumerSymbols} so it can be pinned against a\n * synthetic violation. Asserting only that the live catalogue renders would be a pin satisfied by\n * the absence of a defect: it stays green with this whole function deleted, which is the shape\n * `.claude/rules/invariant-call-site-enumeration.md` calls a pin that proves nothing.\n */\nexport function findUnpublishedConsumerSymbols(\n declarations: readonly { readonly componentId: string; readonly packageName: string; readonly exportName: string }[],\n publishedNames: ReadonlySet<string>,\n): Array<{ componentId: string; exportName: string }> {\n return declarations\n .filter((declaration) => declaration.packageName === FRONTEND_LIBRARY_PACKAGE_NAME)\n .filter((declaration) => !publishedNames.has(declaration.exportName))\n .map((declaration) => ({ componentId: declaration.componentId, exportName: declaration.exportName }));\n}\n\nfunction assertConsumerSymbolsAreExported(entries: readonly CatalogEntry[], frameworkRoot: string): void {\n const publishedNames = resolveFrontendLibraryRootExports(frameworkRoot);\n if (!publishedNames) return;\n\n const unpublished = findUnpublishedConsumerSymbols(\n entries.map((entry) => ({\n componentId: entry.specification.componentId,\n packageName: entry.consumerSymbol.packageName,\n exportName: entry.consumerSymbol.exportName,\n })),\n publishedNames,\n );\n if (unpublished.length === 0) return;\n\n throw new Error(\n 'Framework component catalog would ship an import line that cannot resolve. These '\n + `frontend-component specifications declare a consumer-facing export that ${FRONTEND_LIBRARY_PACKAGE_NAME} `\n + 'does not publish from its root barrel:\\n'\n + unpublished\n .map((declaration) => ` - ${declaration.componentId} declares \\`${declaration.exportName}\\``)\n .join('\\n')\n + '\\n\\nEither add the missing `export * from` line to engine/saas-frontend-lib/src/index.ts, or correct '\n + 'the specification to name the export an application can actually import.',\n );\n}\n\n/**\n * The map: one line per functional group, naming its components.\n *\n * Names ONLY, deliberately. A line that also carried each component's role would be the chooser\n * again at full price, and the map's whole job is to be affordable enough to hold before you know\n * what you are looking for. A reader narrows to a group here, then pays for that group's rows.\n */\nfunction renderIndexBody(\n entries: readonly CatalogEntry[],\n directoriesByComponentId: ReadonlyMap<string, string>,\n): string {\n return groupByFunction(entries, directoriesByComponentId)\n .map(({ label, entries: groupEntries }) => {\n const names = groupEntries\n .map((entry) => `\\`${entry.consumerSymbol.exportName}\\``)\n .join(', ');\n return `- **${label}** (${groupEntries.length}) — ${names}`;\n })\n .join('\\n');\n}\n\n/**\n * Two specifications may not claim the SAME consumer-facing export.\n *\n * An export name identifies one component, so two specifications naming it means one of them is\n * wrong — and this is the worse half of the class {@link assertConsumerSymbolsAreExported} covers.\n * There, the declared export does not exist and the import fails loudly. Here it DOES exist, so the\n * code compiles and renders a different component than the reader asked for. It also breaks the\n * skill's own instruction to jump to a ``## `Name` `` heading, because the second entry under a\n * duplicated heading is unreachable.\n *\n * Found by this catalogue on its first run: `duration.frontend-component.specification.ts` had been\n * copy-pasted from the identifier spec and still named `Identifier` as both its implementation and\n * its consumer-facing symbol, so the catalogue offered `Identifier` twice — once as the monospaced\n * identifier chip it is, once as a live elapsed-time clock it is not.\n */\nfunction assertConsumerSymbolsAreDistinct(entries: readonly CatalogEntry[]): void {\n const componentIdsByExportName = new Map<string, string[]>();\n for (const entry of entries) {\n const claimants = componentIdsByExportName.get(entry.consumerSymbol.exportName);\n if (claimants) claimants.push(entry.specification.componentId);\n else componentIdsByExportName.set(entry.consumerSymbol.exportName, [entry.specification.componentId]);\n }\n\n const contested = [...componentIdsByExportName.entries()].filter(([, claimants]) => claimants.length > 1);\n if (contested.length === 0) return;\n\n throw new Error(\n 'Framework component catalog would describe one export as two different components. These '\n + 'consumer-facing export names are claimed by more than one frontend-component specification:\\n'\n + contested\n .map(([exportName, claimants]) => ` - \\`${exportName}\\` claimed by ${claimants.join(', ')}`)\n .join('\\n')\n + '\\n\\nAn export name identifies ONE component. Correct the specification that names the wrong '\n + 'export — this is usually a spec copy-pasted from a sibling with its symbols left behind.',\n );\n}\n\n/**\n * Render one derived catalogue body.\n *\n * **Fails closed on an empty derivation**, which is the same discipline the `--self-test` flags\n * in `scripts/code-conduct/` exist for: a generator whose population comes back empty would\n * otherwise ship a skill whose catalogue reads \"no components\" exactly as a healthy one reads,\n * and the reader cannot tell a framework with no components from a derivation that stopped\n * working. There is no honest empty answer here — this repository always has importable preset\n * components — so an empty result is a broken generator and it says so.\n */\nexport function renderFrontendComponentCatalogSection(\n section: FrontendComponentCatalogSection,\n frameworkRoot: string,\n): string {\n const entries = collectCatalogEntries();\n assertConsumerSymbolsAreDistinct(entries);\n assertConsumerSymbolsAreExported(entries, frameworkRoot);\n if (entries.length === 0) {\n throw new Error(\n 'Framework component catalog derived ZERO importable components from '\n + '`frameworkFrontendComponentSpecifications`. Every specification either failed to load or '\n + 'declared no `consumerFacingSymbol` on its default preset — both are generator faults, not '\n + 'a framework with no components. Rebuild `@wildo-ai/saas-specifications` and re-run.',\n );\n }\n\n const directoriesByComponentId = collectSpecificationDirectoriesByComponentId(frameworkRoot);\n\n switch (section) {\n case FrontendComponentCatalogSection.INDEX:\n return renderIndexBody(entries, directoriesByComponentId);\n case FrontendComponentCatalogSection.CHOOSER:\n return renderChooserBody(entries, directoriesByComponentId);\n case FrontendComponentCatalogSection.USAGE:\n return renderUsageBody(entries);\n }\n}\n\n/** How many importable components the catalogue currently describes — reported by the generator. */\nexport function countCatalogedFrontendComponents(): number {\n return collectCatalogEntries().length;\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Run `pnpm install` in `cwd`, output streamed to the terminal. Returns whether it succeeded; the caller decides what a failure means. */
|
|
2
|
+
export declare function runPnpmInstall(log: {
|
|
3
|
+
info(message: string): void;
|
|
4
|
+
error(message: string): void;
|
|
5
|
+
}, label: string, cwd: string): boolean;
|
|
6
|
+
//# sourceMappingURL=package-install.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-install.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/package-install.service.ts"],"names":[],"mappings":"AAQA,2IAA2I;AAC3I,wBAAgB,cAAc,CAAC,GAAG,EAAE;IAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAQtI"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `pnpm install` in an application, shared by `wildo update` and the registry's provider install (#2014).
|
|
3
|
+
*
|
|
4
|
+
* Its own module, calling `spawnPackageManager` through an import, so a test that replaces the package-manager spawn
|
|
5
|
+
* on `framework-update.service` replaces it here too.
|
|
6
|
+
*/
|
|
7
|
+
import { PackageManagerCommand, spawnPackageManager } from './framework-update.service.js';
|
|
8
|
+
/** Run `pnpm install` in `cwd`, output streamed to the terminal. Returns whether it succeeded; the caller decides what a failure means. */
|
|
9
|
+
export function runPnpmInstall(log, label, cwd) {
|
|
10
|
+
log.info(` ${label}…`);
|
|
11
|
+
const result = spawnPackageManager(PackageManagerCommand.PNPM, ['install'], { cwd, stdio: 'inherit' });
|
|
12
|
+
if (result.status !== 0) {
|
|
13
|
+
log.error(` ${label} failed (exit ${result.status ?? 'signal'}).`);
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=package-install.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-install.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/package-install.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAExF,2IAA2I;AAC3I,MAAM,UAAU,cAAc,CAAC,GAAkE,EAAE,KAAa,EAAE,GAAW;IAC3H,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,GAAG,CAAC,CAAC;IACxB,MAAM,MAAM,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACvG,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,iBAAiB,MAAM,CAAC,MAAM,IAAI,QAAQ,IAAI,CAAC,CAAC;QACpE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * `pnpm install` in an application, shared by `wildo update` and the registry's provider install (#2014).\n *\n * Its own module, calling `spawnPackageManager` through an import, so a test that replaces the package-manager spawn\n * on `framework-update.service` replaces it here too.\n */\nimport { PackageManagerCommand, spawnPackageManager } from './framework-update.service';\n\n/** Run `pnpm install` in `cwd`, output streamed to the terminal. Returns whether it succeeded; the caller decides what a failure means. */\nexport function runPnpmInstall(log: { info(message: string): void; error(message: string): void }, label: string, cwd: string): boolean {\n log.info(` ${label}…`);\n const result = spawnPackageManager(PackageManagerCommand.PNPM, ['install'], { cwd, stdio: 'inherit' });\n if (result.status !== 0) {\n log.error(` ${label} failed (exit ${result.status ?? 'signal'}).`);\n return false;\n }\n return true;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance-profile-emission.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.ts"],"names":[],"mappings":""}
|