@wildo-ai/wildo-cli 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js +3 -2
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +7 -5
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +62 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +35 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +63 -9
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.js","sourceRoot":"","sources":["../../../../../src/commands/update.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,eAAe,E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C,KAAK,CAAC,KAAK,KAAK,iBAAiB,MAAM,CAAC,MAAM,IAAI,QAAQ,IAAI,CAAC,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["/**\n * `wildo update` — move this machine's CLI, and the application you are standing in, to a published\n * framework release (the `latest` dist-tag by default).\n *\n * wildo update # CLI → latest; inside an application, the application too\n * wildo update --to 1.1.7 # a specific release (upgrade, or downgrade to one that has `update`)\n * wildo update --tag next # follow another dist-tag\n * wildo update --check # report only: CLI, application and target versions\n * wildo update --cli-only # move the CLI, leave the application alone\n *\n * Outside an application it moves the CLI and stops. Inside one it moves the CLI, then re-executes the\n * NEW CLI (`--app-only`) for the application half:\n *\n * 1. every `@wildo-ai/*` pin in `pnpm.overrides` → the release (plus framework-knowledge and\n * dev-companion, which nothing pinned before)\n * 2. the companion and workbench drops rewritten at the release (the workbench drop CREATED in an\n * application scaffolded before the workbench was published)\n * 3. `pnpm install` → `align-deps --write` → `pnpm install` (only when alignment changed anything)\n * 4. `assets sync` — templates, docs, skills and rules from the release\n * 5. the config judged by the release's contract; then `config sync --domain manifest`, so the\n * compose / k8s files name the release's platform image\n *\n * It never restarts anything: a running stack keeps the old code until you restart it, and when to\n * do that is yours. The closing lines say what to restart.\n *\n * The flag is `--to`, not `--version`: the CLI bootstrap answers `--version` itself, before any\n * command runs.\n *\n * See `framework-update.service.ts` for why the CLI moves first, how it moves without touching the\n * running installation, and what the command refuses.\n */\nimport { spawnSync } from 'child_process';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { forwardedGlobalFlags } from '~wildo-cli/kernel/command-runner';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS } from '~wildo-cli/services/application/saas-skeleton.service';\nimport { findApplicationRoot } from '~wildo-cli/services/application/application-root.utils';\nimport { ApplicationDependencyAlignmentService } from '~wildo-cli/services/application/application-dependency-alignment.service';\nimport {\n ApplicationAssetsDeliveryService,\n ApplicationAssetsLaneStatus,\n} from '~wildo-cli/services/application/application-assets-delivery.service';\nimport { resolveInstalledFrameworkAssetsRoot } from '~wildo-cli/services/framework/installed-framework-assets.service';\nimport {\n ApplicationConfigCheckOutcome,\n ApplicationFrameworkPinsKind,\n assertReleaseCarriesUpdateCommand,\n checkApplicationConfigAgainstRelease,\n DEFAULT_FRAMEWORK_DIST_TAG,\n installCliRelease,\n InstalledCliLocationKind,\n locateInstalledCli,\n PackageManagerCommand,\n npmRegistryClient,\n pinApplicationFrameworkVersion,\n readApplicationFrameworkPins,\n RegistryVersionStatus,\n resolveApplicationWorkbenchPorts,\n removeApplicationWorkbenchDrop,\n rewriteApplicationWorkbenchDrop,\n type WorkbenchDropPorts,\n WORKBENCH_PACKAGE_NAME,\n resolveTargetFrameworkVersion,\n rewriteApplicationCompanionDrop,\n spawnPackageManager,\n} from '~wildo-cli/services/framework/framework-update.service';\n\nexport default class UpdateCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'update',\n description: 'Update the Wildo CLI, and the application you are in, to a published framework release',\n category: CommandCategory.Core,\n flags: {\n to: { type: 'string', description: 'The exact release to move to (default: the --tag release)' },\n tag: { type: 'string', description: `The npm dist-tag to follow (default: ${DEFAULT_FRAMEWORK_DIST_TAG})` },\n check: { type: 'boolean', description: 'Report the current and target versions without changing anything' },\n 'cli-only': { type: 'boolean', description: 'Move the CLI only; leave the application untouched' },\n 'app-only': { type: 'boolean', description: 'Update the application only (the CLI must already be at the target release)' },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const cliVersion = readVersion();\n const applicationRoot = findApplicationRoot(process.cwd());\n const cliOnly = ctx.flags['cli-only'] === true;\n const appOnly = ctx.flags['app-only'] === true;\n if (cliOnly && appOnly) {\n ctx.log.error('--cli-only and --app-only are mutually exclusive.');\n return { success: false };\n }\n\n const requestedVersion = typeof ctx.flags.to === 'string' && ctx.flags.to.length > 0 ? ctx.flags.to : undefined;\n const requestedTag = typeof ctx.flags.tag === 'string' && ctx.flags.tag.length > 0 ? ctx.flags.tag : undefined;\n let target: string;\n try {\n target = resolveTargetFrameworkVersion({ requestedVersion, distTag: requestedTag ?? DEFAULT_FRAMEWORK_DIST_TAG });\n } catch (error) {\n ctx.log.error(ErrorUtils.extractErrorMessage(error));\n return { success: false };\n }\n\n if (ctx.flags.check === true) {\n return reportCheck(ctx, { cliVersion, applicationRoot, target, requestedVersion, requestedTag });\n }\n\n // ── CLI half ──\n if (!appOnly && cliVersion !== target) {\n const location = locateInstalledCli(resolveInstalledFrameworkAssetsRoot());\n if (location.kind === InstalledCliLocationKind.REFUSED) {\n ctx.log.error(location.reason);\n return { success: false };\n }\n let entryPoint: string;\n try {\n assertReleaseCarriesUpdateCommand(target);\n ctx.log.info(` Installing @wildo-ai/wildo-cli ${target} (was ${cliVersion})…`);\n const installation = installCliRelease({ prefix: location.prefix, version: target });\n entryPoint = installation.entryPoint;\n for (const directory of installation.retainedDirectories) {\n ctx.log.warn(` Could not remove the earlier CLI at ${directory}; the next update retries it.`);\n }\n } catch (error) {\n ctx.log.error(`CLI update failed; the CLI in use is unchanged. ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n ctx.log.success(` CLI updated to ${target}.`);\n\n if (cliOnly || !applicationRoot) {\n if (!applicationRoot) ctx.log.info(\" Not inside an application. Run 'wildo update' in each application to move it too.\");\n return { success: true };\n }\n // The application half must run from the release it installs: re-execute the new binary.\n const child = spawnSync(\n process.execPath,\n [entryPoint, ...forwardedGlobalFlags(ctx.globalFlags), 'update', '--app-only', '--to', target],\n { cwd: process.cwd(), stdio: 'inherit' },\n );\n return { success: child.status === 0 };\n }\n\n if (!appOnly) ctx.log.success(` CLI already at ${target}.`);\n if (cliOnly) return { success: true };\n if (!applicationRoot) {\n if (appOnly) ctx.log.error('--app-only needs an application: run it inside one (a directory containing wildo.saas.config.ts).');\n return { success: !appOnly };\n }\n if (cliVersion !== target) {\n ctx.log.error(\n `This CLI is ${cliVersion} but the target is ${target}. The application half reads templates from the CLI, `\n + \"so it must run from the target release: run 'wildo update' without --app-only.\",\n );\n return { success: false };\n }\n\n return updateApplication(ctx, applicationRoot, target);\n }\n}\n\nfunction reportCheck(\n ctx: CommandContext,\n input: { cliVersion: string; applicationRoot: string | null; target: string; requestedVersion?: string; requestedTag?: string },\n): CommandResult {\n const pins = input.applicationRoot ? readApplicationFrameworkPins(input.applicationRoot) : null;\n ctx.log.info(` CLI: ${input.cliVersion}`);\n if (pins !== null) {\n const described = pins.kind === ApplicationFrameworkPinsKind.RELEASE\n ? pins.versions.join(', ')\n : pins.kind === ApplicationFrameworkPinsKind.CHECKOUT\n ? 'follows a framework checkout (file: links) — `wildo update` does not move it'\n : 'no @wildo-ai/* pins in pnpm.overrides';\n ctx.log.info(` Application: ${described}`);\n }\n ctx.log.info(` Target: ${input.target}`);\n // Only an application pinned to releases can be behind; a checkout-linked one is not ours to move.\n const applicationBehind = pins?.kind === ApplicationFrameworkPinsKind.RELEASE\n && (pins.versions.length !== 1 || pins.versions[0] !== input.target);\n if (input.cliVersion === input.target && !applicationBehind) {\n ctx.log.success(' Already at the target release.');\n } else {\n const selector = input.requestedVersion ? ` --to ${input.target}` : input.requestedTag ? ` --tag ${input.requestedTag}` : '';\n ctx.log.warn(` An update is available: run 'wildo update${selector}'.`);\n }\n return { success: true };\n}\n\nasync function updateApplication(ctx: CommandContext, applicationRoot: string, target: string): Promise<CommandResult> {\n ctx.log.info(`\\n Updating the application at ${applicationRoot} to ${target}`);\n\n /*\n * Everything that can refuse is decided BEFORE anything is written, so a refusal leaves the\n * application exactly as it was rather than with its pins moved and a drop missing.\n *\n * The workbench is published from 1.1.5 on. A release without it (an explicit `--to` below that)\n * gets no workbench pin and no drop — pinning a version npm has never seen would fail the install.\n */\n let workbenchPorts: WorkbenchDropPorts | null = null;\n try {\n const workbenchStatus = npmRegistryClient.versionStatus(WORKBENCH_PACKAGE_NAME, target);\n if (workbenchStatus === RegistryVersionStatus.UNKNOWN) {\n throw new Error(`Could not ask npm whether ${WORKBENCH_PACKAGE_NAME}@${target} exists (is the registry reachable?).`);\n }\n if (workbenchStatus === RegistryVersionStatus.PUBLISHED) workbenchPorts = await resolveApplicationWorkbenchPorts(applicationRoot);\n else ctx.log.warn(` ${target} publishes no ${WORKBENCH_PACKAGE_NAME}: the workbench is removed from this application for this release.`);\n } catch (error) {\n ctx.log.error(`${ErrorUtils.extractErrorMessage(error)} Nothing was changed.`);\n return { success: false };\n }\n\n try {\n const pins = pinApplicationFrameworkVersion({\n applicationRoot,\n version: target,\n additionalPins: APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS.filter((name) => workbenchPorts !== null || name !== WORKBENCH_PACKAGE_NAME),\n // A release without the workbench cannot keep a pin naming it: the version would not exist.\n removedPins: workbenchPorts === null ? [WORKBENCH_PACKAGE_NAME] : [],\n });\n ctx.log.success(\n pins.changedPackages.length === 0\n ? ` pnpm.overrides already pin @wildo-ai/* at ${target}.`\n : ` pnpm.overrides: ${pins.changedPackages.length} @wildo-ai/* pin(s) ${pins.previousVersions.join(', ')} → ${target}.`,\n );\n rewriteApplicationCompanionDrop({ applicationRoot, version: target });\n ctx.log.success(` Companion drop pinned to @wildo-ai/dev-companion ${target}.`);\n if (workbenchPorts === null) {\n if (removeApplicationWorkbenchDrop(applicationRoot)) ctx.log.success(' Workbench drop removed (this release does not publish it).');\n } else {\n rewriteApplicationWorkbenchDrop({ applicationRoot, version: target, ports: workbenchPorts });\n ctx.log.success(` Workbench drop pinned to ${WORKBENCH_PACKAGE_NAME} ${target} (http://localhost:${workbenchPorts.workbenchPort}).`);\n }\n } catch (error) {\n ctx.log.error(ErrorUtils.extractErrorMessage(error));\n return { success: false };\n }\n\n if (!runPnpmInstall(ctx, 'pnpm install', applicationRoot)) return { success: false };\n\n try {\n const alignment = ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n if (alignment.findings.length === 0) {\n ctx.log.success(' Dependency pins and peer declarations already match the release.');\n } else {\n ctx.log.success(` align-deps: applied ${alignment.findings.length} change(s) derived from the release.`);\n if (!runPnpmInstall(ctx, 'pnpm install (alignment)', applicationRoot)) return { success: false };\n }\n } catch (error) {\n ctx.log.error(`Dependency alignment failed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n let assetsOk = true;\n try {\n const assets = ApplicationAssetsDeliveryService.deliver({\n applicationRoot,\n frameworkAssetsRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n });\n for (const [label, lane] of [['templates', assets.templates], ['docs', assets.docs], ['skills + rules', assets.skills]] as const) {\n if (lane.status === ApplicationAssetsLaneStatus.DELIVERED && lane.warning === undefined) {\n ctx.log.success(` ${label}: ${lane.detail}`);\n } else {\n assetsOk = false;\n ctx.log.warn(` ${label}: ${lane.warning ?? `skipped — ${lane.detail}`}`);\n }\n }\n const knowledgeVersion = ApplicationAssetsDeliveryService.readInstalledPackageVersion(assets.knowledgePackageRoot);\n const skew = ApplicationAssetsDeliveryService.describeFrameworkVersionSkew(target, knowledgeVersion);\n if (skew) {\n assetsOk = false;\n ctx.log.warn(` ${skew}`);\n }\n } catch (error) {\n ctx.log.error(`Asset delivery failed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n // A release may REQUIRE a declaration this application predates. Judge the config by the release\n // now running, and report an owed declaration as what it is rather than letting `config sync` fail\n // on it with a raw schema dump (see `checkApplicationConfigAgainstRelease`).\n const config = await checkApplicationConfigAgainstRelease(applicationRoot);\n if (config.outcome === ApplicationConfigCheckOutcome.CONTRACT_UNMET) {\n ctx.log.warn(` wildo.saas.config.ts does not satisfy ${target}'s config contract (${config.issues.length} issue(s)):`);\n for (const issue of config.issues) ctx.log.warn(` - ${issue}`);\n ctx.log.warn(' The release requires a declaration this application predates. Add it, using the current scaffold as the');\n ctx.log.warn(' reference: .wildo-saas/templates/skeleton/wildo.saas.config.ts.init.hbs — then run `wildo config sync`.');\n } else if (config.outcome === ApplicationConfigCheckOutcome.LOAD_FAILED) {\n ctx.log.warn(` wildo.saas.config.ts could not be loaded: ${config.message}`);\n }\n\n // Re-render the compose / k8s files so they name the release's platform image. `manifest` is the\n // one domain that needs no running platform and rewrites no env file or secret. Skipped when the\n // config does not load: it would fail on the same problem, only less legibly. Re-invoked with this\n // process's own runtime flags, so a loader-based launch (tsx) is reproduced faithfully.\n let manifestsOk = false;\n if (config.outcome === ApplicationConfigCheckOutcome.LOADS) {\n ctx.log.info(' config sync --domain manifest…');\n const sync = spawnSync(\n process.execPath,\n [\n ...process.execArgv,\n process.argv[1],\n ...forwardedGlobalFlags({ ...ctx.globalFlags, nonInteractive: true }),\n 'config', 'sync', '--domain', 'manifest',\n ],\n { cwd: applicationRoot, stdio: 'inherit' },\n );\n manifestsOk = sync.status === 0;\n if (!manifestsOk) ctx.log.error(` config sync --domain manifest failed (exit ${sync.status ?? 'signal'}).`);\n }\n\n ctx.log.info('');\n if (assetsOk && manifestsOk) {\n ctx.log.success(` Application updated to ${target}.`);\n } else {\n const owed = config.outcome === ApplicationConfigCheckOutcome.CONTRACT_UNMET ? 'config changes it owes' : 'warnings';\n ctx.log.warn(` Application moved to ${target}, with the ${owed} above.`);\n }\n ctx.log.info(' Nothing running was restarted. To run the release:');\n ctx.log.info(` wildo local up # platform containers on the ${target} image`);\n ctx.log.info(' wildo local dev # restart the application stack and its companion');\n return { success: assetsOk && manifestsOk };\n}\n\nfunction runPnpmInstall(ctx: CommandContext, label: string, cwd: string): boolean {\n ctx.log.info(` ${label}…`);\n const result = spawnPackageManager(PackageManagerCommand.PNPM, ['install'], { cwd, stdio: 'inherit' });\n if (result.status !== 0) {\n ctx.log.error(` ${label} failed (exit ${result.status ?? 'signal'}).`);\n return false;\n }\n return true;\n}\n"]}
|
|
1
|
+
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;QACrH,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,0BAA0B,MAAM,cAAc,IAAI,SAAS,CAAC,CAAC;IAC5E,CAAC;IACD,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC;IACrE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,0DAA0D,MAAM,QAAQ,CAAC,CAAC;IACvF,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,6EAA6E,CAAC,CAAC;IAC5F,OAAO,EAAE,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,CAAC;AAC9C,CAAC","sourcesContent":["/**\n * `wildo update` — move this machine's CLI, and the application you are standing in, to a published\n * framework release (the `latest` dist-tag by default).\n *\n * wildo update # CLI → latest; inside an application, the application too\n * wildo update --to 1.1.7 # a specific release (upgrade, or downgrade to one that has `update`)\n * wildo update --tag next # follow another dist-tag\n * wildo update --check # report only: CLI, application and target versions\n * wildo update --cli-only # move the CLI, leave the application alone\n *\n * Outside an application it moves the CLI and stops. Inside one it moves the CLI, then re-executes the\n * NEW CLI (`--app-only`) for the application half:\n *\n * 1. every `@wildo-ai/*` pin in `pnpm.overrides` → the release (plus framework-knowledge and\n * dev-companion, which nothing pinned before)\n * 2. the companion and workbench drops rewritten at the release (the workbench drop CREATED in an\n * application scaffolded before the workbench was published)\n * 3. `pnpm install` → `align-deps --write` → `pnpm install` (only when alignment changed anything)\n * 4. `assets sync` — templates, docs, skills and rules from the release\n * 5. the config judged by the release's contract; then `config sync --domain manifest`, so the\n * compose / k8s files name the release's platform image\n *\n * It never restarts anything: a running stack keeps the old code until you restart it, and when to\n * do that is yours. The closing lines say what to restart.\n *\n * The flag is `--to`, not `--version`: the CLI bootstrap answers `--version` itself, before any\n * command runs.\n *\n * See `framework-update.service.ts` for why the CLI moves first, how it moves without touching the\n * running installation, and what the command refuses.\n */\nimport { spawnSync } from 'child_process';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { forwardedGlobalFlags } from '~wildo-cli/kernel/command-runner';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS } from '~wildo-cli/services/application/saas-skeleton.service';\nimport { findApplicationRoot } from '~wildo-cli/services/application/application-root.utils';\nimport { ApplicationDependencyAlignmentService } from '~wildo-cli/services/application/application-dependency-alignment.service';\nimport {\n ApplicationAssetsDeliveryService,\n ApplicationAssetsLaneStatus,\n} from '~wildo-cli/services/application/application-assets-delivery.service';\nimport { resolveInstalledFrameworkAssetsRoot } from '~wildo-cli/services/framework/installed-framework-assets.service';\nimport {\n ApplicationConfigCheckOutcome,\n ApplicationFrameworkPinsKind,\n assertReleaseCarriesUpdateCommand,\n checkApplicationConfigAgainstRelease,\n DEFAULT_FRAMEWORK_DIST_TAG,\n findRetiredFrameworkPackageDependents,\n installCliRelease,\n InstalledCliLocationKind,\n locateInstalledCli,\n npmRegistryClient,\n pinApplicationFrameworkVersion,\n readApplicationFrameworkPins,\n RegistryVersionStatus,\n resolveApplicationWorkbenchPorts,\n removeApplicationWorkbenchDrop,\n rewriteApplicationWorkbenchDrop,\n type WorkbenchDropPorts,\n WORKBENCH_PACKAGE_NAME,\n resolveTargetFrameworkVersion,\n rewriteApplicationCompanionDrop,\n} from '~wildo-cli/services/framework/framework-update.service';\nimport { runPnpmInstall } from '~wildo-cli/services/framework/package-install.service';\n\nexport default class UpdateCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'update',\n description: 'Update the Wildo CLI, and the application you are in, to a published framework release',\n category: CommandCategory.Core,\n flags: {\n to: { type: 'string', description: 'The exact release to move to (default: the --tag release)' },\n tag: { type: 'string', description: `The npm dist-tag to follow (default: ${DEFAULT_FRAMEWORK_DIST_TAG})` },\n check: { type: 'boolean', description: 'Report the current and target versions without changing anything' },\n 'cli-only': { type: 'boolean', description: 'Move the CLI only; leave the application untouched' },\n 'app-only': { type: 'boolean', description: 'Update the application only (the CLI must already be at the target release)' },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const cliVersion = readVersion();\n const applicationRoot = findApplicationRoot(process.cwd());\n const cliOnly = ctx.flags['cli-only'] === true;\n const appOnly = ctx.flags['app-only'] === true;\n if (cliOnly && appOnly) {\n ctx.log.error('--cli-only and --app-only are mutually exclusive.');\n return { success: false };\n }\n\n const requestedVersion = typeof ctx.flags.to === 'string' && ctx.flags.to.length > 0 ? ctx.flags.to : undefined;\n const requestedTag = typeof ctx.flags.tag === 'string' && ctx.flags.tag.length > 0 ? ctx.flags.tag : undefined;\n let target: string;\n try {\n target = resolveTargetFrameworkVersion({ requestedVersion, distTag: requestedTag ?? DEFAULT_FRAMEWORK_DIST_TAG });\n } catch (error) {\n ctx.log.error(ErrorUtils.extractErrorMessage(error));\n return { success: false };\n }\n\n if (ctx.flags.check === true) {\n return reportCheck(ctx, { cliVersion, applicationRoot, target, requestedVersion, requestedTag });\n }\n\n // ── CLI half ──\n if (!appOnly && cliVersion !== target) {\n const location = locateInstalledCli(resolveInstalledFrameworkAssetsRoot());\n if (location.kind === InstalledCliLocationKind.REFUSED) {\n ctx.log.error(location.reason);\n return { success: false };\n }\n let entryPoint: string;\n try {\n assertReleaseCarriesUpdateCommand(target);\n ctx.log.info(` Installing @wildo-ai/wildo-cli ${target} (was ${cliVersion})…`);\n const installation = installCliRelease({ prefix: location.prefix, version: target });\n entryPoint = installation.entryPoint;\n for (const directory of installation.retainedDirectories) {\n ctx.log.warn(` Could not remove the earlier CLI at ${directory}; the next update retries it.`);\n }\n } catch (error) {\n ctx.log.error(`CLI update failed; the CLI in use is unchanged. ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n ctx.log.success(` CLI updated to ${target}.`);\n\n if (cliOnly || !applicationRoot) {\n if (!applicationRoot) ctx.log.info(\" Not inside an application. Run 'wildo update' in each application to move it too.\");\n return { success: true };\n }\n // The application half must run from the release it installs: re-execute the new binary.\n const child = spawnSync(\n process.execPath,\n [entryPoint, ...forwardedGlobalFlags(ctx.globalFlags), 'update', '--app-only', '--to', target],\n { cwd: process.cwd(), stdio: 'inherit' },\n );\n return { success: child.status === 0 };\n }\n\n if (!appOnly) ctx.log.success(` CLI already at ${target}.`);\n if (cliOnly) return { success: true };\n if (!applicationRoot) {\n if (appOnly) ctx.log.error('--app-only needs an application: run it inside one (a directory containing wildo.saas.config.ts).');\n return { success: !appOnly };\n }\n if (cliVersion !== target) {\n ctx.log.error(\n `This CLI is ${cliVersion} but the target is ${target}. The application half reads templates from the CLI, `\n + \"so it must run from the target release: run 'wildo update' without --app-only.\",\n );\n return { success: false };\n }\n\n return updateApplication(ctx, applicationRoot, target);\n }\n}\n\nfunction reportCheck(\n ctx: CommandContext,\n input: { cliVersion: string; applicationRoot: string | null; target: string; requestedVersion?: string; requestedTag?: string },\n): CommandResult {\n const pins = input.applicationRoot ? readApplicationFrameworkPins(input.applicationRoot) : null;\n ctx.log.info(` CLI: ${input.cliVersion}`);\n if (pins !== null) {\n const described = pins.kind === ApplicationFrameworkPinsKind.RELEASE\n ? pins.versions.join(', ')\n : pins.kind === ApplicationFrameworkPinsKind.CHECKOUT\n ? 'follows a framework checkout (file: links) — `wildo update` does not move it'\n : 'no @wildo-ai/* pins in pnpm.overrides';\n ctx.log.info(` Application: ${described}`);\n }\n ctx.log.info(` Target: ${input.target}`);\n // Only an application pinned to releases can be behind; a checkout-linked one is not ours to move.\n const applicationBehind = pins?.kind === ApplicationFrameworkPinsKind.RELEASE\n && (pins.versions.length !== 1 || pins.versions[0] !== input.target);\n if (input.cliVersion === input.target && !applicationBehind) {\n ctx.log.success(' Already at the target release.');\n } else {\n const selector = input.requestedVersion ? ` --to ${input.target}` : input.requestedTag ? ` --tag ${input.requestedTag}` : '';\n ctx.log.warn(` An update is available: run 'wildo update${selector}'.`);\n }\n return { success: true };\n}\n\nasync function updateApplication(ctx: CommandContext, applicationRoot: string, target: string): Promise<CommandResult> {\n ctx.log.info(`\\n Updating the application at ${applicationRoot} to ${target}`);\n\n /*\n * Everything that can refuse is decided BEFORE anything is written, so a refusal leaves the\n * application exactly as it was rather than with its pins moved and a drop missing.\n *\n * The workbench is published from 1.1.5 on. A release without it (an explicit `--to` below that)\n * gets no workbench pin and no drop — pinning a version npm has never seen would fail the install.\n */\n let workbenchPorts: WorkbenchDropPorts | null = null;\n try {\n const workbenchStatus = npmRegistryClient.versionStatus(WORKBENCH_PACKAGE_NAME, target);\n if (workbenchStatus === RegistryVersionStatus.UNKNOWN) {\n throw new Error(`Could not ask npm whether ${WORKBENCH_PACKAGE_NAME}@${target} exists (is the registry reachable?).`);\n }\n if (workbenchStatus === RegistryVersionStatus.PUBLISHED) workbenchPorts = await resolveApplicationWorkbenchPorts(applicationRoot);\n else ctx.log.warn(` ${target} publishes no ${WORKBENCH_PACKAGE_NAME}: the workbench is removed from this application for this release.`);\n } catch (error) {\n ctx.log.error(`${ErrorUtils.extractErrorMessage(error)} Nothing was changed.`);\n return { success: false };\n }\n\n try {\n const pins = pinApplicationFrameworkVersion({\n applicationRoot,\n version: target,\n additionalPins: APP_CREATOR_ADDITIONAL_FRAMEWORK_PINS.filter((name) => workbenchPorts !== null || name !== WORKBENCH_PACKAGE_NAME),\n // A release without the workbench cannot keep a pin naming it: the version would not exist.\n removedPins: workbenchPorts === null ? [WORKBENCH_PACKAGE_NAME] : [],\n });\n ctx.log.success(\n pins.changedPackages.length === 0\n ? ` pnpm.overrides already pin @wildo-ai/* at ${target}.`\n : ` pnpm.overrides: ${pins.changedPackages.length} @wildo-ai/* pin(s) ${pins.previousVersions.join(', ')} → ${target}.`,\n );\n for (const dependent of findRetiredFrameworkPackageDependents(applicationRoot)) {\n ctx.log.warn(` ${dependent.manifestRelativePath} still depends on ${dependent.packageName}, which is no longer published: ${dependent.replacement}.`);\n }\n rewriteApplicationCompanionDrop({ applicationRoot, version: target });\n ctx.log.success(` Companion drop pinned to @wildo-ai/dev-companion ${target}.`);\n if (workbenchPorts === null) {\n if (removeApplicationWorkbenchDrop(applicationRoot)) ctx.log.success(' Workbench drop removed (this release does not publish it).');\n } else {\n rewriteApplicationWorkbenchDrop({ applicationRoot, version: target, ports: workbenchPorts });\n ctx.log.success(` Workbench drop pinned to ${WORKBENCH_PACKAGE_NAME} ${target} (http://localhost:${workbenchPorts.workbenchPort}).`);\n }\n } catch (error) {\n ctx.log.error(ErrorUtils.extractErrorMessage(error));\n return { success: false };\n }\n\n if (!runPnpmInstall(ctx.log, 'pnpm install', applicationRoot)) return { success: false };\n\n try {\n const alignment = ApplicationDependencyAlignmentService.align({ applicationRoot, write: true });\n for (const pattern of alignment.unsupportedWorkspacePatterns) {\n ctx.log.warn(` pnpm-workspace.yaml member '${pattern}' is not a shape alignment can expand; the packages it covers were not aligned.`);\n }\n if (alignment.findings.length === 0) {\n ctx.log.success(' Dependency pins and peer declarations already match the release.');\n } else {\n ctx.log.success(` align-deps: applied ${alignment.findings.length} change(s) derived from the release.`);\n if (!runPnpmInstall(ctx.log, 'pnpm install (alignment)', applicationRoot)) return { success: false };\n }\n } catch (error) {\n ctx.log.error(`Dependency alignment failed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n let assetsOk = true;\n try {\n const assets = ApplicationAssetsDeliveryService.deliver({\n applicationRoot,\n frameworkAssetsRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n });\n for (const [label, lane] of [['templates', assets.templates], ['docs', assets.docs], ['skills + rules', assets.skills]] as const) {\n if (lane.status === ApplicationAssetsLaneStatus.DELIVERED && lane.warning === undefined) {\n ctx.log.success(` ${label}: ${lane.detail}`);\n } else {\n assetsOk = false;\n ctx.log.warn(` ${label}: ${lane.warning ?? `skipped — ${lane.detail}`}`);\n }\n }\n const knowledgeVersion = ApplicationAssetsDeliveryService.readInstalledPackageVersion(assets.knowledgePackageRoot);\n const skew = ApplicationAssetsDeliveryService.describeFrameworkVersionSkew(target, knowledgeVersion);\n if (skew) {\n assetsOk = false;\n ctx.log.warn(` ${skew}`);\n }\n } catch (error) {\n ctx.log.error(`Asset delivery failed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n\n // A release may REQUIRE a declaration this application predates. Judge the config by the release\n // now running, and report an owed declaration as what it is rather than letting `config sync` fail\n // on it with a raw schema dump (see `checkApplicationConfigAgainstRelease`).\n const config = await checkApplicationConfigAgainstRelease(applicationRoot);\n if (config.outcome === ApplicationConfigCheckOutcome.CONTRACT_UNMET) {\n ctx.log.warn(` wildo.saas.config.ts does not satisfy ${target}'s config contract (${config.issues.length} issue(s)):`);\n for (const issue of config.issues) ctx.log.warn(` - ${issue}`);\n ctx.log.warn(' The release requires a declaration this application predates. Add it, using the current scaffold as the');\n ctx.log.warn(' reference: .wildo-saas/templates/skeleton/wildo.saas.config.ts.init.hbs — then run `wildo config sync`.');\n } else if (config.outcome === ApplicationConfigCheckOutcome.LOAD_FAILED) {\n ctx.log.warn(` wildo.saas.config.ts could not be loaded: ${config.message}`);\n }\n\n // Re-render the compose / k8s files so they name the release's platform image. `manifest` is the\n // one domain that needs no running platform and rewrites no env file or secret. Skipped when the\n // config does not load: it would fail on the same problem, only less legibly. Re-invoked with this\n // process's own runtime flags, so a loader-based launch (tsx) is reproduced faithfully.\n let manifestsOk = false;\n if (config.outcome === ApplicationConfigCheckOutcome.LOADS) {\n ctx.log.info(' config sync --domain manifest…');\n const sync = spawnSync(\n process.execPath,\n [\n ...process.execArgv,\n process.argv[1],\n ...forwardedGlobalFlags({ ...ctx.globalFlags, nonInteractive: true }),\n 'config', 'sync', '--domain', 'manifest',\n ],\n { cwd: applicationRoot, stdio: 'inherit' },\n );\n manifestsOk = sync.status === 0;\n if (!manifestsOk) ctx.log.error(` config sync --domain manifest failed (exit ${sync.status ?? 'signal'}).`);\n }\n\n ctx.log.info('');\n if (assetsOk && manifestsOk) {\n ctx.log.success(` Application updated to ${target}.`);\n } else {\n const owed = config.outcome === ApplicationConfigCheckOutcome.CONTRACT_UNMET ? 'config changes it owes' : 'warnings';\n ctx.log.warn(` Application moved to ${target}, with the ${owed} above.`);\n }\n ctx.log.info(' Nothing running was restarted. To run the release:');\n ctx.log.info(` wildo local up # platform containers on the ${target} image`);\n ctx.log.info(' wildo local dev # restart the application stack and its companion');\n return { success: assetsOk && manifestsOk };\n}\n"]}
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import { describe, expect, it, vi, beforeEach } from 'vitest';
|
|
2
2
|
import { DEFAULT_GLOBAL_FLAGS } from '../../../kernel/types.js';
|
|
3
3
|
import { WebsiteStructuredDataAuditService, } from '../../../services/website/website-structured-data-audit.service.js';
|
|
4
|
+
import { WebsiteLabelPackAuditService, } from '../../../services/website/website-label-pack-audit.service.js';
|
|
4
5
|
import WebsiteAuditCommand from '../audit.command.js';
|
|
5
6
|
vi.mock('~wildo-cli/services/website/website-structured-data-audit.service', () => ({
|
|
6
7
|
WebsiteStructuredDataAuditService: {
|
|
7
8
|
audit: vi.fn(),
|
|
8
9
|
},
|
|
9
10
|
}));
|
|
11
|
+
/*
|
|
12
|
+
* The command audits label packs BEFORE structured data (a missing key is a build failure whatever
|
|
13
|
+
* --strict says). Unmocked, that half resolved a real application from the fake root and threw, so
|
|
14
|
+
* every case below failed from the day the label audit joined the command.
|
|
15
|
+
*/
|
|
16
|
+
vi.mock('~wildo-cli/services/website/website-label-pack-audit.service', () => ({
|
|
17
|
+
WebsiteLabelPackAuditService: {
|
|
18
|
+
audit: vi.fn(),
|
|
19
|
+
},
|
|
20
|
+
}));
|
|
21
|
+
const completeLabels = {
|
|
22
|
+
locales: [{ locale: 'en', missing: [], unmappedSectionRefs: [], orphaned: [] }],
|
|
23
|
+
passes: true,
|
|
24
|
+
};
|
|
10
25
|
function createLogger() {
|
|
11
26
|
return {
|
|
12
27
|
info: vi.fn(),
|
|
@@ -42,6 +57,7 @@ const cleanReport = {
|
|
|
42
57
|
{ pageRef: 'pricing', routePath: '/pricing', payloadCount: 3, findingCount: 0 },
|
|
43
58
|
],
|
|
44
59
|
findings: [],
|
|
60
|
+
recommendations: [],
|
|
45
61
|
},
|
|
46
62
|
};
|
|
47
63
|
const warningReport = {
|
|
@@ -59,11 +75,31 @@ const warningReport = {
|
|
|
59
75
|
message: 'No catalog entry exists for @type="UnknownThing".',
|
|
60
76
|
},
|
|
61
77
|
],
|
|
78
|
+
recommendations: [],
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
const recommendationOnlyReport = {
|
|
82
|
+
pageCount: 1,
|
|
83
|
+
sectionCount: 1,
|
|
84
|
+
result: {
|
|
85
|
+
pages: [{ pageRef: 'pricing', routePath: '/pricing', payloadCount: 1, findingCount: 0 }],
|
|
86
|
+
findings: [],
|
|
87
|
+
recommendations: [
|
|
88
|
+
{
|
|
89
|
+
pageRef: 'pricing',
|
|
90
|
+
routePath: '/pricing',
|
|
91
|
+
sectionRef: 'pricing-plans',
|
|
92
|
+
entityType: 'SoftwareApplication',
|
|
93
|
+
missingOptionalFields: ['aggregateRating', 'screenshot'],
|
|
94
|
+
message: 'could carry "aggregateRating", "screenshot"',
|
|
95
|
+
},
|
|
96
|
+
],
|
|
62
97
|
},
|
|
63
98
|
};
|
|
64
99
|
describe('website audit command', () => {
|
|
65
100
|
beforeEach(() => {
|
|
66
101
|
vi.clearAllMocks();
|
|
102
|
+
vi.mocked(WebsiteLabelPackAuditService.audit).mockResolvedValue(completeLabels);
|
|
67
103
|
});
|
|
68
104
|
it('passes and reports success when the structured-data audit has zero findings', async () => {
|
|
69
105
|
vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(cleanReport);
|
|
@@ -93,6 +129,28 @@ describe('website audit command', () => {
|
|
|
93
129
|
expect(result.success).toBe(false);
|
|
94
130
|
expect(ctx.log.warn).toHaveBeenCalledWith('WARN (escalated to FAIL by --strict): 1 structured-data finding(s)');
|
|
95
131
|
});
|
|
132
|
+
it('reports optional-field recommendations as information, and never fails for them — not even under --strict', async () => {
|
|
133
|
+
vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(recommendationOnlyReport);
|
|
134
|
+
const command = new WebsiteAuditCommand();
|
|
135
|
+
const ctx = createCommandContext({ strict: true });
|
|
136
|
+
const result = await command.run(ctx);
|
|
137
|
+
expect(result.success).toBe(true);
|
|
138
|
+
expect(ctx.log.info).toHaveBeenCalledWith(expect.stringContaining('could add aggregateRating, screenshot'));
|
|
139
|
+
expect(ctx.log.warn).not.toHaveBeenCalled();
|
|
140
|
+
expect(ctx.log.success).toHaveBeenCalledWith('Website structured-data audit passed with zero findings.');
|
|
141
|
+
});
|
|
142
|
+
it('fails when a label pack misses a key, whatever the structured data says', async () => {
|
|
143
|
+
vi.mocked(WebsiteLabelPackAuditService.audit).mockResolvedValue({
|
|
144
|
+
locales: [{ locale: 'fr', missing: ['website.landing.landing-hero.headline'], unmappedSectionRefs: [], orphaned: [] }],
|
|
145
|
+
passes: false,
|
|
146
|
+
});
|
|
147
|
+
vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(cleanReport);
|
|
148
|
+
const command = new WebsiteAuditCommand();
|
|
149
|
+
const ctx = createCommandContext();
|
|
150
|
+
const result = await command.run(ctx);
|
|
151
|
+
expect(result.success).toBe(false);
|
|
152
|
+
expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining('website.landing.landing-hero.headline'));
|
|
153
|
+
});
|
|
96
154
|
it('fails before auditing when no app root is targeted', async () => {
|
|
97
155
|
const command = new WebsiteAuditCommand();
|
|
98
156
|
const ctx = createCommandContext({ appRoot: null });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.command.test.js","sourceRoot":"","sources":["../../../../../../../src/commands/website/__tests__/audit.command.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;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,CAAC,IAAI,CAAC,CAAC,oBAAoB,CACvC,oEAAoE,CACrE,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;QAClE,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE,CAAC;QAC1C,MAAM,GAAG,GAAG,oBAAoB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QAEpD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEtC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,MAAM,CAAC,iCAAiC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;QACvE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,oBAAoB,CACxC,8GAA8G,CAC/G,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { describe, expect, it, vi, beforeEach } from 'vitest';\n\nimport type { CommandContext, Logger } from '~wildo-cli/kernel/types';\nimport { DEFAULT_GLOBAL_FLAGS } from '~wildo-cli/kernel/types';\nimport {\n WebsiteStructuredDataAuditService,\n type WebsiteStructuredDataAuditReport,\n} from '~wildo-cli/services/website/website-structured-data-audit.service';\n\nimport WebsiteAuditCommand from '../audit.command';\n\nvi.mock('~wildo-cli/services/website/website-structured-data-audit.service', () => ({\n WebsiteStructuredDataAuditService: {\n audit: vi.fn(),\n },\n}));\n\nfunction createLogger(): Logger {\n return {\n info: vi.fn(),\n success: vi.fn(),\n warn: vi.fn(),\n error: vi.fn(),\n };\n}\n\nfunction createCommandContext(options?: {\n strict?: boolean;\n appRoot?: string | null;\n}): CommandContext {\n return {\n args: {},\n flags: { strict: options?.strict ?? false },\n rawArgs: [],\n globalFlags: DEFAULT_GLOBAL_FLAGS,\n answers: {},\n activeEnv: null,\n preferences: null,\n cliContext: {\n resolvedHomes: {\n app: { declarationRoot: options?.appRoot === undefined ? '/app' : options.appRoot },\n framework: { repositoryRoot: '/framework' },\n },\n },\n log: createLogger(),\n } as unknown as CommandContext;\n}\n\nconst cleanReport: WebsiteStructuredDataAuditReport = {\n pageCount: 2,\n sectionCount: 4,\n result: {\n pages: [\n { pageRef: 'landing', routePath: '/', payloadCount: 2, findingCount: 0 },\n { pageRef: 'pricing', routePath: '/pricing', payloadCount: 3, findingCount: 0 },\n ],\n findings: [],\n },\n};\n\nconst warningReport: WebsiteStructuredDataAuditReport = {\n pageCount: 1,\n sectionCount: 1,\n result: {\n pages: [{ pageRef: 'landing', routePath: '/', payloadCount: 1, findingCount: 1 }],\n findings: [\n {\n kind: 'catalog-miss',\n pageRef: 'landing',\n routePath: '/',\n sectionRef: 'landing-hero',\n entityType: 'UnknownThing',\n message: 'No catalog entry exists for @type=\"UnknownThing\".',\n },\n ],\n },\n};\n\ndescribe('website audit command', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n });\n\n it('passes and reports success when the structured-data audit has zero findings', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(cleanReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext();\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(true);\n expect(WebsiteStructuredDataAuditService.audit).toHaveBeenCalledWith({\n saasRoot: '/app',\n });\n expect(ctx.log.success).toHaveBeenCalledWith(\n 'Website structured-data audit passed with zero findings.',\n );\n });\n\n it('keeps warning findings non-fatal by default', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(warningReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext();\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(true);\n expect(ctx.log.warn).toHaveBeenCalledWith('WARN: 1 structured-data finding(s)');\n expect(ctx.log.success).toHaveBeenCalledWith(\n 'Website structured-data audit completed (warnings only — see above).',\n );\n });\n\n it('fails warning findings when strict mode is enabled', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(warningReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext({ strict: true });\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(false);\n expect(ctx.log.warn).toHaveBeenCalledWith(\n 'WARN (escalated to FAIL by --strict): 1 structured-data finding(s)',\n );\n });\n\n it('fails before auditing when no app root is targeted', async () => {\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext({ appRoot: null });\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(false);\n expect(WebsiteStructuredDataAuditService.audit).not.toHaveBeenCalled();\n expect(ctx.log.error).toHaveBeenCalledWith(\n '`wildo website audit` requires a targeted app root. Navigate to a directory containing wildo.saas.config.ts.',\n );\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"audit.command.test.js","sourceRoot":"","sources":["../../../../../../../src/commands/website/__tests__/audit.command.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAG9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,iCAAiC,GAElC,MAAM,mEAAmE,CAAC;AAE3E,OAAO,EACL,4BAA4B,GAE7B,MAAM,8DAA8D,CAAC;AAEtE,OAAO,mBAAmB,MAAM,kBAAkB,CAAC;AAEnD,EAAE,CAAC,IAAI,CAAC,mEAAmE,EAAE,GAAG,EAAE,CAAC,CAAC;IAClF,iCAAiC,EAAE;QACjC,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;KACf;CACF,CAAC,CAAC,CAAC;AAEJ;;;;GAIG;AACH,EAAE,CAAC,IAAI,CAAC,8DAA8D,EAAE,GAAG,EAAE,CAAC,CAAC;IAC7E,4BAA4B,EAAE;QAC5B,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;KACf;CACF,CAAC,CAAC,CA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M,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,MAAM,CAAC,iCAAiC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;QACvE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,oBAAoB,CACxC,8GAA8G,CAC/G,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { describe, expect, it, vi, beforeEach } from 'vitest';\n\nimport type { CommandContext, Logger } from '~wildo-cli/kernel/types';\nimport { DEFAULT_GLOBAL_FLAGS } from '~wildo-cli/kernel/types';\nimport {\n WebsiteStructuredDataAuditService,\n type WebsiteStructuredDataAuditReport,\n} from '~wildo-cli/services/website/website-structured-data-audit.service';\n\nimport {\n WebsiteLabelPackAuditService,\n type WebsiteLabelPackAuditReport,\n} from '~wildo-cli/services/website/website-label-pack-audit.service';\n\nimport WebsiteAuditCommand from '../audit.command';\n\nvi.mock('~wildo-cli/services/website/website-structured-data-audit.service', () => ({\n WebsiteStructuredDataAuditService: {\n audit: vi.fn(),\n },\n}));\n\n/*\n * The command audits label packs BEFORE structured data (a missing key is a build failure whatever\n * --strict says). Unmocked, that half resolved a real application from the fake root and threw, so\n * every case below failed from the day the label audit joined the command.\n */\nvi.mock('~wildo-cli/services/website/website-label-pack-audit.service', () => ({\n WebsiteLabelPackAuditService: {\n audit: vi.fn(),\n },\n}));\n\nconst completeLabels: WebsiteLabelPackAuditReport = {\n locales: [{ locale: 'en', missing: [], unmappedSectionRefs: [], orphaned: [] }],\n passes: true,\n};\n\nfunction createLogger(): Logger {\n return {\n info: vi.fn(),\n success: vi.fn(),\n warn: vi.fn(),\n error: vi.fn(),\n };\n}\n\nfunction createCommandContext(options?: {\n strict?: boolean;\n appRoot?: string | null;\n}): CommandContext {\n return {\n args: {},\n flags: { strict: options?.strict ?? false },\n rawArgs: [],\n globalFlags: DEFAULT_GLOBAL_FLAGS,\n answers: {},\n activeEnv: null,\n preferences: null,\n cliContext: {\n resolvedHomes: {\n app: { declarationRoot: options?.appRoot === undefined ? '/app' : options.appRoot },\n framework: { repositoryRoot: '/framework' },\n },\n },\n log: createLogger(),\n } as unknown as CommandContext;\n}\n\nconst cleanReport: WebsiteStructuredDataAuditReport = {\n pageCount: 2,\n sectionCount: 4,\n result: {\n pages: [\n { pageRef: 'landing', routePath: '/', payloadCount: 2, findingCount: 0 },\n { pageRef: 'pricing', routePath: '/pricing', payloadCount: 3, findingCount: 0 },\n ],\n findings: [],\n recommendations: [],\n },\n};\n\nconst warningReport: WebsiteStructuredDataAuditReport = {\n pageCount: 1,\n sectionCount: 1,\n result: {\n pages: [{ pageRef: 'landing', routePath: '/', payloadCount: 1, findingCount: 1 }],\n findings: [\n {\n kind: 'catalog-miss',\n pageRef: 'landing',\n routePath: '/',\n sectionRef: 'landing-hero',\n entityType: 'UnknownThing',\n message: 'No catalog entry exists for @type=\"UnknownThing\".',\n },\n ],\n recommendations: [],\n },\n};\n\nconst recommendationOnlyReport: WebsiteStructuredDataAuditReport = {\n pageCount: 1,\n sectionCount: 1,\n result: {\n pages: [{ pageRef: 'pricing', routePath: '/pricing', payloadCount: 1, findingCount: 0 }],\n findings: [],\n recommendations: [\n {\n pageRef: 'pricing',\n routePath: '/pricing',\n sectionRef: 'pricing-plans',\n entityType: 'SoftwareApplication',\n missingOptionalFields: ['aggregateRating', 'screenshot'],\n message: 'could carry \"aggregateRating\", \"screenshot\"',\n },\n ],\n },\n};\n\ndescribe('website audit command', () => {\n beforeEach(() => {\n vi.clearAllMocks();\n vi.mocked(WebsiteLabelPackAuditService.audit).mockResolvedValue(completeLabels);\n });\n\n it('passes and reports success when the structured-data audit has zero findings', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(cleanReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext();\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(true);\n expect(WebsiteStructuredDataAuditService.audit).toHaveBeenCalledWith({\n saasRoot: '/app',\n });\n expect(ctx.log.success).toHaveBeenCalledWith(\n 'Website structured-data audit passed with zero findings.',\n );\n });\n\n it('keeps warning findings non-fatal by default', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(warningReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext();\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(true);\n expect(ctx.log.warn).toHaveBeenCalledWith('WARN: 1 structured-data finding(s)');\n expect(ctx.log.success).toHaveBeenCalledWith(\n 'Website structured-data audit completed (warnings only — see above).',\n );\n });\n\n it('fails warning findings when strict mode is enabled', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(warningReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext({ strict: true });\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(false);\n expect(ctx.log.warn).toHaveBeenCalledWith(\n 'WARN (escalated to FAIL by --strict): 1 structured-data finding(s)',\n );\n });\n\n it('reports optional-field recommendations as information, and never fails for them — not even under --strict', async () => {\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(recommendationOnlyReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext({ strict: true });\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(true);\n expect(ctx.log.info).toHaveBeenCalledWith(expect.stringContaining('could add aggregateRating, screenshot'));\n expect(ctx.log.warn).not.toHaveBeenCalled();\n expect(ctx.log.success).toHaveBeenCalledWith('Website structured-data audit passed with zero findings.');\n });\n\n it('fails when a label pack misses a key, whatever the structured data says', async () => {\n vi.mocked(WebsiteLabelPackAuditService.audit).mockResolvedValue({\n locales: [{ locale: 'fr', missing: ['website.landing.landing-hero.headline'], unmappedSectionRefs: [], orphaned: [] }],\n passes: false,\n });\n vi.mocked(WebsiteStructuredDataAuditService.audit).mockResolvedValue(cleanReport);\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext();\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(false);\n expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining('website.landing.landing-hero.headline'));\n });\n\n it('fails before auditing when no app root is targeted', async () => {\n const command = new WebsiteAuditCommand();\n const ctx = createCommandContext({ appRoot: null });\n\n const result = await command.run(ctx);\n\n expect(result.success).toBe(false);\n expect(WebsiteStructuredDataAuditService.audit).not.toHaveBeenCalled();\n expect(ctx.log.error).toHaveBeenCalledWith(\n '`wildo website audit` requires a targeted app root. Navigate to a directory containing wildo.saas.config.ts.',\n );\n });\n});\n"]}
|
|
@@ -3,7 +3,15 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
|
|
|
3
3
|
export default class WebsiteAuditCommand extends BaseCommand {
|
|
4
4
|
readonly meta: CommandMeta;
|
|
5
5
|
run(ctx: CommandContext): Promise<CommandResult>;
|
|
6
|
+
private static reportLabelPacks;
|
|
6
7
|
private static reportFindings;
|
|
8
|
+
/**
|
|
9
|
+
* Optional fields a catalog entry recommends (`recommendOptionals: true`) and a payload leaves out.
|
|
10
|
+
* Information, not a warning: the payload is valid, so these never count as findings and never fail
|
|
11
|
+
* `--strict`. `?? []` at the call site because an application-owned audit adapter built against an
|
|
12
|
+
* older engine returns a result without the field.
|
|
13
|
+
*/
|
|
14
|
+
private static reportRecommendations;
|
|
7
15
|
private static formatPageSummary;
|
|
8
16
|
private static sortFindings;
|
|
9
17
|
private static getFindingSortKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/website/audit.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,aAAa,EAEd,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"audit.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/website/audit.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,aAAa,EAEd,MAAM,yBAAyB,CAAC;AAyBjC,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAMxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA8BtD,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAoB/B,OAAO,CAAC,MAAM,CAAC,cAAc;IAkC7B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAUpC,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAIhC,OAAO,CAAC,MAAM,CAAC,YAAY;IAU3B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAWhC,OAAO,CAAC,MAAM,CAAC,iBAAiB;CAcjC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
2
2
|
import { CommandCategory } from '../../kernel/types.js';
|
|
3
3
|
import { WebsiteStructuredDataAuditService, } from '../../services/website/website-structured-data-audit.service.js';
|
|
4
|
+
import { WebsiteLabelPackAuditService, } from '../../services/website/website-label-pack-audit.service.js';
|
|
4
5
|
const FLAG_STRICT = 'strict';
|
|
5
6
|
const FLAGS = {
|
|
6
7
|
[FLAG_STRICT]: {
|
|
@@ -12,7 +13,7 @@ const FLAGS = {
|
|
|
12
13
|
export default class WebsiteAuditCommand extends BaseCommand {
|
|
13
14
|
meta = {
|
|
14
15
|
name: 'website audit',
|
|
15
|
-
description: 'Audit website structured-data emissions
|
|
16
|
+
description: 'Audit the public website: every locale label pack is complete (a missing key fails, as `astro build` does), and structured-data emissions agree with the merged Schema.org catalog (warn-by-default; --strict fails on findings).',
|
|
16
17
|
category: CommandCategory.Website,
|
|
17
18
|
flags: FLAGS,
|
|
18
19
|
};
|
|
@@ -23,6 +24,10 @@ export default class WebsiteAuditCommand extends BaseCommand {
|
|
|
23
24
|
return { success: false };
|
|
24
25
|
}
|
|
25
26
|
const isStrict = ctx.flags[FLAG_STRICT] === true;
|
|
27
|
+
// Labels first: a missing key is a build failure whatever --strict says, and it is the check every
|
|
28
|
+
// engine label error points the author at.
|
|
29
|
+
const labels = await WebsiteLabelPackAuditService.audit({ saasRoot });
|
|
30
|
+
WebsiteAuditCommand.reportLabelPacks(ctx, labels);
|
|
26
31
|
const report = await WebsiteStructuredDataAuditService.audit({
|
|
27
32
|
saasRoot,
|
|
28
33
|
});
|
|
@@ -32,9 +37,26 @@ export default class WebsiteAuditCommand extends BaseCommand {
|
|
|
32
37
|
isStrict,
|
|
33
38
|
});
|
|
34
39
|
return {
|
|
35
|
-
success: report.result.findings.length === 0 || !isStrict,
|
|
40
|
+
success: labels.passes && (report.result.findings.length === 0 || !isStrict),
|
|
36
41
|
};
|
|
37
42
|
}
|
|
43
|
+
static reportLabelPacks(ctx, labels) {
|
|
44
|
+
for (const locale of labels.locales) {
|
|
45
|
+
if (locale.missing.length > 0) {
|
|
46
|
+
ctx.log.error(`Label pack "${locale.locale}" is missing ${locale.missing.length} key(s) the site reads:\n ${locale.missing.join('\n ')}`);
|
|
47
|
+
}
|
|
48
|
+
if (locale.unmappedSectionRefs.length > 0) {
|
|
49
|
+
ctx.log.error(`Label pack "${locale.locale}": page manifests name section(s) no registered section defines: ${locale.unmappedSectionRefs.join(', ')}. `
|
|
50
|
+
+ 'Register each in WEBSITE_SECTIONS (src/sections/index.ts).');
|
|
51
|
+
}
|
|
52
|
+
if (locale.orphaned.length > 0) {
|
|
53
|
+
ctx.log.warn(`Label pack "${locale.locale}" carries ${locale.orphaned.length} key(s) nothing reads:\n ${locale.orphaned.join('\n ')}`);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (labels.passes) {
|
|
57
|
+
ctx.log.success(`Website label packs complete for ${labels.locales.map((entry) => entry.locale).join(', ')}.`);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
38
60
|
static reportFindings(params) {
|
|
39
61
|
const { ctx, report, isStrict } = params;
|
|
40
62
|
const pageSummaries = report.result.pages.map(WebsiteAuditCommand.formatPageSummary).join('; ');
|
|
@@ -42,6 +64,7 @@ export default class WebsiteAuditCommand extends BaseCommand {
|
|
|
42
64
|
if (pageSummaries.length > 0) {
|
|
43
65
|
ctx.log.info(`Page coverage — ${pageSummaries}`);
|
|
44
66
|
}
|
|
67
|
+
WebsiteAuditCommand.reportRecommendations(ctx, report.result.recommendations ?? []);
|
|
45
68
|
if (report.result.findings.length === 0) {
|
|
46
69
|
ctx.log.success('Website structured-data audit passed with zero findings.');
|
|
47
70
|
return;
|
|
@@ -57,6 +80,20 @@ export default class WebsiteAuditCommand extends BaseCommand {
|
|
|
57
80
|
ctx.log.success('Website structured-data audit completed (warnings only — see above).');
|
|
58
81
|
}
|
|
59
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Optional fields a catalog entry recommends (`recommendOptionals: true`) and a payload leaves out.
|
|
85
|
+
* Information, not a warning: the payload is valid, so these never count as findings and never fail
|
|
86
|
+
* `--strict`. `?? []` at the call site because an application-owned audit adapter built against an
|
|
87
|
+
* older engine returns a result without the field.
|
|
88
|
+
*/
|
|
89
|
+
static reportRecommendations(ctx, recommendations) {
|
|
90
|
+
if (recommendations.length === 0)
|
|
91
|
+
return;
|
|
92
|
+
ctx.log.info(`${recommendations.length} optional-field recommendation(s) — richer results, not defects:`);
|
|
93
|
+
for (const recommendation of recommendations) {
|
|
94
|
+
ctx.log.info(`- ${recommendation.routePath} :: ${recommendation.sectionRef} :: @type="${recommendation.entityType}" :: could add ${recommendation.missingOptionalFields.join(', ')}`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
60
97
|
static formatPageSummary(page) {
|
|
61
98
|
return `${page.pageRef} (${page.payloadCount} payloads, ${page.findingCount} findings)`;
|
|
62
99
|
}
|
|
@@ -1 +1 @@
|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cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type {\n CommandContext,\n CommandMeta,\n CommandResult,\n FlagDefinition,\n} from '~wildo-cli/kernel/types';\nimport type {\n StructuredDataReconciliationFinding,\n StructuredDataReconciliationPageResult,\n} from '@wildo-ai/saas-website';\nimport {\n WebsiteStructuredDataAuditService,\n type WebsiteStructuredDataAuditReport,\n} from '~wildo-cli/services/website/website-structured-data-audit.service';\n\nconst FLAG_STRICT = 'strict';\n\nconst FLAGS: Record<string, FlagDefinition> = {\n [FLAG_STRICT]: {\n type: 'boolean',\n description: 'Treat warning-grade website structured-data findings as failures.',\n default: false,\n },\n};\n\nexport default class WebsiteAuditCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'website audit',\n description:\n 'Audit website structured-data emissions against the merged Schema.org catalog (warn-by-default; --strict fails on findings).',\n category: CommandCategory.Website,\n flags: FLAGS,\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error(\n '`wildo website audit` requires a targeted app root. Navigate to a directory containing wildo.saas.config.ts.',\n );\n return { success: false };\n }\n\n const isStrict = ctx.flags[FLAG_STRICT] === true;\n const report = await WebsiteStructuredDataAuditService.audit({\n saasRoot,\n });\n\n WebsiteAuditCommand.reportFindings({\n ctx,\n report,\n isStrict,\n });\n\n return {\n success: report.result.findings.length === 0 || !isStrict,\n };\n }\n\n private static reportFindings(params: {\n ctx: CommandContext;\n report: WebsiteStructuredDataAuditReport;\n isStrict: boolean;\n }): void {\n const { ctx, report, isStrict } = params;\n const pageSummaries = report.result.pages.map(WebsiteAuditCommand.formatPageSummary).join('; ');\n ctx.log.info(\n `Website audit summary — pages: ${report.pageCount}, unique sections: ${report.sectionCount}, findings: ${report.result.findings.length}`,\n );\n if (pageSummaries.length > 0) {\n ctx.log.info(`Page coverage — ${pageSummaries}`);\n }\n\n if (report.result.findings.length === 0) {\n ctx.log.success('Website structured-data audit passed with zero findings.');\n return;\n }\n\n const lead = isStrict\n ? `WARN (escalated to FAIL by --strict): ${report.result.findings.length} structured-data finding(s)`\n : `WARN: ${report.result.findings.length} structured-data finding(s)`;\n ctx.log.warn(lead);\n for (const finding of WebsiteAuditCommand.sortFindings(report.result.findings)) {\n ctx.log.warn(WebsiteAuditCommand.formatFindingLine(finding));\n }\n\n if (!isStrict) {\n ctx.log.success('Website structured-data audit completed (warnings only — see above).');\n }\n }\n\n private static formatPageSummary(page: StructuredDataReconciliationPageResult): string {\n return `${page.pageRef} (${page.payloadCount} payloads, ${page.findingCount} findings)`;\n }\n\n private static sortFindings(\n findings: readonly StructuredDataReconciliationFinding[],\n ): StructuredDataReconciliationFinding[] {\n return [...findings].sort((left, right) =>\n WebsiteAuditCommand.getFindingSortKey(left).localeCompare(\n WebsiteAuditCommand.getFindingSortKey(right),\n ),\n );\n }\n\n private static getFindingSortKey(finding: StructuredDataReconciliationFinding): string {\n if (finding.kind === 'catalog-override') {\n return `${finding.kind}:${finding.entityType}`;\n }\n\n const pageRef = 'pageRef' in finding ? finding.pageRef : '';\n const sectionRef = 'sectionRef' in finding ? finding.sectionRef : '';\n const entityType = 'entityType' in finding && typeof finding.entityType === 'string' ? finding.entityType : '';\n return `${finding.kind}:${pageRef}:${sectionRef}:${entityType}:${finding.message}`;\n }\n\n private static formatFindingLine(finding: StructuredDataReconciliationFinding): string {\n switch (finding.kind) {\n case 'catalog-override':\n return `- [catalog-override] @type=\"${finding.entityType}\" — ${finding.message}`;\n case 'catalog-miss':\n return `- [catalog-miss] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\"${finding.entityId ? ` :: @id=\"${finding.entityId}\"` : ''} — ${finding.message}`;\n case 'spec-violation':\n return `- [spec-violation/${finding.code}] ${finding.routePath} :: ${finding.sectionRef}${finding.entityType ? ` :: @type=\"${finding.entityType}\"` : ''}${finding.field ? ` :: field=\"${finding.field}\"` : ''} — ${finding.message}`;\n case 'deprecated-field':\n return `- [deprecated-field] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\" :: field=\"${finding.field}\"${finding.replacedBy ? ` :: use=\"${finding.replacedBy}\"` : ''} — ${finding.message}`;\n case 'cross-entity-reference-drift':\n return `- [cross-entity-reference-drift] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\" :: missing=\"${finding.missingReferenceId}\" — ${finding.message}`;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"audit.command.js","sourceRoot":"","sources":["../../../../../../src/commands/website/audit.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAY1D,OAAO,EACL,iCAAiC,GAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EACL,4BAA4B,GAE7B,MAAM,8DAA8D,CAAC;AAEtE,MAAM,WAAW,GAAG,QAAQ,CAAC;AAE7B,MAAM,KAAK,GAAmC;IAC5C,CAAC,WAAW,CAAC,EAAE;QACb,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,mEAAmE;QAChF,OAAO,EAAE,KAAK;KACf;CACF,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IACjD,IAAI,GAAgB;QAC3B,IAAI,EAAE,eAAe;QACrB,WAAW,EACT,mOAAmO;QACrO,QAAQ,EAAE,eAAe,CAAC,OAAO;QACjC,KAAK,EAAE,KAAK;KACb,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,eAAe,CAAC;QAClE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,GAAG,CAAC,GAAG,CAAC,KAAK,CACX,8GAA8G,CAC/G,CAAC;YACF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC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AAoB,OAAO,CAAC,SAAS,OAAO,OAAO,CAAC,UAAU,cAAc,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;YAC1L,KAAK,gBAAgB;gBACnB,OAAO,qBAAqB,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,SAAS,OAAO,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;YACvO,KAAK,kBAAkB;gBACrB,OAAO,wBAAwB,OAAO,CAAC,SAAS,OAAO,OAAO,CAAC,UAAU,cAAc,OAAO,CAAC,UAAU,eAAe,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;YAC9N,KAAK,8BAA8B;gBACjC,OAAO,oCAAoC,OAAO,CAAC,SAAS,OAAO,OAAO,CAAC,UAAU,cAAc,OAAO,CAAC,UAAU,iBAAiB,OAAO,CAAC,kBAAkB,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;QAC7L,CAAC;IACH,CAAC;CACF","sourcesContent":["import { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type {\n CommandContext,\n CommandMeta,\n CommandResult,\n FlagDefinition,\n} from '~wildo-cli/kernel/types';\nimport type {\n StructuredDataOptionalFieldRecommendation,\n StructuredDataReconciliationFinding,\n StructuredDataReconciliationPageResult,\n} from '@wildo-ai/saas-website';\nimport {\n WebsiteStructuredDataAuditService,\n type WebsiteStructuredDataAuditReport,\n} from '~wildo-cli/services/website/website-structured-data-audit.service';\nimport {\n WebsiteLabelPackAuditService,\n type WebsiteLabelPackAuditReport,\n} from '~wildo-cli/services/website/website-label-pack-audit.service';\n\nconst FLAG_STRICT = 'strict';\n\nconst FLAGS: Record<string, FlagDefinition> = {\n [FLAG_STRICT]: {\n type: 'boolean',\n description: 'Treat warning-grade website structured-data findings as failures.',\n default: false,\n },\n};\n\nexport default class WebsiteAuditCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'website audit',\n description:\n 'Audit the public website: every locale label pack is complete (a missing key fails, as `astro build` does), and structured-data emissions agree with the merged Schema.org catalog (warn-by-default; --strict fails on findings).',\n category: CommandCategory.Website,\n flags: FLAGS,\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error(\n '`wildo website audit` requires a targeted app root. Navigate to a directory containing wildo.saas.config.ts.',\n );\n return { success: false };\n }\n\n const isStrict = ctx.flags[FLAG_STRICT] === true;\n // Labels first: a missing key is a build failure whatever --strict says, and it is the check every\n // engine label error points the author at.\n const labels = await WebsiteLabelPackAuditService.audit({ saasRoot });\n WebsiteAuditCommand.reportLabelPacks(ctx, labels);\n\n const report = await WebsiteStructuredDataAuditService.audit({\n saasRoot,\n });\n\n WebsiteAuditCommand.reportFindings({\n ctx,\n report,\n isStrict,\n });\n\n return {\n success: labels.passes && (report.result.findings.length === 0 || !isStrict),\n };\n }\n\n private static reportLabelPacks(ctx: CommandContext, labels: WebsiteLabelPackAuditReport): void {\n for (const locale of labels.locales) {\n if (locale.missing.length > 0) {\n ctx.log.error(`Label pack \"${locale.locale}\" is missing ${locale.missing.length} key(s) the site reads:\\n ${locale.missing.join('\\n ')}`);\n }\n if (locale.unmappedSectionRefs.length > 0) {\n ctx.log.error(\n `Label pack \"${locale.locale}\": page manifests name section(s) no registered section defines: ${locale.unmappedSectionRefs.join(', ')}. `\n + 'Register each in WEBSITE_SECTIONS (src/sections/index.ts).',\n );\n }\n if (locale.orphaned.length > 0) {\n ctx.log.warn(`Label pack \"${locale.locale}\" carries ${locale.orphaned.length} key(s) nothing reads:\\n ${locale.orphaned.join('\\n ')}`);\n }\n }\n if (labels.passes) {\n ctx.log.success(`Website label packs complete for ${labels.locales.map((entry) => entry.locale).join(', ')}.`);\n }\n }\n\n private static reportFindings(params: {\n ctx: CommandContext;\n report: WebsiteStructuredDataAuditReport;\n isStrict: boolean;\n }): void {\n const { ctx, report, isStrict } = params;\n const pageSummaries = report.result.pages.map(WebsiteAuditCommand.formatPageSummary).join('; ');\n ctx.log.info(\n `Website audit summary — pages: ${report.pageCount}, unique sections: ${report.sectionCount}, findings: ${report.result.findings.length}`,\n );\n if (pageSummaries.length > 0) {\n ctx.log.info(`Page coverage — ${pageSummaries}`);\n }\n\n WebsiteAuditCommand.reportRecommendations(ctx, report.result.recommendations ?? []);\n\n if (report.result.findings.length === 0) {\n ctx.log.success('Website structured-data audit passed with zero findings.');\n return;\n }\n\n const lead = isStrict\n ? `WARN (escalated to FAIL by --strict): ${report.result.findings.length} structured-data finding(s)`\n : `WARN: ${report.result.findings.length} structured-data finding(s)`;\n ctx.log.warn(lead);\n for (const finding of WebsiteAuditCommand.sortFindings(report.result.findings)) {\n ctx.log.warn(WebsiteAuditCommand.formatFindingLine(finding));\n }\n\n if (!isStrict) {\n ctx.log.success('Website structured-data audit completed (warnings only — see above).');\n }\n }\n\n /**\n * Optional fields a catalog entry recommends (`recommendOptionals: true`) and a payload leaves out.\n * Information, not a warning: the payload is valid, so these never count as findings and never fail\n * `--strict`. `?? []` at the call site because an application-owned audit adapter built against an\n * older engine returns a result without the field.\n */\n private static reportRecommendations(ctx: CommandContext, recommendations: readonly StructuredDataOptionalFieldRecommendation[]): void {\n if (recommendations.length === 0) return;\n ctx.log.info(`${recommendations.length} optional-field recommendation(s) — richer results, not defects:`);\n for (const recommendation of recommendations) {\n ctx.log.info(\n `- ${recommendation.routePath} :: ${recommendation.sectionRef} :: @type=\"${recommendation.entityType}\" :: could add ${recommendation.missingOptionalFields.join(', ')}`,\n );\n }\n }\n\n private static formatPageSummary(page: StructuredDataReconciliationPageResult): string {\n return `${page.pageRef} (${page.payloadCount} payloads, ${page.findingCount} findings)`;\n }\n\n private static sortFindings(\n findings: readonly StructuredDataReconciliationFinding[],\n ): StructuredDataReconciliationFinding[] {\n return [...findings].sort((left, right) =>\n WebsiteAuditCommand.getFindingSortKey(left).localeCompare(\n WebsiteAuditCommand.getFindingSortKey(right),\n ),\n );\n }\n\n private static getFindingSortKey(finding: StructuredDataReconciliationFinding): string {\n if (finding.kind === 'catalog-override') {\n return `${finding.kind}:${finding.entityType}`;\n }\n\n const pageRef = 'pageRef' in finding ? finding.pageRef : '';\n const sectionRef = 'sectionRef' in finding ? finding.sectionRef : '';\n const entityType = 'entityType' in finding && typeof finding.entityType === 'string' ? finding.entityType : '';\n return `${finding.kind}:${pageRef}:${sectionRef}:${entityType}:${finding.message}`;\n }\n\n private static formatFindingLine(finding: StructuredDataReconciliationFinding): string {\n switch (finding.kind) {\n case 'catalog-override':\n return `- [catalog-override] @type=\"${finding.entityType}\" — ${finding.message}`;\n case 'catalog-miss':\n return `- [catalog-miss] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\"${finding.entityId ? ` :: @id=\"${finding.entityId}\"` : ''} — ${finding.message}`;\n case 'spec-violation':\n return `- [spec-violation/${finding.code}] ${finding.routePath} :: ${finding.sectionRef}${finding.entityType ? ` :: @type=\"${finding.entityType}\"` : ''}${finding.field ? ` :: field=\"${finding.field}\"` : ''} — ${finding.message}`;\n case 'deprecated-field':\n return `- [deprecated-field] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\" :: field=\"${finding.field}\"${finding.replacedBy ? ` :: use=\"${finding.replacedBy}\"` : ''} — ${finding.message}`;\n case 'cross-entity-reference-drift':\n return `- [cross-entity-reference-drift] ${finding.routePath} :: ${finding.sectionRef} :: @type=\"${finding.entityType}\" :: missing=\"${finding.missingReferenceId}\" — ${finding.message}`;\n }\n }\n}\n"]}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { BaseCommand } from '../../kernel/base-command';
|
|
2
2
|
import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
|
|
3
|
+
/**
|
|
4
|
+
* `wildo workbench open [<ref>]` — open the workbench, on one row when a reference is given (#1652).
|
|
5
|
+
*
|
|
6
|
+
* The console is where creation is driven; the workbench is where it is SEEN. A diff, a verdict, a
|
|
7
|
+
* dossier row read better on a page, so a session hands the person the exact row it is talking about
|
|
8
|
+
* rather than "go look in the workbench". The reference resolves against the feed and becomes the
|
|
9
|
+
* workbench's `?open=` deep link, which opens the row the way clicking its Home line does.
|
|
10
|
+
*/
|
|
3
11
|
export default class WorkbenchOpenCommand extends BaseCommand {
|
|
4
12
|
readonly meta: CommandMeta;
|
|
5
13
|
run(ctx: CommandContext): Promise<CommandResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/workbench/open.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"open.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/workbench/open.command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAU1F;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,WAAW;IAC3D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAMxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAuBvD"}
|
|
@@ -1,26 +1,52 @@
|
|
|
1
1
|
import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
|
|
2
|
+
import { WORKBENCH_OPEN_DETAIL_QUERY_PARAM, formatWorkbenchOpenDetailParam } from '@wildo-ai/platform-core-shared';
|
|
2
3
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
3
4
|
import { CommandCategory } from '../../kernel/types.js';
|
|
5
|
+
import { companionFailureExitCode } from '../../services/companion/companion-client.service.js';
|
|
6
|
+
import { resolveCompanionClientOptionsFromContext } from '../../services/companion/companion-client-options.utils.js';
|
|
7
|
+
import { CreationConsoleClient, feedLineNamesReference } from '../../services/companion/creation-console.service.js';
|
|
8
|
+
import { CONSOLE_READ_TIMEOUT_MS } from '../../services/companion/console-verb.utils.js';
|
|
4
9
|
import { WorkbenchBrowserLauncher } from '../../services/companion/workbench-browser-launcher.service.js';
|
|
5
10
|
import { WorkbenchCliService } from '../../services/companion/workbench-cli.service.js';
|
|
6
11
|
import { describeCaughtError } from '@wildo-ai/saas-backend-lib';
|
|
12
|
+
/**
|
|
13
|
+
* `wildo workbench open [<ref>]` — open the workbench, on one row when a reference is given (#1652).
|
|
14
|
+
*
|
|
15
|
+
* The console is where creation is driven; the workbench is where it is SEEN. A diff, a verdict, a
|
|
16
|
+
* dossier row read better on a page, so a session hands the person the exact row it is talking about
|
|
17
|
+
* rather than "go look in the workbench". The reference resolves against the feed and becomes the
|
|
18
|
+
* workbench's `?open=` deep link, which opens the row the way clicking its Home line does.
|
|
19
|
+
*/
|
|
7
20
|
export default class WorkbenchOpenCommand extends BaseCommand {
|
|
8
21
|
meta = {
|
|
9
22
|
name: 'workbench open',
|
|
10
|
-
description: 'Open the
|
|
23
|
+
description: 'Open the application-creation workbench in a browser — on one run, question or task when you name it.',
|
|
11
24
|
category: CommandCategory.Local,
|
|
12
25
|
minimumScope: WorkspaceScope.SAAS_APP,
|
|
26
|
+
args: [{ name: 'ref', description: 'A question id, run id, build task or playbook, as the console prints it', required: false }],
|
|
13
27
|
};
|
|
14
28
|
async run(ctx) {
|
|
29
|
+
const reference = typeof ctx.args.ref === 'string' && ctx.args.ref.length > 0 ? ctx.args.ref : null;
|
|
15
30
|
try {
|
|
16
|
-
const
|
|
31
|
+
const home = await WorkbenchCliService.resolveUrl(ctx);
|
|
32
|
+
let url = home;
|
|
33
|
+
if (reference !== null) {
|
|
34
|
+
const feed = await CreationConsoleClient.readFeed(await resolveCompanionClientOptionsFromContext(ctx, CONSOLE_READ_TIMEOUT_MS));
|
|
35
|
+
const line = feed.lines.find((candidate) => feedLineNamesReference(candidate, reference)) ?? null;
|
|
36
|
+
if (line === null) {
|
|
37
|
+
ctx.log.error(`Nothing recent is named "${reference}". List what is: wildo creation feed · wildo creation questions · wildo build tasks`);
|
|
38
|
+
return { success: false };
|
|
39
|
+
}
|
|
40
|
+
const query = new URLSearchParams({ [WORKBENCH_OPEN_DETAIL_QUERY_PARAM]: formatWorkbenchOpenDetailParam(line.targetResourceType, line.targetResourceId) });
|
|
41
|
+
url = `${home}?${query.toString()}`;
|
|
42
|
+
}
|
|
17
43
|
await WorkbenchBrowserLauncher.open(url);
|
|
18
44
|
ctx.log.success(`Application-creation workbench opened at ${url}.`);
|
|
19
45
|
return { success: true };
|
|
20
46
|
}
|
|
21
47
|
catch (error) {
|
|
22
48
|
ctx.log.error(`Could not open the application-creation workbench: ${describeCaughtError(error)}`);
|
|
23
|
-
return { success: false };
|
|
49
|
+
return { success: false, exitCode: companionFailureExitCode(error) };
|
|
24
50
|
}
|
|
25
51
|
}
|
|
26
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.command.js","sourceRoot":"","sources":["../../../../../../src/commands/workbench/open.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"open.command.js","sourceRoot":"","sources":["../../../../../../src/commands/workbench/open.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,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C;IACH,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { WORKBENCH_OPEN_DETAIL_QUERY_PARAM, formatWorkbenchOpenDetailParam } from '@wildo-ai/platform-core-shared';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { resolveCompanionClientOptionsFromContext } from '~wildo-cli/services/companion/companion-client-options.utils';\nimport { CreationConsoleClient, feedLineNamesReference } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_READ_TIMEOUT_MS } from '~wildo-cli/services/companion/console-verb.utils';\nimport { WorkbenchBrowserLauncher } from '~wildo-cli/services/companion/workbench-browser-launcher.service';\nimport { WorkbenchCliService } from '~wildo-cli/services/companion/workbench-cli.service';\n\nimport { describeCaughtError } from '@wildo-ai/saas-backend-lib';\n\n/**\n * `wildo workbench open [<ref>]` — open the workbench, on one row when a reference is given (#1652).\n *\n * The console is where creation is driven; the workbench is where it is SEEN. A diff, a verdict, a\n * dossier row read better on a page, so a session hands the person the exact row it is talking about\n * rather than \"go look in the workbench\". The reference resolves against the feed and becomes the\n * workbench's `?open=` deep link, which opens the row the way clicking its Home line does.\n */\nexport default class WorkbenchOpenCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'workbench open',\n description: 'Open the application-creation workbench in a browser — on one run, question or task when you name it.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'ref', description: 'A question id, run id, build task or playbook, as the console prints it', required: false }],\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const reference = typeof ctx.args.ref === 'string' && ctx.args.ref.length > 0 ? ctx.args.ref : null;\n try {\n const home = await WorkbenchCliService.resolveUrl(ctx);\n let url = home;\n if (reference !== null) {\n const feed = await CreationConsoleClient.readFeed(await resolveCompanionClientOptionsFromContext(ctx, CONSOLE_READ_TIMEOUT_MS));\n const line = feed.lines.find((candidate) => feedLineNamesReference(candidate, reference)) ?? null;\n if (line === null) {\n ctx.log.error(`Nothing recent is named \"${reference}\". List what is: wildo creation feed · wildo creation questions · wildo build tasks`);\n return { success: false };\n }\n const query = new URLSearchParams({ [WORKBENCH_OPEN_DETAIL_QUERY_PARAM]: formatWorkbenchOpenDetailParam(line.targetResourceType, line.targetResourceId) });\n url = `${home}?${query.toString()}`;\n }\n await WorkbenchBrowserLauncher.open(url);\n ctx.log.success(`Application-creation workbench opened at ${url}.`);\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not open the application-creation workbench: ${describeCaughtError(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
-
import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/types';
|
|
3
|
-
/**
|
|
4
|
-
* `wildo workbench rearm-task <taskRef>` — put a build task back in the queue (#1535).
|
|
5
|
-
*
|
|
6
|
-
* The build loop never re-runs a task whose coding run completed without landing: re-offering it was
|
|
7
|
-
* a measured money leak. Once the reason it did not land is fixed, this is how it is released. The
|
|
8
|
-
* re-arm is recorded on the task's completed runs with the reason and note, so the build record says
|
|
9
|
-
* why the task ran again. The reason vocabulary is the companion's; it names the valid values when it
|
|
10
|
-
* refuses one, so this command keeps no copy to drift from it.
|
|
11
|
-
*/
|
|
12
|
-
export default class WorkbenchRearmTaskCommand extends BaseCommand {
|
|
13
|
-
readonly meta: CommandMeta;
|
|
14
|
-
run(ctx: CommandContext): Promise<CommandResult>;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=rearm-task.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rearm-task.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/workbench/rearm-task.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAc1F;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,WAAW;IAChE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAgBxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAyBvD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rearm-task.command.js","sourceRoot":"","sources":["../../../../../../src/commands/workbench/rearm-task.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAQzE,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEhC;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,WAAW;IACvD,IAAI,GAAgB;QAC3B,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,8FAA8F;QAC3G,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,qEAAqE,EAAE,QAAQ,EAAE,IAAI,E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CAAC,MAAM,sCAAsC,CAAC,CAAC;YACpJ,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;YAC1E,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC,CAAC;YACtE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,oBAAoB,OAAO,KAAK,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACvF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CompanionClient } from '~wildo-cli/services/companion/companion-client.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { resolveContextOptions } from '../context/context-command.utils';\n\n/** What `POST /api/companion/build/tasks/:taskRef/rearm` answers — only the fields printed here. */\ninterface RearmBuildTaskResponse {\n readonly rearmedRunTaskIds: readonly string[];\n readonly rearm: { readonly reason: string; readonly note: string; readonly rearmedAt: string };\n}\n\nconst REARM_TIMEOUT_MS = 30_000;\n\n/**\n * `wildo workbench rearm-task <taskRef>` — put a build task back in the queue (#1535).\n *\n * The build loop never re-runs a task whose coding run completed without landing: re-offering it was\n * a measured money leak. Once the reason it did not land is fixed, this is how it is released. The\n * re-arm is recorded on the task's completed runs with the reason and note, so the build record says\n * why the task ran again. The reason vocabulary is the companion's; it names the valid values when it\n * refuses one, so this command keeps no copy to drift from it.\n */\nexport default class WorkbenchRearmTaskCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'workbench rearm-task',\n description: 'Put a build task that completed without landing back in the queue, once the reason is fixed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'taskRef', description: 'The build-plan task to re-arm (as `wildo context journey` names it)', required: true }],\n flags: {\n reason: {\n type: 'string',\n description: 'Why it runs again: probe-corrected, blocking-defect-fixed, or operator-judgement',\n },\n note: {\n type: 'string',\n description: 'What was fixed, in a sentence',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const taskRef = ctx.args.taskRef;\n const reason = ctx.flags.reason;\n const note = ctx.flags.note;\n if (typeof taskRef !== 'string' || taskRef.length === 0 || typeof reason !== 'string' || typeof note !== 'string' || note.trim().length === 0) {\n ctx.log.error('Usage: wildo workbench rearm-task <taskRef> --reason <probe-corrected|blocking-defect-fixed|operator-judgement> --note \"<what was fixed>\"');\n return { success: false };\n }\n try {\n const options = await resolveContextOptions(ctx, REARM_TIMEOUT_MS);\n const result = await CompanionClient.post<RearmBuildTaskResponse>(\n `/api/companion/build/tasks/${encodeURIComponent(taskRef)}/rearm`,\n { reason, note },\n options,\n );\n ctx.log.success(`Re-armed ${chalk.bold(taskRef)} (${result.rearm.reason}): ${result.rearmedRunTaskIds.length} completed run(s) no longer hold it.`);\n ctx.log.info(chalk.dim(` runs: ${result.rearmedRunTaskIds.join(', ')}`));\n ctx.log.info(chalk.dim(' The next build dispatch offers it again.'));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not re-arm ${taskRef}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../../../../src/kernel/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH,wBAAgB,WAAW,IAAI,MAAM,CAsBpC;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../../../../src/kernel/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH,wBAAgB,WAAW,IAAI,MAAM,CAsBpC;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAwF/C"}
|