@wildo-ai/wildo-cli 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js +3 -2
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +7 -5
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +100 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +50 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +104 -14
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-template.extractor.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAqExG,MAAM,UAAU,oBAAoB,CAAC,KAAkD;IACrF,OAAQ,KAA4B,CAAC,OAAO,KAAK,IAAI,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AO,GAAG,MAAM,CAAC;gBACjB,OAAO;YACT,CAAC;YACD,qBAAqB,GAAG,cAAc,CAAC;YACvC,OAAO;QACT,CAAC;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC,KAAK,CAAE,EAAE,OAAO,CAAC,CAAC;QACjE,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;QAC1C,QAAQ,IAAI,IAAI,IAAI,GAAG,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACrE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,qBAAqB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC;AAC7G,CAAC","sourcesContent":["import ts from 'typescript';\n\nimport { UNEVALUABLE, evaluateStatically, staticEvaluationContextFor } from './source-static-evaluator';\n\n/**\n * Turning a source's URL expression into a URL TEMPLATE plus its parameter binding.\n *\n * This is the single most load-bearing capability of the transposer, and it is deliberately narrow:\n * it understands template literals and string literals, and nothing else. Measured over the two\n * catalogues on 2026-09-06, that covers class A, class B and class C1 of Activepieces (90.8% of\n * 5,719 actions) and every Sim tool that declares `url` as an arrow returning a template — one\n * mechanism, both catalogues.\n *\n * It does NOT evaluate expressions, and that is the point rather than a limitation. A URL built by a\n * conditional, a concatenation of variables, or a helper call is REFUSED and reported by name. A\n * transposer that guessed there would emit an operation that points somewhere plausible and wrong,\n * and a wrong endpoint is discovered by a customer, not by a test.\n */\n\n/** A `${…}` hole recovered from a template literal. */\nexport interface ExtractedPathParameter {\n /** The `{token}` name written into the template. */\n readonly name: string;\n /** The source expression text, so a reader can bind it to an input field. */\n readonly expressionText: string;\n}\n\nexport interface ExtractedUrlTemplate {\n /**\n * The path with every hole rewritten as `{name}`. A leading absolute origin is stripped into\n * {@link absoluteOrigin} so the operation stays relative to the provider's base URL, which is\n * where the engine contract expects it.\n */\n readonly pathTemplate: string;\n readonly pathParameters: readonly ExtractedPathParameter[];\n /** Present when the literal carried its own `https://host` prefix. */\n readonly absoluteOrigin?: string;\n /**\n * Present when the template began with a `${…}` hole rather than a literal — the base-URL const\n * case (`` `${API_BASE}/users/${id}` ``). The reader resolves it one hop; the extractor only\n * reports that it is there, because resolving an identifier is a module-graph question and this\n * function has no module graph.\n */\n readonly leadingExpressionText?: string;\n /**\n * Present when the leading `${…}` is a fact the vendor REPORTED for the connected account\n * (`auth.data.api_domain`, a helper parameter bound to `auth.data['instance_url']`) — the field's\n * name (#1052). The operation is then relative to the CONNECTED ACCOUNT's own origin, which the\n * provider carries as `baseUrlConnectionFact`; for the application's own account the deployment\n * still names the base. Set by the reader, which is what can see the chain.\n */\n readonly leadingReportedAccountFact?: string;\n /**\n * The query the template carried INLINE (`projects?workspace={workspace}` → `workspace={workspace}`), with the\n * holes it names. The path template ends at the `?` — a query is recovered from the request's own query object —\n * but a listing that writes its dependency straight into the URL has no such object, and without this its\n * dependency vanished with the query (#1045). Read by the input-options derivation; every other consumer keeps\n * reading the split path.\n */\n readonly inlineQueryTemplate?: string;\n readonly inlineQueryParameters?: readonly ExtractedPathParameter[];\n}\n\nexport interface UrlTemplateRefusal {\n readonly refused: true;\n /** Why, in words that name the shape rather than the file. */\n readonly reason: string;\n}\n\nexport type UrlTemplateExtraction = ExtractedUrlTemplate | UrlTemplateRefusal;\n\nexport function isUrlTemplateRefusal(value: UrlTemplateExtraction | RenderedUrlTemplate): value is UrlTemplateRefusal {\n return (value as UrlTemplateRefusal).refused === true;\n}\n\nconst ABSOLUTE_ORIGIN = /^(https?:\\/\\/[^/]+)(\\/.*)?$/;\n\n/**\n * A conditional hole that appends an optional query string, collapsed to what the PATH is without it.\n *\n * Recognised narrowly, on purpose: exactly one branch must be an empty string literal, and the other\n * must contain a `?`. Anything else is a genuine either/or between two different paths, which cannot\n * be collapsed and must still refuse — a conditional that picks between two endpoints has no single\n * answer, and guessing one puts an operation somewhere the caller did not ask for.\n */\nfunction collapseQuerySuffix(expression: ts.Expression): string | undefined {\n if (!ts.isConditionalExpression(expression)) return undefined;\n const branches = [expression.whenTrue, expression.whenFalse];\n const empty = branches.find((branch) => isEmptyStringLiteral(branch));\n const other = branches.find((branch) => !isEmptyStringLiteral(branch));\n if (empty === undefined || other === undefined) return undefined;\n return other.getText().includes('?') ? '' : undefined;\n}\n\nfunction isEmptyStringLiteral(node: ts.Expression): boolean {\n return (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) && node.text === '';\n}\n\n/**\n * Names a `${…}` hole. Prefers the identifier or the last property in a chain\n * (`params.collectionId` → `collectionId`), because that is the name the vendor's own path uses and\n * the name a caller will pass. Falls back to a positional name so a template with an expression too\n * complex to name still produces a usable, if uglier, parameter rather than a refusal.\n */\n/** What a reader knows about the surrounding source that the extractor cannot see. */\nexport interface UrlTemplateExtractionOptions {\n /**\n * The input names the source DECLARES for this operation (Activepieces `props`, Sim `params`).\n *\n * Used only to name a hole written as a fallback chain — `params.domain || params.shopDomain || params.idToken`\n * — by the operand the source actually asks a person for. Without it the chain had no nameable form at all and\n * became the positional `{param1}` (Shopify's base URL, #1015), a name nothing can answer.\n */\n readonly declaredInputNames?: ReadonlySet<string>;\n}\n\n/**\n * Methods that DRESS a value without changing which value it is — `params.threadId.trim()`,\n * `params.ids.join(',')`, `x.toString()`. A hole or a query value written through one is named by its RECEIVER.\n *\n * One vocabulary for both places that name a source value (the path-hole namer below and the Sim reader's\n * query-value namer, `nameOfFedField`), because they had drifted: the Sim reader unwrapped the dressing and the\n * hole namer did not, so `${params.threadId.trim()}` became the positional `{param1}` and its operation was\n * refused as UNFED_PATH_PARAMETER while the source named the value outright. Measured 2026-09-24 (#1572):\n * 550 Sim tool files build a URL that way, and pitchbook's 73 refused operations were all of that shape.\n */\nexport const VALUE_DRESSING_METHODS: ReadonlySet<string> = new Set(['trim', 'toString', 'toLowerCase', 'toUpperCase', 'valueOf', 'join']);\n\n/** The dressing methods that CHANGE the value's case — not unwrapped for a path hole (see `nameHole`). */\nconst CASE_CHANGING_METHODS: ReadonlySet<string> = new Set(['toLowerCase', 'toUpperCase']);\n\nfunction nameHole(expression: ts.Expression, index: number, options: UrlTemplateExtractionOptions = {}): string {\n if (ts.isIdentifier(expression)) return expression.text;\n if (ts.isPropertyAccessExpression(expression)) return expression.name.text;\n // `params.threadId.trim()` — the dressing method is not the value's name; its receiver is (see the vocabulary).\n // A CASE change is not dressing in a PATH: the vendor may answer 404 to `Contacts` where the source sent\n // `contacts`, and naming the receiver would send the caller's value without the source's change. So those stay\n // positional here; the Sim query namer, where a case-insensitive vendor is the norm, keeps them.\n if (ts.isCallExpression(expression) && ts.isPropertyAccessExpression(expression.expression)\n && VALUE_DRESSING_METHODS.has(expression.expression.name.text)\n && !CASE_CHANGING_METHODS.has(expression.expression.name.text)\n && joinKeepsTheWireValue(expression)) {\n return nameHole(expression.expression.expression, index, options);\n }\n if (ts.isElementAccessExpression(expression) && ts.isStringLiteral(expression.argumentExpression)) {\n return expression.argumentExpression.text;\n }\n // A call wrapping the value — `encodeURIComponent(x)`, `assertId(params.companyId, 'company')`,\n // `requireOneOf(params.entityType, TYPES, 'entityType')`. The FIRST nameable argument is the value;\n // the rest are the helper's own configuration.\n //\n // This used to require exactly ONE argument, and the difference was 1,151 path holes named\n // `param1` — a positional name no input field can ever match, which makes the operation\n // unexecutable by anyone following its own types. A guard wrapper with a second argument is the\n // catalogue's most common idiom, and the name was always sitting in its first.\n if (ts.isCallExpression(expression)) {\n for (const argument of expression.arguments) {\n const named = nameHole(argument, index, options);\n if (!named.startsWith('param')) return named;\n }\n }\n if (ts.isNonNullExpression(expression) || ts.isParenthesizedExpression(expression) || ts.isAsExpression(expression)) {\n return nameHole(expression.expression, index, options);\n }\n // `a || b || c` / `a ?? b` — a fallback chain names ONE value. The operand the source declares as an input is\n // the one a person supplies; the others are injected alternatives. With no declared operand the FIRST nameable\n // one is taken, which is the value the source prefers when present.\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n const operands = flattenFallbackChain(expression)\n .map((operand) => nameHole(operand, index, options))\n .filter((named) => !named.startsWith('param'));\n const declared = operands.find((named) => options.declaredInputNames?.has(named) === true);\n if (declared !== undefined) return declared;\n if (operands[0] !== undefined) return operands[0];\n }\n return `param${index + 1}`;\n}\n\n/**\n * `join` dresses a value only when the caller's list, rendered by the executor, is the same string: `String(list)`\n * joins with `,`, so `ids.join()` and `ids.join(',')` name `ids`, while `queryParams.join('&')` BUILDS something\n * (a query string, a clause) and stays positional — naming it would declare a local variable as a caller input.\n * Every other dressing method keeps the value whatever its arguments.\n */\nfunction joinKeepsTheWireValue(call: ts.CallExpression): boolean {\n if (!ts.isPropertyAccessExpression(call.expression) || call.expression.name.text !== 'join') return true;\n const separator = call.arguments[0];\n if (separator === undefined) return true;\n return (ts.isStringLiteral(separator) || ts.isNoSubstitutionTemplateLiteral(separator)) && separator.text === ',';\n}\n\nfunction isFallbackOperator(kind: ts.SyntaxKind): boolean {\n return kind === ts.SyntaxKind.BarBarToken || kind === ts.SyntaxKind.QuestionQuestionToken;\n}\n\nfunction flattenFallbackChain(expression: ts.Expression): ts.Expression[] {\n if (ts.isParenthesizedExpression(expression)) return flattenFallbackChain(expression.expression);\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n return [...flattenFallbackChain(expression.left), ...flattenFallbackChain(expression.right)];\n }\n return [expression];\n}\n\n/**\n * A path segment written ONLY with characters a URL path carries literally. A constant outside this set —\n * a brace (read back as a placeholder), `?`/`#` (the path would end), `%` (an escape nobody wrote), whitespace\n * or a backslash — is not inlined, and the hole stays what it was.\n * spec-cite: RFC 3986 §3.3 (`pchar` = unreserved / sub-delims / \":\" / \"@\"), plus \"/\" between segments.\n */\nconst LITERAL_PATH_TEXT = /^[A-Za-z0-9\\-._~!$&'()*+,;=:@/]+$/;\n/** A leading constant that is an absolute base: a literal DNS host (no placeholder), an optional port, a literal path. */\nconst LITERAL_ABSOLUTE_BASE = /^https?:\\/\\/[A-Za-z0-9.-]+(?::\\d{1,5})?(?:\\/[A-Za-z0-9\\-._~!$&'()*+,;=:@/]*)?$/;\n\n/**\n * The value of a hole that names a MODULE-LEVEL constant, or `undefined` (#1019).\n *\n * `/ccx/api/${WQL_BASE}/${tenant}/data` with `const WQL_BASE = 'wql/v1'` at the top of the file is a fixed path,\n * and naming the hole made it a REQUIRED caller path parameter — one that could not even survive encoding\n * (`wql%2Fv1`). The source states the value, so it is read, through the same static evaluator that reads OAuth2\n * endpoints (constants, relative imports, member access, pure helpers).\n *\n * Refused — the hole stays a parameter exactly as before — when:\n * - the expression is anything but an identifier or a member chain rooted in one (a call, `this`, a conditional);\n * - the root name is DECLARED anywhere inside the enclosing top-level statement (a parameter, a local, a binding\n * element): a local that shadows a module constant is a runtime value, and resolving it by name would read the\n * wrong declaration. Conservative on purpose — a same-named local elsewhere in the same function also refuses;\n * - the value is not a string or finite number, or is not literal path text (`leading` also admits an absolute\n * base with a literal host).\n */\nexport function resolveModuleConstantHole(expression: ts.Expression, leading: boolean): string | undefined {\n const root = memberChainRoot(expression);\n if (root === undefined) return undefined;\n if (isDeclaredWithinEnclosingTopLevelStatement(root.text, expression)) return undefined;\n const source = expression.getSourceFile();\n const context = staticEvaluationContextFor(source.fileName, source);\n if (context === undefined) return undefined;\n const value = evaluateStatically(expression, context);\n if (value === UNEVALUABLE) return undefined;\n const text = typeof value === 'string' ? value : typeof value === 'number' && Number.isFinite(value) ? String(value) : undefined;\n if (text === undefined || text === '') return undefined;\n if (LITERAL_PATH_TEXT.test(text) && !/^https?:/i.test(text)) return text;\n if (leading && LITERAL_ABSOLUTE_BASE.test(text)) return text;\n return undefined;\n}\n\n/**\n * Whether an inlined absolute BASE is followed by something that ends its authority — `/`, `?`, `#`, or the end of\n * the URL. `${BASE}${path}` is not: the next hole would be spliced onto the HOST (`https://api.vendor.test{path}`),\n * so such a base stays the un-inlined leading expression it always was, and the path keeps its old shape.\n */\nfunction baseIsTerminated(constant: string, followingLiteral: string, anotherHoleFollows: boolean): boolean {\n // A base that already carries a PATH (`https://api.trello.com/1/`) has ended its host whatever follows it: the next\n // text extends the path, never the authority (review F1). Only a bare host needs a following `/`, `?` or `#`.\n if (/^https?:\\/\\/[^/?#]+[/?#]/i.test(constant)) return true;\n if (followingLiteral === '') return !anotherHoleFollows;\n return /^[/?#]/.test(followingLiteral);\n}\n\nfunction memberChainRoot(expression: ts.Expression): ts.Identifier | undefined {\n let current: ts.Expression = expression;\n for (;;) {\n if (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isPropertyAccessExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isElementAccessExpression(current) && (ts.isStringLiteral(current.argumentExpression) || ts.isNumericLiteral(current.argumentExpression))) {\n current = current.expression;\n continue;\n }\n return ts.isIdentifier(current) && current.text !== 'undefined' ? current : undefined;\n }\n}\n\n/** Whether `name` is declared (parameter, local, binding, function or class) inside the top-level statement holding `node`. */\nexport function isDeclaredWithinEnclosingTopLevelStatement(name: string, node: ts.Node): boolean {\n let statement: ts.Node = node;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n let declared = false;\n const bindsName = (binding: ts.BindingName): boolean => ts.isIdentifier(binding)\n ? binding.text === name\n : binding.elements.some((element) => !ts.isOmittedExpression(element) && bindsName(element.name));\n const visit = (current: ts.Node): void => {\n if (declared) return;\n if (current !== statement || !ts.isVariableStatement(current)) {\n if ((ts.isVariableDeclaration(current) || ts.isParameter(current) || ts.isBindingElement(current)) && bindsName(current.name)) {\n // The top-level statement's OWN declaration is the module constant itself, never a shadow.\n if (!(ts.isVariableDeclaration(current) && current.parent.parent === statement)) {\n declared = true;\n return;\n }\n }\n if ((ts.isFunctionDeclaration(current) || ts.isFunctionExpression(current) || ts.isClassDeclaration(current) || ts.isClassExpression(current))\n && current !== statement && current.name?.text === name) {\n declared = true;\n return;\n }\n }\n ts.forEachChild(current, visit);\n };\n visit(statement);\n return declared;\n}\n\n/**\n * Extract a URL template from a string or template literal node.\n *\n * @param node the expression a source assigned to `url` / `resourceUri` / `path`.\n * @param sourceText the full file text, used to quote hole expressions verbatim.\n */\nexport function extractUrlTemplate(node: ts.Node, sourceText: string, options: UrlTemplateExtractionOptions = {}): UrlTemplateExtraction {\n const raw = renderUrlTemplate(node, sourceText, options);\n if (isUrlTemplateRefusal(raw)) return raw;\n const split = splitUrlTemplate(raw.template, raw.parameters);\n return raw.leadingExpressionText === undefined ? split : { ...split, leadingExpressionText: raw.leadingExpressionText };\n}\n\n/**\n * A URL expression rendered as ONE template string with `{name}` holes, BEFORE the origin is split off and\n * before a leading slash is forced — the form a request helper's prefix can be joined to (#1019).\n */\nexport interface RenderedUrlTemplate {\n readonly template: string;\n readonly parameters: readonly ExtractedPathParameter[];\n /** A leading hole that could not be resolved to a constant; see {@link ExtractedUrlTemplate.leadingExpressionText}. */\n readonly leadingExpressionText?: string;\n}\n\nexport function renderUrlTemplate(\n node: ts.Node,\n sourceText: string,\n options: UrlTemplateExtractionOptions = {},\n): RenderedUrlTemplate | UrlTemplateRefusal {\n if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) {\n return { template: node.text, parameters: [] };\n }\n\n // `'/a/' + id + '/b'` — a concatenation is a template written with plus signs, and flattening it\n // costs a few lines while refusing it would lose real operations. Anything that is not a string\n // or a nameable expression still refuses, so nothing is guessed.\n if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n return flattenConcatenation(node, sourceText, options);\n }\n\n if (!ts.isTemplateExpression(node)) {\n return {\n refused: true,\n reason: `the URL is a ${ts.SyntaxKind[node.kind]}, not a literal or a template — it is computed, and a computed endpoint cannot be transposed without evaluating it`,\n };\n }\n\n const parameters: ExtractedPathParameter[] = [];\n let template = node.head.text;\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n\n node.templateSpans.forEach((span, index) => {\n const expressionText = sourceText.slice(span.expression.getStart(), span.expression.getEnd()).trim();\n const leading = index === 0 && template.length === 0;\n const constant = resolveModuleConstantHole(span.expression, leading);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, span.literal.text, node.templateSpans[index + 1] !== undefined))) {\n template += constant;\n } else if (leading) {\n // A hole in first position with no literal before it is the base-URL const case. It is not a\n // path parameter — writing it as one would put the API host inside the path.\n const choice = leadingChoiceReason(span.expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n } else {\n const collapsed = collapseQuerySuffix(span.expression);\n if (collapsed !== undefined) {\n // The hole was `queryString ? `?${queryString}` : ''` — an optional query suffix, not a path\n // segment. Its whole job is \"append a query string if there is one\", so the operation's PATH\n // is the branch without it; naming it as a path parameter would invent a `{queryString}`\n // segment the vendor has never heard of. The query parameters it was appending are recovered\n // separately, from the builder's own `set`/`append` calls.\n template += collapsed;\n } else {\n const name = nameHole(span.expression, index, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n }\n }\n template += span.literal.text;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n\n/**\n * Why an expression that OPENS a URL may not be dropped as the unstated base, or `undefined` when it may.\n *\n * Dropping the opening expression is what lets `${base}${path}` be read at all, and it is sound for ONE ADDRESS the\n * reader cannot see — a connection value, an instance field, a deployment's host. It is NOT sound for a CHOICE: an\n * action writing `${version === 'v2' ? '…/wiki/api/v2' : '…/wiki/rest/api'}${path}` has two different prefixes, and\n * emitting both operations under one base URL sends one of them to a path the vendor does not serve. The fold refuses\n * that shape (`HelperUrlRefusal.choice`); this is the same rule for a request literal an action writes itself, which\n * never reaches the fold (review round 3, F-A).\n *\n * The one admitted conditional is the TRAILING-SLASH normalisation (`base.endsWith('/') ? base : base + '/'`): both\n * branches are the same value, so it is one address written twice.\n */\nfunction leadingChoiceReason(expression: ts.Expression, depth = 0): string | undefined {\n let current: ts.Expression = expression;\n while (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n }\n if (ts.isIdentifier(current) && depth < 2) {\n const declared = singleDeclarationInitializer(current.text, current);\n return declared === undefined ? undefined : leadingChoiceReason(declared, depth + 1);\n }\n if (!ts.isConditionalExpression(current)) return undefined;\n const sameValue = (left: ts.Expression, right: ts.Expression): boolean => {\n const bare = (node: ts.Expression): string => {\n const text = node.getText().trim();\n // `base + '/'` is the same address as `base`; a path template's leading slash is normalised anyway.\n return text.replace(/\\s*\\+\\s*(['\"`])\\/\\1$/, '').trim();\n };\n return bare(left) === bare(right);\n };\n return sameValue(current.whenTrue, current.whenFalse)\n ? undefined\n : `the URL opens with a value the source CHOOSES (${current.getText().slice(0, 120)}), so which base it takes cannot be read — the operation would be emitted under one of two different prefixes`;\n}\n\n/** The initializer of the ONE declaration of `name` visible around `at`, or `undefined` (none, or more than one). */\nfunction singleDeclarationInitializer(name: string, at: ts.Node): ts.Expression | undefined {\n let statement: ts.Node = at;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n const initializers: ts.Expression[] = [];\n const visit = (node: ts.Node): void => {\n if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.name.text === name && node.initializer !== undefined) {\n initializers.push(node.initializer);\n }\n ts.forEachChild(node, visit);\n };\n visit(statement);\n if (initializers.length === 0) visit(at.getSourceFile());\n return initializers.length === 1 ? initializers[0] : undefined;\n}\n\n/** {@link splitOrigin}, exported for a reader that rendered and joined a template itself (#1019). */\nexport function splitUrlTemplate(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n return splitOrigin(template, parameters);\n}\n\n/**\n * Separate an absolute origin from the path. The engine contract keeps the origin on the PROVIDER\n * (one base URL per provider) and the path on the operation, so an action that inlined the whole\n * URL has to be split before it can be emitted — and the origin it carried is evidence about the\n * provider's base URL that the reader uses when the source never states one explicitly.\n */\nfunction splitOrigin(rawWithQuery: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n // A path template ENDS at the query string. A builder that appends `?${search}` in one expression\n // rather than through the conditional shape leaves the whole query inside the template, and the\n // hole in it then reads as a PATH parameter — `/autocompletes?{param2}`, an operation whose path\n // contains a question mark and whose \"path parameter\" is a query bag. The query is recovered from\n // the builder's own `set`/`append` calls; what is cut here is a duplicate of it in the wrong place.\n const raw = rawWithQuery.includes('?') ? rawWithQuery.slice(0, rawWithQuery.indexOf('?')) : rawWithQuery;\n const inlineQuery = rawWithQuery.includes('?')\n ? { inlineQueryTemplate: rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), inlineQueryParameters: retainHolesPresentIn(rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), parameters) }\n : {};\n const match = ABSOLUTE_ORIGIN.exec(raw);\n if (match === null) {\n const path = raw.startsWith('/') ? raw : `/${raw}`;\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), ...inlineQuery };\n }\n const path = match[2] ?? '/';\n // Parameters that lived in the ORIGIN do not survive the split, and must not survive in the\n // declaration either. `https://${applicationId}.algolia.net/1/indexes/{indexName}` keeps one hole\n // and loses one; leaving `applicationId` declared would tell the executor to bind a path parameter\n // the path no longer has — 116 operations were emitted that way before this filter existed. The\n // origin's own holes are a per-deployment host, which the provider's base URL answers.\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), absoluteOrigin: match[1]!, ...inlineQuery };\n}\n\n/**\n * The parameters the FINAL template actually needs.\n *\n * Two directions, and the second is easy to miss. Parameters whose hole did not survive an origin\n * split are dropped — they described a per-deployment host, which the base URL answers. And holes the\n * template carries LITERALLY gain a parameter: a source that writes\n * `processPathParameters('/actions/{chargePoint}/change-availability', props)` has stated the hole in\n * the string itself rather than through an interpolation, and without this the template would arrive\n * with a token nothing declares — which the emitter then refuses as incoherent, correctly and\n * uselessly. 552 actions in one piece family were written that way.\n */\nfunction retainHolesPresentIn(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedPathParameter[] {\n const holes = [...template.matchAll(/\\{([^}]+)\\}/g)].map((match) => match[1]!);\n const holeSet = new Set(holes);\n const kept = parameters.filter((parameter) => holeSet.has(parameter.name));\n const declared = new Set(kept.map((parameter) => parameter.name));\n for (const hole of holes) {\n if (declared.has(hole)) continue;\n declared.add(hole);\n kept.push({ name: hole, expressionText: `{${hole}}` });\n }\n return kept;\n}\n\n\n/** Flatten a `+` chain of literals and expressions into the same template/parameter pair. */\nfunction flattenConcatenation(node: ts.BinaryExpression, sourceText: string, options: UrlTemplateExtractionOptions): RenderedUrlTemplate | UrlTemplateRefusal {\n // A template literal inside the chain (`${base}cards/` + id) is flattened into its own literal text and holes. Kept\n // whole, an unreadable leading one was dropped as the base WITH the literal text it carried — `cards/` vanished and\n // `get_card` was emitted as `/{cardId}` (review F1).\n const parts: (ts.Expression | { readonly text: string })[] = [];\n // The position each part held in the `+` chain: an unnamed hole is named positionally, and flattening a template must\n // not renumber the holes around it.\n const chainIndexes: number[] = [];\n let chainIndex = -1;\n const push = (part: ts.Expression | { readonly text: string }): void => {\n parts.push(part);\n chainIndexes.push(chainIndex);\n };\n const walk = (expression: ts.Expression): void => {\n if (ts.isBinaryExpression(expression) && expression.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n walk(expression.left);\n walk(expression.right);\n return;\n }\n chainIndex += 1;\n if (ts.isTemplateExpression(expression)) {\n if (expression.head.text !== '') push({ text: expression.head.text });\n for (const span of expression.templateSpans) {\n push(span.expression);\n if (span.literal.text !== '') push({ text: span.literal.text });\n }\n return;\n }\n push(expression);\n };\n walk(node);\n const literalText = (part: (typeof parts)[number] | undefined): string | undefined =>\n part === undefined ? undefined : !('kind' in part) ? part.text : ts.isStringLiteral(part) || ts.isNoSubstitutionTemplateLiteral(part) ? part.text : undefined;\n\n const parameters: ExtractedPathParameter[] = [];\n let template = '';\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n parts.forEach((part, index) => {\n const text = literalText(part);\n if (text !== undefined) {\n template += text;\n return;\n }\n const expression = part as ts.Expression;\n const leading = template.length === 0 && parameters.length === 0 && leadingExpressionText === undefined;\n const expressionText = sourceText.slice(expression.getStart(), expression.getEnd()).trim();\n const constant = resolveModuleConstantHole(expression, leading);\n const next = parts[index + 1];\n const nextText = next === undefined ? '' : literalText(next);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, nextText ?? '', nextText === undefined))) {\n template += constant;\n return;\n }\n if (leading) {\n const choice = leadingChoiceReason(expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n return;\n }\n const name = nameHole(expression, chainIndexes[index]!, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"url-template.extractor.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AA4ExG,MAAM,UAAU,oBAAoB,CAAC,KAAkD;IACrF,OAAQ,KAA4B,CAAC,OAAO,KAAK,IAAI,CAAC;AACxD,CAAC;AAED,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAEtD;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAAC,UAAyB;IACpD,IAAI,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,CAAC;QAAE,OAAO,SAAS,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,CAAC,CAAC;QACjE,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;QAC1C,QAAQ,IAAI,IAAI,IAAI,GAAG,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACrE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,qBAAqB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC;AAC7G,CAAC","sourcesContent":["import ts from 'typescript';\n\nimport { UNEVALUABLE, evaluateStatically, staticEvaluationContextFor } from './source-static-evaluator';\nimport type { TransposedConnectionDerivedHost } from './transposed-provider.model';\n\n/**\n * Turning a source's URL expression into a URL TEMPLATE plus its parameter binding.\n *\n * This is the single most load-bearing capability of the transposer, and it is deliberately narrow:\n * it understands template literals and string literals, and nothing else. Measured over the two\n * catalogues on 2026-09-06, that covers class A, class B and class C1 of Activepieces (90.8% of\n * 5,719 actions) and every Sim tool that declares `url` as an arrow returning a template — one\n * mechanism, both catalogues.\n *\n * It does NOT evaluate expressions, and that is the point rather than a limitation. A URL built by a\n * conditional, a concatenation of variables, or a helper call is REFUSED and reported by name. A\n * transposer that guessed there would emit an operation that points somewhere plausible and wrong,\n * and a wrong endpoint is discovered by a customer, not by a test.\n */\n\n/** A `${…}` hole recovered from a template literal. */\nexport interface ExtractedPathParameter {\n /** The `{token}` name written into the template. */\n readonly name: string;\n /** The source expression text, so a reader can bind it to an input field. */\n readonly expressionText: string;\n}\n\nexport interface ExtractedUrlTemplate {\n /**\n * The path with every hole rewritten as `{name}`. A leading absolute origin is stripped into\n * {@link absoluteOrigin} so the operation stays relative to the provider's base URL, which is\n * where the engine contract expects it.\n */\n readonly pathTemplate: string;\n readonly pathParameters: readonly ExtractedPathParameter[];\n /** Present when the literal carried its own `https://host` prefix. */\n readonly absoluteOrigin?: string;\n /**\n * Present when the template began with a `${…}` hole rather than a literal — the base-URL const\n * case (`` `${API_BASE}/users/${id}` ``). The reader resolves it one hop; the extractor only\n * reports that it is there, because resolving an identifier is a module-graph question and this\n * function has no module graph.\n */\n readonly leadingExpressionText?: string;\n /**\n * Present when the leading `${…}` is a fact the vendor REPORTED for the connected account\n * (`auth.data.api_domain`, a helper parameter bound to `auth.data['instance_url']`) — the field's\n * name (#1052). The operation is then relative to the CONNECTED ACCOUNT's own origin, which the\n * provider carries as `baseUrlConnectionFact`; for the application's own account the deployment\n * still names the base. Set by the reader, which is what can see the chain.\n */\n readonly leadingReportedAccountFact?: string;\n /**\n * Present when the leading `${…}` is a base URL the source COMPUTES from a connect-time answer, and evaluating that\n * computation for every admitted answer gave one host per answer under one path prefix (#1937). `absoluteOrigin` is\n * then the origin for an unanswered connection, and the path carries the prefix. Set by the reader.\n */\n readonly connectionDerivedHost?: TransposedConnectionDerivedHost;\n /**\n * The query the template carried INLINE (`projects?workspace={workspace}` → `workspace={workspace}`), with the\n * holes it names. The path template ends at the `?` — a query is recovered from the request's own query object —\n * but a listing that writes its dependency straight into the URL has no such object, and without this its\n * dependency vanished with the query (#1045). Read by the input-options derivation; every other consumer keeps\n * reading the split path.\n */\n readonly inlineQueryTemplate?: string;\n readonly inlineQueryParameters?: readonly ExtractedPathParameter[];\n}\n\nexport interface UrlTemplateRefusal {\n readonly refused: true;\n /** Why, in words that name the shape rather than the file. */\n readonly reason: string;\n}\n\nexport type UrlTemplateExtraction = ExtractedUrlTemplate | UrlTemplateRefusal;\n\nexport function isUrlTemplateRefusal(value: UrlTemplateExtraction | RenderedUrlTemplate): value is UrlTemplateRefusal {\n return (value as UrlTemplateRefusal).refused === true;\n}\n\nconst ABSOLUTE_ORIGIN = /^(https?:\\/\\/[^/]+)(\\/.*)?$/;\n\n/**\n * A conditional hole that appends an optional query string, collapsed to what the PATH is without it.\n *\n * Recognised narrowly, on purpose: exactly one branch must be an empty string literal, and the other\n * must contain a `?`. Anything else is a genuine either/or between two different paths, which cannot\n * be collapsed and must still refuse — a conditional that picks between two endpoints has no single\n * answer, and guessing one puts an operation somewhere the caller did not ask for.\n */\nfunction collapseQuerySuffix(expression: ts.Expression): string | undefined {\n if (!ts.isConditionalExpression(expression)) return undefined;\n const branches = [expression.whenTrue, expression.whenFalse];\n const empty = branches.find((branch) => isEmptyStringLiteral(branch));\n const other = branches.find((branch) => !isEmptyStringLiteral(branch));\n if (empty === undefined || other === undefined) return undefined;\n return other.getText().includes('?') ? '' : undefined;\n}\n\nfunction isEmptyStringLiteral(node: ts.Expression): boolean {\n return (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) && node.text === '';\n}\n\n/**\n * Names a `${…}` hole. Prefers the identifier or the last property in a chain\n * (`params.collectionId` → `collectionId`), because that is the name the vendor's own path uses and\n * the name a caller will pass. Falls back to a positional name so a template with an expression too\n * complex to name still produces a usable, if uglier, parameter rather than a refusal.\n */\n/** What a reader knows about the surrounding source that the extractor cannot see. */\nexport interface UrlTemplateExtractionOptions {\n /**\n * The input names the source DECLARES for this operation (Activepieces `props`, Sim `params`).\n *\n * Used only to name a hole written as a fallback chain — `params.domain || params.shopDomain || params.idToken`\n * — by the operand the source actually asks a person for. Without it the chain had no nameable form at all and\n * became the positional `{param1}` (Shopify's base URL, #1015), a name nothing can answer.\n */\n readonly declaredInputNames?: ReadonlySet<string>;\n}\n\n/**\n * Methods that DRESS a value without changing which value it is — `params.threadId.trim()`,\n * `params.ids.join(',')`, `x.toString()`. A hole or a query value written through one is named by its RECEIVER.\n *\n * One vocabulary for both places that name a source value (the path-hole namer below and the Sim reader's\n * query-value namer, `nameOfFedField`), because they had drifted: the Sim reader unwrapped the dressing and the\n * hole namer did not, so `${params.threadId.trim()}` became the positional `{param1}` and its operation was\n * refused as UNFED_PATH_PARAMETER while the source named the value outright. Measured 2026-09-24 (#1572):\n * 550 Sim tool files build a URL that way, and pitchbook's 73 refused operations were all of that shape.\n */\nexport const VALUE_DRESSING_METHODS: ReadonlySet<string> = new Set(['trim', 'toString', 'toLowerCase', 'toUpperCase', 'valueOf', 'join']);\n\n/** The dressing methods that CHANGE the value's case — not unwrapped for a path hole (see `nameHole`). */\nconst CASE_CHANGING_METHODS: ReadonlySet<string> = new Set(['toLowerCase', 'toUpperCase']);\n\nfunction nameHole(expression: ts.Expression, index: number, options: UrlTemplateExtractionOptions = {}): string {\n if (ts.isIdentifier(expression)) return expression.text;\n if (ts.isPropertyAccessExpression(expression)) return expression.name.text;\n // `params.threadId.trim()` — the dressing method is not the value's name; its receiver is (see the vocabulary).\n // A CASE change is not dressing in a PATH: the vendor may answer 404 to `Contacts` where the source sent\n // `contacts`, and naming the receiver would send the caller's value without the source's change. So those stay\n // positional here; the Sim query namer, where a case-insensitive vendor is the norm, keeps them.\n if (ts.isCallExpression(expression) && ts.isPropertyAccessExpression(expression.expression)\n && VALUE_DRESSING_METHODS.has(expression.expression.name.text)\n && !CASE_CHANGING_METHODS.has(expression.expression.name.text)\n && joinKeepsTheWireValue(expression)) {\n return nameHole(expression.expression.expression, index, options);\n }\n if (ts.isElementAccessExpression(expression) && ts.isStringLiteral(expression.argumentExpression)) {\n return expression.argumentExpression.text;\n }\n // A call wrapping the value — `encodeURIComponent(x)`, `assertId(params.companyId, 'company')`,\n // `requireOneOf(params.entityType, TYPES, 'entityType')`. The FIRST nameable argument is the value;\n // the rest are the helper's own configuration.\n //\n // This used to require exactly ONE argument, and the difference was 1,151 path holes named\n // `param1` — a positional name no input field can ever match, which makes the operation\n // unexecutable by anyone following its own types. A guard wrapper with a second argument is the\n // catalogue's most common idiom, and the name was always sitting in its first.\n if (ts.isCallExpression(expression)) {\n for (const argument of expression.arguments) {\n const named = nameHole(argument, index, options);\n if (!named.startsWith('param')) return named;\n }\n }\n if (ts.isNonNullExpression(expression) || ts.isParenthesizedExpression(expression) || ts.isAsExpression(expression)) {\n return nameHole(expression.expression, index, options);\n }\n // `a || b || c` / `a ?? b` — a fallback chain names ONE value. The operand the source declares as an input is\n // the one a person supplies; the others are injected alternatives. With no declared operand the FIRST nameable\n // one is taken, which is the value the source prefers when present.\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n const operands = flattenFallbackChain(expression)\n .map((operand) => nameHole(operand, index, options))\n .filter((named) => !named.startsWith('param'));\n const declared = operands.find((named) => options.declaredInputNames?.has(named) === true);\n if (declared !== undefined) return declared;\n if (operands[0] !== undefined) return operands[0];\n }\n return `param${index + 1}`;\n}\n\n/**\n * `join` dresses a value only when the caller's list, rendered by the executor, is the same string: `String(list)`\n * joins with `,`, so `ids.join()` and `ids.join(',')` name `ids`, while `queryParams.join('&')` BUILDS something\n * (a query string, a clause) and stays positional — naming it would declare a local variable as a caller input.\n * Every other dressing method keeps the value whatever its arguments.\n */\nfunction joinKeepsTheWireValue(call: ts.CallExpression): boolean {\n if (!ts.isPropertyAccessExpression(call.expression) || call.expression.name.text !== 'join') return true;\n const separator = call.arguments[0];\n if (separator === undefined) return true;\n return (ts.isStringLiteral(separator) || ts.isNoSubstitutionTemplateLiteral(separator)) && separator.text === ',';\n}\n\nfunction isFallbackOperator(kind: ts.SyntaxKind): boolean {\n return kind === ts.SyntaxKind.BarBarToken || kind === ts.SyntaxKind.QuestionQuestionToken;\n}\n\nfunction flattenFallbackChain(expression: ts.Expression): ts.Expression[] {\n if (ts.isParenthesizedExpression(expression)) return flattenFallbackChain(expression.expression);\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n return [...flattenFallbackChain(expression.left), ...flattenFallbackChain(expression.right)];\n }\n return [expression];\n}\n\n/**\n * A path segment written ONLY with characters a URL path carries literally. A constant outside this set —\n * a brace (read back as a placeholder), `?`/`#` (the path would end), `%` (an escape nobody wrote), whitespace\n * or a backslash — is not inlined, and the hole stays what it was.\n * spec-cite: RFC 3986 §3.3 (`pchar` = unreserved / sub-delims / \":\" / \"@\"), plus \"/\" between segments.\n */\nconst LITERAL_PATH_TEXT = /^[A-Za-z0-9\\-._~!$&'()*+,;=:@/]+$/;\n/** A leading constant that is an absolute base: a literal DNS host (no placeholder), an optional port, a literal path. */\nconst LITERAL_ABSOLUTE_BASE = /^https?:\\/\\/[A-Za-z0-9.-]+(?::\\d{1,5})?(?:\\/[A-Za-z0-9\\-._~!$&'()*+,;=:@/]*)?$/;\n\n/**\n * The value of a hole that names a MODULE-LEVEL constant, or `undefined` (#1019).\n *\n * `/ccx/api/${WQL_BASE}/${tenant}/data` with `const WQL_BASE = 'wql/v1'` at the top of the file is a fixed path,\n * and naming the hole made it a REQUIRED caller path parameter — one that could not even survive encoding\n * (`wql%2Fv1`). The source states the value, so it is read, through the same static evaluator that reads OAuth2\n * endpoints (constants, relative imports, member access, pure helpers).\n *\n * Refused — the hole stays a parameter exactly as before — when:\n * - the expression is anything but an identifier or a member chain rooted in one (a call, `this`, a conditional);\n * - the root name is DECLARED anywhere inside the enclosing top-level statement (a parameter, a local, a binding\n * element): a local that shadows a module constant is a runtime value, and resolving it by name would read the\n * wrong declaration. Conservative on purpose — a same-named local elsewhere in the same function also refuses;\n * - the value is not a string or finite number, or is not literal path text (`leading` also admits an absolute\n * base with a literal host).\n */\nexport function resolveModuleConstantHole(expression: ts.Expression, leading: boolean): string | undefined {\n const root = memberChainRoot(expression);\n if (root === undefined) return undefined;\n if (isDeclaredWithinEnclosingTopLevelStatement(root.text, expression)) return undefined;\n const source = expression.getSourceFile();\n const context = staticEvaluationContextFor(source.fileName, source);\n if (context === undefined) return undefined;\n const value = evaluateStatically(expression, context);\n if (value === UNEVALUABLE) return undefined;\n const text = typeof value === 'string' ? value : typeof value === 'number' && Number.isFinite(value) ? String(value) : undefined;\n if (text === undefined || text === '') return undefined;\n if (LITERAL_PATH_TEXT.test(text) && !/^https?:/i.test(text)) return text;\n if (leading && LITERAL_ABSOLUTE_BASE.test(text)) return text;\n return undefined;\n}\n\n/**\n * Whether an inlined absolute BASE is followed by something that ends its authority — `/`, `?`, `#`, or the end of\n * the URL. `${BASE}${path}` is not: the next hole would be spliced onto the HOST (`https://api.vendor.test{path}`),\n * so such a base stays the un-inlined leading expression it always was, and the path keeps its old shape.\n */\nfunction baseIsTerminated(constant: string, followingLiteral: string, anotherHoleFollows: boolean): boolean {\n // A base that already carries a PATH (`https://api.trello.com/1/`) has ended its host whatever follows it: the next\n // text extends the path, never the authority (review F1). Only a bare host needs a following `/`, `?` or `#`.\n if (/^https?:\\/\\/[^/?#]+[/?#]/i.test(constant)) return true;\n if (followingLiteral === '') return !anotherHoleFollows;\n return /^[/?#]/.test(followingLiteral);\n}\n\nfunction memberChainRoot(expression: ts.Expression): ts.Identifier | undefined {\n let current: ts.Expression = expression;\n for (;;) {\n if (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isPropertyAccessExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isElementAccessExpression(current) && (ts.isStringLiteral(current.argumentExpression) || ts.isNumericLiteral(current.argumentExpression))) {\n current = current.expression;\n continue;\n }\n return ts.isIdentifier(current) && current.text !== 'undefined' ? current : undefined;\n }\n}\n\n/** Whether `name` is declared (parameter, local, binding, function or class) inside the top-level statement holding `node`. */\nexport function isDeclaredWithinEnclosingTopLevelStatement(name: string, node: ts.Node): boolean {\n let statement: ts.Node = node;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n let declared = false;\n const bindsName = (binding: ts.BindingName): boolean => ts.isIdentifier(binding)\n ? binding.text === name\n : binding.elements.some((element) => !ts.isOmittedExpression(element) && bindsName(element.name));\n const visit = (current: ts.Node): void => {\n if (declared) return;\n if (current !== statement || !ts.isVariableStatement(current)) {\n if ((ts.isVariableDeclaration(current) || ts.isParameter(current) || ts.isBindingElement(current)) && bindsName(current.name)) {\n // The top-level statement's OWN declaration is the module constant itself, never a shadow.\n if (!(ts.isVariableDeclaration(current) && current.parent.parent === statement)) {\n declared = true;\n return;\n }\n }\n if ((ts.isFunctionDeclaration(current) || ts.isFunctionExpression(current) || ts.isClassDeclaration(current) || ts.isClassExpression(current))\n && current !== statement && current.name?.text === name) {\n declared = true;\n return;\n }\n }\n ts.forEachChild(current, visit);\n };\n visit(statement);\n return declared;\n}\n\n/**\n * Extract a URL template from a string or template literal node.\n *\n * @param node the expression a source assigned to `url` / `resourceUri` / `path`.\n * @param sourceText the full file text, used to quote hole expressions verbatim.\n */\nexport function extractUrlTemplate(node: ts.Node, sourceText: string, options: UrlTemplateExtractionOptions = {}): UrlTemplateExtraction {\n const raw = renderUrlTemplate(node, sourceText, options);\n if (isUrlTemplateRefusal(raw)) return raw;\n const split = splitUrlTemplate(raw.template, raw.parameters);\n return raw.leadingExpressionText === undefined ? split : { ...split, leadingExpressionText: raw.leadingExpressionText };\n}\n\n/**\n * A URL expression rendered as ONE template string with `{name}` holes, BEFORE the origin is split off and\n * before a leading slash is forced — the form a request helper's prefix can be joined to (#1019).\n */\nexport interface RenderedUrlTemplate {\n readonly template: string;\n readonly parameters: readonly ExtractedPathParameter[];\n /** A leading hole that could not be resolved to a constant; see {@link ExtractedUrlTemplate.leadingExpressionText}. */\n readonly leadingExpressionText?: string;\n}\n\nexport function renderUrlTemplate(\n node: ts.Node,\n sourceText: string,\n options: UrlTemplateExtractionOptions = {},\n): RenderedUrlTemplate | UrlTemplateRefusal {\n if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) {\n return { template: node.text, parameters: [] };\n }\n\n // `'/a/' + id + '/b'` — a concatenation is a template written with plus signs, and flattening it\n // costs a few lines while refusing it would lose real operations. Anything that is not a string\n // or a nameable expression still refuses, so nothing is guessed.\n if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n return flattenConcatenation(node, sourceText, options);\n }\n\n if (!ts.isTemplateExpression(node)) {\n return {\n refused: true,\n reason: `the URL is a ${ts.SyntaxKind[node.kind]}, not a literal or a template — it is computed, and a computed endpoint cannot be transposed without evaluating it`,\n };\n }\n\n const parameters: ExtractedPathParameter[] = [];\n let template = node.head.text;\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n\n node.templateSpans.forEach((span, index) => {\n const expressionText = sourceText.slice(span.expression.getStart(), span.expression.getEnd()).trim();\n const leading = index === 0 && template.length === 0;\n const constant = resolveModuleConstantHole(span.expression, leading);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, span.literal.text, node.templateSpans[index + 1] !== undefined))) {\n template += constant;\n } else if (leading) {\n // A hole in first position with no literal before it is the base-URL const case. It is not a\n // path parameter — writing it as one would put the API host inside the path.\n const choice = leadingChoiceReason(span.expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n } else {\n const collapsed = collapseQuerySuffix(span.expression);\n if (collapsed !== undefined) {\n // The hole was `queryString ? `?${queryString}` : ''` — an optional query suffix, not a path\n // segment. Its whole job is \"append a query string if there is one\", so the operation's PATH\n // is the branch without it; naming it as a path parameter would invent a `{queryString}`\n // segment the vendor has never heard of. The query parameters it was appending are recovered\n // separately, from the builder's own `set`/`append` calls.\n template += collapsed;\n } else {\n const name = nameHole(span.expression, index, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n }\n }\n template += span.literal.text;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n\n/**\n * Why an expression that OPENS a URL may not be dropped as the unstated base, or `undefined` when it may.\n *\n * Dropping the opening expression is what lets `${base}${path}` be read at all, and it is sound for ONE ADDRESS the\n * reader cannot see — a connection value, an instance field, a deployment's host. It is NOT sound for a CHOICE: an\n * action writing `${version === 'v2' ? '…/wiki/api/v2' : '…/wiki/rest/api'}${path}` has two different prefixes, and\n * emitting both operations under one base URL sends one of them to a path the vendor does not serve. The fold refuses\n * that shape (`HelperUrlRefusal.choice`); this is the same rule for a request literal an action writes itself, which\n * never reaches the fold (review round 3, F-A).\n *\n * The one admitted conditional is the TRAILING-SLASH normalisation (`base.endsWith('/') ? base : base + '/'`): both\n * branches are the same value, so it is one address written twice.\n */\nfunction leadingChoiceReason(expression: ts.Expression, depth = 0): string | undefined {\n let current: ts.Expression = expression;\n while (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n }\n if (ts.isIdentifier(current) && depth < 2) {\n const declared = singleDeclarationInitializer(current.text, current);\n return declared === undefined ? undefined : leadingChoiceReason(declared, depth + 1);\n }\n if (!ts.isConditionalExpression(current)) return undefined;\n const sameValue = (left: ts.Expression, right: ts.Expression): boolean => {\n const bare = (node: ts.Expression): string => {\n const text = node.getText().trim();\n // `base + '/'` is the same address as `base`; a path template's leading slash is normalised anyway.\n return text.replace(/\\s*\\+\\s*(['\"`])\\/\\1$/, '').trim();\n };\n return bare(left) === bare(right);\n };\n return sameValue(current.whenTrue, current.whenFalse)\n ? undefined\n : `the URL opens with a value the source CHOOSES (${current.getText().slice(0, 120)}), so which base it takes cannot be read — the operation would be emitted under one of two different prefixes`;\n}\n\n/** The initializer of the ONE declaration of `name` visible around `at`, or `undefined` (none, or more than one). */\nfunction singleDeclarationInitializer(name: string, at: ts.Node): ts.Expression | undefined {\n let statement: ts.Node = at;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n const initializers: ts.Expression[] = [];\n const visit = (node: ts.Node): void => {\n if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.name.text === name && node.initializer !== undefined) {\n initializers.push(node.initializer);\n }\n ts.forEachChild(node, visit);\n };\n visit(statement);\n if (initializers.length === 0) visit(at.getSourceFile());\n return initializers.length === 1 ? initializers[0] : undefined;\n}\n\n/** {@link splitOrigin}, exported for a reader that rendered and joined a template itself (#1019). */\nexport function splitUrlTemplate(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n return splitOrigin(template, parameters);\n}\n\n/**\n * Separate an absolute origin from the path. The engine contract keeps the origin on the PROVIDER\n * (one base URL per provider) and the path on the operation, so an action that inlined the whole\n * URL has to be split before it can be emitted — and the origin it carried is evidence about the\n * provider's base URL that the reader uses when the source never states one explicitly.\n */\nfunction splitOrigin(rawWithQuery: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n // A path template ENDS at the query string. A builder that appends `?${search}` in one expression\n // rather than through the conditional shape leaves the whole query inside the template, and the\n // hole in it then reads as a PATH parameter — `/autocompletes?{param2}`, an operation whose path\n // contains a question mark and whose \"path parameter\" is a query bag. The query is recovered from\n // the builder's own `set`/`append` calls; what is cut here is a duplicate of it in the wrong place.\n const raw = rawWithQuery.includes('?') ? rawWithQuery.slice(0, rawWithQuery.indexOf('?')) : rawWithQuery;\n const inlineQuery = rawWithQuery.includes('?')\n ? { inlineQueryTemplate: rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), inlineQueryParameters: retainHolesPresentIn(rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), parameters) }\n : {};\n const match = ABSOLUTE_ORIGIN.exec(raw);\n if (match === null) {\n const path = raw.startsWith('/') ? raw : `/${raw}`;\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), ...inlineQuery };\n }\n const path = match[2] ?? '/';\n // Parameters that lived in the ORIGIN do not survive the split, and must not survive in the\n // declaration either. `https://${applicationId}.algolia.net/1/indexes/{indexName}` keeps one hole\n // and loses one; leaving `applicationId` declared would tell the executor to bind a path parameter\n // the path no longer has — 116 operations were emitted that way before this filter existed. The\n // origin's own holes are a per-deployment host, which the provider's base URL answers.\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), absoluteOrigin: match[1]!, ...inlineQuery };\n}\n\n/**\n * The parameters the FINAL template actually needs.\n *\n * Two directions, and the second is easy to miss. Parameters whose hole did not survive an origin\n * split are dropped — they described a per-deployment host, which the base URL answers. And holes the\n * template carries LITERALLY gain a parameter: a source that writes\n * `processPathParameters('/actions/{chargePoint}/change-availability', props)` has stated the hole in\n * the string itself rather than through an interpolation, and without this the template would arrive\n * with a token nothing declares — which the emitter then refuses as incoherent, correctly and\n * uselessly. 552 actions in one piece family were written that way.\n */\nfunction retainHolesPresentIn(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedPathParameter[] {\n const holes = [...template.matchAll(/\\{([^}]+)\\}/g)].map((match) => match[1]!);\n const holeSet = new Set(holes);\n const kept = parameters.filter((parameter) => holeSet.has(parameter.name));\n const declared = new Set(kept.map((parameter) => parameter.name));\n for (const hole of holes) {\n if (declared.has(hole)) continue;\n declared.add(hole);\n kept.push({ name: hole, expressionText: `{${hole}}` });\n }\n return kept;\n}\n\n\n/** Flatten a `+` chain of literals and expressions into the same template/parameter pair. */\nfunction flattenConcatenation(node: ts.BinaryExpression, sourceText: string, options: UrlTemplateExtractionOptions): RenderedUrlTemplate | UrlTemplateRefusal {\n // A template literal inside the chain (`${base}cards/` + id) is flattened into its own literal text and holes. Kept\n // whole, an unreadable leading one was dropped as the base WITH the literal text it carried — `cards/` vanished and\n // `get_card` was emitted as `/{cardId}` (review F1).\n const parts: (ts.Expression | { readonly text: string })[] = [];\n // The position each part held in the `+` chain: an unnamed hole is named positionally, and flattening a template must\n // not renumber the holes around it.\n const chainIndexes: number[] = [];\n let chainIndex = -1;\n const push = (part: ts.Expression | { readonly text: string }): void => {\n parts.push(part);\n chainIndexes.push(chainIndex);\n };\n const walk = (expression: ts.Expression): void => {\n if (ts.isBinaryExpression(expression) && expression.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n walk(expression.left);\n walk(expression.right);\n return;\n }\n chainIndex += 1;\n if (ts.isTemplateExpression(expression)) {\n if (expression.head.text !== '') push({ text: expression.head.text });\n for (const span of expression.templateSpans) {\n push(span.expression);\n if (span.literal.text !== '') push({ text: span.literal.text });\n }\n return;\n }\n push(expression);\n };\n walk(node);\n const literalText = (part: (typeof parts)[number] | undefined): string | undefined =>\n part === undefined ? undefined : !('kind' in part) ? part.text : ts.isStringLiteral(part) || ts.isNoSubstitutionTemplateLiteral(part) ? part.text : undefined;\n\n const parameters: ExtractedPathParameter[] = [];\n let template = '';\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n parts.forEach((part, index) => {\n const text = literalText(part);\n if (text !== undefined) {\n template += text;\n return;\n }\n const expression = part as ts.Expression;\n const leading = template.length === 0 && parameters.length === 0 && leadingExpressionText === undefined;\n const expressionText = sourceText.slice(expression.getStart(), expression.getEnd()).trim();\n const constant = resolveModuleConstantHole(expression, leading);\n const next = parts[index + 1];\n const nextText = next === undefined ? '' : literalText(next);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, nextText ?? '', nextText === undefined))) {\n template += constant;\n return;\n }\n if (leading) {\n const choice = leadingChoiceReason(expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n return;\n }\n const name = nameHole(expression, chainIndexes[index]!, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary-fanout.utils.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/registry/__tests__/boundary-fanout.utils.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, mkdtempSync, rmSync, unlinkSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { tmpdir } from 'node:os';
|
|
3
|
+
import { dirname, join } from 'node:path';
|
|
4
|
+
import { describe, expect, it } from 'vitest';
|
|
5
|
+
import { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile, rollbackFanOut } from '../boundary-fanout.utils.js';
|
|
6
|
+
import { readFileSync } from 'node:fs';
|
|
7
|
+
/**
|
|
8
|
+
* The delete-time half of R4. The lockfile schema already refuses these entries at parse, so the
|
|
9
|
+
* command-level `remove` tests are satisfied by the schema alone; this pins the second layer on its
|
|
10
|
+
* own, because `remove` and `update` call it on whatever `files[]` holds at the moment of deletion.
|
|
11
|
+
*/
|
|
12
|
+
describe('resolveRecordedModuleFile', () => {
|
|
13
|
+
const root = join(tmpdir(), 'wildo-recorded-file-root');
|
|
14
|
+
it('resolves a recorded module file inside the application root', () => {
|
|
15
|
+
expect(resolveRecordedModuleFile(root, 'shared-lib/src/modules/billing/index.ts')).toBe(join(root, 'shared-lib/src/modules/billing/index.ts'));
|
|
16
|
+
});
|
|
17
|
+
it.each(['.', '..', '../outside.ts', '/etc/passwd', 'shared-lib/src/modules/billing/.env', 'x/node_modules/y.js', 'a/../../b.ts'])('refuses %s', (recorded) => {
|
|
18
|
+
expect(() => resolveRecordedModuleFile(root, recorded)).toThrow('Refusing to delete');
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
/**
|
|
22
|
+
* A module's removal restored every FILE and left its whole directory tree behind, empty — invisible to
|
|
23
|
+
* `git status`, measured on a scaffolded application at eight directories for one module (#1765 run).
|
|
24
|
+
*/
|
|
25
|
+
describe('pruning the directories a module removal emptied', () => {
|
|
26
|
+
function tree(files) {
|
|
27
|
+
const root = mkdtempSync(join(tmpdir(), 'wildo-prune-'));
|
|
28
|
+
for (const file of files) {
|
|
29
|
+
mkdirSync(dirname(join(root, file)), { recursive: true });
|
|
30
|
+
writeFileSync(join(root, file), '');
|
|
31
|
+
}
|
|
32
|
+
return root;
|
|
33
|
+
}
|
|
34
|
+
const remove = (root, files) => { for (const file of files)
|
|
35
|
+
unlinkSync(join(root, file)); };
|
|
36
|
+
it('removes every directory the module\'s files left empty, up to but never including the layer root', async () => {
|
|
37
|
+
const moduleFiles = [
|
|
38
|
+
'backend-api/src/modules/loyalty/index.ts',
|
|
39
|
+
'backend-api/src/modules/loyalty/resources/index.ts',
|
|
40
|
+
'backend-api/src/modules/loyalty/addons/controllers/index.ts',
|
|
41
|
+
'shared-lib/src/modules/loyalty/resources/index.ts',
|
|
42
|
+
];
|
|
43
|
+
const root = tree([...moduleFiles, 'backend-api/src/modules/index.ts']);
|
|
44
|
+
remove(root, moduleFiles);
|
|
45
|
+
expect(await pruneEmptiedModuleDirectories(root, moduleFiles)).toBe(6); // loyalty, resources, addons, addons/controllers; loyalty, resources
|
|
46
|
+
expect(existsSync(join(root, 'backend-api/src/modules/loyalty'))).toBe(false);
|
|
47
|
+
expect(existsSync(join(root, 'shared-lib/src/modules/loyalty'))).toBe(false);
|
|
48
|
+
// The layer roots stay, even the one left empty: they are the host's, not the module's.
|
|
49
|
+
expect(existsSync(join(root, 'backend-api/src/modules/index.ts'))).toBe(true);
|
|
50
|
+
expect(existsSync(join(root, 'shared-lib/src/modules'))).toBe(true);
|
|
51
|
+
rmSync(root, { recursive: true, force: true });
|
|
52
|
+
});
|
|
53
|
+
it('stops at a directory that still holds anything — another module\'s file or the operator\'s own', async () => {
|
|
54
|
+
const moduleFiles = ['backend-api/src/modules/loyalty/resources/points.ts'];
|
|
55
|
+
const root = tree([...moduleFiles, 'backend-api/src/modules/loyalty/notes.md']);
|
|
56
|
+
remove(root, moduleFiles);
|
|
57
|
+
expect(await pruneEmptiedModuleDirectories(root, moduleFiles)).toBe(1);
|
|
58
|
+
expect(existsSync(join(root, 'backend-api/src/modules/loyalty/resources'))).toBe(false);
|
|
59
|
+
expect(existsSync(join(root, 'backend-api/src/modules/loyalty/notes.md'))).toBe(true);
|
|
60
|
+
rmSync(root, { recursive: true, force: true });
|
|
61
|
+
});
|
|
62
|
+
it('never climbs to or above the stop directory, and ignores a path outside it', async () => {
|
|
63
|
+
const root = tree(['stop/a/b/file.ts', 'elsewhere/x/file.ts']);
|
|
64
|
+
remove(root, ['stop/a/b/file.ts', 'elsewhere/x/file.ts']);
|
|
65
|
+
expect(await pruneEmptiedDirectories([join(root, 'stop/a/b/file.ts'), join(root, 'elsewhere/x/file.ts')], join(root, 'stop'))).toBe(2);
|
|
66
|
+
expect(existsSync(join(root, 'stop'))).toBe(true);
|
|
67
|
+
expect(existsSync(join(root, 'elsewhere/x'))).toBe(true);
|
|
68
|
+
rmSync(root, { recursive: true, force: true });
|
|
69
|
+
});
|
|
70
|
+
it('a rolled-back install removes the directories it created, and restores a file it overwrote', async () => {
|
|
71
|
+
const created = 'backend-api/src/modules/loyalty/resources/points.ts';
|
|
72
|
+
const overwritten = 'shared-lib/src/modules/shared-thing/index.ts';
|
|
73
|
+
const root = tree([created, overwritten, 'backup/index.ts']);
|
|
74
|
+
writeFileSync(join(root, 'backup/index.ts'), 'the host version');
|
|
75
|
+
await rollbackFanOut({
|
|
76
|
+
saasRoot: root,
|
|
77
|
+
result: { writtenFiles: [created, overwritten], backups: new Map([[overwritten, join(root, 'backup/index.ts')]]), overlapWarnings: [], ownedFiles: [created, overwritten] },
|
|
78
|
+
});
|
|
79
|
+
expect(existsSync(join(root, 'backend-api/src/modules/loyalty'))).toBe(false);
|
|
80
|
+
expect(existsSync(join(root, 'backend-api/src/modules'))).toBe(true);
|
|
81
|
+
expect(readFileSync(join(root, overwritten), 'utf8')).toBe('the host version');
|
|
82
|
+
rmSync(root, { recursive: true, force: true });
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
//# sourceMappingURL=boundary-fanout.utils.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary-fanout.utils.test.js","sourceRoot":"","sources":["../../../../../../../src/services/registry/__tests__/boundary-fanout.utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AA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YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAC/E,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { existsSync, mkdirSync, mkdtempSync, rmSync, unlinkSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { dirname, join } from 'node:path';\nimport { describe, expect, it } from 'vitest';\nimport { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile, rollbackFanOut } from '../boundary-fanout.utils';\nimport { readFileSync } from 'node:fs';\n\n/**\n * The delete-time half of R4. The lockfile schema already refuses these entries at parse, so the\n * command-level `remove` tests are satisfied by the schema alone; this pins the second layer on its\n * own, because `remove` and `update` call it on whatever `files[]` holds at the moment of deletion.\n */\ndescribe('resolveRecordedModuleFile', () => {\n const root = join(tmpdir(), 'wildo-recorded-file-root');\n\n it('resolves a recorded module file inside the application root', () => {\n expect(resolveRecordedModuleFile(root, 'shared-lib/src/modules/billing/index.ts')).toBe(\n join(root, 'shared-lib/src/modules/billing/index.ts'),\n );\n });\n\n it.each(['.', '..', '../outside.ts', '/etc/passwd', 'shared-lib/src/modules/billing/.env', 'x/node_modules/y.js', 'a/../../b.ts'])(\n 'refuses %s',\n (recorded) => {\n expect(() => resolveRecordedModuleFile(root, recorded)).toThrow('Refusing to delete');\n },\n );\n});\n\n/**\n * A module's removal restored every FILE and left its whole directory tree behind, empty — invisible to\n * `git status`, measured on a scaffolded application at eight directories for one module (#1765 run).\n */\ndescribe('pruning the directories a module removal emptied', () => {\n function tree(files: string[]): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-prune-'));\n for (const file of files) {\n mkdirSync(dirname(join(root, file)), { recursive: true });\n writeFileSync(join(root, file), '');\n }\n return root;\n }\n const remove = (root: string, files: string[]) => { for (const file of files) unlinkSync(join(root, file)); };\n\n it('removes every directory the module\\'s files left empty, up to but never including the layer root', async () => {\n const moduleFiles = [\n 'backend-api/src/modules/loyalty/index.ts',\n 'backend-api/src/modules/loyalty/resources/index.ts',\n 'backend-api/src/modules/loyalty/addons/controllers/index.ts',\n 'shared-lib/src/modules/loyalty/resources/index.ts',\n ];\n const root = tree([...moduleFiles, 'backend-api/src/modules/index.ts']);\n remove(root, moduleFiles);\n expect(await pruneEmptiedModuleDirectories(root, moduleFiles)).toBe(6); // loyalty, resources, addons, addons/controllers; loyalty, resources\n expect(existsSync(join(root, 'backend-api/src/modules/loyalty'))).toBe(false);\n expect(existsSync(join(root, 'shared-lib/src/modules/loyalty'))).toBe(false);\n // The layer roots stay, even the one left empty: they are the host's, not the module's.\n expect(existsSync(join(root, 'backend-api/src/modules/index.ts'))).toBe(true);\n expect(existsSync(join(root, 'shared-lib/src/modules'))).toBe(true);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('stops at a directory that still holds anything — another module\\'s file or the operator\\'s own', async () => {\n const moduleFiles = ['backend-api/src/modules/loyalty/resources/points.ts'];\n const root = tree([...moduleFiles, 'backend-api/src/modules/loyalty/notes.md']);\n remove(root, moduleFiles);\n expect(await pruneEmptiedModuleDirectories(root, moduleFiles)).toBe(1);\n expect(existsSync(join(root, 'backend-api/src/modules/loyalty/resources'))).toBe(false);\n expect(existsSync(join(root, 'backend-api/src/modules/loyalty/notes.md'))).toBe(true);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('never climbs to or above the stop directory, and ignores a path outside it', async () => {\n const root = tree(['stop/a/b/file.ts', 'elsewhere/x/file.ts']);\n remove(root, ['stop/a/b/file.ts', 'elsewhere/x/file.ts']);\n expect(await pruneEmptiedDirectories([join(root, 'stop/a/b/file.ts'), join(root, 'elsewhere/x/file.ts')], join(root, 'stop'))).toBe(2);\n expect(existsSync(join(root, 'stop'))).toBe(true);\n expect(existsSync(join(root, 'elsewhere/x'))).toBe(true);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('a rolled-back install removes the directories it created, and restores a file it overwrote', async () => {\n const created = 'backend-api/src/modules/loyalty/resources/points.ts';\n const overwritten = 'shared-lib/src/modules/shared-thing/index.ts';\n const root = tree([created, overwritten, 'backup/index.ts']);\n writeFileSync(join(root, 'backup/index.ts'), 'the host version');\n await rollbackFanOut({\n saasRoot: root,\n result: { writtenFiles: [created, overwritten], backups: new Map([[overwritten, join(root, 'backup/index.ts')]]), overlapWarnings: [], ownedFiles: [created, overwritten] },\n });\n expect(existsSync(join(root, 'backend-api/src/modules/loyalty'))).toBe(false);\n expect(existsSync(join(root, 'backend-api/src/modules'))).toBe(true);\n expect(readFileSync(join(root, overwritten), 'utf8')).toBe('the host version');\n rmSync(root, { recursive: true, force: true });\n });\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-ignored-paths.utils.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/registry/__tests__/git-ignored-paths.utils.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pins for `gitIgnoredPathsUnder` (#2014): publish skips what the publisher's git ignores, keeps what it tracks even
|
|
3
|
+
* under an ignoring pattern, and says so when there is no repository to ask. Every repository here is a fresh `git init`
|
|
4
|
+
* under the OS temp directory, never inside this checkout.
|
|
5
|
+
*/
|
|
6
|
+
import { spawnSync } from 'node:child_process';
|
|
7
|
+
import { existsSync, mkdirSync, mkdtempSync, rmSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs';
|
|
8
|
+
import { tmpdir } from 'node:os';
|
|
9
|
+
import * as path from 'node:path';
|
|
10
|
+
import { afterEach, describe, expect, it } from 'vitest';
|
|
11
|
+
import { derivedEntryNames, gitIgnoredPathsUnder, removeDerivedContentLeftByRemoval } from '../git-ignored-paths.utils.js';
|
|
12
|
+
const cleanups = [];
|
|
13
|
+
afterEach(() => {
|
|
14
|
+
while (cleanups.length > 0)
|
|
15
|
+
rmSync(cleanups.pop(), { recursive: true, force: true });
|
|
16
|
+
});
|
|
17
|
+
function write(root, relative, text = 'x') {
|
|
18
|
+
mkdirSync(path.dirname(path.join(root, relative)), { recursive: true });
|
|
19
|
+
writeFileSync(path.join(root, relative), text);
|
|
20
|
+
}
|
|
21
|
+
function git(root, ...args) {
|
|
22
|
+
const result = spawnSync('git', ['-C', root, ...args], { encoding: 'utf8' });
|
|
23
|
+
if (result.status !== 0)
|
|
24
|
+
throw new Error(`git ${args.join(' ')} failed: ${result.stderr}`);
|
|
25
|
+
}
|
|
26
|
+
function repository() {
|
|
27
|
+
const root = mkdtempSync(path.join(tmpdir(), 'wildo-publish-ignore-'));
|
|
28
|
+
cleanups.push(root);
|
|
29
|
+
git(root, 'init', '-q');
|
|
30
|
+
git(root, 'config', 'user.email', 'test@example.invalid');
|
|
31
|
+
git(root, 'config', 'user.name', 'test');
|
|
32
|
+
return root;
|
|
33
|
+
}
|
|
34
|
+
describe('gitIgnoredPathsUnder (#2014)', () => {
|
|
35
|
+
it('reports build output the application ignores, asked from the boundary directory', () => {
|
|
36
|
+
const root = repository();
|
|
37
|
+
write(root, '.gitignore', 'dist/\n');
|
|
38
|
+
write(root, 'providers/proofping/backend/src/backend.exports.ts');
|
|
39
|
+
write(root, 'providers/proofping/backend/dist/backend.exports.js');
|
|
40
|
+
const boundary = path.join(root, 'providers/proofping');
|
|
41
|
+
const answer = gitIgnoredPathsUnder(boundary, ['backend/src/backend.exports.ts', path.join('backend', 'dist', 'backend.exports.js')]);
|
|
42
|
+
expect(answer.asked).toBe(true);
|
|
43
|
+
expect([...answer.ignored]).toEqual([path.join('backend', 'dist', 'backend.exports.js')]);
|
|
44
|
+
});
|
|
45
|
+
it('keeps a file the author TRACKS even when a pattern ignores it', () => {
|
|
46
|
+
const root = repository();
|
|
47
|
+
write(root, '.gitignore', 'generated/\n');
|
|
48
|
+
write(root, 'mod/generated/schema.json');
|
|
49
|
+
git(root, 'add', '-f', 'mod/generated/schema.json');
|
|
50
|
+
git(root, 'commit', '-q', '-m', 'track it');
|
|
51
|
+
write(root, 'mod/generated/scratch.json');
|
|
52
|
+
const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['generated/schema.json', 'generated/scratch.json']);
|
|
53
|
+
expect([...answer.ignored]).toEqual(['generated/scratch.json']);
|
|
54
|
+
});
|
|
55
|
+
it('answers asked: false outside any repository, ignoring nothing', () => {
|
|
56
|
+
const root = mkdtempSync(path.join(tmpdir(), 'wildo-publish-norepo-'));
|
|
57
|
+
cleanups.push(root);
|
|
58
|
+
write(root, 'mod/dist/a.js');
|
|
59
|
+
const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['dist/a.js']);
|
|
60
|
+
// A temp directory can sit inside a repository on some hosts; only assert when git confirms it does not.
|
|
61
|
+
const inRepository = spawnSync('git', ['-C', root, 'rev-parse', '--show-toplevel']).status === 0;
|
|
62
|
+
if (!inRepository) {
|
|
63
|
+
expect(answer.asked).toBe(false);
|
|
64
|
+
expect(answer.ignored.size).toBe(0);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
describe('removeDerivedContentLeftByRemoval (#2014)', () => {
|
|
69
|
+
const PACKAGE_JSON = JSON.stringify({ name: '@a/provider-proofping', exports: { './backend': { source: './src/backend.exports.ts', import: './dist/backend.exports.js' } } });
|
|
70
|
+
/**
|
|
71
|
+
* A removed provider package: its recorded files unlinked, its `node_modules` and `dist` left behind. Returns the
|
|
72
|
+
* derived names read BEFORE the unlink, as `wildo registry remove` reads them.
|
|
73
|
+
*/
|
|
74
|
+
async function removedProvider(root, ignore = 'node_modules/\ndist/\n') {
|
|
75
|
+
write(root, '.gitignore', ignore);
|
|
76
|
+
const linkTarget = path.join(root, 'node_modules/.pnpm/zod/index.js');
|
|
77
|
+
write(root, 'node_modules/.pnpm/zod/index.js', 'the package a link points at');
|
|
78
|
+
const pkg = path.join(root, 'providers/proofping/backend');
|
|
79
|
+
const removed = [path.join(pkg, 'package.json'), path.join(pkg, 'src/backend.exports.ts')];
|
|
80
|
+
write(root, 'providers/proofping/backend/package.json', PACKAGE_JSON);
|
|
81
|
+
write(root, 'providers/proofping/backend/src/backend.exports.ts');
|
|
82
|
+
write(root, 'providers/proofping/backend/dist/backend.exports.js');
|
|
83
|
+
mkdirSync(path.join(pkg, 'node_modules'), { recursive: true });
|
|
84
|
+
symlinkSync(path.dirname(linkTarget), path.join(pkg, 'node_modules/zod'));
|
|
85
|
+
const derivedEntryNamesByDirectory = new Map([[pkg, await derivedEntryNames(pkg)]]);
|
|
86
|
+
for (const file of removed)
|
|
87
|
+
unlinkSync(file);
|
|
88
|
+
return { layer: path.join(root, 'providers'), removed, linkTarget, derivedEntryNamesByDirectory };
|
|
89
|
+
}
|
|
90
|
+
it('reads the build output a package declares, and never its source directory', async () => {
|
|
91
|
+
const root = repository();
|
|
92
|
+
write(root, 'pkg/package.json', PACKAGE_JSON);
|
|
93
|
+
expect([...(await derivedEntryNames(path.join(root, 'pkg')))].sort()).toEqual(['.turbo', '.wildo-runtime-signals', 'dist', 'node_modules']);
|
|
94
|
+
});
|
|
95
|
+
it('deletes the derived, ignored content a removed package leaves, and never what a link points at', async () => {
|
|
96
|
+
const root = repository();
|
|
97
|
+
const { layer, removed, linkTarget, derivedEntryNamesByDirectory } = await removedProvider(root);
|
|
98
|
+
const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });
|
|
99
|
+
expect(outcome.deleted.sort()).toEqual([path.join('providers/proofping/backend/dist'), path.join('providers/proofping/backend/node_modules')]);
|
|
100
|
+
expect(outcome.kept).toEqual([]);
|
|
101
|
+
expect(existsSync(path.join(root, 'providers/proofping/backend/dist'))).toBe(false);
|
|
102
|
+
expect(existsSync(linkTarget)).toBe(true);
|
|
103
|
+
});
|
|
104
|
+
it('never deletes an ignored file a person wrote: a .env keeps its directory, and says so', async () => {
|
|
105
|
+
const root = repository();
|
|
106
|
+
const { layer, removed, derivedEntryNamesByDirectory } = await removedProvider(root, 'node_modules/\ndist/\n.env\n');
|
|
107
|
+
write(root, 'providers/proofping/backend/.env', 'API_KEY=secret');
|
|
108
|
+
const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });
|
|
109
|
+
expect(outcome.deleted).toEqual([]);
|
|
110
|
+
expect(outcome.kept).toEqual([{ directory: path.join('providers/proofping/backend'), because: expect.stringContaining('.env is ignored by git but not something a build or an install makes') }]);
|
|
111
|
+
expect(existsSync(path.join(root, 'providers/proofping/backend/.env'))).toBe(true);
|
|
112
|
+
expect(existsSync(path.join(root, 'providers/proofping/backend/dist/backend.exports.js'))).toBe(true);
|
|
113
|
+
});
|
|
114
|
+
it('touches nothing in a directory where the application still has a file of its own', async () => {
|
|
115
|
+
const root = repository();
|
|
116
|
+
const { layer, removed, derivedEntryNamesByDirectory } = await removedProvider(root);
|
|
117
|
+
write(root, 'providers/proofping/backend/src/kept-by-the-application.ts');
|
|
118
|
+
const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });
|
|
119
|
+
expect(outcome.deleted).toEqual([]);
|
|
120
|
+
expect(existsSync(path.join(root, 'providers/proofping/backend/dist/backend.exports.js'))).toBe(true);
|
|
121
|
+
});
|
|
122
|
+
it('deletes nothing outside a repository', async () => {
|
|
123
|
+
const root = mkdtempSync(path.join(tmpdir(), 'wildo-remove-norepo-'));
|
|
124
|
+
cleanups.push(root);
|
|
125
|
+
write(root, 'providers/p/backend/dist/a.js');
|
|
126
|
+
write(root, 'providers/p/backend/package.json', PACKAGE_JSON);
|
|
127
|
+
const removed = [path.join(root, 'providers/p/backend/package.json')];
|
|
128
|
+
unlinkSync(removed[0]);
|
|
129
|
+
const inRepository = spawnSync('git', ['-C', root, 'rev-parse', '--show-toplevel']).status === 0;
|
|
130
|
+
const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: path.join(root, 'providers'), removedFilesAbs: removed });
|
|
131
|
+
// A temp directory can sit inside a repository on some hosts; only assert when git confirms it does not.
|
|
132
|
+
if (!inRepository) {
|
|
133
|
+
expect(outcome.deleted).toEqual([]);
|
|
134
|
+
expect(outcome.kept[0]?.because).toMatch(/git could not say what it ignores here/);
|
|
135
|
+
expect(existsSync(path.join(root, 'providers/p/backend/dist/a.js'))).toBe(true);
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
describe('gitIgnoredPathsUnder reads the repository, not the machine (#2014 review L4)', () => {
|
|
140
|
+
it('ignores a global excludes file, so two publishers ship the same artifact', () => {
|
|
141
|
+
const root = repository();
|
|
142
|
+
const globalExcludes = path.join(root, '..', `${path.basename(root)}-global-excludes`);
|
|
143
|
+
writeFileSync(globalExcludes, '*.secret-to-this-machine\n');
|
|
144
|
+
cleanups.push(globalExcludes);
|
|
145
|
+
git(root, 'config', 'core.excludesFile', globalExcludes);
|
|
146
|
+
write(root, 'mod/notes.secret-to-this-machine');
|
|
147
|
+
const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['notes.secret-to-this-machine']);
|
|
148
|
+
// Git ANSWERED, and the answer ignores nothing: a switch that made git fail would also report nothing ignored.
|
|
149
|
+
expect(answer.asked).toBe(true);
|
|
150
|
+
expect(answer.ignored.size).toBe(0);
|
|
151
|
+
});
|
|
152
|
+
it('says why git could not answer instead of calling every failure "no repository"', () => {
|
|
153
|
+
const root = repository();
|
|
154
|
+
const answer = gitIgnoredPathsUnder(path.join(root, 'does-not-exist'), ['a.js']);
|
|
155
|
+
expect(answer.asked).toBe(false);
|
|
156
|
+
expect(answer.unanswered).toBeTruthy();
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
//# sourceMappingURL=git-ignored-paths.utils.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-ignored-paths.utils.test.js","sourceRoot":"","sources":["../../../../../../../src/services/registry/__tests__/git-ignored-paths.utils.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7G,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAExH,MAAM,QAAQ,GAAa,EAAE,CAAC;AAC9B,SAAS,CAAC,GAAG,EAAE;IACb,OAAO,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACxF,CAAC,CAAC,CAAC;AAEH,SAAS,KAAK,CAAC,IAAY,EAAE,QAAgB,EAAE,IAAI,GAAG,GAAG;IACvD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,GAAG,CAAC,IAAY,EAAE,GAAG,IAAc;IAC1C,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC,IAAI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tracks even\n * under an ignoring pattern, and says so when there is no repository to ask. Every repository here is a fresh `git init`\n * under the OS temp directory, never inside this checkout.\n */\nimport { spawnSync } from 'node:child_process';\nimport { existsSync, mkdirSync, mkdtempSync, rmSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport * as path from 'node:path';\nimport { afterEach, describe, expect, it } from 'vitest';\nimport { derivedEntryNames, gitIgnoredPathsUnder, removeDerivedContentLeftByRemoval } from '../git-ignored-paths.utils';\n\nconst cleanups: string[] = [];\nafterEach(() => {\n while (cleanups.length > 0) rmSync(cleanups.pop()!, { recursive: true, force: true });\n});\n\nfunction write(root: string, relative: string, text = 'x'): void {\n mkdirSync(path.dirname(path.join(root, relative)), { recursive: true });\n writeFileSync(path.join(root, relative), text);\n}\n\nfunction git(root: string, ...args: string[]): void {\n const result = spawnSync('git', ['-C', root, ...args], { encoding: 'utf8' });\n if (result.status !== 0) throw new Error(`git ${args.join(' ')} failed: ${result.stderr}`);\n}\n\nfunction repository(): string {\n const root = mkdtempSync(path.join(tmpdir(), 'wildo-publish-ignore-'));\n cleanups.push(root);\n git(root, 'init', '-q');\n git(root, 'config', 'user.email', 'test@example.invalid');\n git(root, 'config', 'user.name', 'test');\n return root;\n}\n\ndescribe('gitIgnoredPathsUnder (#2014)', () => {\n it('reports build output the application ignores, asked from the boundary directory', () => {\n const root = repository();\n write(root, '.gitignore', 'dist/\\n');\n write(root, 'providers/proofping/backend/src/backend.exports.ts');\n write(root, 'providers/proofping/backend/dist/backend.exports.js');\n const boundary = path.join(root, 'providers/proofping');\n const answer = gitIgnoredPathsUnder(boundary, ['backend/src/backend.exports.ts', path.join('backend', 'dist', 'backend.exports.js')]);\n expect(answer.asked).toBe(true);\n expect([...answer.ignored]).toEqual([path.join('backend', 'dist', 'backend.exports.js')]);\n });\n\n it('keeps a file the author TRACKS even when a pattern ignores it', () => {\n const root = repository();\n write(root, '.gitignore', 'generated/\\n');\n write(root, 'mod/generated/schema.json');\n git(root, 'add', '-f', 'mod/generated/schema.json');\n git(root, 'commit', '-q', '-m', 'track it');\n write(root, 'mod/generated/scratch.json');\n const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['generated/schema.json', 'generated/scratch.json']);\n expect([...answer.ignored]).toEqual(['generated/scratch.json']);\n });\n\n it('answers asked: false outside any repository, ignoring nothing', () => {\n const root = mkdtempSync(path.join(tmpdir(), 'wildo-publish-norepo-'));\n cleanups.push(root);\n write(root, 'mod/dist/a.js');\n const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['dist/a.js']);\n // A temp directory can sit inside a repository on some hosts; only assert when git confirms it does not.\n const inRepository = spawnSync('git', ['-C', root, 'rev-parse', '--show-toplevel']).status === 0;\n if (!inRepository) {\n expect(answer.asked).toBe(false);\n expect(answer.ignored.size).toBe(0);\n }\n });\n});\n\ndescribe('removeDerivedContentLeftByRemoval (#2014)', () => {\n const PACKAGE_JSON = JSON.stringify({ name: '@a/provider-proofping', exports: { './backend': { source: './src/backend.exports.ts', import: './dist/backend.exports.js' } } });\n\n /**\n * A removed provider package: its recorded files unlinked, its `node_modules` and `dist` left behind. Returns the\n * derived names read BEFORE the unlink, as `wildo registry remove` reads them.\n */\n async function removedProvider(root: string, ignore = 'node_modules/\\ndist/\\n') {\n write(root, '.gitignore', ignore);\n const linkTarget = path.join(root, 'node_modules/.pnpm/zod/index.js');\n write(root, 'node_modules/.pnpm/zod/index.js', 'the package a link points at');\n const pkg = path.join(root, 'providers/proofping/backend');\n const removed = [path.join(pkg, 'package.json'), path.join(pkg, 'src/backend.exports.ts')];\n write(root, 'providers/proofping/backend/package.json', PACKAGE_JSON);\n write(root, 'providers/proofping/backend/src/backend.exports.ts');\n write(root, 'providers/proofping/backend/dist/backend.exports.js');\n mkdirSync(path.join(pkg, 'node_modules'), { recursive: true });\n symlinkSync(path.dirname(linkTarget), path.join(pkg, 'node_modules/zod'));\n const derivedEntryNamesByDirectory = new Map([[pkg, await derivedEntryNames(pkg)]]);\n for (const file of removed) unlinkSync(file);\n return { layer: path.join(root, 'providers'), removed, linkTarget, derivedEntryNamesByDirectory };\n }\n\n it('reads the build output a package declares, and never its source directory', async () => {\n const root = repository();\n write(root, 'pkg/package.json', PACKAGE_JSON);\n expect([...(await derivedEntryNames(path.join(root, 'pkg')))].sort()).toEqual(['.turbo', '.wildo-runtime-signals', 'dist', 'node_modules']);\n });\n\n it('deletes the derived, ignored content a removed package leaves, and never what a link points at', async () => {\n const root = repository();\n const { layer, removed, linkTarget, derivedEntryNamesByDirectory } = await removedProvider(root);\n const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });\n expect(outcome.deleted.sort()).toEqual([path.join('providers/proofping/backend/dist'), path.join('providers/proofping/backend/node_modules')]);\n expect(outcome.kept).toEqual([]);\n expect(existsSync(path.join(root, 'providers/proofping/backend/dist'))).toBe(false);\n expect(existsSync(linkTarget)).toBe(true);\n });\n\n it('never deletes an ignored file a person wrote: a .env keeps its directory, and says so', async () => {\n const root = repository();\n const { layer, removed, derivedEntryNamesByDirectory } = await removedProvider(root, 'node_modules/\\ndist/\\n.env\\n');\n write(root, 'providers/proofping/backend/.env', 'API_KEY=secret');\n const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });\n expect(outcome.deleted).toEqual([]);\n expect(outcome.kept).toEqual([{ directory: path.join('providers/proofping/backend'), because: expect.stringContaining('.env is ignored by git but not something a build or an install makes') }]);\n expect(existsSync(path.join(root, 'providers/proofping/backend/.env'))).toBe(true);\n expect(existsSync(path.join(root, 'providers/proofping/backend/dist/backend.exports.js'))).toBe(true);\n });\n\n it('touches nothing in a directory where the application still has a file of its own', async () => {\n const root = repository();\n const { layer, removed, derivedEntryNamesByDirectory } = await removedProvider(root);\n write(root, 'providers/proofping/backend/src/kept-by-the-application.ts');\n const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: layer, removedFilesAbs: removed, derivedEntryNamesByDirectory });\n expect(outcome.deleted).toEqual([]);\n expect(existsSync(path.join(root, 'providers/proofping/backend/dist/backend.exports.js'))).toBe(true);\n });\n\n it('deletes nothing outside a repository', async () => {\n const root = mkdtempSync(path.join(tmpdir(), 'wildo-remove-norepo-'));\n cleanups.push(root);\n write(root, 'providers/p/backend/dist/a.js');\n write(root, 'providers/p/backend/package.json', PACKAGE_JSON);\n const removed = [path.join(root, 'providers/p/backend/package.json')];\n unlinkSync(removed[0]!);\n const inRepository = spawnSync('git', ['-C', root, 'rev-parse', '--show-toplevel']).status === 0;\n const outcome = await removeDerivedContentLeftByRemoval({ saasRoot: root, layerRootAbs: path.join(root, 'providers'), removedFilesAbs: removed });\n // A temp directory can sit inside a repository on some hosts; only assert when git confirms it does not.\n if (!inRepository) {\n expect(outcome.deleted).toEqual([]);\n expect(outcome.kept[0]?.because).toMatch(/git could not say what it ignores here/);\n expect(existsSync(path.join(root, 'providers/p/backend/dist/a.js'))).toBe(true);\n }\n });\n});\n\ndescribe('gitIgnoredPathsUnder reads the repository, not the machine (#2014 review L4)', () => {\n it('ignores a global excludes file, so two publishers ship the same artifact', () => {\n const root = repository();\n const globalExcludes = path.join(root, '..', `${path.basename(root)}-global-excludes`);\n writeFileSync(globalExcludes, '*.secret-to-this-machine\\n');\n cleanups.push(globalExcludes);\n git(root, 'config', 'core.excludesFile', globalExcludes);\n write(root, 'mod/notes.secret-to-this-machine');\n const answer = gitIgnoredPathsUnder(path.join(root, 'mod'), ['notes.secret-to-this-machine']);\n // Git ANSWERED, and the answer ignores nothing: a switch that made git fail would also report nothing ignored.\n expect(answer.asked).toBe(true);\n expect(answer.ignored.size).toBe(0);\n });\n\n it('says why git could not answer instead of calling every failure \"no repository\"', () => {\n const root = repository();\n const answer = gitIgnoredPathsUnder(path.join(root, 'does-not-exist'), ['a.js']);\n expect(answer.asked).toBe(false);\n expect(answer.unanswered).toBeTruthy();\n });\n});\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installing registry modules from the framework checkout's own source (#2015).
|
|
3
|
+
*
|
|
4
|
+
* Each test builds a THROWAWAY framework checkout: its own `git init` in a temp directory, never the real
|
|
5
|
+
* repository (a fixture commit that reaches the real checkout is a known hazard).
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=local-checkout-module-source.service.test.d.ts.map
|
package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-checkout-module-source.service.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/registry/__tests__/local-checkout-module-source.service.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|