@wildo-ai/wildo-cli 1.1.10 → 1.1.11
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/dist/bin/wildo.d.ts.map +1 -1
- package/dist/bin/wildo.js +0 -0
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +2 -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 +17 -1
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/blueprint/pack.command.d.ts +16 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/pack.command.js +86 -0
- package/dist/src/commands/blueprint/pack.command.js.map +1 -0
- package/dist/src/commands/blueprint/publish.command.d.ts +16 -0
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/publish.command.js +114 -0
- package/dist/src/commands/blueprint/publish.command.js.map +1 -0
- package/dist/src/commands/blueprint/status.command.d.ts +14 -0
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -0
- package/dist/src/commands/blueprint/status.command.js +62 -0
- package/dist/src/commands/blueprint/status.command.js.map +1 -0
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +6 -1
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts +6 -4
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js +12 -7
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
- package/dist/src/commands/build/tasks.command.js.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +3 -1
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
- package/dist/src/commands/config/data-retention.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
- package/dist/src/commands/config/legal-notice.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +24 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
- package/dist/src/commands/config/service-consent.command.js.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +13 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +37 -2
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +3 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +35 -3
- package/dist/src/commands/config/validate.command.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.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts +6 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +8 -2
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +3 -1
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +3 -1
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +43 -6
- 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.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +3 -2
- package/dist/src/commands/context/launch-blockers.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.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +2 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
- package/dist/src/commands/context/pipelines.command.js +6 -3
- package/dist/src/commands/context/pipelines.command.js.map +1 -1
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- package/dist/src/commands/creation/accept.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +2 -1
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
- package/dist/src/commands/creation/diff.command.js.map +1 -1
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +3 -2
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- package/dist/src/commands/creation/persona.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js +3 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
- package/dist/src/commands/creation/propose.command.js.map +1 -1
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
- package/dist/src/commands/creation/pulse.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +2 -1
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -1
- package/dist/src/commands/creation/reason.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +2 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
- package/dist/src/commands/creation/statusline.command.js.map +1 -1
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
- package/dist/src/commands/creation/watch.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +1 -1
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +32 -5
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.js.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +34 -8
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/stop-all.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.map +1 -1
- package/dist/src/commands/docs/check.command.d.ts +25 -0
- package/dist/src/commands/docs/check.command.d.ts.map +1 -0
- package/dist/src/commands/docs/check.command.js +91 -0
- package/dist/src/commands/docs/check.command.js.map +1 -0
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/look.command.d.ts +26 -0
- package/dist/src/commands/frontend/look.command.d.ts.map +1 -0
- package/dist/src/commands/frontend/look.command.js +132 -0
- package/dist/src/commands/frontend/look.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/audit.command.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 +3 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js +75 -0
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +4 -3
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +94 -32
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-promote.command.js +137 -0
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-providers.command.js +80 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/registry-host.command.js +393 -0
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.js.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +1 -2
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.js.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +21 -2
- 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.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js +10 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +5 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +30 -3
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +59 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +401 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/rotate.command.d.ts +36 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate.command.js +140 -0
- package/dist/src/commands/keys/rotate.command.js.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
- package/dist/src/commands/keys/thumbprint.command.js +64 -0
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +8 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +37 -6
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +18 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +115 -1
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/logs.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.js +1 -1
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.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.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +2 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.js.map +1 -1
- package/dist/src/commands/local/up.command.d.ts +11 -5
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js +51 -145
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +8 -6
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +12 -19
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +2 -1
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js +120 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts +14 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -0
- package/dist/src/commands/providers/new.command.js +119 -0
- package/dist/src/commands/providers/new.command.js.map +1 -0
- package/dist/src/commands/providers/probe.command.d.ts +20 -0
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
- package/dist/src/commands/providers/probe.command.js +164 -0
- package/dist/src/commands/providers/probe.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts +34 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -0
- package/dist/src/commands/providers/register.command.js +258 -0
- package/dist/src/commands/providers/register.command.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +1 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +6 -46
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts +3 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +23 -212
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts +32 -0
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
- package/dist/src/commands/registry/domain.command.js +118 -0
- package/dist/src/commands/registry/domain.command.js.map +1 -0
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts.map +1 -1
- package/dist/src/commands/registry/key.command.js.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
- package/dist/src/commands/registry/outdated.command.js.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +26 -50
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +16 -1
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +11 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +145 -12
- 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 +4 -4
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts.map +1 -1
- package/dist/src/commands/registry/status.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +22 -6
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
- package/dist/src/commands/registry/yank.command.js.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.js.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.js.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/dead.command.d.ts +11 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
- package/dist/src/commands/seal/dead.command.js +44 -0
- package/dist/src/commands/seal/dead.command.js.map +1 -0
- package/dist/src/commands/seal/export.command.d.ts +12 -0
- package/dist/src/commands/seal/export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/export.command.js +67 -0
- package/dist/src/commands/seal/export.command.js.map +1 -0
- package/dist/src/commands/seal/log-export.command.d.ts +18 -0
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-export.command.js +93 -0
- package/dist/src/commands/seal/log-export.command.js.map +1 -0
- package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/log-verify.command.js +74 -0
- package/dist/src/commands/seal/log-verify.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts +12 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
- package/dist/src/commands/seal/retry.command.js +48 -0
- package/dist/src/commands/seal/retry.command.js.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
- package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
- package/dist/src/commands/seal/verify.command.d.ts +18 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
- package/dist/src/commands/seal/verify.command.js +120 -0
- package/dist/src/commands/seal/verify.command.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/github.command.js.map +1 -1
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js +3 -2
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +3 -2
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/unset.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +3 -0
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts +22 -0
- package/dist/src/commands/website/look.command.d.ts.map +1 -0
- package/dist/src/commands/website/look.command.js +147 -0
- package/dist/src/commands/website/look.command.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js +2 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.js.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
- package/dist/src/kernel/command-index-cache.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +3 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts +5 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js +13 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.js.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +5 -3
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts +25 -0
- package/dist/src/kernel/json-document-output.d.ts.map +1 -0
- package/dist/src/kernel/json-document-output.js +29 -0
- package/dist/src/kernel/json-document-output.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +16 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js +21 -4
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +6 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +6 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +5 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +1 -4
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.js.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.d.ts +89 -0
- package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/ai-use-declarations.service.js +178 -0
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +6 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +12 -1
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-env.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +6 -0
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +13 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +74 -21
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +52 -4
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +118 -8
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
- package/dist/src/services/application/backend-config.paths.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-preflight.service.js +2 -2
- package/dist/src/services/application/creation-preflight.service.js.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.js +96 -2
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts +23 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +107 -0
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -0
- package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts +23 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js +62 -0
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +13 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +4 -2
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +7 -6
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +7 -6
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +264 -108
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +53 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +45 -13
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +4 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js +88 -0
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-export.service.js +899 -0
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-line.service.js +200 -0
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
- package/dist/src/services/blueprint/blueprint-report.js +32 -0
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js +239 -0
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -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 +4 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +7 -3
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +24 -3
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -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.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js +35 -0
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
- package/dist/src/services/companion/build-console.service.d.ts +50 -1
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +61 -6
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +2 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/git-helper.service.js.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +5 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +5 -12
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +12 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +77 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +69 -1
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +77 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +155 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +2 -2
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +4 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts +144 -4
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js +467 -20
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts +6 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +13 -2
- 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 -2
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +5 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.service.js.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +79 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js +157 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- 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 +4 -1
- 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.map +1 -1
- 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 +9 -16
- 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 +67 -25
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +2 -2
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -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 +51 -2
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -2
- 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 +59 -45
- 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 +26 -20
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.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 +19 -2
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js +3 -57
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js +83 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +2 -2
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +20 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +14 -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 +42 -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.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +60 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.js +317 -64
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +21 -2
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.js +23 -40
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +20 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.js +47 -5
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +28 -4
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.js +67 -9
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.js +63 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts +24 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.js +22 -0
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -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.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +30 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +47 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -4
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +18 -12
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +1 -1
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- 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 -6
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.js +6 -0
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -7
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.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 +15 -19
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +21 -3
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +36 -58
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +37 -58
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +17 -12
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +100 -23
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.js +189 -0
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
- package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js +25 -7
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.d.ts +33 -0
- package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -0
- package/dist/src/services/framework/enum-member-docs.reader.js +63 -0
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +30 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +57 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +6 -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 +64 -2
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +3 -2
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +0 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +11 -36
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -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 +13 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +81 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +149 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -5
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +10 -36
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +15 -58
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +4 -1
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +6 -0
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +15 -1
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +2 -4
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +5 -7
- package/dist/src/services/framework/framework-version.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.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +9 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +14 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
- 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.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.map +1 -1
- 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 +12 -4
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-look.service.js +640 -0
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/domain-generator.service.js.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.js.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.js.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.js.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.js.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.d.ts +9 -4
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.js +16 -9
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts +0 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/index.js +0 -1
- package/dist/src/services/registry/index.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.d.ts +25 -0
- package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -0
- package/dist/src/services/registry/installed-provider-module.service.js +56 -0
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +12 -10
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.js +60 -58
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.d.ts +6 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.js +7 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts +70 -0
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-install.service.js +199 -0
- package/dist/src/services/registry/module-install.service.js.map +1 -0
- package/dist/src/services/registry/module-publish.service.d.ts +49 -0
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-publish.service.js +79 -0
- package/dist/src/services/registry/module-publish.service.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +26 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +474 -20
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +133 -6
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-install-step.d.ts +77 -14
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +189 -4
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +27 -4
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +513 -19
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js +681 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +361 -0
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +107 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js +484 -0
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +84 -0
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe.service.js +230 -0
- package/dist/src/services/registry/provider-probe.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +35 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-publication.service.js +203 -0
- package/dist/src/services/registry/provider-publication.service.js.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +73 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js +88 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +90 -16
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +35 -2
- package/dist/src/services/registry/registry-command.utils.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.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.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 +11 -30
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/tools/utility-tools.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts +167 -0
- package/dist/src/services/website/website-look.service.d.ts.map +1 -0
- package/dist/src/services/website/website-look.service.js +430 -0
- package/dist/src/services/website/website-look.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +5 -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 +20 -0
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +16 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +19 -2
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/framework-root-package.json +9 -2
- package/package.json +26 -19
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +4 -11
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +159 -5
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +23 -5
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +6 -1
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +110 -0
- package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +23 -79
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +21 -75
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +22 -75
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +27 -0
- package/templates/infra/registry-host/Caddyfile +33 -0
- package/templates/infra/registry-host/backup.sh +73 -0
- package/templates/infra/registry-host/docker-compose.yml +328 -0
- package/templates/infra/registry-host/restore-check.sh +43 -0
- package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
- package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
- package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
- package/templates/saas/blueprints/internal-tool/blueprint.json +47 -0
- package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
- package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
- package/templates/saas/i18n/email/components/labels.en.ts +14 -0
- package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +8 -0
- package/templates/saas/i18n/email/index.ts +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
- package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +6 -8
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
- package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +6 -2
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +55 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +47 -10
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +38 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +1 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +28 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +92 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +21 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +5 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
- package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +397 -0
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +397 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +55 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +35 -32
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +23 -20
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +43 -24
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applications.en.ts +336 -0
- package/templates/saas/i18n/engine/resources/applications.fr.ts +336 -0
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +140 -11
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +140 -11
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +72 -48
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +72 -48
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +153 -7
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +23 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +23 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +36 -33
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +104 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +13 -5
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +31 -23
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +5 -2
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +18 -15
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.en.ts → organizationRelationships.en.ts} +220 -37
- package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.fr.ts → organizationRelationships.fr.ts} +204 -21
- package/templates/saas/i18n/engine/resources/{serviceEngagements.en.ts → organizationRepresentations.en.ts} +97 -84
- package/templates/saas/i18n/engine/resources/{serviceEngagements.fr.ts → organizationRepresentations.fr.ts} +75 -62
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +14 -0
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +68 -49
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizations.en.ts +71 -11
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +71 -11
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +42 -0
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +42 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +28 -0
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +28 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +50 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +50 -0
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.en.ts → relationshipCapabilityGrants.en.ts} +19 -3
- package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.fr.ts → relationshipCapabilityGrants.fr.ts} +40 -24
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.en.ts → relationshipInvitations.en.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.fr.ts → relationshipInvitations.fr.ts} +137 -55
- package/templates/saas/i18n/engine/resources/{clientMailboxes.en.ts → relationshipMailboxes.en.ts} +35 -35
- package/templates/saas/i18n/engine/resources/{clientMailboxes.fr.ts → relationshipMailboxes.fr.ts} +39 -39
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.en.ts → representativeAssignments.en.ts} +43 -6
- package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.fr.ts → representativeAssignments.fr.ts} +43 -6
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +405 -21
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/user_self.en.ts +112 -38
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +125 -51
- package/templates/saas/i18n/engine/resources/users.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/users.fr.ts +11 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +27 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +27 -3
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +702 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +183 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +58 -34
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +58 -26
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +96 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +736 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +40 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +232 -0
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +232 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +16 -9
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -2
- package/templates/saas/scenarios/add-locale/scenario.json +5 -3
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +5 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
- package/templates/saas/scenarios/add-marketing-page/scenario.json +72 -18
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
- package/templates/saas/scenarios/add-minion/scenario.json +3 -3
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
- package/templates/saas/scenarios/add-module/scenario.json +2 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +1 -1
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
- package/templates/saas/scenarios/add-resource/scenario.json +2 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +10 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +4 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +2 -2
- package/templates/saas/scenarios/add-technical-doc/scenario.json +2 -2
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +49 -6
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
- package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +25 -20
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +15 -9
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +5 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
- package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +46 -411
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
- package/templates/saas/scenarios/add-website/scenario.json +1 -1
- package/templates/saas/scenarios/add-website-section/scenario.json +17 -7
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +1 -1
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +9 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
- package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +14 -12
- package/templates/saas/skeleton/frontend/src/index.css.hbs +145 -130
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +35 -0
- package/templates/saas/skeleton/gitignore +1 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
- package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
- package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
- package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
- package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
- package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
- package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
|
@@ -27,8 +27,9 @@ import { describeProtectedFile, planProtectedRemoval, registryForceBackupDirecto
|
|
|
27
27
|
import { deriveMigrationObligation, describeMigrationObligation, findResourceConfigurationFiles, } from '../../services/registry/migration-obligation.utils.js';
|
|
28
28
|
import { restoreRegistrationSnapshot, reverseModuleRegistration } from '../../services/registry/module-registration.service.js';
|
|
29
29
|
import { MODULE_BOUNDARY_LAYER_ROOTS, ModuleRegistrationScenario } from '@wildo-ai/platform-config-lib';
|
|
30
|
+
import { SAAS_CONFIG_FILE_NAME } from '@wildo-ai/application-creation-runtime';
|
|
30
31
|
import { derivedEntryNames, removeDerivedContentLeftByRemoval } from '../../services/registry/git-ignored-paths.utils.js';
|
|
31
|
-
import { installAfterProviderChange, NO_INSTALL_FLAG } from '../../services/registry/provider-install-step.js';
|
|
32
|
+
import { installAfterProviderChange, NO_INSTALL_FLAG, syncSkillsAfterProviderChange } from '../../services/registry/provider-install-step.js';
|
|
32
33
|
import { moduleArtifactRoot } from '../../services/registry/module-artifact-files.utils.js';
|
|
33
34
|
/**
|
|
34
35
|
* Delete one recorded module FILE. Deliberately `unlink`, not a recursive `rm`: a lockfile entry
|
|
@@ -214,6 +215,20 @@ export default class RegistryRemoveCommand extends BaseCommand {
|
|
|
214
215
|
// #2014: a removed provider's packages leave the dependency graph only once the install runs again.
|
|
215
216
|
if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE)
|
|
216
217
|
installAfterProviderChange(ctx, saasRoot, moduleId);
|
|
218
|
+
// #2026: the removed provider's skills leave `.claude/skills/` with it.
|
|
219
|
+
if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE && (existing.files ?? []).some((file) => /^providers\/[^/]+\/skills\//.test(file))) {
|
|
220
|
+
syncSkillsAfterProviderChange(ctx, saasRoot, moduleId);
|
|
221
|
+
}
|
|
222
|
+
// #2022 review F4: an AUGMENTATION's opt-in is the application's line, so remove never edits it, and an opt-in naming
|
|
223
|
+
// a package that is gone refuses the provider sync below. Say so first, naming the entry to delete.
|
|
224
|
+
const removedAugmentation = existing.registration?.providerWiring;
|
|
225
|
+
if (removedAugmentation?.augments !== undefined && removedAugmentation.backendPackage !== undefined) {
|
|
226
|
+
const config = await fs.readFile(path.join(saasRoot, SAAS_CONFIG_FILE_NAME), 'utf8').catch(() => '');
|
|
227
|
+
if (config.includes(`'${removedAugmentation.backendPackage}'`) || config.includes(`"${removedAugmentation.backendPackage}"`)) {
|
|
228
|
+
ctx.log.warn(` [opt-in left] ${SAAS_CONFIG_FILE_NAME} still lists ${removedAugmentation.backendPackage} under providers.augmentations.`
|
|
229
|
+
+ `${JSON.stringify(removedAugmentation.augments)}. Delete that entry: the package is gone, so the provider sync refuses it until you do.`);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
217
232
|
try {
|
|
218
233
|
await runProviderSync({
|
|
219
234
|
saasRoot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove.command.js","sourceRoot":"","sources":["../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM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;YAAE,KAAK,MAAM,IAAI,IAAI,2BAA2B,CAAC,mBAAmB,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEjH,oGAAoG;QACpG,IAAI,QAAQ,CAAC,YAAY,EAAE,QAAQ,KAAK,0BAA0B,CAAC,oBAAoB;YAAE,0BAA0B,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAE7I,IAAI,CAAC;YACH,MAAM,eAAe,CAAC;gBACpB,QAAQ;gBACR,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC;aAC3B,CAAC,CAAC;YACH,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACxC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,2BAA4B,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,WAAW,QAAQ,IAAI,QAAQ,CAAC,OAAO,GAAG;SACpD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry remove <moduleId>` — uninstall a module from the\n * SaaS app. Aliased as `wildo remove`.\n *\n * Pipeline:\n * 1. Look up the lockfile entry. Refuse if not present (nothing to\n * remove).\n * 2. Delete the artifact bytes (`<saasRoot>/.wildo-saas/generated/modules-artifacts/<domain>/<moduleId>/`).\n * Per `RegistryModulesLockEntry.files`, also delete every\n * app-source file that was fanned out at install/update time —\n * with a cross-module overlap guard so a path claimed by another\n * lockfile entry is preserved.\n * 3. Drop the entry from `sections.modules.installed[<moduleId>]`.\n * 4. Run provider-sync with `reason: 'remove'` so any registered\n * provider artifacts get re-materialized without the module.\n *\n * Does NOT call the registry server — remove is purely local.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n MODULES_ARTIFACTS_RELATIVE_DIR,\n RegistryLockfileService,\n runProviderSync,\n} from '@wildo-ai/wildo-module-client';\nimport {\n requireSaasRoot,\n asRegistryLogger,\n withRegistryWorkspaceMutationLock,\n assertModuleEntryUnchangedUnderLock,\n} from '~wildo-cli/services/registry/registry-command.utils';\nimport { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile } from '~wildo-cli/services/registry/boundary-fanout.utils';\nimport {\n describeProtectedFile,\n planProtectedRemoval,\n registryForceBackupDirectory,\n} from '~wildo-cli/services/registry/installed-file-state.utils';\nimport {\n deriveMigrationObligation,\n describeMigrationObligation,\n findResourceConfigurationFiles,\n} from '~wildo-cli/services/registry/migration-obligation.utils';\nimport { restoreRegistrationSnapshot, reverseModuleRegistration } from '~wildo-cli/services/registry/module-registration.service';\nimport { MODULE_BOUNDARY_LAYER_ROOTS, ModuleRegistrationScenario } from '@wildo-ai/platform-config-lib';\nimport { derivedEntryNames, removeDerivedContentLeftByRemoval } from '~wildo-cli/services/registry/git-ignored-paths.utils';\nimport { installAfterProviderChange, NO_INSTALL_FLAG } from '~wildo-cli/services/registry/provider-install-step';\nimport { moduleArtifactRoot } from '~wildo-cli/services/registry/module-artifact-files.utils';\n\n/**\n * Delete one recorded module FILE. Deliberately `unlink`, not a recursive `rm`: a lockfile entry\n * records files, so a path naming a directory is not something this command should ever delete\n * wholesale — it is left on disk and reported.\n */\nasync function unlinkIfExists(absPath: string): Promise<boolean> {\n try {\n await fs.unlink(absPath);\n return true;\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return false;\n throw err;\n }\n}\n\nexport default class RegistryRemoveCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry remove',\n description: 'Remove an installed module from the current SaaS app.',\n category: CommandCategory.Registry,\n aliases: ['remove'],\n args: [\n {\n name: 'moduleId',\n description: 'Module id (e.g. `acme/billing`).',\n required: true,\n },\n ],\n flags: {\n 'no-install': NO_INSTALL_FLAG,\n force: {\n type: 'boolean',\n description: 'Also delete files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'remove');\n const moduleId = ctx.args.moduleId;\n if (!moduleId) {\n return { success: false, message: '`moduleId` argument is required.' };\n }\n\n const section = await RegistryLockfileService.read(saasRoot);\n const existing = section.installed[moduleId];\n if (!existing) {\n return {\n success: false,\n message: `\"${moduleId}\" is not installed; nothing to remove.`,\n };\n }\n\n let resourceConfigurationFiles: string[] = [];\n await withRegistryWorkspaceMutationLock(saasRoot, async () => {\n await assertModuleEntryUnchangedUnderLock(saasRoot, moduleId, existing);\n // Asked BEFORE anything is deleted: removing a module that declares resources drops tables.\n resourceConfigurationFiles = await findResourceConfigurationFiles(saasRoot, existing.files);\n // Resolve every path this command will delete BEFORE changing anything, so a poisoned entry\n // stops the command with the application untouched.\n const recordedFiles = existing.files.map((relFile) => ({ relFile, absFile: resolveRecordedModuleFile(saasRoot, relFile) }));\n const artifactDir = moduleArtifactRoot(saasRoot, existing.domain, existing.moduleId);\n\n // #1755: unregister first, so no registry is left importing a directory that is about to go.\n // Restored if a later step fails: the lockfile entry then still exists, and its registration\n // must stay applied beside it.\n const kept: string[] = [];\n const unregistered = existing.registration\n ? reverseModuleRegistration(saasRoot, ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null, existing.registration, { kept })\n : [];\n if (unregistered.length > 0) ctx.log.success(` unregistered from ${unregistered.map((entry) => entry.targetRelativePath).join(', ')}`);\n for (const entry of kept) ctx.log.warn(` [kept] ${entry}`);\n\n try {\n // Delete the artifact-bytes directory — the one recursive delete here, so its path comes from the\n // shared helper that checks both names' SHAPE and containment (the lockfile schema checks them\n // too; this is the point of deletion).\n try {\n await fs.rm(artifactDir, { recursive: true });\n ctx.log.success(` removed artifact dir → ${path.relative(saasRoot, artifactDir)}`);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== 'ENOENT') throw err;\n }\n // …and the `<domain>/<scope>` directories above it, once empty — also when the artifact directory\n // was already gone, since those parents are what an earlier removal would have left.\n await pruneEmptiedDirectories([artifactDir], path.resolve(saasRoot, MODULES_ARTIFACTS_RELATIVE_DIR));\n\n // Delete app-source files copied in at install time. Cross-module\n // file-overlap guard: if another lockfile entry claims a path, skip\n // it — that module still owns the file. Prevents `remove` from\n // silently pulling files out from under sibling modules.\n const claimedBy = await RegistryLockfileService.findFileOwners({\n saasRoot,\n paths: existing.files,\n excludeModuleId: moduleId,\n });\n let filesRemoved = 0;\n let filesSkipped = 0;\n const unlinked: string[] = [];\n const unclaimed: string[] = [];\n for (const { relFile } of recordedFiles) {\n const owners = claimedBy.get(relFile) ?? [];\n if (owners.length > 0) {\n ctx.log.warn(` keep ${relFile} — also owned by ${owners.join(', ')}`);\n filesSkipped += 1;\n continue;\n }\n unclaimed.push(relFile);\n }\n // #2016: a file you changed since install is kept (it becomes the application's own), unless --force.\n const removalPlan = await planProtectedRemoval({\n saasRoot,\n entry: existing,\n paths: unclaimed,\n force: ctx.flags.force === true,\n backupDirectory: registryForceBackupDirectory(saasRoot, moduleId),\n });\n for (const kept of removalPlan.kept) ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'deleted')} It is now the application's own file.`);\n for (const forced of removalPlan.forced) ctx.log.warn(` deleted ${forced.path} (--force); your version is at ${path.relative(saasRoot, forced.backup)}`);\n const absoluteByPath = new Map(recordedFiles.map(({ relFile, absFile }) => [relFile, absFile]));\n // #2014: which entries of each package directory a build or an install made is read from its package.json,\n // and that file is about to be unlinked with the rest, so it is read first.\n const derivedEntryNamesByDirectory = new Map<string, ReadonlySet<string>>();\n for (const relFile of removalPlan.remove) {\n if (path.basename(relFile) !== 'package.json') continue;\n const directory = path.dirname(absoluteByPath.get(relFile)!);\n derivedEntryNamesByDirectory.set(directory, await derivedEntryNames(directory));\n }\n for (const relFile of removalPlan.remove) {\n if (await unlinkIfExists(absoluteByPath.get(relFile)!)) filesRemoved += 1;\n unlinked.push(relFile);\n }\n unlinked.push(...removalPlan.gone);\n // #2014: what was derived from the module's files (its package's `node_modules`, its build output) is what\n // kept its directories alive, so it goes first — only where nothing but ignored content remains.\n for (const layerRoot of new Set(Object.values(MODULE_BOUNDARY_LAYER_ROOTS))) {\n const inLayer = unlinked.filter((file) => file.startsWith(`${layerRoot}/`));\n if (inLayer.length === 0) continue;\n const derived = await removeDerivedContentLeftByRemoval({\n saasRoot,\n layerRootAbs: path.resolve(saasRoot, layerRoot),\n removedFilesAbs: inLayer.map((file) => path.resolve(saasRoot, file)),\n derivedEntryNamesByDirectory,\n });\n if (derived.deleted.length > 0) ctx.log.info(` removed what was derived from it: ${derived.deleted.join(', ')}`);\n for (const kept of derived.kept) ctx.log.warn(` kept ${kept.directory}: ${kept.because}. Delete it yourself if nothing there is needed.`);\n }\n // Pruned whether or not the files were still there: a module whose files were deleted by hand\n // still leaves the directories it created (#1765 review).\n const directoriesRemoved = await pruneEmptiedModuleDirectories(saasRoot, unlinked);\n if (filesRemoved > 0 || directoriesRemoved > 0) {\n ctx.log.success(` removed ${filesRemoved} adopted file(s)${directoriesRemoved > 0 ? ` and ${directoriesRemoved} emptied director${directoriesRemoved === 1 ? 'y' : 'ies'}` : ''}`);\n }\n if (filesSkipped > 0) {\n ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);\n }\n\n // Drop the lockfile entry.\n await RegistryLockfileService.mutate(saasRoot, (current) => {\n const next = { ...current.installed };\n delete next[moduleId];\n return { ...current, installed: next };\n });\n ctx.log.success(' lockfile entry dropped');\n } catch (error) {\n restoreRegistrationSnapshot(saasRoot, unregistered);\n throw error;\n }\n });\n\n // #1757: removing a module that declares resources leaves a migration owed (the drop) on an\n // application that has adopted migrations.\n const migrationObligation = deriveMigrationObligation({ saasRoot, moduleId, verb: 'remove', resourceConfigurationFiles });\n if (migrationObligation) for (const line of describeMigrationObligation(migrationObligation)) ctx.log.warn(line);\n\n // #2014: a removed provider's packages leave the dependency graph only once the install runs again.\n if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE) installAfterProviderChange(ctx, saasRoot, moduleId);\n\n try {\n await runProviderSync({\n saasRoot,\n reason: 'remove',\n dryRun: false,\n log: asRegistryLogger(ctx),\n });\n ctx.log.success(' provider-sync OK');\n } catch (err) {\n ctx.log.warn(` provider-sync failed: ${(err as Error).message}`);\n }\n\n return {\n success: true,\n message: `Removed ${moduleId}@${existing.version}.`,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"remove.command.js","sourceRoot":"","sources":["../../../../../../src/commands/registry/remove.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,eAAe,GAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,iCAAiC,EACjC,mCAAmC,GACpC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AACvJ,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,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YACb,OAAO,EAAE,WAAW,QAAQ,IAAI,QAAQ,CAAC,OAAO,GAAG;SACpD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry remove <moduleId>` — uninstall a module from the\n * SaaS app. Aliased as `wildo remove`.\n *\n * Pipeline:\n * 1. Look up the lockfile entry. Refuse if not present (nothing to\n * remove).\n * 2. Delete the artifact bytes (`<saasRoot>/.wildo-saas/generated/modules-artifacts/<domain>/<moduleId>/`).\n * Per `RegistryModulesLockEntry.files`, also delete every\n * app-source file that was fanned out at install/update time —\n * with a cross-module overlap guard so a path claimed by another\n * lockfile entry is preserved.\n * 3. Drop the entry from `sections.modules.installed[<moduleId>]`.\n * 4. Run provider-sync with `reason: 'remove'` so any registered\n * provider artifacts get re-materialized without the module.\n *\n * Does NOT call the registry server — remove is purely local.\n */\n\nimport { promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n MODULES_ARTIFACTS_RELATIVE_DIR,\n RegistryLockfileService,\n runProviderSync,\n} from '@wildo-ai/wildo-module-client';\nimport {\n requireSaasRoot,\n asRegistryLogger,\n withRegistryWorkspaceMutationLock,\n assertModuleEntryUnchangedUnderLock,\n} from '~wildo-cli/services/registry/registry-command.utils';\nimport { pruneEmptiedDirectories, pruneEmptiedModuleDirectories, resolveRecordedModuleFile } from '~wildo-cli/services/registry/boundary-fanout.utils';\nimport {\n describeProtectedFile,\n planProtectedRemoval,\n registryForceBackupDirectory,\n} from '~wildo-cli/services/registry/installed-file-state.utils';\nimport {\n deriveMigrationObligation,\n describeMigrationObligation,\n findResourceConfigurationFiles,\n} from '~wildo-cli/services/registry/migration-obligation.utils';\nimport { restoreRegistrationSnapshot, reverseModuleRegistration } from '~wildo-cli/services/registry/module-registration.service';\nimport { MODULE_BOUNDARY_LAYER_ROOTS, ModuleRegistrationScenario } from '@wildo-ai/platform-config-lib';\nimport { SAAS_CONFIG_FILE_NAME } from '@wildo-ai/application-creation-runtime';\nimport { derivedEntryNames, removeDerivedContentLeftByRemoval } from '~wildo-cli/services/registry/git-ignored-paths.utils';\nimport { installAfterProviderChange, NO_INSTALL_FLAG, syncSkillsAfterProviderChange } from '~wildo-cli/services/registry/provider-install-step';\nimport { moduleArtifactRoot } from '~wildo-cli/services/registry/module-artifact-files.utils';\n\n/**\n * Delete one recorded module FILE. Deliberately `unlink`, not a recursive `rm`: a lockfile entry\n * records files, so a path naming a directory is not something this command should ever delete\n * wholesale — it is left on disk and reported.\n */\nasync function unlinkIfExists(absPath: string): Promise<boolean> {\n try {\n await fs.unlink(absPath);\n return true;\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === 'ENOENT') return false;\n throw err;\n }\n}\n\nexport default class RegistryRemoveCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry remove',\n description: 'Remove an installed module from the current SaaS app.',\n category: CommandCategory.Registry,\n aliases: ['remove'],\n args: [\n {\n name: 'moduleId',\n description: 'Module id (e.g. `acme/billing`).',\n required: true,\n },\n ],\n flags: {\n 'no-install': NO_INSTALL_FLAG,\n force: {\n type: 'boolean',\n description: 'Also delete files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'remove');\n const moduleId = ctx.args.moduleId;\n if (!moduleId) {\n return { success: false, message: '`moduleId` argument is required.' };\n }\n\n const section = await RegistryLockfileService.read(saasRoot);\n const existing = section.installed[moduleId];\n if (!existing) {\n return {\n success: false,\n message: `\"${moduleId}\" is not installed; nothing to remove.`,\n };\n }\n\n let resourceConfigurationFiles: string[] = [];\n await withRegistryWorkspaceMutationLock(saasRoot, async () => {\n await assertModuleEntryUnchangedUnderLock(saasRoot, moduleId, existing);\n // Asked BEFORE anything is deleted: removing a module that declares resources drops tables.\n resourceConfigurationFiles = await findResourceConfigurationFiles(saasRoot, existing.files);\n // Resolve every path this command will delete BEFORE changing anything, so a poisoned entry\n // stops the command with the application untouched.\n const recordedFiles = existing.files.map((relFile) => ({ relFile, absFile: resolveRecordedModuleFile(saasRoot, relFile) }));\n const artifactDir = moduleArtifactRoot(saasRoot, existing.domain, existing.moduleId);\n\n // #1755: unregister first, so no registry is left importing a directory that is about to go.\n // Restored if a later step fails: the lockfile entry then still exists, and its registration\n // must stay applied beside it.\n const kept: string[] = [];\n const unregistered = existing.registration\n ? reverseModuleRegistration(saasRoot, ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null, existing.registration, { kept })\n : [];\n if (unregistered.length > 0) ctx.log.success(` unregistered from ${unregistered.map((entry) => entry.targetRelativePath).join(', ')}`);\n for (const entry of kept) ctx.log.warn(` [kept] ${entry}`);\n\n try {\n // Delete the artifact-bytes directory — the one recursive delete here, so its path comes from the\n // shared helper that checks both names' SHAPE and containment (the lockfile schema checks them\n // too; this is the point of deletion).\n try {\n await fs.rm(artifactDir, { recursive: true });\n ctx.log.success(` removed artifact dir → ${path.relative(saasRoot, artifactDir)}`);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== 'ENOENT') throw err;\n }\n // …and the `<domain>/<scope>` directories above it, once empty — also when the artifact directory\n // was already gone, since those parents are what an earlier removal would have left.\n await pruneEmptiedDirectories([artifactDir], path.resolve(saasRoot, MODULES_ARTIFACTS_RELATIVE_DIR));\n\n // Delete app-source files copied in at install time. Cross-module\n // file-overlap guard: if another lockfile entry claims a path, skip\n // it — that module still owns the file. Prevents `remove` from\n // silently pulling files out from under sibling modules.\n const claimedBy = await RegistryLockfileService.findFileOwners({\n saasRoot,\n paths: existing.files,\n excludeModuleId: moduleId,\n });\n let filesRemoved = 0;\n let filesSkipped = 0;\n const unlinked: string[] = [];\n const unclaimed: string[] = [];\n for (const { relFile } of recordedFiles) {\n const owners = claimedBy.get(relFile) ?? [];\n if (owners.length > 0) {\n ctx.log.warn(` keep ${relFile} — also owned by ${owners.join(', ')}`);\n filesSkipped += 1;\n continue;\n }\n unclaimed.push(relFile);\n }\n // #2016: a file you changed since install is kept (it becomes the application's own), unless --force.\n const removalPlan = await planProtectedRemoval({\n saasRoot,\n entry: existing,\n paths: unclaimed,\n force: ctx.flags.force === true,\n backupDirectory: registryForceBackupDirectory(saasRoot, moduleId),\n });\n for (const kept of removalPlan.kept) ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'deleted')} It is now the application's own file.`);\n for (const forced of removalPlan.forced) ctx.log.warn(` deleted ${forced.path} (--force); your version is at ${path.relative(saasRoot, forced.backup)}`);\n const absoluteByPath = new Map(recordedFiles.map(({ relFile, absFile }) => [relFile, absFile]));\n // #2014: which entries of each package directory a build or an install made is read from its package.json,\n // and that file is about to be unlinked with the rest, so it is read first.\n const derivedEntryNamesByDirectory = new Map<string, ReadonlySet<string>>();\n for (const relFile of removalPlan.remove) {\n if (path.basename(relFile) !== 'package.json') continue;\n const directory = path.dirname(absoluteByPath.get(relFile)!);\n derivedEntryNamesByDirectory.set(directory, await derivedEntryNames(directory));\n }\n for (const relFile of removalPlan.remove) {\n if (await unlinkIfExists(absoluteByPath.get(relFile)!)) filesRemoved += 1;\n unlinked.push(relFile);\n }\n unlinked.push(...removalPlan.gone);\n // #2014: what was derived from the module's files (its package's `node_modules`, its build output) is what\n // kept its directories alive, so it goes first — only where nothing but ignored content remains.\n for (const layerRoot of new Set(Object.values(MODULE_BOUNDARY_LAYER_ROOTS))) {\n const inLayer = unlinked.filter((file) => file.startsWith(`${layerRoot}/`));\n if (inLayer.length === 0) continue;\n const derived = await removeDerivedContentLeftByRemoval({\n saasRoot,\n layerRootAbs: path.resolve(saasRoot, layerRoot),\n removedFilesAbs: inLayer.map((file) => path.resolve(saasRoot, file)),\n derivedEntryNamesByDirectory,\n });\n if (derived.deleted.length > 0) ctx.log.info(` removed what was derived from it: ${derived.deleted.join(', ')}`);\n for (const kept of derived.kept) ctx.log.warn(` kept ${kept.directory}: ${kept.because}. Delete it yourself if nothing there is needed.`);\n }\n // Pruned whether or not the files were still there: a module whose files were deleted by hand\n // still leaves the directories it created (#1765 review).\n const directoriesRemoved = await pruneEmptiedModuleDirectories(saasRoot, unlinked);\n if (filesRemoved > 0 || directoriesRemoved > 0) {\n ctx.log.success(` removed ${filesRemoved} adopted file(s)${directoriesRemoved > 0 ? ` and ${directoriesRemoved} emptied director${directoriesRemoved === 1 ? 'y' : 'ies'}` : ''}`);\n }\n if (filesSkipped > 0) {\n ctx.log.info(` skipped ${filesSkipped} file(s) claimed by other modules`);\n }\n\n // Drop the lockfile entry.\n await RegistryLockfileService.mutate(saasRoot, (current) => {\n const next = { ...current.installed };\n delete next[moduleId];\n return { ...current, installed: next };\n });\n ctx.log.success(' lockfile entry dropped');\n } catch (error) {\n restoreRegistrationSnapshot(saasRoot, unregistered);\n throw error;\n }\n });\n\n // #1757: removing a module that declares resources leaves a migration owed (the drop) on an\n // application that has adopted migrations.\n const migrationObligation = deriveMigrationObligation({ saasRoot, moduleId, verb: 'remove', resourceConfigurationFiles });\n if (migrationObligation) for (const line of describeMigrationObligation(migrationObligation)) ctx.log.warn(line);\n\n // #2014: a removed provider's packages leave the dependency graph only once the install runs again.\n if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE) installAfterProviderChange(ctx, saasRoot, moduleId);\n // #2026: the removed provider's skills leave `.claude/skills/` with it.\n if (existing.registration?.scenario === ModuleRegistrationScenario.ADD_PROVIDER_PACKAGE && (existing.files ?? []).some((file) => /^providers\\/[^/]+\\/skills\\//.test(file))) {\n syncSkillsAfterProviderChange(ctx, saasRoot, moduleId);\n }\n\n // #2022 review F4: an AUGMENTATION's opt-in is the application's line, so remove never edits it, and an opt-in naming\n // a package that is gone refuses the provider sync below. Say so first, naming the entry to delete.\n const removedAugmentation = existing.registration?.providerWiring;\n if (removedAugmentation?.augments !== undefined && removedAugmentation.backendPackage !== undefined) {\n const config = await fs.readFile(path.join(saasRoot, SAAS_CONFIG_FILE_NAME), 'utf8').catch(() => '');\n if (config.includes(`'${removedAugmentation.backendPackage}'`) || config.includes(`\"${removedAugmentation.backendPackage}\"`)) {\n ctx.log.warn(\n ` [opt-in left] ${SAAS_CONFIG_FILE_NAME} still lists ${removedAugmentation.backendPackage} under providers.augmentations.`\n + `${JSON.stringify(removedAugmentation.augments)}. Delete that entry: the package is gone, so the provider sync refuses it until you do.`,\n );\n }\n }\n\n try {\n await runProviderSync({\n saasRoot,\n reason: 'remove',\n dryRun: false,\n log: asRegistryLogger(ctx),\n });\n ctx.log.success(' provider-sync OK');\n } catch (err) {\n ctx.log.warn(` provider-sync failed: ${(err as Error).message}`);\n }\n\n return {\n success: true,\n message: `Removed ${moduleId}@${existing.version}.`,\n };\n }\n}\n"]}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* `wildo registry repair-lockfile` — diagnose + (optionally) auto-fix
|
|
3
3
|
* the `sections.modules` lockfile state.
|
|
4
4
|
*
|
|
5
|
-
* Read mode (default): runs `LockfileRepairService.inspect(saasRoot)
|
|
5
|
+
* Read mode (default): runs `LockfileRepairService.inspect(saasRoot, { workspaceBuildPolicy })`, the policy read from
|
|
6
|
+
* the application's `pnpm-workspace.yaml` here (the inspector has no YAML parser),
|
|
6
7
|
* and renders every finding. Exit 0 when no `severity: 'error'`
|
|
7
8
|
* findings; exit 1 otherwise.
|
|
8
9
|
*
|
|
@@ -13,6 +14,15 @@
|
|
|
13
14
|
* serves a different digest than the lockfile pins, downloads against
|
|
14
15
|
* the PINNED digest, and re-extracts into the staging dir + re-fans-out
|
|
15
16
|
* onto the SaaS source. The pin is never rewritten.
|
|
17
|
+
* - `vendor-pin-missing` → write the recorded pin back into the root
|
|
18
|
+
* `pnpm.overrides` (#2789).
|
|
19
|
+
* - `only-built-missing` → write the recorded install-script name back into
|
|
20
|
+
* the root `pnpm.onlyBuiltDependencies`, then `pnpm rebuild -r` every restored
|
|
21
|
+
* name (#2809): adding a name runs nothing for a package already installed.
|
|
22
|
+
* `only-built-blocked` (the application keeps its policy in
|
|
23
|
+
* `pnpm-workspace.yaml`, a `neverBuiltDependencies` list names the package,
|
|
24
|
+
* or the application declares both kinds of list, which pnpm refuses) is
|
|
25
|
+
* reported and never written, as the install refuses it (#2801).
|
|
16
26
|
*
|
|
17
27
|
* `envelope-malformed` / `modules-section-malformed` are NOT
|
|
18
28
|
* auto-fixable — those require manual correction. Repair can replace
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repair-lockfile.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"repair-lockfile.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/repair-lockfile.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAqH1F,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,WAAW;IACpE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;YAuHxC,WAAW;IAsDzB;;;OAGG;YACW,sBAAsB;CAsErC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* `wildo registry repair-lockfile` — diagnose + (optionally) auto-fix
|
|
3
3
|
* the `sections.modules` lockfile state.
|
|
4
4
|
*
|
|
5
|
-
* Read mode (default): runs `LockfileRepairService.inspect(saasRoot)
|
|
5
|
+
* Read mode (default): runs `LockfileRepairService.inspect(saasRoot, { workspaceBuildPolicy })`, the policy read from
|
|
6
|
+
* the application's `pnpm-workspace.yaml` here (the inspector has no YAML parser),
|
|
6
7
|
* and renders every finding. Exit 0 when no `severity: 'error'`
|
|
7
8
|
* findings; exit 1 otherwise.
|
|
8
9
|
*
|
|
@@ -13,23 +14,37 @@
|
|
|
13
14
|
* serves a different digest than the lockfile pins, downloads against
|
|
14
15
|
* the PINNED digest, and re-extracts into the staging dir + re-fans-out
|
|
15
16
|
* onto the SaaS source. The pin is never rewritten.
|
|
17
|
+
* - `vendor-pin-missing` → write the recorded pin back into the root
|
|
18
|
+
* `pnpm.overrides` (#2789).
|
|
19
|
+
* - `only-built-missing` → write the recorded install-script name back into
|
|
20
|
+
* the root `pnpm.onlyBuiltDependencies`, then `pnpm rebuild -r` every restored
|
|
21
|
+
* name (#2809): adding a name runs nothing for a package already installed.
|
|
22
|
+
* `only-built-blocked` (the application keeps its policy in
|
|
23
|
+
* `pnpm-workspace.yaml`, a `neverBuiltDependencies` list names the package,
|
|
24
|
+
* or the application declares both kinds of list, which pnpm refuses) is
|
|
25
|
+
* reported and never written, as the install refuses it (#2801).
|
|
16
26
|
*
|
|
17
27
|
* `envelope-malformed` / `modules-section-malformed` are NOT
|
|
18
28
|
* auto-fixable — those require manual correction. Repair can replace
|
|
19
29
|
* local module source files and does not back up operator edits.
|
|
20
30
|
*/
|
|
31
|
+
import { existsSync, promises as fs } from 'node:fs';
|
|
32
|
+
import * as path from 'node:path';
|
|
21
33
|
import { checkModuleRequirements } from '../../services/registry/module-requirements.service.js';
|
|
22
34
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
23
35
|
import { CommandCategory } from '../../kernel/types.js';
|
|
24
|
-
import { LockfileRepairService, RegistryLockfileService, RegistryServerClient, } from '@wildo-ai/wildo-module-client';
|
|
25
|
-
import { localCheckoutProvenanceOf, ModuleDistribution, registryProvenanceOf, } from '@wildo-ai/platform-config-lib';
|
|
36
|
+
import { ApplicationInstallScriptPolicy, LockfileRepairService, RegistryLockfileService, RegistryServerClient, } from '@wildo-ai/wildo-module-client';
|
|
37
|
+
import { PROVIDER_VENDOR_PINS_MANIFEST, PROVIDER_WORKSPACE_FILE, localCheckoutProvenanceOf, ModuleDistribution, registryProvenanceOf, } from '@wildo-ai/platform-config-lib';
|
|
26
38
|
import { RegistryCredentialsService } from '../../services/registry/registry-credentials.service.js';
|
|
27
39
|
import { requireSaasRoot, resolveLockedRegistry, withRegistryWorkspaceMutationLock } from '../../services/registry/registry-command.utils.js';
|
|
28
40
|
import { fanOutToSaasSource, readStagedManifest, validatedStagedAppFiles } from '../../services/registry/boundary-fanout.utils.js';
|
|
29
41
|
import { describeProtectedFile, nextInstalledFileHashes, planProtectedWrite, registryForceBackupDirectory, } from '../../services/registry/installed-file-state.utils.js';
|
|
30
42
|
import { moduleArtifactPaths } from '../../services/registry/module-artifact-files.utils.js';
|
|
43
|
+
import { syncSkillsAfterProviderChange } from '../../services/registry/provider-install-step.js';
|
|
44
|
+
import { readWorkspaceBuildPolicy } from '../../services/registry/module-registration.service.js';
|
|
45
|
+
import { runPnpmRebuild } from '../../services/framework/package-install.service.js';
|
|
31
46
|
import { resolveLocalCheckoutModule } from '../../services/registry/local-checkout-module-source.service.js';
|
|
32
|
-
import { describeAcquisition, lockEntryProvenance, stageModuleAcquisition, } from '../../services/registry/module-acquisition.utils.js';
|
|
47
|
+
import { describeAcquisition, lockEntryProvenance, moduleRequirementsOriginOf, stageModuleAcquisition, } from '../../services/registry/module-acquisition.utils.js';
|
|
33
48
|
import { assertServedDigestMatchesPin, assertStagedManifestMatchesRequest, } from '../../services/registry/artifact-trust.utils.js';
|
|
34
49
|
function renderFinding(f) {
|
|
35
50
|
const sev = f.severity.toUpperCase();
|
|
@@ -39,8 +54,69 @@ function renderFinding(f) {
|
|
|
39
54
|
return `[${sev}] ${f.kind}: ${f.message}${f.detail ? ` — ${f.detail}` : ''}`;
|
|
40
55
|
case 'module-file-missing':
|
|
41
56
|
return `[${sev}] ${f.kind}: ${f.moduleId} → missing file ${f.filePath}`;
|
|
57
|
+
case 'vendor-pin-missing':
|
|
58
|
+
return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor pin ${f.name}@${f.version} is gone from ${PROVIDER_VENDOR_PINS_MANIFEST} pnpm.overrides (--fix restores it)`;
|
|
59
|
+
case 'vendor-pin-moved':
|
|
60
|
+
return `[${sev}] ${f.kind}: ${f.moduleId} pins ${f.name}@${f.version}, and the application moved it to ${f.found}; left as the application set it`;
|
|
61
|
+
case 'only-built-missing':
|
|
62
|
+
return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor package ${f.name} runs an install script, and ${PROVIDER_VENDOR_PINS_MANIFEST} pnpm.onlyBuiltDependencies no longer allows it (--fix restores it and rebuilds ${f.name})`;
|
|
63
|
+
case 'only-built-blocked':
|
|
64
|
+
return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor package ${f.name} runs an install script, and ${describeBlockingPolicy(f.policy, f.name)}`;
|
|
42
65
|
}
|
|
43
66
|
}
|
|
67
|
+
/** Where the application's own policy stops the script, and what the operator does about it. `--fix` writes nothing here (#2801). */
|
|
68
|
+
function describeBlockingPolicy(policy, name) {
|
|
69
|
+
switch (policy) {
|
|
70
|
+
case ApplicationInstallScriptPolicy.WORKSPACE_ALLOW_LIST:
|
|
71
|
+
return `the application's allow-list in ${PROVIDER_WORKSPACE_FILE} does not name it. Nothing is written: a list in ${PROVIDER_VENDOR_PINS_MANIFEST} would replace that one. `
|
|
72
|
+
+ `Add ${name} to onlyBuiltDependencies in ${PROVIDER_WORKSPACE_FILE}, then run \`pnpm rebuild -r ${name}\`, or run \`pnpm approve-builds\`, which does both.`;
|
|
73
|
+
case ApplicationInstallScriptPolicy.NEVER_BUILT_LIST:
|
|
74
|
+
return `the application's neverBuiltDependencies lists it. Nothing is written: pnpm refuses to install with both an onlyBuiltDependencies and a `
|
|
75
|
+
+ `neverBuiltDependencies list. Take ${name} out of neverBuiltDependencies, then run \`pnpm rebuild -r ${name}\`.`;
|
|
76
|
+
case ApplicationInstallScriptPolicy.CONFLICTING_LISTS:
|
|
77
|
+
return `the application declares both an onlyBuiltDependencies and a neverBuiltDependencies list, and pnpm refuses to install with both. `
|
|
78
|
+
+ `Nothing is written. Keep one list, with ${name} allowed by it, then run \`pnpm install\` and \`pnpm rebuild -r ${name}\`.`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Write each missing install-script name back into the application's root `pnpm.onlyBuiltDependencies` (#2809), as the
|
|
83
|
+
* install's edit kind (`pnpm-only-built-append`) writes it: appended, and sorted when the list already was. It refuses the
|
|
84
|
+
* shapes that edit kind refuses (a `pnpm` field that is not an object, a list that is not a list of names), rather than
|
|
85
|
+
* replace something the application wrote. Called only for `only-built-missing`, so the manifest is the list pnpm reads
|
|
86
|
+
* or there is no list anywhere (see `collectOnlyBuiltFindings`).
|
|
87
|
+
*/
|
|
88
|
+
async function restoreOnlyBuiltDependencies(saasRoot, names) {
|
|
89
|
+
const manifestPath = path.join(saasRoot, PROVIDER_VENDOR_PINS_MANIFEST);
|
|
90
|
+
const manifest = JSON.parse(await fs.readFile(manifestPath, 'utf8'));
|
|
91
|
+
const pnpmField = manifest.pnpm;
|
|
92
|
+
if (pnpmField !== undefined && (pnpmField === null || typeof pnpmField !== 'object' || Array.isArray(pnpmField))) {
|
|
93
|
+
throw new Error(`${PROVIDER_VENDOR_PINS_MANIFEST} carries a 'pnpm' field that is not an object; nothing was written.`);
|
|
94
|
+
}
|
|
95
|
+
const listField = manifest.pnpm?.onlyBuiltDependencies;
|
|
96
|
+
if (listField !== undefined && (!Array.isArray(listField) || !listField.every((name) => typeof name === 'string'))) {
|
|
97
|
+
throw new Error(`${PROVIDER_VENDOR_PINS_MANIFEST} carries a 'pnpm.onlyBuiltDependencies' that is not a list of names; nothing was written.`);
|
|
98
|
+
}
|
|
99
|
+
const current = Array.isArray(listField) ? [...listField] : [];
|
|
100
|
+
const additions = [...new Set(names)].filter((name) => !current.includes(name));
|
|
101
|
+
const sorted = current.every((name, index) => index === 0 || current[index - 1].localeCompare(name) <= 0);
|
|
102
|
+
const next = sorted ? [...current, ...additions].sort((left, right) => left.localeCompare(right)) : [...current, ...additions];
|
|
103
|
+
manifest.pnpm = { ...(manifest.pnpm ?? {}), onlyBuiltDependencies: next };
|
|
104
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, 'utf8');
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Write each missing vendor pin back into the application's root overrides (#2789), sorted and in two-space JSON as
|
|
108
|
+
* the install writes them. A pin present at another version is never touched: the application set it.
|
|
109
|
+
*/
|
|
110
|
+
async function restoreVendorPins(saasRoot, pins) {
|
|
111
|
+
const manifestPath = path.join(saasRoot, PROVIDER_VENDOR_PINS_MANIFEST);
|
|
112
|
+
const manifest = JSON.parse(await fs.readFile(manifestPath, 'utf8'));
|
|
113
|
+
const overrides = { ...(manifest.pnpm?.overrides ?? {}) };
|
|
114
|
+
for (const { name, version } of pins)
|
|
115
|
+
if (!Object.hasOwn(overrides, name))
|
|
116
|
+
overrides[name] = version;
|
|
117
|
+
manifest.pnpm = { ...(manifest.pnpm ?? {}), overrides: Object.fromEntries(Object.keys(overrides).sort().map((name) => [name, overrides[name]])) };
|
|
118
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, 'utf8');
|
|
119
|
+
}
|
|
44
120
|
export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
45
121
|
meta = {
|
|
46
122
|
name: 'registry repair-lockfile',
|
|
@@ -50,7 +126,7 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
50
126
|
flags: {
|
|
51
127
|
fix: {
|
|
52
128
|
type: 'boolean',
|
|
53
|
-
description: 'Re-fetch modules with missing recorded files. Malformed records, including invalid digests, require manual correction.',
|
|
129
|
+
description: 'Re-fetch modules with missing recorded files, restore missing provider vendor pins and install-script allow-list entries (and rebuild those packages). Malformed records, including invalid digests, require manual correction.',
|
|
54
130
|
},
|
|
55
131
|
force: {
|
|
56
132
|
type: 'boolean',
|
|
@@ -61,7 +137,7 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
61
137
|
async run(ctx) {
|
|
62
138
|
const saasRoot = requireSaasRoot(ctx, 'repair-lockfile');
|
|
63
139
|
const fixMode = !!ctx.flags.fix;
|
|
64
|
-
const report = await LockfileRepairService.inspect(saasRoot);
|
|
140
|
+
const report = await LockfileRepairService.inspect(saasRoot, { workspaceBuildPolicy: readWorkspaceBuildPolicy(saasRoot) });
|
|
65
141
|
ctx.log.info(`[repair-lockfile] ${report.lockfilePath}`);
|
|
66
142
|
if (report.findings.length === 0) {
|
|
67
143
|
ctx.log.success(' no findings — lockfile is healthy.');
|
|
@@ -75,19 +151,72 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
75
151
|
const warns = report.findings.filter((f) => f.severity === 'warn').length;
|
|
76
152
|
return {
|
|
77
153
|
success: report.ok,
|
|
78
|
-
message: `${errs} error(s), ${warns} warning(s). Use \`--fix\` for missing files
|
|
154
|
+
message: `${errs} error(s), ${warns} warning(s). Use \`--fix\` for missing files, provider vendor pins and install-script allow-list entries; `
|
|
155
|
+
+ 'restore malformed records from a trusted lockfile revision.',
|
|
79
156
|
};
|
|
80
157
|
}
|
|
81
158
|
// ---------- auto-fix path ----------
|
|
159
|
+
// A missing vendor pin needs no download: written back from what the lockfile records (#2789).
|
|
160
|
+
const missingPins = report.findings.flatMap((f) => (f.kind === 'vendor-pin-missing' ? [{ moduleId: f.moduleId, name: f.name, version: f.version }] : []));
|
|
161
|
+
if (missingPins.length > 0) {
|
|
162
|
+
await withRegistryWorkspaceMutationLock(saasRoot, () => restoreVendorPins(saasRoot, missingPins));
|
|
163
|
+
for (const pin of missingPins)
|
|
164
|
+
ctx.log.success(` restored ${pin.name}@${pin.version} (${pin.moduleId}) in ${PROVIDER_VENDOR_PINS_MANIFEST}`);
|
|
165
|
+
ctx.log.info(' run `pnpm install` so the lockfile resolves the restored pins.');
|
|
166
|
+
}
|
|
167
|
+
// A missing install-script name is restored the same way, then its package rebuilt: pnpm runs an already-installed
|
|
168
|
+
// package's script only on a rebuild (#2801, measured on 10.6.4). EVERY restored name is rebuilt: whether pnpm skipped
|
|
169
|
+
// it cannot be read reliably (`.modules.yaml` → `ignoredBuilds` covers only the latest install that changed the graph,
|
|
170
|
+
// measured in #2809's review), and a script run twice costs time where a script never run is a wrong result. No
|
|
171
|
+
// `node_modules` → nothing is installed yet, and the next `pnpm install` runs the script of every allowed package.
|
|
172
|
+
const missingBuilt = report.findings.flatMap((f) => (f.kind === 'only-built-missing' ? [{ moduleId: f.moduleId, name: f.name }] : []));
|
|
173
|
+
const builtNames = [...new Set(missingBuilt.map((entry) => entry.name))];
|
|
174
|
+
let rebuildFailed = false;
|
|
175
|
+
// A refused restore fails the run, and does not stop the rest of the repair: a missing module file has nothing to do
|
|
176
|
+
// with the allow-list (#2809 review R-L1).
|
|
177
|
+
let restoreRefusal;
|
|
178
|
+
if (builtNames.length > 0) {
|
|
179
|
+
try {
|
|
180
|
+
await withRegistryWorkspaceMutationLock(saasRoot, () => restoreOnlyBuiltDependencies(saasRoot, builtNames));
|
|
181
|
+
}
|
|
182
|
+
catch (error) {
|
|
183
|
+
restoreRefusal = error.message;
|
|
184
|
+
ctx.log.error(` ${restoreRefusal}`);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (builtNames.length > 0 && restoreRefusal === undefined) {
|
|
188
|
+
for (const name of builtNames) {
|
|
189
|
+
const modules = missingBuilt.filter((entry) => entry.name === name).map((entry) => entry.moduleId);
|
|
190
|
+
ctx.log.success(` allowed ${name}'s install script again (${modules.join(', ')}) in ${PROVIDER_VENDOR_PINS_MANIFEST}`);
|
|
191
|
+
}
|
|
192
|
+
if (!existsSync(path.join(saasRoot, 'node_modules'))) {
|
|
193
|
+
ctx.log.info(` nothing is installed yet: \`pnpm install\` runs ${builtNames.join(', ')}'s install script${builtNames.length === 1 ? '' : 's'}.`);
|
|
194
|
+
}
|
|
195
|
+
else if (!runPnpmRebuild(ctx.log, builtNames, saasRoot)) {
|
|
196
|
+
ctx.log.warn(` ${builtNames.join(', ')} ${builtNames.length === 1 ? 'is' : 'are'} allowed again and did not run ${builtNames.length === 1 ? 'its install script' : 'their install scripts'}. Run \`pnpm rebuild -r ${builtNames.join(' ')}\` in ${saasRoot}.`);
|
|
197
|
+
rebuildFailed = true;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
const rebuildNote = (rebuildFailed ? ' The rebuild of the allowed packages failed; see above.' : '')
|
|
201
|
+
+ (restoreRefusal === undefined ? '' : ` The install-script allow-list could not be restored: ${restoreRefusal}`);
|
|
202
|
+
const allowListFailed = rebuildFailed || restoreRefusal !== undefined;
|
|
82
203
|
const fixable = report.findings.filter((f) => f.kind === 'module-file-missing');
|
|
83
204
|
if (fixable.length === 0) {
|
|
205
|
+
const restored = [
|
|
206
|
+
...(missingPins.length > 0 ? [`${missingPins.length} vendor pin(s)`] : []),
|
|
207
|
+
...(builtNames.length > 0 && restoreRefusal === undefined ? [`${builtNames.length} install-script allow-list entr${builtNames.length === 1 ? 'y' : 'ies'}`] : []),
|
|
208
|
+
];
|
|
84
209
|
return {
|
|
85
|
-
success: report.ok,
|
|
86
|
-
message:
|
|
210
|
+
success: report.ok && !allowListFailed,
|
|
211
|
+
message: (restored.length > 0
|
|
212
|
+
? `Restored ${restored.join(' and ')}; no module file was missing.`
|
|
213
|
+
: 'No auto-fixable findings (envelope/section errors require manual repair).') + rebuildNote,
|
|
87
214
|
};
|
|
88
215
|
}
|
|
89
216
|
let fixed = 0;
|
|
90
217
|
let failed = 0;
|
|
218
|
+
/** A repaired provider that ships skills (#2026): its restored skill files reach `.claude/skills/` only through the sync. */
|
|
219
|
+
let restoredProviderSkills = false;
|
|
91
220
|
// The entries are read UNDER the lock: another registry command may have changed them since
|
|
92
221
|
// the inspection above, and a repair must restore what the lockfile records now. Holding the lock
|
|
93
222
|
// across each entry's download is accepted here (repair is a rare, operator-run recovery), unlike
|
|
@@ -105,6 +234,8 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
105
234
|
try {
|
|
106
235
|
await this.repairEntry(ctx, saasRoot, entry);
|
|
107
236
|
ctx.log.success(` repaired ${f.moduleId}@${entry.version}`);
|
|
237
|
+
if ((entry.files ?? []).some((file) => /^providers\/[^/]+\/skills\//.test(file)))
|
|
238
|
+
restoredProviderSkills = true;
|
|
108
239
|
fixed += 1;
|
|
109
240
|
}
|
|
110
241
|
catch (err) {
|
|
@@ -113,9 +244,11 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
113
244
|
}
|
|
114
245
|
}
|
|
115
246
|
});
|
|
247
|
+
if (restoredProviderSkills)
|
|
248
|
+
syncSkillsAfterProviderChange(ctx, saasRoot, 'the repaired providers');
|
|
116
249
|
return {
|
|
117
|
-
success: failed === 0,
|
|
118
|
-
message: `Repaired ${fixed} entry/entries; ${failed} failure(s)
|
|
250
|
+
success: failed === 0 && !allowListFailed,
|
|
251
|
+
message: `Repaired ${fixed} entry/entries; ${failed} failure(s).${rebuildNote}`,
|
|
119
252
|
};
|
|
120
253
|
}
|
|
121
254
|
async repairEntry(ctx, saasRoot, entry) {
|
|
@@ -124,7 +257,7 @@ export default class RegistryRepairLockfileCommand extends BaseCommand {
|
|
|
124
257
|
await stageModuleAcquisition(acquisition, paths, saasRoot);
|
|
125
258
|
const stagedManifest = await readStagedManifest(paths.extractDir);
|
|
126
259
|
assertStagedManifestMatchesRequest(stagedManifest, { moduleId: entry.moduleId, version: acquisition.version });
|
|
127
|
-
for (const notice of await checkModuleRequirements(saasRoot, stagedManifest))
|
|
260
|
+
for (const notice of await checkModuleRequirements(saasRoot, stagedManifest, moduleRequirementsOriginOf(acquisition)))
|
|
128
261
|
ctx.log.warn(notice);
|
|
129
262
|
// Repair restores what is MISSING (that is what it is for) and keeps what you changed (#2016):
|
|
130
263
|
// it used to re-apply every file and silently replace local edits.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repair-lockfile.command.js","sourceRoot":"","sources":["../../../../src/commands/registry/repair-lockfile.command.ts"],"names":[],"mappings":"AAAA;;;;;;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UAAU;YAAE,MAAM,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACpE,OAAO;YACL,YAAY,EAAE,kBAAkB,CAAC,QAAQ;YACzC,OAAO;YACP,cAAc,EAAE,YAAY;YAC5B,KAAK;YACL,QAAQ,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,EAAE,UAAU,EAAE;SAC/C,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry repair-lockfile` — diagnose + (optionally) auto-fix\n * the `sections.modules` lockfile state.\n *\n * Read mode (default): runs `LockfileRepairService.inspect(saasRoot)`\n * and renders every finding. Exit 0 when no `severity: 'error'`\n * findings; exit 1 otherwise.\n *\n * `--fix`: attempts auto-repair for the fixable finding kinds:\n * - `module-file-missing` → re-fetch the artifact via the recorded\n * registry URL + lockfile entry. Calls `RegistryServerClient.resolve`\n * against the stored exact version, REFUSES when the registry now\n * serves a different digest than the lockfile pins, downloads against\n * the PINNED digest, and re-extracts into the staging dir + re-fans-out\n * onto the SaaS source. The pin is never rewritten.\n *\n * `envelope-malformed` / `modules-section-malformed` are NOT\n * auto-fixable — those require manual correction. Repair can replace\n * local module source files and does not back up operator edits.\n */\n\nimport { checkModuleRequirements } from '~wildo-cli/services/registry/module-requirements.service';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n LockfileRepairService,\n RegistryLockfileService,\n RegistryServerClient,\n type LockfileRepairFinding,\n} from '@wildo-ai/wildo-module-client';\nimport {\n localCheckoutProvenanceOf,\n ModuleDistribution,\n registryProvenanceOf,\n type RegistryModulesLockEntry,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryCredentialsService } from '~wildo-cli/services/registry/registry-credentials.service';\nimport { requireSaasRoot, resolveLockedRegistry, withRegistryWorkspaceMutationLock } from '~wildo-cli/services/registry/registry-command.utils';\nimport { fanOutToSaasSource, readStagedManifest, validatedStagedAppFiles } from '~wildo-cli/services/registry/boundary-fanout.utils';\nimport {\n describeProtectedFile,\n nextInstalledFileHashes,\n planProtectedWrite,\n registryForceBackupDirectory,\n} from '~wildo-cli/services/registry/installed-file-state.utils';\nimport { moduleArtifactPaths } from '~wildo-cli/services/registry/module-artifact-files.utils';\nimport { resolveLocalCheckoutModule } from '~wildo-cli/services/registry/local-checkout-module-source.service';\nimport {\n describeAcquisition,\n lockEntryProvenance,\n stageModuleAcquisition,\n type ModuleAcquisition,\n} from '~wildo-cli/services/registry/module-acquisition.utils';\nimport {\n assertServedDigestMatchesPin,\n assertStagedManifestMatchesRequest,\n} from '~wildo-cli/services/registry/artifact-trust.utils';\n\n\n\nfunction renderFinding(f: LockfileRepairFinding): string {\n const sev = f.severity.toUpperCase();\n switch (f.kind) {\n case 'envelope-malformed':\n case 'modules-section-malformed':\n return `[${sev}] ${f.kind}: ${f.message}${f.detail ? ` — ${f.detail}` : ''}`;\n case 'module-file-missing':\n return `[${sev}] ${f.kind}: ${f.moduleId} → missing file ${f.filePath}`;\n }\n}\n\nexport default class RegistryRepairLockfileCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry repair-lockfile',\n description: 'Diagnose (and optionally auto-fix) the modules lockfile section.',\n category: CommandCategory.Registry,\n aliases: ['repair-lockfile'],\n flags: {\n fix: {\n type: 'boolean',\n description: 'Re-fetch modules with missing recorded files. Malformed records, including invalid digests, require manual correction.',\n },\n force: {\n type: 'boolean',\n description: 'With --fix, also overwrite files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'repair-lockfile');\n const fixMode = !!ctx.flags.fix;\n\n const report = await LockfileRepairService.inspect(saasRoot);\n ctx.log.info(`[repair-lockfile] ${report.lockfilePath}`);\n if (report.findings.length === 0) {\n ctx.log.success(' no findings — lockfile is healthy.');\n return { success: true, message: 'Lockfile healthy.' };\n }\n for (const f of report.findings) {\n ctx.log.info(` ${renderFinding(f)}`);\n }\n\n if (!fixMode) {\n const errs = report.findings.filter((f) => f.severity === 'error').length;\n const warns = report.findings.filter((f) => f.severity === 'warn').length;\n return {\n success: report.ok,\n message: `${errs} error(s), ${warns} warning(s). Use \\`--fix\\` for missing files; restore malformed records from a trusted lockfile revision.`,\n };\n }\n\n // ---------- auto-fix path ----------\n const fixable = report.findings.filter(\n (f) => f.kind === 'module-file-missing',\n );\n if (fixable.length === 0) {\n return {\n success: report.ok,\n message: 'No auto-fixable findings (envelope/section errors require manual repair).',\n };\n }\n\n let fixed = 0;\n let failed = 0;\n\n // The entries are read UNDER the lock: another registry command may have changed them since\n // the inspection above, and a repair must restore what the lockfile records now. Holding the lock\n // across each entry's download is accepted here (repair is a rare, operator-run recovery), unlike\n // add/update, which download before taking it.\n await withRegistryWorkspaceMutationLock(saasRoot, async () => {\n const section = await RegistryLockfileService.read(saasRoot);\n for (const f of fixable) {\n if (f.kind !== 'module-file-missing') continue;\n const entry = section.installed[f.moduleId];\n if (!entry) {\n ctx.log.warn(` skip ${f.moduleId} — no lockfile entry.`);\n continue;\n }\n try {\n await this.repairEntry(ctx, saasRoot, entry);\n ctx.log.success(` repaired ${f.moduleId}@${entry.version}`);\n fixed += 1;\n } catch (err) {\n ctx.log.error(` ${f.moduleId} → ${(err as Error).message}`);\n failed += 1;\n }\n }\n });\n\n return {\n success: failed === 0,\n message: `Repaired ${fixed} entry/entries; ${failed} failure(s).`,\n };\n }\n\n private async repairEntry(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n ): Promise<void> {\n const acquisition = await this.acquireRecordedVersion(ctx, saasRoot, entry);\n\n const paths = moduleArtifactPaths(saasRoot, entry.domain, entry.moduleId, acquisition.version);\n await stageModuleAcquisition(acquisition, paths, saasRoot);\n\n const stagedManifest = await readStagedManifest(paths.extractDir);\n assertStagedManifestMatchesRequest(stagedManifest, { moduleId: entry.moduleId, version: acquisition.version });\n for (const notice of await checkModuleRequirements(saasRoot, stagedManifest)) ctx.log.warn(notice);\n // Repair restores what is MISSING (that is what it is for) and keeps what you changed (#2016):\n // it used to re-apply every file and silently replace local edits.\n const writePlan = await planProtectedWrite({\n saasRoot,\n moduleId: entry.moduleId,\n stagedPaths: await validatedStagedAppFiles({ saasRoot, extractDir: paths.extractDir, manifest: stagedManifest }),\n recorded: entry,\n force: ctx.flags.force === true,\n restoreMissing: true,\n backupDirectory: registryForceBackupDirectory(saasRoot, entry.moduleId),\n findOtherOwners: (candidates) => RegistryLockfileService.findFileOwners({ saasRoot, paths: candidates, excludeModuleId: entry.moduleId }),\n });\n for (const kept of writePlan.kept) ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'restored')}`);\n for (const forced of writePlan.forced) ctx.log.warn(` overwrote ${forced.path} (--force); your version is at ${forced.backup}`);\n // Surface placement overlaps just as add/update do.\n const fanOut = await fanOutToSaasSource({\n saasRoot,\n extractDir: paths.extractDir,\n manifest: stagedManifest,\n moduleId: entry.moduleId,\n skipPaths: writePlan.skip,\n });\n\n for (const warning of fanOut.overlapWarnings) {\n ctx.log.warn(` [overlap] \"${warning.path}\" was also claimed by \"${warning.otherModuleId}\" — overwritten by ${entry.moduleId}.`);\n }\n\n // Refresh the lockfile entry's file list. For a registry entry the provenance is the pin, unchanged\n // (verified in `acquireRecordedVersion`). For a checkout entry it is re-recorded: the bytes now come\n // from the checkout as it stands, and the entry must say which commit that is.\n // Preserves `installedAt` so the audit trail keeps the original install timestamp and source\n // field. A same-version source reapplication that keeps local edits (#2016).\n await RegistryLockfileService.upsertEntry(saasRoot, {\n ...entry,\n ...lockEntryProvenance(acquisition),\n files: fanOut.ownedFiles,\n installedFileHashes: await nextInstalledFileHashes({ saasRoot, ownedFiles: fanOut.ownedFiles, skipped: writePlan.skip, previous: entry }),\n });\n ctx.log.info(` restored ${describeAcquisition(entry.moduleId, acquisition)}`);\n }\n\n /**\n * The version the entry RECORDS, from where it was recorded: the pinned artifact from its registry, or\n * the checkout. Never a different version: a repair restores the recorded state.\n */\n private async acquireRecordedVersion(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n ): Promise<ModuleAcquisition> {\n if (entry.distribution === ModuleDistribution.LOCAL_CHECKOUT) {\n const frameworkRoot = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkRoot) {\n throw new Error('it was installed from the framework checkout, and this command is not running inside one. Nothing was repaired.');\n }\n const recorded = localCheckoutProvenanceOf(entry);\n const local = await resolveLocalCheckoutModule({ frameworkRoot, domain: entry.domain, moduleId: entry.moduleId, range: 'latest' });\n if (local.version !== entry.version) {\n throw new Error(\n `the checkout now holds ${local.version}, not the recorded ${entry.version}; a repair restores the recorded version. `\n + `Use \\`wildo registry update ${entry.moduleId}\\` to move to ${local.version}.`,\n );\n }\n if (local.checkoutCommit !== recorded.checkoutCommit) {\n ctx.log.warn(` ${entry.moduleId}: restoring from checkout ${local.checkoutCommit.slice(0, 12)}; it was installed from ${recorded.checkoutCommit.slice(0, 12)}.`);\n }\n return { distribution: ModuleDistribution.LOCAL_CHECKOUT, version: local.version, local };\n }\n\n const { registryId, artifactDigest: pinnedDigest } = registryProvenanceOf(entry);\n const { url: registryUrl } = await resolveLockedRegistry(ctx, saasRoot, entry);\n const credential = await RegistryCredentialsService.get(registryUrl);\n const clientOptions = { baseUrl: registryUrl, authToken: credential?.rawToken };\n\n // Resolve against the recorded exact version so the registry hands\n // us back the same artifact the lockfile expects.\n const { version, artifactDigest, yanked } = await RegistryServerClient.resolve(clientOptions, {\n domain: entry.domain,\n moduleId: entry.moduleId,\n range: entry.version,\n });\n if (yanked) {\n // Only an exact pin reaches a yanked release (#1758); install it, but say so.\n ctx.log.warn(` ${entry.moduleId}@${version} is YANKED (${yanked.yankedAt}${yanked.reason ? `: ${yanked.reason}` : ''}). Installing the pinned release; pick a live one with a range.`);\n }\n if (version !== entry.version) {\n throw new Error(\n `Registry returned version ${version} for an exact-version request of ${entry.version}; refusing to overwrite the lockfile entry.`,\n );\n }\n // Repair restores what the lockfile PINS. It used to download against the server's current\n // digest and write that over the pin — so a registry that swapped a version's bytes had them\n // installed and re-pinned by the very command meant to restore the recorded state.\n assertServedDigestMatchesPin({\n moduleId: entry.moduleId,\n version,\n pinnedDigest,\n servedDigest: artifactDigest,\n });\n\n const { bytes } = await RegistryServerClient.download(clientOptions, {\n domain: entry.domain,\n moduleId: entry.moduleId,\n version,\n expectedDigest: pinnedDigest,\n });\n if (credential) await RegistryCredentialsService.touch(registryUrl);\n return {\n distribution: ModuleDistribution.REGISTRY,\n version,\n artifactDigest: pinnedDigest,\n bytes,\n registry: { url: registryUrl, id: registryId },\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"repair-lockfile.command.js","sourceRoot":"","sources":["../../../../../../src/commands/registry/repair-lockfile.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AACvG,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,qDAAqD,CAAC;AAChJ,OAA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,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,QAAQ,IAAI,OAAO,eAAe,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,iEAAiE,CAAC,CAAC;QAC1L,CAAC;QACD,IAAI,OAAO,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CACb,6BAA6B,OAAO,oCAAoC,KAAK,CAAC,OAAO,6CAA6C,CACnI,CAAC;QACJ,CAAC;QACD,2FAA2F;QAC3F,6FAA6F;QAC7F,mFAAmF;QACnF,4BAA4B,CAAC;YAC3B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,OAAO;YACP,YAAY;YACZ,YAAY,EAAE,cAAc;SAC7B,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,oBAAoB,CAAC,QAAQ,CAAC,aAAa,EAAE;YACnE,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,OAAO;YACP,cAAc,EAAE,YAAY;SAC7B,CAAC,CAAC;QACH,IAAI,UAAU;YAAE,MAAM,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACpE,OAAO;YACL,YAAY,EAAE,kBAAkB,CAAC,QAAQ;YACzC,OAAO;YACP,cAAc,EAAE,YAAY;YAC5B,KAAK;YACL,QAAQ,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,EAAE,UAAU,EAAE;SAC/C,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * `wildo registry repair-lockfile` — diagnose + (optionally) auto-fix\n * the `sections.modules` lockfile state.\n *\n * Read mode (default): runs `LockfileRepairService.inspect(saasRoot, { workspaceBuildPolicy })`, the policy read from\n * the application's `pnpm-workspace.yaml` here (the inspector has no YAML parser),\n * and renders every finding. Exit 0 when no `severity: 'error'`\n * findings; exit 1 otherwise.\n *\n * `--fix`: attempts auto-repair for the fixable finding kinds:\n * - `module-file-missing` → re-fetch the artifact via the recorded\n * registry URL + lockfile entry. Calls `RegistryServerClient.resolve`\n * against the stored exact version, REFUSES when the registry now\n * serves a different digest than the lockfile pins, downloads against\n * the PINNED digest, and re-extracts into the staging dir + re-fans-out\n * onto the SaaS source. The pin is never rewritten.\n * - `vendor-pin-missing` → write the recorded pin back into the root\n * `pnpm.overrides` (#2789).\n * - `only-built-missing` → write the recorded install-script name back into\n * the root `pnpm.onlyBuiltDependencies`, then `pnpm rebuild -r` every restored\n * name (#2809): adding a name runs nothing for a package already installed.\n * `only-built-blocked` (the application keeps its policy in\n * `pnpm-workspace.yaml`, a `neverBuiltDependencies` list names the package,\n * or the application declares both kinds of list, which pnpm refuses) is\n * reported and never written, as the install refuses it (#2801).\n *\n * `envelope-malformed` / `modules-section-malformed` are NOT\n * auto-fixable — those require manual correction. Repair can replace\n * local module source files and does not back up operator edits.\n */\n\nimport { existsSync, promises as fs } from 'node:fs';\nimport * as path from 'node:path';\nimport { checkModuleRequirements } from '~wildo-cli/services/registry/module-requirements.service';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n ApplicationInstallScriptPolicy,\n LockfileRepairService,\n RegistryLockfileService,\n RegistryServerClient,\n type LockfileRepairFinding,\n} from '@wildo-ai/wildo-module-client';\nimport {\n PROVIDER_VENDOR_PINS_MANIFEST,\n PROVIDER_WORKSPACE_FILE,\n localCheckoutProvenanceOf,\n ModuleDistribution,\n registryProvenanceOf,\n type RegistryModulesLockEntry,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryCredentialsService } from '~wildo-cli/services/registry/registry-credentials.service';\nimport { requireSaasRoot, resolveLockedRegistry, withRegistryWorkspaceMutationLock } from '~wildo-cli/services/registry/registry-command.utils';\nimport { fanOutToSaasSource, readStagedManifest, validatedStagedAppFiles } from '~wildo-cli/services/registry/boundary-fanout.utils';\nimport {\n describeProtectedFile,\n nextInstalledFileHashes,\n planProtectedWrite,\n registryForceBackupDirectory,\n} from '~wildo-cli/services/registry/installed-file-state.utils';\nimport { moduleArtifactPaths } from '~wildo-cli/services/registry/module-artifact-files.utils';\nimport { syncSkillsAfterProviderChange } from '~wildo-cli/services/registry/provider-install-step';\nimport { readWorkspaceBuildPolicy } from '~wildo-cli/services/registry/module-registration.service';\nimport { runPnpmRebuild } from '~wildo-cli/services/framework/package-install.service';\nimport { resolveLocalCheckoutModule } from '~wildo-cli/services/registry/local-checkout-module-source.service';\nimport {\n describeAcquisition,\n lockEntryProvenance,\n moduleRequirementsOriginOf,\n stageModuleAcquisition,\n type ModuleAcquisition,\n} from '~wildo-cli/services/registry/module-acquisition.utils';\nimport {\n assertServedDigestMatchesPin,\n assertStagedManifestMatchesRequest,\n} from '~wildo-cli/services/registry/artifact-trust.utils';\n\n\n\nfunction renderFinding(f: LockfileRepairFinding): string {\n const sev = f.severity.toUpperCase();\n switch (f.kind) {\n case 'envelope-malformed':\n case 'modules-section-malformed':\n return `[${sev}] ${f.kind}: ${f.message}${f.detail ? ` — ${f.detail}` : ''}`;\n case 'module-file-missing':\n return `[${sev}] ${f.kind}: ${f.moduleId} → missing file ${f.filePath}`;\n case 'vendor-pin-missing':\n return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor pin ${f.name}@${f.version} is gone from ${PROVIDER_VENDOR_PINS_MANIFEST} pnpm.overrides (--fix restores it)`;\n case 'vendor-pin-moved':\n return `[${sev}] ${f.kind}: ${f.moduleId} pins ${f.name}@${f.version}, and the application moved it to ${f.found}; left as the application set it`;\n case 'only-built-missing':\n return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor package ${f.name} runs an install script, and ${PROVIDER_VENDOR_PINS_MANIFEST} pnpm.onlyBuiltDependencies no longer allows it (--fix restores it and rebuilds ${f.name})`;\n case 'only-built-blocked':\n return `[${sev}] ${f.kind}: ${f.moduleId} → its vendor package ${f.name} runs an install script, and ${describeBlockingPolicy(f.policy, f.name)}`;\n }\n}\n\n/** Where the application's own policy stops the script, and what the operator does about it. `--fix` writes nothing here (#2801). */\nfunction describeBlockingPolicy(policy: ApplicationInstallScriptPolicy, name: string): string {\n switch (policy) {\n case ApplicationInstallScriptPolicy.WORKSPACE_ALLOW_LIST:\n return `the application's allow-list in ${PROVIDER_WORKSPACE_FILE} does not name it. Nothing is written: a list in ${PROVIDER_VENDOR_PINS_MANIFEST} would replace that one. `\n + `Add ${name} to onlyBuiltDependencies in ${PROVIDER_WORKSPACE_FILE}, then run \\`pnpm rebuild -r ${name}\\`, or run \\`pnpm approve-builds\\`, which does both.`;\n case ApplicationInstallScriptPolicy.NEVER_BUILT_LIST:\n return `the application's neverBuiltDependencies lists it. Nothing is written: pnpm refuses to install with both an onlyBuiltDependencies and a `\n + `neverBuiltDependencies list. Take ${name} out of neverBuiltDependencies, then run \\`pnpm rebuild -r ${name}\\`.`;\n case ApplicationInstallScriptPolicy.CONFLICTING_LISTS:\n return `the application declares both an onlyBuiltDependencies and a neverBuiltDependencies list, and pnpm refuses to install with both. `\n + `Nothing is written. Keep one list, with ${name} allowed by it, then run \\`pnpm install\\` and \\`pnpm rebuild -r ${name}\\`.`;\n }\n}\n\n/**\n * Write each missing install-script name back into the application's root `pnpm.onlyBuiltDependencies` (#2809), as the\n * install's edit kind (`pnpm-only-built-append`) writes it: appended, and sorted when the list already was. It refuses the\n * shapes that edit kind refuses (a `pnpm` field that is not an object, a list that is not a list of names), rather than\n * replace something the application wrote. Called only for `only-built-missing`, so the manifest is the list pnpm reads\n * or there is no list anywhere (see `collectOnlyBuiltFindings`).\n */\nasync function restoreOnlyBuiltDependencies(saasRoot: string, names: readonly string[]): Promise<void> {\n const manifestPath = path.join(saasRoot, PROVIDER_VENDOR_PINS_MANIFEST);\n const manifest = JSON.parse(await fs.readFile(manifestPath, 'utf8')) as Record<string, unknown> & { pnpm?: Record<string, unknown> & { onlyBuiltDependencies?: unknown } };\n const pnpmField: unknown = manifest.pnpm;\n if (pnpmField !== undefined && (pnpmField === null || typeof pnpmField !== 'object' || Array.isArray(pnpmField))) {\n throw new Error(`${PROVIDER_VENDOR_PINS_MANIFEST} carries a 'pnpm' field that is not an object; nothing was written.`);\n }\n const listField = manifest.pnpm?.onlyBuiltDependencies;\n if (listField !== undefined && (!Array.isArray(listField) || !listField.every((name) => typeof name === 'string'))) {\n throw new Error(`${PROVIDER_VENDOR_PINS_MANIFEST} carries a 'pnpm.onlyBuiltDependencies' that is not a list of names; nothing was written.`);\n }\n const current = Array.isArray(listField) ? [...(listField as string[])] : [];\n const additions = [...new Set(names)].filter((name) => !current.includes(name));\n const sorted = current.every((name, index) => index === 0 || current[index - 1]!.localeCompare(name) <= 0);\n const next = sorted ? [...current, ...additions].sort((left, right) => left.localeCompare(right)) : [...current, ...additions];\n manifest.pnpm = { ...(manifest.pnpm ?? {}), onlyBuiltDependencies: next };\n await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n}\n\n/**\n * Write each missing vendor pin back into the application's root overrides (#2789), sorted and in two-space JSON as\n * the install writes them. A pin present at another version is never touched: the application set it.\n */\nasync function restoreVendorPins(saasRoot: string, pins: ReadonlyArray<{ name: string; version: string }>): Promise<void> {\n const manifestPath = path.join(saasRoot, PROVIDER_VENDOR_PINS_MANIFEST);\n const manifest = JSON.parse(await fs.readFile(manifestPath, 'utf8')) as Record<string, unknown> & { pnpm?: Record<string, unknown> & { overrides?: Record<string, unknown> } };\n const overrides: Record<string, unknown> = { ...(manifest.pnpm?.overrides ?? {}) };\n for (const { name, version } of pins) if (!Object.hasOwn(overrides, name)) overrides[name] = version;\n manifest.pnpm = { ...(manifest.pnpm ?? {}), overrides: Object.fromEntries(Object.keys(overrides).sort().map((name) => [name, overrides[name]])) };\n await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n}\n\nexport default class RegistryRepairLockfileCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'registry repair-lockfile',\n description: 'Diagnose (and optionally auto-fix) the modules lockfile section.',\n category: CommandCategory.Registry,\n aliases: ['repair-lockfile'],\n flags: {\n fix: {\n type: 'boolean',\n description: 'Re-fetch modules with missing recorded files, restore missing provider vendor pins and install-script allow-list entries (and rebuild those packages). Malformed records, including invalid digests, require manual correction.',\n },\n force: {\n type: 'boolean',\n description: 'With --fix, also overwrite files you changed since install (a backup is kept under .wildo-saas/tmp/registry-backups/).',\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = requireSaasRoot(ctx, 'repair-lockfile');\n const fixMode = !!ctx.flags.fix;\n\n const report = await LockfileRepairService.inspect(saasRoot, { workspaceBuildPolicy: readWorkspaceBuildPolicy(saasRoot) });\n ctx.log.info(`[repair-lockfile] ${report.lockfilePath}`);\n if (report.findings.length === 0) {\n ctx.log.success(' no findings — lockfile is healthy.');\n return { success: true, message: 'Lockfile healthy.' };\n }\n for (const f of report.findings) {\n ctx.log.info(` ${renderFinding(f)}`);\n }\n\n if (!fixMode) {\n const errs = report.findings.filter((f) => f.severity === 'error').length;\n const warns = report.findings.filter((f) => f.severity === 'warn').length;\n return {\n success: report.ok,\n message: `${errs} error(s), ${warns} warning(s). Use \\`--fix\\` for missing files, provider vendor pins and install-script allow-list entries; `\n + 'restore malformed records from a trusted lockfile revision.',\n };\n }\n\n // ---------- auto-fix path ----------\n // A missing vendor pin needs no download: written back from what the lockfile records (#2789).\n const missingPins = report.findings.flatMap((f) => (f.kind === 'vendor-pin-missing' ? [{ moduleId: f.moduleId, name: f.name, version: f.version }] : []));\n if (missingPins.length > 0) {\n await withRegistryWorkspaceMutationLock(saasRoot, () => restoreVendorPins(saasRoot, missingPins));\n for (const pin of missingPins) ctx.log.success(` restored ${pin.name}@${pin.version} (${pin.moduleId}) in ${PROVIDER_VENDOR_PINS_MANIFEST}`);\n ctx.log.info(' run `pnpm install` so the lockfile resolves the restored pins.');\n }\n // A missing install-script name is restored the same way, then its package rebuilt: pnpm runs an already-installed\n // package's script only on a rebuild (#2801, measured on 10.6.4). EVERY restored name is rebuilt: whether pnpm skipped\n // it cannot be read reliably (`.modules.yaml` → `ignoredBuilds` covers only the latest install that changed the graph,\n // measured in #2809's review), and a script run twice costs time where a script never run is a wrong result. No\n // `node_modules` → nothing is installed yet, and the next `pnpm install` runs the script of every allowed package.\n const missingBuilt = report.findings.flatMap((f) => (f.kind === 'only-built-missing' ? [{ moduleId: f.moduleId, name: f.name }] : []));\n const builtNames = [...new Set(missingBuilt.map((entry) => entry.name))];\n let rebuildFailed = false;\n // A refused restore fails the run, and does not stop the rest of the repair: a missing module file has nothing to do\n // with the allow-list (#2809 review R-L1).\n let restoreRefusal: string | undefined;\n if (builtNames.length > 0) {\n try {\n await withRegistryWorkspaceMutationLock(saasRoot, () => restoreOnlyBuiltDependencies(saasRoot, builtNames));\n } catch (error) {\n restoreRefusal = (error as Error).message;\n ctx.log.error(` ${restoreRefusal}`);\n }\n }\n if (builtNames.length > 0 && restoreRefusal === undefined) {\n for (const name of builtNames) {\n const modules = missingBuilt.filter((entry) => entry.name === name).map((entry) => entry.moduleId);\n ctx.log.success(` allowed ${name}'s install script again (${modules.join(', ')}) in ${PROVIDER_VENDOR_PINS_MANIFEST}`);\n }\n if (!existsSync(path.join(saasRoot, 'node_modules'))) {\n ctx.log.info(` nothing is installed yet: \\`pnpm install\\` runs ${builtNames.join(', ')}'s install script${builtNames.length === 1 ? '' : 's'}.`);\n } else if (!runPnpmRebuild(ctx.log, builtNames, saasRoot)) {\n ctx.log.warn(` ${builtNames.join(', ')} ${builtNames.length === 1 ? 'is' : 'are'} allowed again and did not run ${builtNames.length === 1 ? 'its install script' : 'their install scripts'}. Run \\`pnpm rebuild -r ${builtNames.join(' ')}\\` in ${saasRoot}.`);\n rebuildFailed = true;\n }\n }\n const rebuildNote = (rebuildFailed ? ' The rebuild of the allowed packages failed; see above.' : '')\n + (restoreRefusal === undefined ? '' : ` The install-script allow-list could not be restored: ${restoreRefusal}`);\n const allowListFailed = rebuildFailed || restoreRefusal !== undefined;\n const fixable = report.findings.filter(\n (f) => f.kind === 'module-file-missing',\n );\n if (fixable.length === 0) {\n const restored = [\n ...(missingPins.length > 0 ? [`${missingPins.length} vendor pin(s)`] : []),\n ...(builtNames.length > 0 && restoreRefusal === undefined ? [`${builtNames.length} install-script allow-list entr${builtNames.length === 1 ? 'y' : 'ies'}`] : []),\n ];\n return {\n success: report.ok && !allowListFailed,\n message: (restored.length > 0\n ? `Restored ${restored.join(' and ')}; no module file was missing.`\n : 'No auto-fixable findings (envelope/section errors require manual repair).') + rebuildNote,\n };\n }\n\n let fixed = 0;\n let failed = 0;\n /** A repaired provider that ships skills (#2026): its restored skill files reach `.claude/skills/` only through the sync. */\n let restoredProviderSkills = false;\n\n // The entries are read UNDER the lock: another registry command may have changed them since\n // the inspection above, and a repair must restore what the lockfile records now. Holding the lock\n // across each entry's download is accepted here (repair is a rare, operator-run recovery), unlike\n // add/update, which download before taking it.\n await withRegistryWorkspaceMutationLock(saasRoot, async () => {\n const section = await RegistryLockfileService.read(saasRoot);\n for (const f of fixable) {\n if (f.kind !== 'module-file-missing') continue;\n const entry = section.installed[f.moduleId];\n if (!entry) {\n ctx.log.warn(` skip ${f.moduleId} — no lockfile entry.`);\n continue;\n }\n try {\n await this.repairEntry(ctx, saasRoot, entry);\n ctx.log.success(` repaired ${f.moduleId}@${entry.version}`);\n if ((entry.files ?? []).some((file) => /^providers\\/[^/]+\\/skills\\//.test(file))) restoredProviderSkills = true;\n fixed += 1;\n } catch (err) {\n ctx.log.error(` ${f.moduleId} → ${(err as Error).message}`);\n failed += 1;\n }\n }\n });\n if (restoredProviderSkills) syncSkillsAfterProviderChange(ctx, saasRoot, 'the repaired providers');\n\n return {\n success: failed === 0 && !allowListFailed,\n message: `Repaired ${fixed} entry/entries; ${failed} failure(s).${rebuildNote}`,\n };\n }\n\n private async repairEntry(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n ): Promise<void> {\n const acquisition = await this.acquireRecordedVersion(ctx, saasRoot, entry);\n\n const paths = moduleArtifactPaths(saasRoot, entry.domain, entry.moduleId, acquisition.version);\n await stageModuleAcquisition(acquisition, paths, saasRoot);\n\n const stagedManifest = await readStagedManifest(paths.extractDir);\n assertStagedManifestMatchesRequest(stagedManifest, { moduleId: entry.moduleId, version: acquisition.version });\n for (const notice of await checkModuleRequirements(saasRoot, stagedManifest, moduleRequirementsOriginOf(acquisition))) ctx.log.warn(notice);\n // Repair restores what is MISSING (that is what it is for) and keeps what you changed (#2016):\n // it used to re-apply every file and silently replace local edits.\n const writePlan = await planProtectedWrite({\n saasRoot,\n moduleId: entry.moduleId,\n stagedPaths: await validatedStagedAppFiles({ saasRoot, extractDir: paths.extractDir, manifest: stagedManifest }),\n recorded: entry,\n force: ctx.flags.force === true,\n restoreMissing: true,\n backupDirectory: registryForceBackupDirectory(saasRoot, entry.moduleId),\n findOtherOwners: (candidates) => RegistryLockfileService.findFileOwners({ saasRoot, paths: candidates, excludeModuleId: entry.moduleId }),\n });\n for (const kept of writePlan.kept) ctx.log.warn(` ${describeProtectedFile(kept.path, kept.state, 'restored')}`);\n for (const forced of writePlan.forced) ctx.log.warn(` overwrote ${forced.path} (--force); your version is at ${forced.backup}`);\n // Surface placement overlaps just as add/update do.\n const fanOut = await fanOutToSaasSource({\n saasRoot,\n extractDir: paths.extractDir,\n manifest: stagedManifest,\n moduleId: entry.moduleId,\n skipPaths: writePlan.skip,\n });\n\n for (const warning of fanOut.overlapWarnings) {\n ctx.log.warn(` [overlap] \"${warning.path}\" was also claimed by \"${warning.otherModuleId}\" — overwritten by ${entry.moduleId}.`);\n }\n\n // Refresh the lockfile entry's file list. For a registry entry the provenance is the pin, unchanged\n // (verified in `acquireRecordedVersion`). For a checkout entry it is re-recorded: the bytes now come\n // from the checkout as it stands, and the entry must say which commit that is.\n // Preserves `installedAt` so the audit trail keeps the original install timestamp and source\n // field. A same-version source reapplication that keeps local edits (#2016).\n await RegistryLockfileService.upsertEntry(saasRoot, {\n ...entry,\n ...lockEntryProvenance(acquisition),\n files: fanOut.ownedFiles,\n installedFileHashes: await nextInstalledFileHashes({ saasRoot, ownedFiles: fanOut.ownedFiles, skipped: writePlan.skip, previous: entry }),\n });\n ctx.log.info(` restored ${describeAcquisition(entry.moduleId, acquisition)}`);\n }\n\n /**\n * The version the entry RECORDS, from where it was recorded: the pinned artifact from its registry, or\n * the checkout. Never a different version: a repair restores the recorded state.\n */\n private async acquireRecordedVersion(\n ctx: CommandContext,\n saasRoot: string,\n entry: RegistryModulesLockEntry,\n ): Promise<ModuleAcquisition> {\n if (entry.distribution === ModuleDistribution.LOCAL_CHECKOUT) {\n const frameworkRoot = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkRoot) {\n throw new Error('it was installed from the framework checkout, and this command is not running inside one. Nothing was repaired.');\n }\n const recorded = localCheckoutProvenanceOf(entry);\n const local = await resolveLocalCheckoutModule({ frameworkRoot, domain: entry.domain, moduleId: entry.moduleId, range: 'latest' });\n if (local.version !== entry.version) {\n throw new Error(\n `the checkout now holds ${local.version}, not the recorded ${entry.version}; a repair restores the recorded version. `\n + `Use \\`wildo registry update ${entry.moduleId}\\` to move to ${local.version}.`,\n );\n }\n if (local.checkoutCommit !== recorded.checkoutCommit) {\n ctx.log.warn(` ${entry.moduleId}: restoring from checkout ${local.checkoutCommit.slice(0, 12)}; it was installed from ${recorded.checkoutCommit.slice(0, 12)}.`);\n }\n return { distribution: ModuleDistribution.LOCAL_CHECKOUT, version: local.version, local };\n }\n\n const { registryId, artifactDigest: pinnedDigest } = registryProvenanceOf(entry);\n const { url: registryUrl } = await resolveLockedRegistry(ctx, saasRoot, entry);\n const credential = await RegistryCredentialsService.get(registryUrl);\n const clientOptions = { baseUrl: registryUrl, authToken: credential?.rawToken };\n\n // Resolve against the recorded exact version so the registry hands\n // us back the same artifact the lockfile expects.\n const { version, artifactDigest, yanked } = await RegistryServerClient.resolve(clientOptions, {\n domain: entry.domain,\n moduleId: entry.moduleId,\n range: entry.version,\n });\n if (yanked) {\n // Only an exact pin reaches a yanked release (#1758); install it, but say so.\n ctx.log.warn(` ${entry.moduleId}@${version} is YANKED (${yanked.yankedAt}${yanked.reason ? `: ${yanked.reason}` : ''}). Installing the pinned release; pick a live one with a range.`);\n }\n if (version !== entry.version) {\n throw new Error(\n `Registry returned version ${version} for an exact-version request of ${entry.version}; refusing to overwrite the lockfile entry.`,\n );\n }\n // Repair restores what the lockfile PINS. It used to download against the server's current\n // digest and write that over the pin — so a registry that swapped a version's bytes had them\n // installed and re-pinned by the very command meant to restore the recorded state.\n assertServedDigestMatchesPin({\n moduleId: entry.moduleId,\n version,\n pinnedDigest,\n servedDigest: artifactDigest,\n });\n\n const { bytes } = await RegistryServerClient.download(clientOptions, {\n domain: entry.domain,\n moduleId: entry.moduleId,\n version,\n expectedDigest: pinnedDigest,\n });\n if (credential) await RegistryCredentialsService.touch(registryUrl);\n return {\n distribution: ModuleDistribution.REGISTRY,\n version,\n artifactDigest: pinnedDigest,\n bytes,\n registry: { url: registryUrl, id: registryId },\n };\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"search.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/registry/search.command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAoB1F,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAmCxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA4DvD"}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
10
10
|
import { CommandCategory } from '../../kernel/types.js';
|
|
11
11
|
import { RegistryServerClient } from '@wildo-ai/wildo-module-client';
|
|
12
|
-
import { ModuleKind, ModuleSearchFilterSchema, RegistryAuthRequiredError, WorkspaceScope, moduleManifestMatchesSearchFilter, moduleSearchHitFacts, } from '@wildo-ai/platform-config-lib';
|
|
12
|
+
import { ModuleKind, ModuleSearchFilterSchema, listLocalCheckoutModules, RegistryAuthRequiredError, WorkspaceScope, moduleManifestMatchesSearchFilter, moduleSearchHitFacts, } from '@wildo-ai/platform-config-lib';
|
|
13
13
|
import { RegistryCredentialsService } from '../../services/registry/registry-credentials.service.js';
|
|
14
14
|
import { getSaasRootIfAvailable, resolveRegistryUrlForCommand, } from '../../services/registry/registry-command.utils.js';
|
|
15
|
-
import {
|
|
15
|
+
import { localCheckoutRootFor } from '../../services/registry/local-checkout-module-source.service.js';
|
|
16
16
|
export default class RegistrySearchCommand extends BaseCommand {
|
|
17
17
|
meta = {
|
|
18
18
|
name: 'registry search',
|
|
@@ -108,11 +108,11 @@ export default class RegistrySearchCommand extends BaseCommand {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
/** One line per hit: id, version, and for a provider its ref, maturity
|
|
111
|
+
/** One line per hit: id, version, and for a provider its ref, maturity, the engine capabilities it fills and the provider it augments. */
|
|
112
112
|
function describeHit(hit) {
|
|
113
113
|
const provider = hit.provider === undefined
|
|
114
114
|
? ''
|
|
115
|
-
: ` [provider ${hit.provider.ref}, ${hit.provider.maturity}${hit.provider.engineCapabilities.length > 0 ? `, fills ${hit.provider.engineCapabilities.join(', ')}` : ''}]`;
|
|
115
|
+
: ` [provider ${hit.provider.ref}, ${hit.provider.maturity}${hit.provider.engineCapabilities.length > 0 ? `, fills ${hit.provider.engineCapabilities.join(', ')}` : ''}${hit.provider.augments !== undefined ? `, adds operations to ${hit.provider.augments}` : ''}]`;
|
|
116
116
|
return `${hit.moduleId} ${hit.latestVersion || '-'}${provider} ${hit.description ?? ''}`.trim();
|
|
117
117
|
}
|
|
118
118
|
//# sourceMappingURL=search.command.js.map
|