@wildo-ai/wildo-cli 1.1.11 → 1.1.13
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.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -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 +5 -3
- 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/assurance/assurance-command.utils.d.ts +14 -0
- package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
- package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
- package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
- package/dist/src/commands/assurance/report.command.d.ts +14 -0
- package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/report.command.js +28 -0
- package/dist/src/commands/assurance/report.command.js.map +1 -0
- package/dist/src/commands/assurance/run.command.d.ts +16 -0
- package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/run.command.js +49 -0
- package/dist/src/commands/assurance/run.command.js.map +1 -0
- package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
- package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/schedule.command.js +49 -0
- package/dist/src/commands/assurance/schedule.command.js.map +1 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/pack.command.js.map +1 -1
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/publish.command.js.map +1 -1
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/status.command.js.map +1 -1
- 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 +4 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js +10 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/approve.command.d.ts +18 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -0
- package/dist/src/commands/build/approve.command.js +45 -0
- package/dist/src/commands/build/approve.command.js.map +1 -0
- package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
- package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
- package/dist/src/commands/build/checkpoint.command.js +36 -0
- package/dist/src/commands/build/checkpoint.command.js.map +1 -0
- package/dist/src/commands/build/close.command.d.ts +26 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -0
- package/dist/src/commands/build/close.command.js +58 -0
- package/dist/src/commands/build/close.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +10 -9
- 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 +6 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- 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/settle-window.command.d.ts +17 -0
- package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
- package/dist/src/commands/build/settle-window.command.js +42 -0
- package/dist/src/commands/build/settle-window.command.js.map +1 -0
- package/dist/src/commands/build/stop.command.d.ts +23 -0
- package/dist/src/commands/build/stop.command.d.ts.map +1 -0
- package/dist/src/commands/build/stop.command.js +52 -0
- package/dist/src/commands/build/stop.command.js.map +1 -0
- 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 +20 -6
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +33 -12
- 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 +3 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +3 -0
- 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.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 +4 -3
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +51 -17
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +10 -10
- 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.map +1 -1
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +4 -2
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +4 -2
- 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 +33 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +186 -34
- 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 +4 -2
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +6 -4
- 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.map +1 -1
- 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 +12 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +69 -2
- 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 +10 -3
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js +22 -7
- 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/drive.command.d.ts +19 -0
- package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
- package/dist/src/commands/creation/drive.command.js +112 -0
- package/dist/src/commands/creation/drive.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +11 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +75 -1
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts +6 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +16 -0
- 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.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js +7 -3
- 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 +13 -0
- 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 +12 -0
- 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 +2 -0
- 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.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 +14 -9
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts +7 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js +21 -6
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- 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.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +2 -2
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +2 -2
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts +2 -3
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -3
- 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 +9 -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.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -1
- 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.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.map +1 -1
- package/dist/src/commands/docs/check.command.js +12 -0
- package/dist/src/commands/docs/check.command.js.map +1 -1
- 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.map +1 -1
- package/dist/src/commands/frontend/look.command.js.map +1 -1
- 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 +20 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js +2 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.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 +2 -2
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +53 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +345 -12
- 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 +9 -0
- 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 +15 -4
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.js +32 -11
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.js +8 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
- package/dist/src/commands/fwk/release.command.d.ts +22 -0
- package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/release.command.js +216 -0
- package/dist/src/commands/fwk/release.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.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 +15 -2
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +20 -7
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +110 -12
- 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.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 +9 -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 +11 -3
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +73 -27
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -1
- package/dist/src/commands/keys/rotate.command.js.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -1
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.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 +16 -4
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js +50 -6
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +80 -5
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +273 -19
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +22 -9
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +59 -43
- 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 +1 -2
- 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.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 +1 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
- package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-addresses.command.js +65 -0
- package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
- package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
- package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/sor-command.utils.js +28 -0
- package/dist/src/commands/local/sor-command.utils.js.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.js +75 -0
- package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.js +55 -0
- package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
- 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.map +1 -1
- 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 +7 -7
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +11 -11
- 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.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/application-connection-session.utils.d.ts +9 -0
- package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
- package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js +2 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -1
- package/dist/src/commands/providers/connect.command.d.ts +19 -0
- package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connect.command.js +257 -0
- package/dist/src/commands/providers/connect.command.js.map +1 -0
- package/dist/src/commands/providers/connections.command.d.ts +14 -0
- package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connections.command.js +74 -0
- package/dist/src/commands/providers/connections.command.js.map +1 -0
- package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
- package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/disconnect.command.js +91 -0
- package/dist/src/commands/providers/disconnect.command.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -1
- package/dist/src/commands/providers/new.command.js +2 -2
- package/dist/src/commands/providers/new.command.js.map +1 -1
- package/dist/src/commands/providers/probe.command.d.ts +0 -1
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -1
- package/dist/src/commands/providers/probe.command.js +31 -31
- package/dist/src/commands/providers/probe.command.js.map +1 -1
- package/dist/src/commands/providers/prove.command.d.ts +16 -0
- package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
- package/dist/src/commands/providers/prove.command.js +174 -0
- package/dist/src/commands/providers/prove.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -1
- package/dist/src/commands/providers/register.command.js +45 -10
- package/dist/src/commands/providers/register.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -1
- package/dist/src/commands/registry/domain.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.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 +4 -2
- 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 +14 -0
- 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.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +12 -11
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +47 -56
- 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.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.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js +4 -2
- 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 +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/currency.command.d.ts +13 -0
- package/dist/src/commands/seal/currency.command.d.ts.map +1 -0
- package/dist/src/commands/seal/currency.command.js +52 -0
- package/dist/src/commands/seal/currency.command.js.map +1 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -1
- package/dist/src/commands/seal/dead.command.js +2 -1
- package/dist/src/commands/seal/dead.command.js.map +1 -1
- package/dist/src/commands/seal/export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/export.command.js.map +1 -1
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-export.command.js +6 -1
- package/dist/src/commands/seal/log-export.command.js.map +1 -1
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-verify.command.js +2 -1
- package/dist/src/commands/seal/log-verify.command.js.map +1 -1
- package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
- package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -1
- package/dist/src/commands/seal/retry.command.js.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.js +2 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -1
- package/dist/src/commands/seal/verify.command.d.ts +14 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/verify.command.js +85 -9
- package/dist/src/commands/seal/verify.command.js.map +1 -1
- 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.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +5 -3
- 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 +86 -7
- 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 +15 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts.map +1 -1
- package/dist/src/commands/website/look.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +12 -3
- 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.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 +4 -4
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js +4 -4
- 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 +10 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +13 -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 +5 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -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.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts.map +1 -1
- package/dist/src/kernel/json-document-output.js.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +8 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +7 -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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +42 -3
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +147 -42
- 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 +19 -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 +23 -5
- 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 +8 -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 +17 -8
- 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 +5 -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.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +10 -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 +23 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js +142 -19
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +10 -6
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +32 -18
- 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-dev-script-migration.service.d.ts +56 -0
- package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
- package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +31 -11
- 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 +2 -0
- 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 +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 +53 -28
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +19 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.js +76 -12
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js +44 -5
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
- 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/local-provider-doubles.service.d.ts +98 -0
- package/dist/src/services/application/local-provider-doubles.service.d.ts.map +1 -0
- package/dist/src/services/application/local-provider-doubles.service.js +214 -0
- package/dist/src/services/application/local-provider-doubles.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +38 -10
- 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 +6 -2
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +46 -11
- 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/system-of-record-simulators.service.d.ts +221 -0
- package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
- package/dist/src/services/application/system-of-record-simulators.service.js +442 -0
- package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts +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 +6 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.js +5 -3
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.js +20 -7
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +8 -33
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +23 -6
- 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.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.js +21 -2
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +179 -7
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +184 -15
- 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 +25 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +61 -10
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -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 +8 -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-agent.d.ts +50 -0
- package/dist/src/services/companion/console-agent.d.ts.map +1 -0
- package/dist/src/services/companion/console-agent.js +67 -0
- package/dist/src/services/companion/console-agent.js.map +1 -0
- package/dist/src/services/companion/console-fast-path.d.ts +6 -4
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +12 -9
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +22 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +44 -13
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +121 -7
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts +262 -0
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-drive.service.js +499 -0
- package/dist/src/services/companion/creation-drive.service.js.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
- 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 +22 -6
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
- 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.map +1 -1
- 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 +6 -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 +50 -102
- 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 +42 -13
- 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.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +54 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +77 -14
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +21 -159
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +35 -18
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts +8 -2
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js +11 -2
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +19 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +42 -14
- 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.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- 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 +21 -5
- 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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +4 -2
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +9 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +9 -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.break-glass.service.d.ts +93 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +42 -11
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.server-config.js +63 -16
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -1
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.js +116 -0
- package/dist/src/services/deployment/application-runtime-environment.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 +14 -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.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 +177 -51
- 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 +368 -93
- 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.map +1 -1
- 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/framework-pod-network-membership.d.ts +56 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
- 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.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +4 -4
- 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.map +1 -1
- 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.map +1 -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 +51 -10
- 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 +179 -43
- 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 +38 -2
- 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.map +1 -1
- 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 +35 -31
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- 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/k8s/off-cluster-backing-services.d.ts +38 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.js +3 -2
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -1
- 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.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +22 -1
- 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.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 +53 -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 +118 -1
- 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 +32 -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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- 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 +9 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +14 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
- package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-member-authority.js +256 -0
- package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +13 -8
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +38 -13
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +3 -2
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +21 -7
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +35 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +88 -55
- 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 +29 -30
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts +5 -6
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +5 -6
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +1 -1
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +14 -11
- 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 +5 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- 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 +26 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +28 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -61
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +178 -152
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
- package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
- package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.js +116 -0
- package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
- 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-console-loaders.d.ts +107 -0
- package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
- package/dist/src/services/framework/application-console-loaders.js +221 -0
- package/dist/src/services/framework/application-console-loaders.js.map +1 -0
- package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
- package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-opencode-console.js +68 -0
- package/dist/src/services/framework/application-opencode-console.js.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +6 -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.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +5 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +7 -2
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +19 -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 +18 -4
- 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 +34 -2
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +63 -17
- 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 +20 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +86 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
- package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-credential.js +113 -0
- package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +100 -8
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +147 -25
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +128 -56
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +18 -3
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -75
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts +13 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +15 -2
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +7 -3
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +25 -16
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
- 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 +13 -3
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +22 -9
- 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 +3 -3
- 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.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js +3 -6
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.js +2 -1
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -1
- 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/application-provider-connection.service.d.ts +161 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.js +337 -0
- package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- 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.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 +13 -2
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -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.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -1
- 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.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.map +1 -1
- 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.map +1 -1
- package/dist/src/services/registry/module-install.service.js.map +1 -1
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-publish.service.js +16 -7
- package/dist/src/services/registry/module-publish.service.js.map +1 -1
- package/dist/src/services/registry/module-registration.service.d.ts +0 -11
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +88 -149
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +5 -5
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-connect.service.d.ts +300 -0
- package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-connect.service.js +712 -0
- package/dist/src/services/registry/provider-connect.service.js.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +38 -4
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +56 -11
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +12 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +114 -25
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
- 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 +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.js +9 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +2 -2
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +9 -6
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +22 -12
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.js +122 -51
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -1
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +189 -5
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-probe.service.js +268 -54
- package/dist/src/services/registry/provider-probe.service.js.map +1 -1
- package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
- package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-proof.service.js +640 -0
- package/dist/src/services/registry/provider-proof.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +8 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-publication.service.js +25 -12
- package/dist/src/services/registry/provider-publication.service.js.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +10 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.js +34 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +4 -4
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- 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 +20 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +48 -6
- 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 +2 -2
- 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 +5 -4
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts.map +1 -1
- package/dist/src/services/website/website-look.service.js.map +1 -1
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +32 -5
- 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 +63 -36
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +42 -7
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +121 -12
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/framework-root-package.json +121 -59
- package/package.json +180 -99
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +67 -27
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
- package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
- package/scripts/pnpm-workspace-members.mjs +146 -0
- package/scripts/pnpm-workspace-settings.mjs +418 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +139 -63
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +2 -1
- package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +2 -2
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +19 -2
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +31 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +3 -1
- package/templates/infra/registry-host/docker-compose.yml +4 -0
- package/templates/infra/yara-service/requirements.txt +1 -1
- package/templates/saas/blueprints/b2b-saas/blueprint.json +1 -1
- package/templates/saas/blueprints/internal-tool/blueprint.json +13 -1
- package/templates/saas/blueprints/service-firm/blueprint.json +1 -1
- package/templates/saas/engine-peer-closure.json +66 -8
- package/templates/saas/i18n/email/components/labels.fr.ts +1 -1
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +8 -6
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +5 -5
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +3 -3
- package/templates/saas/i18n/engine/README.md +8 -3
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +9 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +10 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +10 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -7
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -7
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +57 -42
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +19 -4
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -31
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +3 -16
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -24
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +3 -17
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -14
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +3 -3
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -44
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applications.en.ts +280 -8
- package/templates/saas/i18n/engine/resources/applications.fr.ts +279 -7
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +281 -325
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +120 -164
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +36 -36
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
- package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +226 -248
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +60 -82
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +21 -21
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +1 -1
- 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/operationApprovalRequests.en.ts +221 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +221 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +16 -26
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +23 -4
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +23 -4
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.en.ts → organizationModelUsageCeilingState.en.ts} +75 -81
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.fr.ts → organizationModelUsageCeilingState.fr.ts} +75 -81
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +35 -45
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/{workbenchComplianceCandidateVariantSelections.en.ts → organizationPersonTokenCeilingState.en.ts} +70 -54
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +27 -27
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -28
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +1 -9
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -69
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizations.en.ts +45 -10
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +45 -10
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -46
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.en.ts → postCommitEffectOutbox.en.ts} +58 -75
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.fr.ts → postCommitEffectOutbox.fr.ts} +58 -75
- package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +19 -1
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +19 -1
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +24 -24
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +223 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +223 -2
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/{workbenchBrandNameJurisdictions.en.ts → ssoDomainReservations.en.ts} +57 -44
- package/templates/saas/i18n/engine/resources/{workbenchMarketCategories.fr.ts → ssoDomainReservations.fr.ts} +52 -47
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +31 -31
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +31 -31
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
- package/templates/saas/i18n/engine/resources/user_self.en.ts +46 -5
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +46 -5
- package/templates/saas/i18n/engine/resources/users.en.ts +23 -36
- package/templates/saas/i18n/engine/resources/users.fr.ts +23 -36
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +0 -5
- package/templates/saas/scenarios/add-locale/scenario.json +2 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
- package/templates/saas/scenarios/add-marketing-page/scenario.json +3 -5
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +6 -0
- package/templates/saas/scenarios/add-resource/scenario.json +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +15 -13
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +8 -5
- package/templates/saas/scenarios/add-technical-doc/scenario.json +7 -3
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -8
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +0 -5
- package/templates/saas/scenarios/add-website/scenario.json +4 -2
- package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +2 -16
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +3 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +12 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -156
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
- package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
- package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
- package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
- package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +3 -1
- package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/skeleton/frontend/src/index.css.hbs +25 -18
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +7 -2
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +22 -3
- package/templates/saas/skeleton/gitignore +13 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
- package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
- package/templates/saas/skeleton/tsconfig.common.json +6 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +0 -210
- package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
- package/dist/src/services/application/provider-package-links.service.js +0 -421
- package/dist/src/services/application/provider-package-links.service.js.map +0 -1
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-proof.service.js","sourceRoot":"","sources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AE,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;YACpE,EAAE,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC,CAAC;YACnE,EAAE,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;QACvE,CAAC,CAAC;KACH,CAAC;AACJ,CAAC;AAED,yGAAyG;AACzG,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;CACrD,CAAC,CAAC","sourcesContent":["/**\n * `wildo providers prove <issue>`: runs a `kind/unproven` provider issue's execution block and records the outcome\n * (#2518).\n *\n * A provider's proof issue carries its own procedure, under `## Execution`: a fenced block of `wildo-dev providers probe`\n * lines. This reads that block, runs every line IN-PROCESS through `probeProviderOperations` (the probe command's own\n * service, so a line here and the same line typed in a terminal send the same requests), and when every operation\n * succeeded, writes `maturity: proven` with its `proof` into the module's manifest.\n *\n * ## The block is read, never executed\n *\n * Nothing here hands a line to a shell. A line is split into words by {@link splitShellWords}, which understands the two\n * quoting forms the issues use and REFUSES every shell metacharacter that would make the line mean something other than\n * its words (`$`, a backtick, `;`, `|`, `&`, a redirection, a subshell). Then the words must be exactly a probe\n * invocation, with the flags the probe command takes; anything else refuses the whole issue, because a precondition the\n * prover skipped would make its proof claim more than it ran.\n *\n * ## Placeholders\n *\n * An input carries `<placeholder>`s for values only the person proving knows (`<cloudId>`, `<sandbox-org>`). They are\n * asked for (or given with `--set`) and substituted into the JSON's STRING values, after the input is parsed, so a value\n * holding a quote cannot change the JSON's shape. `<p>` closed by a `</p>` in the same string is markup, not a\n * placeholder (Confluence's storage format). One placeholder name used for two different fields (`<id>` as both\n * `siteId` and `listId`) is asked once per field, because one answer would be wrong for one of them.\n */\nimport { spawnSync } from 'node:child_process';\nimport { mkdtempSync, rmSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport * as path from 'node:path';\n\nimport { z } from 'zod';\n\nimport { ProviderProbeOutcomeKind, type ProviderProbeReport } from '~wildo-cli/services/registry/provider-probe.service';\nimport { describeCaughtError } from '@wildo-ai/saas-models';\n\n/** Why a line of an execution block cannot be run by the prover. */\nexport class ProviderProofBlockRefusedError extends Error {}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// Shell words\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** Characters that change what a line means to a shell when they appear outside single quotes. */\nconst UNQUOTED_METACHARACTERS = new Set([';', '|', '&', '<', '>', '(', ')', '`', '$']);\n/** Inside double quotes a shell still expands these. */\nconst DOUBLE_QUOTED_METACHARACTERS = new Set(['$', '`']);\n\n/**\n * Splits one command line into words as a POSIX shell would, for the subset an issue's execution block uses: plain\n * words, `'single quoted'` (literal), `\"double quoted\"` (with `\\\"`, `\\\\`, `` \\` ``, `\\$` escapes), a backslash escape\n * outside quotes, and a `#` comment starting a word. Refuses every metacharacter that would make a shell do something\n * other than pass these words to one command, and an unterminated quote.\n */\nexport function splitShellWords(line: string): string[] {\n const words: string[] = [];\n let current = '';\n let inWord = false;\n let index = 0;\n const refuse = (what: string) => {\n throw new ProviderProofBlockRefusedError(`The line uses ${what}, which the prover does not interpret: \\`${line}\\`. Run it by hand.`);\n };\n while (index < line.length) {\n const character = line[index]!;\n if (character === ' ' || character === '\\t') {\n if (inWord) words.push(current);\n current = '';\n inWord = false;\n index += 1;\n continue;\n }\n if (character === '#' && !inWord) break;\n if (character === \"'\") {\n const end = line.indexOf(\"'\", index + 1);\n if (end === -1) refuse('an unterminated single quote');\n current += line.slice(index + 1, end);\n inWord = true;\n index = end + 1;\n continue;\n }\n if (character === '\"') {\n index += 1;\n let closed = false;\n while (index < line.length) {\n const inner = line[index]!;\n if (inner === '\"') { closed = true; index += 1; break; }\n if (inner === '\\\\' && index + 1 < line.length && ['\"', '\\\\', '`', '$'].includes(line[index + 1]!)) {\n current += line[index + 1];\n index += 2;\n continue;\n }\n if (DOUBLE_QUOTED_METACHARACTERS.has(inner)) refuse(`\\`${inner}\\` inside double quotes`);\n current += inner;\n index += 1;\n }\n if (!closed) refuse('an unterminated double quote');\n inWord = true;\n continue;\n }\n if (character === '\\\\') {\n if (index + 1 >= line.length) refuse('a trailing backslash');\n current += line[index + 1];\n inWord = true;\n index += 2;\n continue;\n }\n if (UNQUOTED_METACHARACTERS.has(character)) refuse(`\\`${character}\\``);\n current += character;\n inWord = true;\n index += 1;\n }\n if (inWord) words.push(current);\n return words;\n}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// The issue's execution block\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** One probe line of an execution block, read into the probe command's flags. */\nexport interface ProviderProofCommand {\n /** The line as written in the issue (joined if it was continued with `\\`). */\n readonly line: string;\n readonly ref: string;\n readonly operationIds: readonly string[];\n /** `--input`, unparsed: placeholders are substituted after it is parsed. */\n readonly rawInput?: string;\n readonly allowWrites: boolean;\n readonly credentialEnv?: string;\n readonly module?: string;\n}\n\n/** An execution block, read. */\nexport interface ProviderProofPlan {\n readonly commands: readonly ProviderProofCommand[];\n /** Prose paragraphs starting `ERASURE:`: steps the prover prints and does not run. */\n readonly manualSteps: readonly string[];\n}\n\n/** How the issue's execution must be run, when the prover cannot run it. */\nexport enum ProviderProofBlockKind {\n /** A fenced block of probe lines: the prover runs it. */\n COMMANDS = 'commands',\n /** An `**Out-of-band:**` procedure and no fenced command: a person runs it. */\n OUT_OF_BAND = 'out-of-band',\n}\n\nconst PROBE_PREFIXES: ReadonlyArray<readonly string[]> = [['wildo-dev', 'providers', 'probe'], ['wildo', 'providers', 'probe']];\n\n/** The flags the probe command takes, and whether each carries a value. */\n/** A provider ref as a proof issue may name it: one kebab-case segment, never a path. */\nexport const PROVIDER_PROOF_REF_PATTERN = /^[a-z0-9][a-z0-9-]*$/;\n\nconst PROBE_FLAGS: Readonly<Record<string, 'value' | 'values' | 'boolean'>> = {\n '--operation': 'values',\n '--input': 'value',\n '--allow-writes': 'boolean',\n '--credential-env': 'value',\n '--module': 'value',\n '--json': 'boolean',\n};\n\n/** Reads one probe line's words into a command. Refuses any word the probe command would not take. */\nexport function readProbeCommand(line: string): ProviderProofCommand {\n const words = splitShellWords(line);\n const prefix = PROBE_PREFIXES.find((candidate) => candidate.every((word, position) => words[position] === word));\n if (prefix === undefined) {\n throw new ProviderProofBlockRefusedError(`The execution block has a line that is not a \\`wildo-dev providers probe\\` command: \\`${line}\\`. Run this issue by hand.`);\n }\n let ref: string | undefined;\n const operationIds: string[] = [];\n let rawInput: string | undefined;\n let allowWrites = false;\n let credentialEnv: string | undefined;\n for (let position = prefix.length; position < words.length; position += 1) {\n const word = words[position]!;\n const [flag, inlineValue] = word.startsWith('--') && word.includes('=') ? [word.slice(0, word.indexOf('=')), word.slice(word.indexOf('=') + 1)] : [word, undefined];\n const arity = PROBE_FLAGS[flag];\n if (!word.startsWith('--')) {\n if (ref !== undefined) throw new ProviderProofBlockRefusedError(`\\`${line}\\` names a second provider ('${word}'); a probe takes one.`);\n // A ref is a module NAME, resolved under the checkout's providers-registry/. A path (`../x`) would let the issue\n // text choose which code runs and which manifest is marked proven.\n if (!PROVIDER_PROOF_REF_PATTERN.test(word)) throw new ProviderProofBlockRefusedError(`\\`${line}\\` names '${word}', which is not a provider ref (kebab-case, no path).`);\n ref = word;\n continue;\n }\n if (arity === undefined) throw new ProviderProofBlockRefusedError(`\\`${line}\\` passes ${flag}, which the probe command does not take.`);\n if (arity === 'boolean') {\n if (flag === '--allow-writes') allowWrites = true;\n continue;\n }\n const values: string[] = inlineValue === undefined ? [] : [inlineValue];\n if (inlineValue === undefined) {\n while (position + 1 < words.length && !words[position + 1]!.startsWith('--')) {\n values.push(words[position + 1]!);\n position += 1;\n if (arity === 'value') break;\n }\n }\n if (values.length === 0) throw new ProviderProofBlockRefusedError(`\\`${line}\\` passes ${flag} with no value.`);\n if (flag === '--operation') operationIds.push(...values.flatMap((value) => value.split(',')).map((value) => value.trim()).filter(Boolean));\n else if (flag === '--input') rawInput = values[0];\n else if (flag === '--credential-env') credentialEnv = values[0];\n // The issue may not choose the module directory: prove runs the checkout's own `providers-registry/<ref>`, and the\n // person, not the issue text, decides which code runs and which manifest is marked (review F1).\n else if (flag === '--module') throw new ProviderProofBlockRefusedError(`\\`${line}\\` passes --module; an issue may not choose the module directory, prove runs providers-registry/<ref>.`);\n }\n if (ref === undefined) throw new ProviderProofBlockRefusedError(`\\`${line}\\` names no provider.`);\n if (operationIds.length === 0) throw new ProviderProofBlockRefusedError(`\\`${line}\\` names no --operation.`);\n return {\n line,\n ref,\n operationIds,\n ...(rawInput === undefined ? {} : { rawInput }),\n allowWrites,\n ...(credentialEnv === undefined ? {} : { credentialEnv }),\n };\n}\n\n/** The `## Execution` section: from its heading to the next `## ` heading. */\nfunction executionSection(body: string): string | undefined {\n const lines = body.split(/\\r?\\n/);\n const start = lines.findIndex((line) => /^##\\s+Execution\\s*$/.test(line));\n if (start === -1) return undefined;\n const rest = lines.slice(start + 1);\n const end = rest.findIndex((line) => /^##\\s/.test(line));\n return (end === -1 ? rest : rest.slice(0, end)).join('\\n');\n}\n\n/**\n * Reads an issue body's execution block. Refuses an issue with no `## Execution` section, one whose execution is\n * out-of-band (no fenced command), and one whose fenced block holds anything but probe lines.\n */\nexport function readProviderProofPlan(body: string): ProviderProofPlan {\n const section = executionSection(body);\n if (section === undefined) throw new ProviderProofBlockRefusedError('The issue has no `## Execution` section, so there is nothing to run.');\n const blocks = [...section.matchAll(/^```[^\\n]*\\n([\\s\\S]*?)^```/gm)].map((match) => match[1]!);\n if (blocks.length === 0) {\n throw new ProviderProofBlockRefusedError(\n section.includes('**Out-of-band:**')\n ? \"This issue's execution is out-of-band; follow its procedure.\"\n : 'The `## Execution` section has no fenced command, so there is nothing to run.',\n );\n }\n const commands: ProviderProofCommand[] = [];\n for (const block of blocks) {\n // A line continued with a trailing backslash is one command.\n const joined = block.replace(/\\\\\\n\\s*/g, ' ');\n for (const raw of joined.split('\\n')) {\n const line = raw.trim();\n if (line === '' || line.startsWith('#')) continue;\n commands.push(readProbeCommand(line));\n }\n }\n if (commands.length === 0) throw new ProviderProofBlockRefusedError('The execution block holds no command.');\n const manualSteps = body.split(/\\r?\\n\\s*\\r?\\n/).map((paragraph) => paragraph.trim()).filter((paragraph) => paragraph.startsWith('ERASURE:'));\n return { commands, manualSteps };\n}\n\n/** Which kind of execution an issue declares, without refusing: `--dry-run` and the refusal message use it. */\nexport function providerProofBlockKind(body: string): ProviderProofBlockKind | undefined {\n const section = executionSection(body);\n if (section === undefined) return undefined;\n return /^```/m.test(section) ? ProviderProofBlockKind.COMMANDS : section.includes('**Out-of-band:**') ? ProviderProofBlockKind.OUT_OF_BAND : undefined;\n}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// Placeholders\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** `<name>`: a letter, then letters, digits, spaces, `_`, `.`, `-`. A slash never: `</p>` is markup. */\nconst PLACEHOLDER = /<([A-Za-z][A-Za-z0-9 _.-]*)>/g;\n\n/** One value to ask for. */\nexport interface ProviderProofPlaceholder {\n /** What it is asked and `--set` by: the placeholder name, or the field it fills when the name fills several. */\n readonly identity: string;\n readonly name: string;\n /** The JSON property it sits under, when there is one. */\n readonly field?: string;\n}\n\n/** Each placeholder occurrence, with the property it fills. */\ninterface PlaceholderOccurrence {\n readonly name: string;\n readonly field?: string;\n}\n\nfunction placeholdersInString(text: string): string[] {\n return [...text.matchAll(PLACEHOLDER)].map((match) => match[1]!).filter((name) => !text.includes(`</${name}>`));\n}\n\nfunction walkStrings(value: unknown, field: string | undefined, visit: (text: string, field: string | undefined) => string): unknown {\n if (typeof value === 'string') return visit(value, field);\n if (Array.isArray(value)) return value.map((entry) => walkStrings(entry, field, visit));\n if (value !== null && typeof value === 'object') {\n return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, walkStrings(entry, key, visit)]));\n }\n return value;\n}\n\nfunction parseInput(command: ProviderProofCommand): Record<string, unknown> | undefined {\n if (command.rawInput === undefined) return undefined;\n let parsed: unknown;\n try {\n parsed = JSON.parse(command.rawInput);\n } catch (error) {\n throw new ProviderProofBlockRefusedError(`\\`${command.line}\\` passes an --input that is not JSON (${describeCaughtError(error)}); a placeholder may only stand for a string value.`);\n }\n if (parsed === null || typeof parsed !== 'object' || Array.isArray(parsed)) throw new ProviderProofBlockRefusedError(`\\`${command.line}\\` passes an --input that is not a JSON object.`);\n return parsed as Record<string, unknown>;\n}\n\nfunction occurrencesOf(command: ProviderProofCommand): PlaceholderOccurrence[] {\n const occurrences: PlaceholderOccurrence[] = [];\n const input = parseInput(command);\n if (input !== undefined) {\n walkStrings(input, undefined, (text, field) => {\n for (const name of placeholdersInString(text)) occurrences.push({ name, ...(field === undefined ? {} : { field }) });\n return text;\n });\n }\n return occurrences;\n}\n\nfunction identityOf(occurrence: PlaceholderOccurrence, ambiguousNames: ReadonlySet<string>): string {\n return ambiguousNames.has(occurrence.name) && occurrence.field !== undefined ? occurrence.field : occurrence.name;\n}\n\n/** The names that fill more than one field across the plan: those are asked per field. */\nfunction ambiguousPlaceholderNames(plan: ProviderProofPlan): Set<string> {\n const fieldsByName = new Map<string, Set<string | undefined>>();\n for (const command of plan.commands) {\n for (const occurrence of occurrencesOf(command)) {\n fieldsByName.set(occurrence.name, (fieldsByName.get(occurrence.name) ?? new Set()).add(occurrence.field));\n }\n }\n return new Set([...fieldsByName].filter(([, fields]) => fields.size > 1).map(([name]) => name));\n}\n\n/** Every distinct value the plan needs, in first-use order. */\nexport function providerProofPlaceholders(plan: ProviderProofPlan): ProviderProofPlaceholder[] {\n const ambiguous = ambiguousPlaceholderNames(plan);\n const seen = new Map<string, ProviderProofPlaceholder>();\n for (const command of plan.commands) {\n for (const occurrence of occurrencesOf(command)) {\n const identity = identityOf(occurrence, ambiguous);\n if (!seen.has(identity)) seen.set(identity, { identity, name: occurrence.name, ...(occurrence.field === undefined ? {} : { field: occurrence.field }) });\n }\n }\n return [...seen.values()];\n}\n\n/** A plan's command with its input parsed and every placeholder filled. */\nexport interface ProviderProofResolvedCommand extends ProviderProofCommand {\n readonly input: Record<string, unknown>;\n}\n\n/**\n * Fills every placeholder. `values` is keyed by identity, and a value keyed by the bare placeholder NAME answers every\n * field that name fills. A placeholder with no value refuses: a literal `<…>` is never sent to a vendor.\n */\nexport function resolveProviderProofCommands(plan: ProviderProofPlan, values: Readonly<Record<string, string>>): ProviderProofResolvedCommand[] {\n const ambiguous = ambiguousPlaceholderNames(plan);\n return plan.commands.map((command) => resolveProviderProofCommand(command, values, ambiguous));\n}\n\n/**\n * The commands whose every placeholder has a value, resolved, and the ones still waiting for a value. Ambiguity is\n * judged over the WHOLE plan, as {@link resolveProviderProofCommands} judges it, so a value keyed by field identity\n * answers here exactly as it does in a run. A dry run checks the first group's inputs and names the second.\n */\nexport function resolveAnsweredProviderProofCommands(\n plan: ProviderProofPlan,\n values: Readonly<Record<string, string>>,\n): { readonly resolved: ProviderProofResolvedCommand[]; readonly unanswered: ProviderProofCommand[] } {\n const ambiguous = ambiguousPlaceholderNames(plan);\n const resolved: ProviderProofResolvedCommand[] = [];\n const unanswered: ProviderProofCommand[] = [];\n for (const command of plan.commands) {\n const answered = occurrencesOf(command).every((occurrence) => (values[identityOf(occurrence, ambiguous)] ?? values[occurrence.name]) !== undefined);\n if (answered) resolved.push(resolveProviderProofCommand(command, values, ambiguous));\n else unanswered.push(command);\n }\n return { resolved, unanswered };\n}\n\nfunction resolveProviderProofCommand(\n command: ProviderProofCommand,\n values: Readonly<Record<string, string>>,\n ambiguous: ReadonlySet<string>,\n): ProviderProofResolvedCommand {\n const input = parseInput(command) ?? {};\n const filled = walkStrings(input, undefined, (text, field) => {\n let result = text;\n for (const name of placeholdersInString(text)) {\n const identity = identityOf({ name, ...(field === undefined ? {} : { field }) }, ambiguous);\n const value = values[identity] ?? values[name];\n if (value === undefined) throw new ProviderProofBlockRefusedError(`No value for <${name}>${identity === name ? '' : ` (${identity})`}; pass --set ${identity}=<value>.`);\n result = result.split(`<${name}>`).join(value);\n }\n return result;\n }) as Record<string, unknown>;\n return { ...command, input: filled };\n}\n\n/** READ lines first (no `--allow-writes`), each group in the issue's order. */\nexport function orderProviderProofCommands<T extends ProviderProofCommand>(commands: readonly T[]): T[] {\n return [...commands.filter((command) => !command.allowWrites), ...commands.filter((command) => command.allowWrites)];\n}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// The outcome\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** One line's run. */\nexport interface ProviderProofRun {\n readonly command: ProviderProofResolvedCommand;\n /** The module directory it ran against, relative to the checkout. */\n readonly module: string;\n readonly probedAt: string;\n /** Absent when the line could not run at all (the module did not load, a credential is missing). */\n readonly report?: ProviderProbeReport;\n readonly refusal?: string;\n}\n\n/** Whether every operation of every line succeeded: the only outcome that proves anything. */\nexport function providerProofSucceeded(runs: readonly ProviderProofRun[]): boolean {\n return runs.length > 0 && runs.every((run) => run.report !== undefined\n && run.report.outcomes.length > 0\n && run.report.outcomes.every((outcome) => outcome.kind === ProviderProbeOutcomeKind.SUCCEEDED));\n}\n\n/** The operations the runs called, once each, in the order they ran. */\nexport function providerProofOperations(runs: readonly ProviderProofRun[]): string[] {\n return [...new Set(runs.flatMap((run) => (run.report?.outcomes ?? []).map((outcome) => outcome.operationId)))];\n}\n\n/** The issue comment recording a run: every line's masked report, the day, and the checkout it ran from. */\nexport function renderProviderProofComment(input: {\n readonly runs: readonly ProviderProofRun[];\n readonly ranAt: string;\n readonly checkoutCommit: string;\n /** Uncommitted changes in the module's tree when it ran: the commit alone does not say what ran then. */\n readonly moduleTreeDirty: boolean;\n readonly manualSteps: readonly string[];\n}): string {\n const succeeded = providerProofSucceeded(input.runs);\n const lines = [\n `## \\`wildo-dev providers prove\\` run, ${input.ranAt}`,\n '',\n `**Outcome:** ${succeeded ? 'every operation SUCCEEDED' : 'NOT proven: at least one operation did not succeed'}.`,\n `**CLI:** this checkout at \\`${input.checkoutCommit}\\`${input.moduleTreeDirty ? ' (the module had uncommitted changes)' : ''}.`,\n '',\n ];\n for (const run of input.runs) {\n lines.push('```bash', `wildo-dev providers probe ${run.command.ref} --operation ${run.command.operationIds.join(' ')}`\n + `${run.command.rawInput === undefined ? '' : ` --input '${JSON.stringify(run.command.input)}'`}`\n + `${run.command.allowWrites ? ' --allow-writes' : ''} --json`, '```');\n if (run.report === undefined) {\n lines.push(`Not run: ${run.refusal ?? 'refused'}`, '');\n continue;\n }\n lines.push('```json', JSON.stringify({ module: run.module, probedAt: run.probedAt, ...run.report }, null, 2), '```', '');\n }\n if (input.manualSteps.length > 0) {\n lines.push('**Not run by the prover** (the issue asks for them by hand):', '', ...input.manualSteps.map((step) => `- ${step.replace(/\\n/g, ' ')}`), '');\n }\n return lines.join('\\n');\n}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// The manifest\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** The manifest members this writes; everything else is carried through untouched, in its order. */\nconst ProvenManifestProviderSchema = z.looseObject({ maturity: z.string(), proof: z.unknown().optional() });\n\n/**\n * The manifest text with `maturity: proven` and `proof` written into its `provider`, `proof` placed right after\n * `maturity`, every other member and its order kept. Pure: the caller validates and writes it.\n */\nexport function provenManifestText(manifestText: string, proof: { readonly issue: number; readonly provenAt: string; readonly operations: readonly string[] }): string {\n const manifest = JSON.parse(manifestText) as Record<string, unknown>;\n // Checked, then read RAW: a zod object's output lists its declared members first, which would reorder the file.\n ProvenManifestProviderSchema.parse(manifest.provider);\n const provider = manifest.provider as Record<string, unknown>;\n const rebuilt: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(provider)) {\n if (key === 'proof') continue;\n if (key === 'maturity') {\n rebuilt.maturity = 'proven';\n rebuilt.proof = { issue: proof.issue, provenAt: proof.provenAt, operations: [...proof.operations] };\n continue;\n }\n rebuilt[key] = value;\n }\n return `${JSON.stringify({ ...manifest, provider: rebuilt }, null, 2)}\\n`;\n}\n\n// ---------------------------------------------------------------------------------------------------------------------\n// The run\n// ---------------------------------------------------------------------------------------------------------------------\n\n/** The issue as the prover reads it. */\nexport interface ProviderProofIssue {\n readonly number: number;\n readonly title: string;\n readonly body: string;\n /** `OPEN` or `CLOSED`, as GitHub spells it. */\n readonly state: string;\n readonly labels: readonly string[];\n}\n\n/** The tracker, as the prover uses it. The command binds it to `gh`; a test to a double. */\nexport interface ProviderProofIssueClient {\n view(issueNumber: number): Promise<ProviderProofIssue>;\n comment(issueNumber: number, body: string): Promise<void>;\n close(issueNumber: number, comment: string): Promise<void>;\n}\n\n/** How the prover asks the person. */\nexport interface ProviderProofPrompts {\n visible(message: string): Promise<string>;\n confirm(message: string): Promise<boolean>;\n}\n\n/** How a prove ended. */\nexport enum ProviderProofOutcome {\n /** `--dry-run`: the plan was printed, nothing ran. */\n PLANNED = 'planned',\n /** Every operation succeeded; the report is on the issue, the manifest says proven, the issue is closed. */\n PROVEN = 'proven',\n /**\n * Every operation succeeded and the manifest says proven for the operations called, but the issue asks for manual\n * steps the prover does not run (an `ERASURE:` paragraph), so it stays OPEN, naming them. Closing would record those\n * steps as done when nobody ran them: the erasure proof of HubSpot, Okta and Intercom is one such step.\n */\n PROVEN_MANUAL_STEPS_OPEN = 'proven-manual-steps-open',\n /** Every operation succeeded, but the person declined to record it. */\n SUCCEEDED_NOT_RECORDED = 'succeeded-not-recorded',\n /** At least one operation did not succeed; the issue stays open and the manifest is unchanged. */\n NOT_PROVEN = 'not-proven',\n /** The person declined before anything was sent to the vendor. */\n DECLINED = 'declined',\n}\n\n/** The label a provider proof issue carries; the prover runs no other. */\nexport const PROVIDER_PROOF_ISSUE_LABEL = 'kind/unproven';\n\nexport interface ProveProviderIssueInput {\n readonly issueNumber: number;\n readonly client: ProviderProofIssueClient;\n readonly prompts: ProviderProofPrompts;\n /** `--set` answers, by placeholder identity or name. */\n readonly values: Readonly<Record<string, string>>;\n readonly dryRun: boolean;\n /** `--yes`: no confirmation for writes, for the comment, or for recording the proof. */\n readonly yes: boolean;\n /** The module directory for a ref (honouring a line's `--module`), or undefined when there is none. */\n readonly resolveModuleDir: (ref: string, moduleFlag: string | undefined) => string | undefined;\n /** Runs one line against its module; throws when it cannot run at all. */\n readonly probe: (command: ProviderProofResolvedCommand, moduleDir: string) => Promise<ProviderProbeReport>;\n /**\n * What the engine would refuse in one line BEFORE sending it (an unknown operation, an input its schema rejects), as\n * one sentence per problem; empty when nothing. Asked on the dry run of every line whose placeholders have values,\n * and of every line before anything is sent, so an authoring mistake in the issue never spends a vendor run.\n * Required, not optional: a seam that may be left out is a check that silently does nothing.\n */\n readonly checkInputs: (command: ProviderProofResolvedCommand, moduleDir: string) => Promise<readonly string[]>;\n /** Which account a WRITE line would spend, in words, for its confirmation. */\n readonly describeAccount: (command: ProviderProofCommand, moduleDir: string) => string;\n /** The module directory as the report names it (relative to the checkout). */\n readonly displayPath: (moduleDir: string) => string;\n readonly checkout: { readonly commit: string; readonly moduleTreeDirty: (moduleDir: string) => boolean };\n /** Reads and writes the manifest; a test points it at a copy. */\n readonly manifest: { readonly read: (moduleDir: string) => string; readonly write: (moduleDir: string, text: string) => void; readonly validate: (text: string) => void };\n readonly report: (line: string) => void;\n readonly now?: Date;\n}\n\nexport interface ProveProviderIssueResult {\n readonly outcome: ProviderProofOutcome;\n readonly runs: readonly ProviderProofRun[];\n /** The manifest written, when the proof was recorded. */\n readonly manifestPath?: string;\n}\n\n/**\n * Refuses the run when any line's input would be rejected by its operation, naming every such line. Nothing is sent.\n */\nasync function refuseRejectedInputs(issueNumber: number, commands: readonly ProviderProofResolvedCommand[], input: ProveProviderIssueInput): Promise<void> {\n const rejected: string[] = [];\n for (const command of commands) {\n const moduleDir = input.resolveModuleDir(command.ref, command.module)!;\n for (const problem of await input.checkInputs(command, moduleDir)) rejected.push(`\\`${command.line}\\`: ${problem}`);\n }\n if (rejected.length === 0) return;\n for (const line of rejected) input.report(`Input rejected: ${line}`);\n throw new ProviderProofBlockRefusedError(\n `#${issueNumber}: ${rejected.length} line(s) would be refused before reaching the vendor, so nothing was run. `\n + `Fix the issue's execution block; the operation's input schema names the fields.`,\n );\n}\n\n/**\n * Reads the issue, runs its block and records the outcome. The refusals, in order: the issue is not open or not a\n * `kind/unproven` issue; its execution is out-of-band or holds a line the prover does not run; its lines name more than\n * one provider (one issue proves one module); a module is missing. Nothing is sent before every refusal is cleared.\n */\nexport async function proveProviderIssue(input: ProveProviderIssueInput): Promise<ProveProviderIssueResult> {\n const issue = await input.client.view(input.issueNumber);\n if (issue.state !== 'OPEN') throw new ProviderProofBlockRefusedError(`#${issue.number} is ${issue.state.toLowerCase()}; only an open issue is proven.`);\n if (!issue.labels.includes(PROVIDER_PROOF_ISSUE_LABEL)) {\n throw new ProviderProofBlockRefusedError(`#${issue.number} is not labelled ${PROVIDER_PROOF_ISSUE_LABEL}, so it is not a proof issue.`);\n }\n const plan = readProviderProofPlan(issue.body);\n const refs = [...new Set(plan.commands.map((command) => command.ref))];\n if (refs.length !== 1) throw new ProviderProofBlockRefusedError(`#${issue.number} probes ${refs.join(', ')}; one proof issue proves one module.`);\n\n for (const command of plan.commands) {\n if (input.resolveModuleDir(command.ref, command.module) === undefined) {\n throw new ProviderProofBlockRefusedError(`No provider module '${command.ref}' in this checkout's providers-registry/.`);\n }\n }\n const moduleDir = input.resolveModuleDir(plan.commands[0]!.ref, plan.commands[0]!.module)!;\n // Every line must run the module whose manifest is marked: evidence from another directory proves nothing here.\n if (plan.commands.some((command) => input.resolveModuleDir(command.ref, command.module) !== moduleDir)) {\n throw new ProviderProofBlockRefusedError(`#${issue.number}'s lines resolve to more than one module directory; one proof issue proves one module.`);\n }\n\n input.report(`#${issue.number} ${issue.title}`);\n input.report(`Module: ${input.displayPath(moduleDir)}`);\n const ordered = orderProviderProofCommands(plan.commands);\n for (const command of ordered) input.report(`${command.allowWrites ? 'WRITE' : 'READ '} ${command.line}`);\n for (const step of plan.manualSteps) input.report(`Manual step (not run): ${step.replace(/\\n/g, ' ')}`);\n const placeholders = providerProofPlaceholders(plan);\n for (const placeholder of placeholders) {\n const forField = placeholder.identity === placeholder.name ? '' : ` for ${placeholder.field}`;\n const given = input.values[placeholder.identity] ?? input.values[placeholder.name];\n if (given !== undefined) {\n input.report(`Value: <${placeholder.name}>${forField} = ${given}`);\n continue;\n }\n const setFlag = /\\s/.test(placeholder.identity) ? `--set '${placeholder.identity}=…'` : `--set ${placeholder.identity}=…`;\n input.report(`Needs a value: <${placeholder.name}>${forField} (${setFlag})`);\n }\n if (input.dryRun) {\n const { resolved, unanswered } = resolveAnsweredProviderProofCommands(plan, input.values);\n await refuseRejectedInputs(issue.number, resolved, input);\n if (resolved.length > 0) input.report(`Inputs accepted by their operations: ${resolved.length} line(s).`);\n for (const command of unanswered) input.report(`Input checked once its placeholders have values: ${command.line}`);\n return { outcome: ProviderProofOutcome.PLANNED, runs: [] };\n }\n\n const values: Record<string, string> = { ...input.values };\n for (const placeholder of placeholders) {\n if (values[placeholder.identity] !== undefined || values[placeholder.name] !== undefined) continue;\n const answer = (await input.prompts.visible(`<${placeholder.name}>${placeholder.field === undefined ? '' : ` (${placeholder.field})`}:`)).trim();\n if (answer === '') throw new ProviderProofBlockRefusedError(`No value for <${placeholder.name}>; nothing was run.`);\n values[placeholder.identity] = answer;\n }\n const resolved = orderProviderProofCommands(resolveProviderProofCommands(plan, values));\n // Before the WRITE confirmation and before any request: a line the engine would refuse for its input is the issue's\n // mistake, and running the others would post a report that reads as a vendor failure.\n await refuseRejectedInputs(issue.number, resolved, input);\n\n const writes = resolved.filter((command) => command.allowWrites);\n if (writes.length > 0 && !input.yes) {\n const description = writes.map((command) => `${command.operationIds.join(', ')} ${input.describeAccount(command, input.resolveModuleDir(command.ref, command.module)!)}`).join('; ');\n if (!(await input.prompts.confirm(`Run the WRITE operation(s) ${description}?`))) return { outcome: ProviderProofOutcome.DECLINED, runs: [] };\n }\n\n const ranAt = (input.now ?? new Date()).toISOString();\n const runs: ProviderProofRun[] = [];\n for (const command of resolved) {\n const commandModuleDir = input.resolveModuleDir(command.ref, command.module)!;\n const probedAt = new Date().toISOString();\n try {\n const report = await input.probe(command, commandModuleDir);\n runs.push({ command, module: input.displayPath(commandModuleDir), probedAt, report });\n } catch (error) {\n runs.push({ command, module: input.displayPath(commandModuleDir), probedAt, refusal: describeCaughtError(error) });\n }\n }\n const succeeded = providerProofSucceeded(runs);\n for (const run of runs) {\n for (const outcome of run.report?.outcomes ?? []) input.report(`${outcome.kind === ProviderProbeOutcomeKind.SUCCEEDED ? '✓' : '✗'} ${outcome.operationId} ${outcome.kind}${outcome.detail === undefined ? '' : `: ${outcome.detail}`}`);\n if (run.report === undefined) input.report(`✗ ${run.command.line}: ${run.refusal}`);\n }\n\n const comment = renderProviderProofComment({\n runs,\n ranAt: ranAt.slice(0, 10),\n checkoutCommit: input.checkout.commit,\n moduleTreeDirty: input.checkout.moduleTreeDirty(moduleDir),\n manualSteps: plan.manualSteps,\n });\n const record = input.yes || await input.prompts.confirm(succeeded\n ? (plan.manualSteps.length > 0\n ? `Every operation succeeded. Post the report on #${issue.number} and mark the module proven? The issue stays open for the ${plan.manualSteps.length} manual step(s) it lists.`\n : `Every operation succeeded. Post the report on #${issue.number}, mark the module proven and close the issue?`)\n : `Not every operation succeeded. Post the report on #${issue.number} (it stays open, nothing is marked)?`);\n if (!record) return { outcome: succeeded ? ProviderProofOutcome.SUCCEEDED_NOT_RECORDED : ProviderProofOutcome.NOT_PROVEN, runs };\n\n // Validated BEFORE anything reaches the tracker, so a proof the manifest would refuse is never announced.\n let provenText: string | undefined;\n if (succeeded) {\n provenText = provenManifestText(input.manifest.read(moduleDir), { issue: issue.number, provenAt: ranAt.slice(0, 10), operations: providerProofOperations(runs) });\n input.manifest.validate(provenText);\n }\n await input.client.comment(issue.number, comment);\n if (!succeeded) return { outcome: ProviderProofOutcome.NOT_PROVEN, runs };\n input.manifest.write(moduleDir, provenText!);\n // The commands are proven; manual steps are not, so an issue that lists any is left open for the person to finish.\n if (plan.manualSteps.length > 0) return { outcome: ProviderProofOutcome.PROVEN_MANUAL_STEPS_OPEN, runs, manifestPath: moduleDir };\n await input.client.close(\n issue.number,\n `Proven by the run above: every operation succeeded. \\`wildo.module.json\\` now says \\`maturity: proven\\` with \\`proof: { issue: ${issue.number}, provenAt: ${ranAt.slice(0, 10)} }\\`, `\n + `covering ${providerProofOperations(runs).map((operation) => `\\`${operation}\\``).join(', ')}.`,\n );\n return { outcome: ProviderProofOutcome.PROVEN, runs, manifestPath: moduleDir };\n}\n\n/**\n * The tracker through the `gh` CLI, run from the framework checkout so it addresses the checkout's repository. A\n * comment body goes through a temporary file, never an argument, so its length and characters do not matter.\n */\nexport function createGhProviderProofIssueClient(repositoryRoot: string): ProviderProofIssueClient {\n const gh = (args: readonly string[]): string => {\n const result = spawnSync('gh', args, { cwd: repositoryRoot, encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 });\n if (result.error !== undefined) {\n throw new ProviderProofBlockRefusedError(`\\`gh\\` could not run (${result.error.message}). Install the GitHub CLI and run \\`gh auth login\\`.`);\n }\n if (result.status !== 0) throw new Error(`\\`gh ${args.slice(0, 2).join(' ')}\\` failed: ${String(result.stderr).trim() || `exit ${result.status}`}`);\n return result.stdout;\n };\n const withBodyFile = (body: string, run: (file: string) => void) => {\n const directory = mkdtempSync(path.join(tmpdir(), 'wildo-prove-'));\n const file = path.join(directory, 'body.md');\n try {\n writeFileSync(file, body);\n run(file);\n } finally {\n rmSync(directory, { recursive: true, force: true });\n }\n };\n return {\n view: async (issueNumber) => {\n const parsed = GhIssueViewSchema.parse(JSON.parse(gh(['issue', 'view', String(issueNumber), '--json', 'number,title,body,state,labels'])));\n return { number: parsed.number, title: parsed.title, body: parsed.body, state: parsed.state, labels: parsed.labels.map((label) => label.name) };\n },\n comment: async (issueNumber, body) => withBodyFile(body, (file) => { gh(['issue', 'comment', String(issueNumber), '--body-file', file]); }),\n close: async (issueNumber, comment) => withBodyFile(comment, (file) => {\n gh(['issue', 'comment', String(issueNumber), '--body-file', file]);\n gh(['issue', 'close', String(issueNumber), '--reason', 'completed']);\n }),\n };\n}\n\n/** What `gh issue view --json number,title,body,state,labels` answers, as far as the prover reads it. */\nconst GhIssueViewSchema = z.looseObject({\n number: z.number(),\n title: z.string(),\n body: z.string(),\n state: z.string(),\n labels: z.array(z.looseObject({ name: z.string() })),\n});\n"]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type ModuleManifest } from '@wildo-ai/platform-config-lib';
|
|
1
2
|
import { RegistryServerClient } from '@wildo-ai/wildo-module-client';
|
|
3
|
+
import { type ProviderEngineProbe } from '../../services/registry/provider-module-engine-range.service';
|
|
2
4
|
/** What became of one provider module. */
|
|
3
5
|
export declare enum ProviderPublicationResultKind {
|
|
4
6
|
/** Sent, and the registry recorded the bytes sent. */
|
|
@@ -29,6 +31,12 @@ export interface ProviderPublicationInput {
|
|
|
29
31
|
readonly info?: typeof RegistryServerClient.info;
|
|
30
32
|
readonly download?: typeof RegistryServerClient.download;
|
|
31
33
|
readonly fetchImpl?: typeof fetch;
|
|
34
|
+
/** Injectable for tests: what npm publishes and what the staged module compiles against. Absent means the real probe. */
|
|
35
|
+
readonly engineProbeFor?: (staged: {
|
|
36
|
+
moduleRoot: string;
|
|
37
|
+
manifestPath: string;
|
|
38
|
+
manifest: ModuleManifest;
|
|
39
|
+
}) => ProviderEngineProbe;
|
|
32
40
|
}
|
|
33
41
|
/** Pack, check and (unless a dry run) publish every provider module of the checkout. Never throws for one module. */
|
|
34
42
|
export declare function publishCheckoutProviders(input: ProviderPublicationInput): Promise<ProviderPublicationResult[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-publication.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"provider-publication.service.d.ts","sourceRoot":"","sources":["../../../../src/services/registry/provider-publication.service.ts"],"names":[],"mappings":"AA2CA,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EAAqC,KAAK,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AAMhJ,0CAA0C;AAC1C,oBAAY,6BAA6B;IACvC,sDAAsD;IACtD,SAAS,cAAc;IACvB,mCAAmC;IACnC,aAAa,kBAAkB;IAC/B,gEAAgE;IAChE,iBAAiB,sBAAsB;IACvC,sHAAsH;IACtH,OAAO,YAAY;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,kDAAkD;IAClD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,8DAA8D;IAC9D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,qFAAqF;IACrF,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,qGAAqG;IACrG,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,oBAAoB,CAAC,QAAQ,CAAC;IACzD,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IAClC,yHAAyH;IACzH,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,cAAc,CAAA;KAAE,KAAK,mBAAmB,CAAC;CACnI;AAiBD,qHAAqH;AACrH,wBAAsB,wBAAwB,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAapH"}
|
|
@@ -21,10 +21,14 @@
|
|
|
21
21
|
*
|
|
22
22
|
* - **Uncommitted source**, checked before the code checks and again after them, since they take seconds and the
|
|
23
23
|
* checkout is shared: the checks must have run on the bytes that are published.
|
|
24
|
-
* - **No `engine.framework` range, or one
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
24
|
+
* - **No `engine.framework` range, or one the checkout has passed.** A public module is installed into applications
|
|
25
|
+
* on other framework versions, and that range is the only gate install applies (`checkModuleRequirements`, which
|
|
26
|
+
* reads `@wildo-ai/saas-models`).
|
|
27
|
+
* - **A range wider than what the module can use (#2706).** The checkout cannot answer this: it carries unreleased
|
|
28
|
+
* engine changes under the last release's version. So the staged bytes are read and compiled against the lowest
|
|
29
|
+
* PUBLISHED engine the range admits, fetched from npm (`provider-module-engine-range.service.ts`). A range no published
|
|
30
|
+
* engine satisfies, a typo such as `^2.0.0` included, is held until the engine release. Asked only of a version about
|
|
31
|
+
* to be sent: a published version is immutable, so refusing it again could change nothing.
|
|
28
32
|
* - **The structure and code checks** that `wildo registry publish` runs, on the checkout source.
|
|
29
33
|
* - **Changed contents under a published version.** Versions are immutable. The registry is asked what it holds. The
|
|
30
34
|
* same integrity is "already published". A different integrity is not yet a difference: the zip's deflate output
|
|
@@ -36,14 +40,16 @@
|
|
|
36
40
|
import { promises as fs } from 'node:fs';
|
|
37
41
|
import { tmpdir } from 'node:os';
|
|
38
42
|
import * as path from 'node:path';
|
|
39
|
-
import { satisfies, validRange } from 'semver';
|
|
40
|
-
import { listLocalCheckoutModules, ModuleKind, RegistryModuleNotFoundError, resolveFrameworkLayout, WILDO_REGISTRY_DOMAIN, } from '@wildo-ai/platform-config-lib';
|
|
43
|
+
import { ltr, satisfies, validRange } from 'semver';
|
|
44
|
+
import { listLocalCheckoutModules, MODULE_MANIFEST_FILE_NAME, ModuleKind, RegistryModuleNotFoundError, resolveFrameworkLayout, WILDO_REGISTRY_DOMAIN, } from '@wildo-ai/platform-config-lib';
|
|
41
45
|
import { RegistryServerClient } from '@wildo-ai/wildo-module-client';
|
|
42
46
|
import { createZipFromDir, extractZipToDir } from '../../services/registry/artifact-extractor.utils.js';
|
|
43
47
|
import { resolveLocalCheckoutModule, stageLocalCheckoutModuleFromCommit } from '../../services/registry/local-checkout-module-source.service.js';
|
|
48
|
+
import { providerModuleEngineRangeRefusals } from '../../services/registry/provider-module-engine-range.service.js';
|
|
44
49
|
import { readFrameworkOwnedDependencyNames } from '../../services/registry/provider-module-vendor-packages.service.js';
|
|
45
50
|
import { moduleArtifactIntegrity, ModulePublishOutcomeKind, publishModuleArtifact } from '../../services/registry/module-publish.service.js';
|
|
46
51
|
import { providerModuleCodeRefusals, providerModuleStructureRefusals } from '../../services/registry/provider-module-checks.service.js';
|
|
52
|
+
import { describeCaughtError } from '@wildo-ai/saas-models';
|
|
47
53
|
/** What became of one provider module. */
|
|
48
54
|
export var ProviderPublicationResultKind;
|
|
49
55
|
(function (ProviderPublicationResultKind) {
|
|
@@ -66,7 +72,7 @@ async function publishedStateOf(input, moduleId, version) {
|
|
|
66
72
|
catch (error) {
|
|
67
73
|
if (error instanceof RegistryModuleNotFoundError)
|
|
68
74
|
return { published: false };
|
|
69
|
-
return { unanswered:
|
|
75
|
+
return { unanswered: describeCaughtError(error) };
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
78
|
/** Pack, check and (unless a dry run) publish every provider module of the checkout. Never throws for one module. */
|
|
@@ -80,7 +86,7 @@ export async function publishCheckoutProviders(input) {
|
|
|
80
86
|
results.push(await publishOne(input, listing.moduleId));
|
|
81
87
|
}
|
|
82
88
|
catch (error) {
|
|
83
|
-
results.push({ moduleId: listing.moduleId, version: listing.version, kind: ProviderPublicationResultKind.REFUSED, detail:
|
|
89
|
+
results.push({ moduleId: listing.moduleId, version: listing.version, kind: ProviderPublicationResultKind.REFUSED, detail: describeCaughtError(error) });
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
return results;
|
|
@@ -94,11 +100,13 @@ async function publishOne(input, moduleId) {
|
|
|
94
100
|
}
|
|
95
101
|
const engineRange = module.manifest.engine?.framework;
|
|
96
102
|
if (engineRange === undefined) {
|
|
97
|
-
return refused('its wildo.module.json declares no engine.framework range; a published module states the framework versions it
|
|
103
|
+
return refused('its wildo.module.json declares no engine.framework range; a published module states the framework versions it works with, and install refuses an application outside them');
|
|
98
104
|
}
|
|
99
105
|
const checkedAgainst = await checkoutEngineVersion(input.frameworkRoot);
|
|
100
|
-
|
|
101
|
-
|
|
106
|
+
// A range ABOVE the checkout is not refused here: it names a later engine, and whether one is published is what the
|
|
107
|
+
// engine-range check below answers (compile against it, or hold until the release).
|
|
108
|
+
if (validRange(engineRange) === null || (!satisfies(checkedAgainst, engineRange) && !ltr(checkedAgainst, engineRange))) {
|
|
109
|
+
return refused(`its engine.framework range "${engineRange}" does not cover this checkout's engine (${checkedAgainst})`);
|
|
102
110
|
}
|
|
103
111
|
// The checks below read the WORKING TREE, while the bytes come from the commit. The re-check after them makes the two
|
|
104
112
|
// equal for every tracked file. A gitignored file the source imports would still pass the checks and be missing from
|
|
@@ -130,6 +138,11 @@ async function publishOne(input, moduleId) {
|
|
|
130
138
|
}
|
|
131
139
|
return refused(`${module.version} is published with other contents (${state.integrity}); the module changed without a version bump. Bump its version in wildo.module.json.`);
|
|
132
140
|
}
|
|
141
|
+
// On the staged copy, so what is compiled is what is sent. Before the dry-run return, so a dry run answers it too.
|
|
142
|
+
const staged = { moduleRoot: path.join(stagingRoot, module.boundaryDirectory), manifestPath: path.join(stagingRoot, MODULE_MANIFEST_FILE_NAME), manifest: module.manifest };
|
|
143
|
+
const engineRangeRefusals = await providerModuleEngineRangeRefusals({ ...staged, ...(input.engineProbeFor ? { probe: input.engineProbeFor(staged) } : {}) });
|
|
144
|
+
if (engineRangeRefusals.length > 0)
|
|
145
|
+
return refused(engineRangeRefusals.join(' '));
|
|
133
146
|
if (input.dryRun)
|
|
134
147
|
return { moduleId, version: module.version, kind: ProviderPublicationResultKind.WOULD_PUBLISH, detail: integrity };
|
|
135
148
|
if (input.token === undefined)
|
|
@@ -173,7 +186,7 @@ async function checkoutEngineVersion(frameworkRoot) {
|
|
|
173
186
|
const manifestPath = path.join(resolveFrameworkLayout(frameworkRoot).engineHome, 'saas-models', 'package.json');
|
|
174
187
|
const { version } = JSON.parse(await fs.readFile(manifestPath, 'utf8'));
|
|
175
188
|
if (typeof version !== 'string')
|
|
176
|
-
throw new Error(`${manifestPath} carries no version, so
|
|
189
|
+
throw new Error(`${manifestPath} carries no version, so this checkout's engine is unknown`);
|
|
177
190
|
return version;
|
|
178
191
|
}
|
|
179
192
|
/** Every file below `root`, as sorted `/`-separated relative paths. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-publication.service.js","sourceRoot":"","sources":["../../../../../../src/services/registry/provider-publication.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EACL,wBAAwB,EACxB,UAAU,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,GAEtB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,CAAC;QAC3J,KAAK,wBAAwB,CAAC,MAAM;YAClC,OAAO,mBAAmB,OAAO,CAAC,MAAM,EAAE,CAAC;IAC/C,CAAC;AACH,CAAC","sourcesContent":["/**\n * Publishing the framework's provider modules from the checkout to a registry (#2024, epic #2012).\n *\n * In framework development a provider is installed from the checkout's `providers-registry/` (#2015). An application\n * created with an installed CLI has no checkout, so the same modules must be on a registry, under the `wildo` domain.\n * This is the step that puts them there, run by `wildo fwk publish providers` and by `wildo fwk publish all`.\n *\n * ## What is published, and from where\n *\n * Every provider module of the checkout, staged in the shape and through the filters the local install uses\n * (`stageLocalCheckoutModule`), so an installed copy from the registry and one from a clean checkout are the same\n * files. Only\n * provider modules, and every one of them is `adopted` or `proven`: the manifest has no other maturity, and the\n * archived catalogue (`_code_archive/`) is not a module root, so it is never published.\n *\n * The bytes are the COMMIT's (`stageLocalCheckoutModuleFromCommit`), never the working tree's: a published version is\n * immutable and is described as a commit, so an edit made while the checks run, or a gitignored file under the\n * module, can never enter it (#2024 review M4).\n *\n * ## Refusals, before anything is sent\n *\n * - **Uncommitted source**, checked before the code checks and again after them, since they take seconds and the\n * checkout is shared: the checks must have run on the bytes that are published.\n * - **No `engine.framework` range, or one that excludes this checkout's engine.** A public module is installed into\n * applications on other framework versions, and that range is the only gate install applies\n * (`checkModuleRequirements`, which reads `@wildo-ai/saas-models`). It must cover the engine the module was checked\n * against here, read from the same package, so a typo such as `^2.0.0` cannot publish.\n * - **The structure and code checks** that `wildo registry publish` runs, on the checkout source.\n * - **Changed contents under a published version.** Versions are immutable. The registry is asked what it holds. The\n * same integrity is \"already published\". A different integrity is not yet a difference: the zip's deflate output\n * depends on the zlib Node bundles, so the published artifact is downloaded and its FILES are compared. The same\n * files are \"already published\"; other files are refused with \"bump the version\".\n *\n * One module's failure, of any kind, is that module's refusal; the others are still published and reported.\n */\nimport { promises as fs } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport * as path from 'node:path';\nimport { satisfies, validRange } from 'semver';\nimport {\n listLocalCheckoutModules,\n ModuleKind,\n RegistryModuleNotFoundError,\n resolveFrameworkLayout,\n WILDO_REGISTRY_DOMAIN,\n type ModuleManifest,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryServerClient } from '@wildo-ai/wildo-module-client';\nimport { createZipFromDir, extractZipToDir } from '~wildo-cli/services/registry/artifact-extractor.utils';\nimport { resolveLocalCheckoutModule, stageLocalCheckoutModuleFromCommit, type LocalCheckoutModule } from '~wildo-cli/services/registry/local-checkout-module-source.service';\nimport { readFrameworkOwnedDependencyNames } from '~wildo-cli/services/registry/provider-module-vendor-packages.service';\nimport { moduleArtifactIntegrity, ModulePublishOutcomeKind, publishModuleArtifact } from '~wildo-cli/services/registry/module-publish.service';\nimport { providerModuleCodeRefusals, providerModuleStructureRefusals } from '~wildo-cli/services/registry/provider-module-checks.service';\n\n/** What became of one provider module. */\nexport enum ProviderPublicationResultKind {\n /** Sent, and the registry recorded the bytes sent. */\n PUBLISHED = 'published',\n /** A dry run: it would be sent. */\n WOULD_PUBLISH = 'would-publish',\n /** The registry already holds this version with these bytes. */\n ALREADY_PUBLISHED = 'already-published',\n /** Not sent: a check refused it, its source is uncommitted, it changed without a version bump, or the send failed. */\n REFUSED = 'refused',\n}\n\nexport interface ProviderPublicationResult {\n readonly moduleId: string;\n readonly version: string;\n readonly kind: ProviderPublicationResultKind;\n /** Why, for REFUSED; the integrity, otherwise. */\n readonly detail: string;\n}\n\nexport interface ProviderPublicationInput {\n readonly frameworkRoot: string;\n readonly registryUrl: string;\n /** The registry key. Absent is allowed for a dry run only. */\n readonly token?: string;\n readonly dryRun: boolean;\n /** Only these module ids (`providers/<ref>`). Absent means every provider module. */\n readonly only?: readonly string[];\n /** Injectable for tests: the registry's `info` and `download`, and the publish request's `fetch`. */\n readonly info?: typeof RegistryServerClient.info;\n readonly download?: typeof RegistryServerClient.download;\n readonly fetchImpl?: typeof fetch;\n}\n\n/** The registry's answer about one version: absent, present with an integrity, or not asked. */\ntype PublishedState = { published: false } | { published: true; integrity: string } | { unanswered: string };\n\nasync function publishedStateOf(input: ProviderPublicationInput, moduleId: string, version: string): Promise<PublishedState> {\n const info = input.info ?? RegistryServerClient.info.bind(RegistryServerClient);\n try {\n const found = await info({ baseUrl: input.registryUrl, ...(input.token ? { authToken: input.token } : {}) }, { domain: WILDO_REGISTRY_DOMAIN, moduleId });\n const record = found.versions.find((entry) => entry.version === version);\n return record === undefined ? { published: false } : { published: true, integrity: record.integrity };\n } catch (error) {\n if (error instanceof RegistryModuleNotFoundError) return { published: false };\n return { unanswered: error instanceof Error ? error.message : String(error) };\n }\n}\n\n/** Pack, check and (unless a dry run) publish every provider module of the checkout. Never throws for one module. */\nexport async function publishCheckoutProviders(input: ProviderPublicationInput): Promise<ProviderPublicationResult[]> {\n const listings = (await listLocalCheckoutModules(input.frameworkRoot, ''))\n .filter((listing) => (listing.manifest.kind ?? ModuleKind.FEATURE) === ModuleKind.PROVIDER)\n .filter((listing) => input.only === undefined || input.only.includes(listing.moduleId));\n const results: ProviderPublicationResult[] = [];\n for (const listing of listings) {\n try {\n results.push(await publishOne(input, listing.moduleId));\n } catch (error) {\n results.push({ moduleId: listing.moduleId, version: listing.version, kind: ProviderPublicationResultKind.REFUSED, detail: error instanceof Error ? error.message : String(error) });\n }\n }\n return results;\n}\n\nasync function publishOne(input: ProviderPublicationInput, moduleId: string): Promise<ProviderPublicationResult> {\n const resolve = () => resolveLocalCheckoutModule({ frameworkRoot: input.frameworkRoot, domain: WILDO_REGISTRY_DOMAIN, moduleId, range: 'latest' });\n const module = await resolve();\n const refused = (detail: string): ProviderPublicationResult => ({ moduleId, version: module.version, kind: ProviderPublicationResultKind.REFUSED, detail });\n if (module.checkoutDirty) {\n return refused(`its source differs from the checkout's commit ${module.checkoutCommit.slice(0, 8)}; commit it first, so the published version can be read back`);\n }\n const engineRange = module.manifest.engine?.framework;\n if (engineRange === undefined) {\n return refused('its wildo.module.json declares no engine.framework range; a published module states the framework versions it was checked against, and install refuses an application outside them');\n }\n const checkedAgainst = await checkoutEngineVersion(input.frameworkRoot);\n if (validRange(engineRange) === null || !satisfies(checkedAgainst, engineRange)) {\n return refused(`its engine.framework range \"${engineRange}\" does not cover the engine it is checked against here (${checkedAgainst})`);\n }\n // The checks below read the WORKING TREE, while the bytes come from the commit. The re-check after them makes the two\n // equal for every tracked file. A gitignored file the source imports would still pass the checks and be missing from\n // the artifact; running the checks on the staged copy instead would need the checkout's dependency resolution, so\n // that residual is accepted (#2024 review N4).\n const provider = module.manifest.provider!;\n const structural = providerModuleStructureRefusals({ moduleRoot: module.sourceDir, provider });\n const checks = structural.length > 0 ? structural : await providerModuleCodeRefusals({ moduleRoot: module.sourceDir, provider, npm: module.manifest.dependsOn?.npm, frameworkOwned: readFrameworkOwnedDependencyNames(input.frameworkRoot) });\n if (checks.length > 0) return refused(checks.join(' '));\n // The checks read the working tree and take seconds; the checkout is shared. They count only if it still equals the\n // commit that is about to be published.\n const after = await resolve();\n if (after.checkoutDirty || after.checkoutCommit !== module.checkoutCommit) {\n return refused('its source or the checkout\\'s commit changed while it was being checked; run the publication again');\n }\n\n const workRoot = await fs.mkdtemp(path.join(tmpdir(), 'wildo-provider-publication-'));\n try {\n const stagingRoot = path.join(workRoot, 'staged');\n await stageLocalCheckoutModuleFromCommit(module, input.frameworkRoot, stagingRoot);\n const zipBytes = await createZipFromDir(stagingRoot);\n const integrity = moduleArtifactIntegrity(zipBytes);\n const state = await publishedStateOf(input, module.moduleId, module.version);\n if ('unanswered' in state) return refused(`the registry at ${input.registryUrl} could not be asked what it holds (${state.unanswered})`);\n if (state.published) {\n if (state.integrity === integrity || await publishedContentsEqual(input, module, state.integrity, stagingRoot, path.join(workRoot, 'published'))) {\n return { moduleId, version: module.version, kind: ProviderPublicationResultKind.ALREADY_PUBLISHED, detail: state.integrity };\n }\n return refused(`${module.version} is published with other contents (${state.integrity}); the module changed without a version bump. Bump its version in wildo.module.json.`);\n }\n if (input.dryRun) return { moduleId, version: module.version, kind: ProviderPublicationResultKind.WOULD_PUBLISH, detail: integrity };\n if (input.token === undefined) return refused(`no registry key for ${input.registryUrl}; run \\`wildo registry login --registry ${input.registryUrl}\\``);\n const outcome = await publishModuleArtifact({\n registryUrl: input.registryUrl,\n token: input.token,\n domain: WILDO_REGISTRY_DOMAIN,\n manifest: module.manifest as ModuleManifest,\n zipBytes,\n ...(input.fetchImpl ? { fetchImpl: input.fetchImpl } : {}),\n });\n return outcome.kind === ModulePublishOutcomeKind.PUBLISHED\n ? { moduleId, version: outcome.version, kind: ProviderPublicationResultKind.PUBLISHED, detail: outcome.integrity }\n : refused(describeOutcome(outcome));\n } finally {\n await fs.rm(workRoot, { recursive: true, force: true });\n }\n}\n\n/**\n * Whether the artifact the registry holds for this version carries exactly the staged files, byte for byte. Asked\n * only when the digests differ, since the deflate output can differ across machines for the same files.\n */\nasync function publishedContentsEqual(input: ProviderPublicationInput, module: LocalCheckoutModule, integrity: string, stagingRoot: string, publishedRoot: string): Promise<boolean> {\n const download = input.download ?? RegistryServerClient.download.bind(RegistryServerClient);\n const { bytes } = await download(\n { baseUrl: input.registryUrl, ...(input.token ? { authToken: input.token } : {}) },\n { domain: WILDO_REGISTRY_DOMAIN, moduleId: module.moduleId, version: module.version, expectedDigest: integrity },\n );\n await extractZipToDir(bytes, publishedRoot);\n const [staged, published] = await Promise.all([filesUnder(stagingRoot), filesUnder(publishedRoot)]);\n if (staged.length !== published.length || staged.some((file, index) => file !== published[index])) return false;\n for (const file of staged) {\n const [a, b] = await Promise.all([fs.readFile(path.join(stagingRoot, file)), fs.readFile(path.join(publishedRoot, file))]);\n if (!a.equals(b)) return false;\n }\n return true;\n}\n\n/** The engine version this checkout carries, read where install reads an application's: `@wildo-ai/saas-models`. */\nasync function checkoutEngineVersion(frameworkRoot: string): Promise<string> {\n const manifestPath = path.join(resolveFrameworkLayout(frameworkRoot).engineHome, 'saas-models', 'package.json');\n const { version } = JSON.parse(await fs.readFile(manifestPath, 'utf8')) as { version?: unknown };\n if (typeof version !== 'string') throw new Error(`${manifestPath} carries no version, so the engine a module is checked against is unknown`);\n return version;\n}\n\n/** Every file below `root`, as sorted `/`-separated relative paths. */\nasync function filesUnder(root: string, prefix = ''): Promise<string[]> {\n const files: string[] = [];\n for (const entry of await fs.readdir(path.join(root, prefix), { withFileTypes: true })) {\n const relative = prefix ? `${prefix}/${entry.name}` : entry.name;\n if (entry.isDirectory()) files.push(...(await filesUnder(root, relative)));\n else files.push(relative);\n }\n return files.sort();\n}\n\nfunction describeOutcome(outcome: Exclude<Awaited<ReturnType<typeof publishModuleArtifact>>, { kind: ModulePublishOutcomeKind.PUBLISHED }>): string {\n switch (outcome.kind) {\n case ModulePublishOutcomeKind.INTEGRITY_MISMATCH:\n return `the registry recorded ${outcome.recorded ?? '(none)'} for bytes that hash to ${outcome.sent}; investigate it before anyone installs this version`;\n case ModulePublishOutcomeKind.VERSION_EXISTS:\n return `the version was published meanwhile (${outcome.detail})`;\n case ModulePublishOutcomeKind.AUTH_REJECTED:\n return `the registry refused the key (HTTP ${outcome.status}); publishing into the wildo domain needs an ORG_ADMIN key of the organization that owns it`;\n case ModulePublishOutcomeKind.FAILED:\n return `publish failed: ${outcome.detail}`;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"provider-publication.service.js","sourceRoot":"","sources":["../../../../src/services/registry/provider-publication.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,GAEtB,MA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AAK,CAAC,IAAI,CAAC;QACjE,IAAI,KAAK,CAAC,WAAW,EAAE;YAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;;YACtE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,eAAe,CAAC,OAAiH;IACxI,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;QACrB,KAAK,wBAAwB,CAAC,kBAAkB;YAC9C,OAAO,yBAAyB,OAAO,CAAC,QAAQ,IAAI,QAAQ,2BAA2B,OAAO,CAAC,IAAI,sDAAsD,CAAC;QAC5J,KAAK,wBAAwB,CAAC,cAAc;YAC1C,OAAO,wCAAwC,OAAO,CAAC,MAAM,GAAG,CAAC;QACnE,KAAK,wBAAwB,CAAC,aAAa;YACzC,OAAO,sCAAsC,OAAO,CAAC,MAAM,6FAA6F,CAAC;QAC3J,KAAK,wBAAwB,CAAC,MAAM;YAClC,OAAO,mBAAmB,OAAO,CAAC,MAAM,EAAE,CAAC;IAC/C,CAAC;AACH,CAAC","sourcesContent":["/**\n * Publishing the framework's provider modules from the checkout to a registry (#2024, epic #2012).\n *\n * In framework development a provider is installed from the checkout's `providers-registry/` (#2015). An application\n * created with an installed CLI has no checkout, so the same modules must be on a registry, under the `wildo` domain.\n * This is the step that puts them there, run by `wildo fwk publish providers` and by `wildo fwk publish all`.\n *\n * ## What is published, and from where\n *\n * Every provider module of the checkout, staged in the shape and through the filters the local install uses\n * (`stageLocalCheckoutModule`), so an installed copy from the registry and one from a clean checkout are the same\n * files. Only\n * provider modules, and every one of them is `adopted` or `proven`: the manifest has no other maturity, and the\n * archived catalogue (`_code_archive/`) is not a module root, so it is never published.\n *\n * The bytes are the COMMIT's (`stageLocalCheckoutModuleFromCommit`), never the working tree's: a published version is\n * immutable and is described as a commit, so an edit made while the checks run, or a gitignored file under the\n * module, can never enter it (#2024 review M4).\n *\n * ## Refusals, before anything is sent\n *\n * - **Uncommitted source**, checked before the code checks and again after them, since they take seconds and the\n * checkout is shared: the checks must have run on the bytes that are published.\n * - **No `engine.framework` range, or one the checkout has passed.** A public module is installed into applications\n * on other framework versions, and that range is the only gate install applies (`checkModuleRequirements`, which\n * reads `@wildo-ai/saas-models`).\n * - **A range wider than what the module can use (#2706).** The checkout cannot answer this: it carries unreleased\n * engine changes under the last release's version. So the staged bytes are read and compiled against the lowest\n * PUBLISHED engine the range admits, fetched from npm (`provider-module-engine-range.service.ts`). A range no published\n * engine satisfies, a typo such as `^2.0.0` included, is held until the engine release. Asked only of a version about\n * to be sent: a published version is immutable, so refusing it again could change nothing.\n * - **The structure and code checks** that `wildo registry publish` runs, on the checkout source.\n * - **Changed contents under a published version.** Versions are immutable. The registry is asked what it holds. The\n * same integrity is \"already published\". A different integrity is not yet a difference: the zip's deflate output\n * depends on the zlib Node bundles, so the published artifact is downloaded and its FILES are compared. The same\n * files are \"already published\"; other files are refused with \"bump the version\".\n *\n * One module's failure, of any kind, is that module's refusal; the others are still published and reported.\n */\nimport { promises as fs } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport * as path from 'node:path';\nimport { ltr, satisfies, validRange } from 'semver';\nimport {\n listLocalCheckoutModules,\n MODULE_MANIFEST_FILE_NAME,\n ModuleKind,\n RegistryModuleNotFoundError,\n resolveFrameworkLayout,\n WILDO_REGISTRY_DOMAIN,\n type ModuleManifest,\n} from '@wildo-ai/platform-config-lib';\nimport { RegistryServerClient } from '@wildo-ai/wildo-module-client';\nimport { createZipFromDir, extractZipToDir } from '~wildo-cli/services/registry/artifact-extractor.utils';\nimport { resolveLocalCheckoutModule, stageLocalCheckoutModuleFromCommit, type LocalCheckoutModule } from '~wildo-cli/services/registry/local-checkout-module-source.service';\nimport { providerModuleEngineRangeRefusals, type ProviderEngineProbe } from '~wildo-cli/services/registry/provider-module-engine-range.service';\nimport { readFrameworkOwnedDependencyNames } from '~wildo-cli/services/registry/provider-module-vendor-packages.service';\nimport { moduleArtifactIntegrity, ModulePublishOutcomeKind, publishModuleArtifact } from '~wildo-cli/services/registry/module-publish.service';\nimport { providerModuleCodeRefusals, providerModuleStructureRefusals } from '~wildo-cli/services/registry/provider-module-checks.service';\nimport { describeCaughtError } from '@wildo-ai/saas-models';\n\n/** What became of one provider module. */\nexport enum ProviderPublicationResultKind {\n /** Sent, and the registry recorded the bytes sent. */\n PUBLISHED = 'published',\n /** A dry run: it would be sent. */\n WOULD_PUBLISH = 'would-publish',\n /** The registry already holds this version with these bytes. */\n ALREADY_PUBLISHED = 'already-published',\n /** Not sent: a check refused it, its source is uncommitted, it changed without a version bump, or the send failed. */\n REFUSED = 'refused',\n}\n\nexport interface ProviderPublicationResult {\n readonly moduleId: string;\n readonly version: string;\n readonly kind: ProviderPublicationResultKind;\n /** Why, for REFUSED; the integrity, otherwise. */\n readonly detail: string;\n}\n\nexport interface ProviderPublicationInput {\n readonly frameworkRoot: string;\n readonly registryUrl: string;\n /** The registry key. Absent is allowed for a dry run only. */\n readonly token?: string;\n readonly dryRun: boolean;\n /** Only these module ids (`providers/<ref>`). Absent means every provider module. */\n readonly only?: readonly string[];\n /** Injectable for tests: the registry's `info` and `download`, and the publish request's `fetch`. */\n readonly info?: typeof RegistryServerClient.info;\n readonly download?: typeof RegistryServerClient.download;\n readonly fetchImpl?: typeof fetch;\n /** Injectable for tests: what npm publishes and what the staged module compiles against. Absent means the real probe. */\n readonly engineProbeFor?: (staged: { moduleRoot: string; manifestPath: string; manifest: ModuleManifest }) => ProviderEngineProbe;\n}\n\n/** The registry's answer about one version: absent, present with an integrity, or not asked. */\ntype PublishedState = { published: false } | { published: true; integrity: string } | { unanswered: string };\n\nasync function publishedStateOf(input: ProviderPublicationInput, moduleId: string, version: string): Promise<PublishedState> {\n const info = input.info ?? RegistryServerClient.info.bind(RegistryServerClient);\n try {\n const found = await info({ baseUrl: input.registryUrl, ...(input.token ? { authToken: input.token } : {}) }, { domain: WILDO_REGISTRY_DOMAIN, moduleId });\n const record = found.versions.find((entry) => entry.version === version);\n return record === undefined ? { published: false } : { published: true, integrity: record.integrity };\n } catch (error) {\n if (error instanceof RegistryModuleNotFoundError) return { published: false };\n return { unanswered: describeCaughtError(error) };\n }\n}\n\n/** Pack, check and (unless a dry run) publish every provider module of the checkout. Never throws for one module. */\nexport async function publishCheckoutProviders(input: ProviderPublicationInput): Promise<ProviderPublicationResult[]> {\n const listings = (await listLocalCheckoutModules(input.frameworkRoot, ''))\n .filter((listing) => (listing.manifest.kind ?? ModuleKind.FEATURE) === ModuleKind.PROVIDER)\n .filter((listing) => input.only === undefined || input.only.includes(listing.moduleId));\n const results: ProviderPublicationResult[] = [];\n for (const listing of listings) {\n try {\n results.push(await publishOne(input, listing.moduleId));\n } catch (error) {\n results.push({ moduleId: listing.moduleId, version: listing.version, kind: ProviderPublicationResultKind.REFUSED, detail: describeCaughtError(error) });\n }\n }\n return results;\n}\n\nasync function publishOne(input: ProviderPublicationInput, moduleId: string): Promise<ProviderPublicationResult> {\n const resolve = () => resolveLocalCheckoutModule({ frameworkRoot: input.frameworkRoot, domain: WILDO_REGISTRY_DOMAIN, moduleId, range: 'latest' });\n const module = await resolve();\n const refused = (detail: string): ProviderPublicationResult => ({ moduleId, version: module.version, kind: ProviderPublicationResultKind.REFUSED, detail });\n if (module.checkoutDirty) {\n return refused(`its source differs from the checkout's commit ${module.checkoutCommit.slice(0, 8)}; commit it first, so the published version can be read back`);\n }\n const engineRange = module.manifest.engine?.framework;\n if (engineRange === undefined) {\n return refused('its wildo.module.json declares no engine.framework range; a published module states the framework versions it works with, and install refuses an application outside them');\n }\n const checkedAgainst = await checkoutEngineVersion(input.frameworkRoot);\n // A range ABOVE the checkout is not refused here: it names a later engine, and whether one is published is what the\n // engine-range check below answers (compile against it, or hold until the release).\n if (validRange(engineRange) === null || (!satisfies(checkedAgainst, engineRange) && !ltr(checkedAgainst, engineRange))) {\n return refused(`its engine.framework range \"${engineRange}\" does not cover this checkout's engine (${checkedAgainst})`);\n }\n // The checks below read the WORKING TREE, while the bytes come from the commit. The re-check after them makes the two\n // equal for every tracked file. A gitignored file the source imports would still pass the checks and be missing from\n // the artifact; running the checks on the staged copy instead would need the checkout's dependency resolution, so\n // that residual is accepted (#2024 review N4).\n const provider = module.manifest.provider!;\n const structural = providerModuleStructureRefusals({ moduleRoot: module.sourceDir, provider });\n const checks = structural.length > 0 ? structural : await providerModuleCodeRefusals({ moduleRoot: module.sourceDir, provider, npm: module.manifest.dependsOn?.npm, frameworkOwned: readFrameworkOwnedDependencyNames(input.frameworkRoot) });\n if (checks.length > 0) return refused(checks.join(' '));\n // The checks read the working tree and take seconds; the checkout is shared. They count only if it still equals the\n // commit that is about to be published.\n const after = await resolve();\n if (after.checkoutDirty || after.checkoutCommit !== module.checkoutCommit) {\n return refused('its source or the checkout\\'s commit changed while it was being checked; run the publication again');\n }\n\n const workRoot = await fs.mkdtemp(path.join(tmpdir(), 'wildo-provider-publication-'));\n try {\n const stagingRoot = path.join(workRoot, 'staged');\n await stageLocalCheckoutModuleFromCommit(module, input.frameworkRoot, stagingRoot);\n const zipBytes = await createZipFromDir(stagingRoot);\n const integrity = moduleArtifactIntegrity(zipBytes);\n const state = await publishedStateOf(input, module.moduleId, module.version);\n if ('unanswered' in state) return refused(`the registry at ${input.registryUrl} could not be asked what it holds (${state.unanswered})`);\n if (state.published) {\n if (state.integrity === integrity || await publishedContentsEqual(input, module, state.integrity, stagingRoot, path.join(workRoot, 'published'))) {\n return { moduleId, version: module.version, kind: ProviderPublicationResultKind.ALREADY_PUBLISHED, detail: state.integrity };\n }\n return refused(`${module.version} is published with other contents (${state.integrity}); the module changed without a version bump. Bump its version in wildo.module.json.`);\n }\n // On the staged copy, so what is compiled is what is sent. Before the dry-run return, so a dry run answers it too.\n const staged = { moduleRoot: path.join(stagingRoot, module.boundaryDirectory), manifestPath: path.join(stagingRoot, MODULE_MANIFEST_FILE_NAME), manifest: module.manifest as ModuleManifest };\n const engineRangeRefusals = await providerModuleEngineRangeRefusals({ ...staged, ...(input.engineProbeFor ? { probe: input.engineProbeFor(staged) } : {}) });\n if (engineRangeRefusals.length > 0) return refused(engineRangeRefusals.join(' '));\n if (input.dryRun) return { moduleId, version: module.version, kind: ProviderPublicationResultKind.WOULD_PUBLISH, detail: integrity };\n if (input.token === undefined) return refused(`no registry key for ${input.registryUrl}; run \\`wildo registry login --registry ${input.registryUrl}\\``);\n const outcome = await publishModuleArtifact({\n registryUrl: input.registryUrl,\n token: input.token,\n domain: WILDO_REGISTRY_DOMAIN,\n manifest: module.manifest as ModuleManifest,\n zipBytes,\n ...(input.fetchImpl ? { fetchImpl: input.fetchImpl } : {}),\n });\n return outcome.kind === ModulePublishOutcomeKind.PUBLISHED\n ? { moduleId, version: outcome.version, kind: ProviderPublicationResultKind.PUBLISHED, detail: outcome.integrity }\n : refused(describeOutcome(outcome));\n } finally {\n await fs.rm(workRoot, { recursive: true, force: true });\n }\n}\n\n/**\n * Whether the artifact the registry holds for this version carries exactly the staged files, byte for byte. Asked\n * only when the digests differ, since the deflate output can differ across machines for the same files.\n */\nasync function publishedContentsEqual(input: ProviderPublicationInput, module: LocalCheckoutModule, integrity: string, stagingRoot: string, publishedRoot: string): Promise<boolean> {\n const download = input.download ?? RegistryServerClient.download.bind(RegistryServerClient);\n const { bytes } = await download(\n { baseUrl: input.registryUrl, ...(input.token ? { authToken: input.token } : {}) },\n { domain: WILDO_REGISTRY_DOMAIN, moduleId: module.moduleId, version: module.version, expectedDigest: integrity },\n );\n await extractZipToDir(bytes, publishedRoot);\n const [staged, published] = await Promise.all([filesUnder(stagingRoot), filesUnder(publishedRoot)]);\n if (staged.length !== published.length || staged.some((file, index) => file !== published[index])) return false;\n for (const file of staged) {\n const [a, b] = await Promise.all([fs.readFile(path.join(stagingRoot, file)), fs.readFile(path.join(publishedRoot, file))]);\n if (!a.equals(b)) return false;\n }\n return true;\n}\n\n/** The engine version this checkout carries, read where install reads an application's: `@wildo-ai/saas-models`. */\nasync function checkoutEngineVersion(frameworkRoot: string): Promise<string> {\n const manifestPath = path.join(resolveFrameworkLayout(frameworkRoot).engineHome, 'saas-models', 'package.json');\n const { version } = JSON.parse(await fs.readFile(manifestPath, 'utf8')) as { version?: unknown };\n if (typeof version !== 'string') throw new Error(`${manifestPath} carries no version, so this checkout's engine is unknown`);\n return version;\n}\n\n/** Every file below `root`, as sorted `/`-separated relative paths. */\nasync function filesUnder(root: string, prefix = ''): Promise<string[]> {\n const files: string[] = [];\n for (const entry of await fs.readdir(path.join(root, prefix), { withFileTypes: true })) {\n const relative = prefix ? `${prefix}/${entry.name}` : entry.name;\n if (entry.isDirectory()) files.push(...(await filesUnder(root, relative)));\n else files.push(relative);\n }\n return files.sort();\n}\n\nfunction describeOutcome(outcome: Exclude<Awaited<ReturnType<typeof publishModuleArtifact>>, { kind: ModulePublishOutcomeKind.PUBLISHED }>): string {\n switch (outcome.kind) {\n case ModulePublishOutcomeKind.INTEGRITY_MISMATCH:\n return `the registry recorded ${outcome.recorded ?? '(none)'} for bytes that hash to ${outcome.sent}; investigate it before anyone installs this version`;\n case ModulePublishOutcomeKind.VERSION_EXISTS:\n return `the version was published meanwhile (${outcome.detail})`;\n case ModulePublishOutcomeKind.AUTH_REJECTED:\n return `the registry refused the key (HTTP ${outcome.status}); publishing into the wildo domain needs an ORG_ADMIN key of the organization that owns it`;\n case ModulePublishOutcomeKind.FAILED:\n return `publish failed: ${outcome.detail}`;\n }\n}\n"]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { LoadedBrandAsset } from '@wildo-ai/application-creation-runtime';
|
|
1
2
|
import { WildoLocationType } from '@wildo-ai/platform-config-lib';
|
|
3
|
+
import type { ProviderVendorRegistrationBrandImageSource } from '@wildo-ai/saas-backend-lib';
|
|
2
4
|
/** What the backend's public origin is derived from. */
|
|
3
5
|
export interface VendorBackendOriginInput {
|
|
4
6
|
/** `--origin`, when the person gave one: a tunnel in local development, or an origin no environment declares. */
|
|
@@ -70,4 +72,12 @@ export declare function collectPublicIdentifiers(input: {
|
|
|
70
72
|
} | {
|
|
71
73
|
readonly refusal: string;
|
|
72
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* The application's ACCEPTED brand renditions as `wildo providers register` reads them (#2712): the brand's single
|
|
77
|
+
* source (`specifications/src/brand/resolved-assets.generated.ts`) paired with the files it names, the same set
|
|
78
|
+
* `wildo brand propagate` delivers. Each axis is carried by value, as `projectResolvedAssets` carries it into the
|
|
79
|
+
* runtime configuration, with the authoring schema's defaults (`DEFAULT` theme, `PRIMARY` purpose) for an omitted one;
|
|
80
|
+
* a rendition whose axis or format the runtime vocabulary does not have is left out rather than guessed.
|
|
81
|
+
*/
|
|
82
|
+
export declare function acceptedBrandImageSources(assets: readonly LoadedBrandAsset[]): ProviderVendorRegistrationBrandImageSource[];
|
|
73
83
|
//# sourceMappingURL=provider-vendor-registration.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-vendor-registration.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"provider-vendor-registration.service.d.ts","sourceRoot":"","sources":["../../../../src/services/registry/provider-vendor-registration.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAyB,MAAM,+BAA+B,CAAC;AACzF,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,4BAA4B,CAAC;AAG7F,wDAAwD;AACxD,MAAM,WAAW,wBAAwB;IACvC,iHAAiH;IACjH,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,kHAAkH;IAClH,QAAQ,CAAC,WAAW,CAAC,EAAE;QACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC;QACzC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C;IAC5C,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC,GAAG;IAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAgB5F;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,0CAA0C,EAAE,CAuB3H"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { readFile } from 'node:fs/promises';
|
|
1
2
|
import { WildoLocationType, buildServicePublicUrl } from '@wildo-ai/platform-config-lib';
|
|
3
|
+
import { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme } from '@wildo-ai/saas-models';
|
|
2
4
|
/**
|
|
3
5
|
* The https origin a vendor reaches the application's backend at, derived rather than asked whenever the application
|
|
4
6
|
* declares it.
|
|
@@ -85,4 +87,36 @@ export function collectPublicIdentifiers(input) {
|
|
|
85
87
|
}
|
|
86
88
|
return { identifiers };
|
|
87
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* The application's ACCEPTED brand renditions as `wildo providers register` reads them (#2712): the brand's single
|
|
92
|
+
* source (`specifications/src/brand/resolved-assets.generated.ts`) paired with the files it names, the same set
|
|
93
|
+
* `wildo brand propagate` delivers. Each axis is carried by value, as `projectResolvedAssets` carries it into the
|
|
94
|
+
* runtime configuration, with the authoring schema's defaults (`DEFAULT` theme, `PRIMARY` purpose) for an omitted one;
|
|
95
|
+
* a rendition whose axis or format the runtime vocabulary does not have is left out rather than guessed.
|
|
96
|
+
*/
|
|
97
|
+
export function acceptedBrandImageSources(assets) {
|
|
98
|
+
const member = (vocabulary, value) => Object.values(vocabulary).includes(value) ? value : undefined;
|
|
99
|
+
return assets.flatMap(({ config, absPath }) => {
|
|
100
|
+
const composition = member(BrandAssetComposition, config.composition);
|
|
101
|
+
const theme = member(BrandAssetTheme, config.theme ?? BrandAssetTheme.DEFAULT);
|
|
102
|
+
const purpose = member(BrandAssetPurpose, config.purpose ?? BrandAssetPurpose.PRIMARY);
|
|
103
|
+
const format = member(BrandAssetFormat, config.format);
|
|
104
|
+
if (composition === undefined || theme === undefined || purpose === undefined || format === undefined)
|
|
105
|
+
return [];
|
|
106
|
+
return [{
|
|
107
|
+
composition,
|
|
108
|
+
theme,
|
|
109
|
+
purpose,
|
|
110
|
+
format,
|
|
111
|
+
read: async () => {
|
|
112
|
+
try {
|
|
113
|
+
return new Uint8Array(await readFile(absPath));
|
|
114
|
+
}
|
|
115
|
+
catch {
|
|
116
|
+
return undefined;
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
}];
|
|
120
|
+
});
|
|
121
|
+
}
|
|
88
122
|
//# sourceMappingURL=provider-vendor-registration.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-vendor-registration.service.js","sourceRoot":"","sources":["../../../../../../src/services/registry/provider-vendor-registration.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAmBzF;;;;;;;;;GASG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAA+B;IACvE,IAAI,KAAK,CAAC,cAAc,KAAK,SAAS,IAAI,KAAK,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC;IAC7H,MAAM,MAAM,GAAG,iHAAiH,CAAC;IACjI,IAAI,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QACpC,OAAO,EAAE,OAAO,EAAE,gEAAgE,MAAM,GAAG,EAAE,C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IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,MAAM,QAAQ,GAAG,KAAK,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,uBAAuB,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC7I,OAAO,EAAE,OAAO,EAAE,gBAAgB,MAAM,CAAC,IAAI,+CAA+C,QAAQ,IAAI,EAAE,CAAC;QAC7G,CAAC;QACD,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;IAC1C,CAAC;IACD,OAAO,EAAE,WAAW,EAAE,CAAC;AACzB,CAAC","sourcesContent":["import { WildoLocationType, buildServicePublicUrl } from '@wildo-ai/platform-config-lib';\n\n/** What the backend's public origin is derived from. */\nexport interface VendorBackendOriginInput {\n /** `--origin`, when the person gave one: a tunnel in local development, or an origin no environment declares. */\n readonly explicitOrigin?: string | undefined;\n /** The environment `--env` named, as the CLI's environment registry holds it; `undefined` when none was named. */\n readonly environment?: {\n readonly name: string;\n readonly locationType: WildoLocationType;\n readonly publicDomain: string;\n readonly serviceHosts?: Record<string, string> | undefined;\n } | undefined;\n /** `config.services.<key>` of the application's main backend API (`selectPrimaryBackendService`). */\n readonly mainBackendServiceKey: string | undefined;\n}\n\nexport type VendorBackendOrigin = { readonly origin: string } | { readonly refusal: string };\n\n/**\n * The https origin a vendor reaches the application's backend at, derived rather than asked whenever the application\n * declares it.\n *\n * - `--origin` wins: it is the person stating the answer, and the only source in local development.\n * - A REMOTE environment answers with its main backend's public URL, from the same `buildServicePublicUrl` the ingress\n * routes, `runtime.endPoints` and CORS key on, so the URL registered at the vendor is the one the deployment serves.\n * - A LOCAL environment cannot answer: its backend is plain http on localhost, which no vendor reaches. That is a\n * refusal naming the remedy (an https tunnel and `--origin`), never a localhost URL the vendor would refuse later.\n */\nexport function deriveVendorBackendOrigin(input: VendorBackendOriginInput): VendorBackendOrigin {\n if (input.explicitOrigin !== undefined && input.explicitOrigin.trim() !== '') return { origin: input.explicitOrigin.trim() };\n const tunnel = 'start an https tunnel to the local backend and pass its origin with --origin (`--origin https://<tunnel-host>`)';\n if (input.environment === undefined) {\n return { refusal: `Name the environment the vendor will call (--env <name>), or ${tunnel}.` };\n }\n if (input.environment.locationType !== WildoLocationType.REMOTE) {\n return { refusal: `Environment '${input.environment.name}' is local: its backend is http on localhost, which the vendor cannot reach. To register it, ${tunnel}.` };\n }\n if (input.mainBackendServiceKey === undefined) {\n return { refusal: 'The application declares no backend service, so there is no API for the vendor to call.' };\n }\n if (!input.environment.publicDomain) {\n return { refusal: `Environment '${input.environment.name}' declares no publicDomain, so its backend has no public URL. Declare it in its wildo.infra config, or pass --origin.` };\n }\n return {\n origin: buildServicePublicUrl({\n serviceKey: input.mainBackendServiceKey,\n serviceHosts: input.environment.serviceHosts,\n publicDomain: input.environment.publicDomain,\n }),\n };\n}\n\n/** What the application's public origin is derived from. */\nexport interface VendorApplicationOriginInput {\n /** `--app-origin`, when the person gave one. */\n readonly explicitOrigin?: string | undefined;\n readonly environment?: VendorBackendOriginInput['environment'];\n /** `config.services.<key>` of the application's `SAAS_APP` frontend, when it declares one. */\n readonly applicationFrontendServiceKey: string | undefined;\n}\n\n/**\n * The https origin people reach the application at, or `undefined` when nothing declares one (a local environment, or\n * no `SAAS_APP` frontend). Never a refusal: only a registration that names the application's pages needs it, and that\n * registration says so (the Teams app package names the website, privacy notice and terms).\n *\n * `--app-origin` wins; a REMOTE environment answers with its `SAAS_APP` frontend's public URL, from the same\n * `buildServicePublicUrl` the ingress routes.\n */\nexport function deriveVendorApplicationOrigin(input: VendorApplicationOriginInput): string | undefined {\n if (input.explicitOrigin !== undefined && input.explicitOrigin.trim() !== '') return input.explicitOrigin.trim();\n const environment = input.environment;\n if (environment === undefined || environment.locationType !== WildoLocationType.REMOTE || !environment.publicDomain) return undefined;\n if (input.applicationFrontendServiceKey === undefined) return undefined;\n return buildServicePublicUrl({ serviceKey: input.applicationFrontendServiceKey, serviceHosts: environment.serviceHosts, publicDomain: environment.publicDomain });\n}\n\n/** A `--identifier NAME=value` the person gave, or why it cannot be one. */\nexport type ParsedPublicIdentifier = { readonly name: string; readonly value: string } | { readonly refusal: string };\n\n/** Reads one `--identifier NAME=value`. */\nexport function parsePublicIdentifierFlag(raw: string): ParsedPublicIdentifier {\n const separator = raw.indexOf('=');\n const name = separator < 0 ? '' : raw.slice(0, separator).trim();\n const value = separator < 0 ? '' : raw.slice(separator + 1).trim();\n if (name === '' || value === '') return { refusal: `--identifier takes NAME=value (\\`--identifier TEAMS_BOT_APP_ID=<the App ID>\\`), got ${JSON.stringify(raw)}.` };\n return { name, value };\n}\n\n/**\n * The public identifiers a registration receives: the values the environment's store holds for the provider's slots\n * marked `holdsPublicIdentifier`, overlaid by those the person gave (a remote store is write-only, so there the person\n * is the only source). A given name that is not such a slot is refused: this door hands a module identifiers, never\n * an arbitrary value under a secret's name.\n */\nexport function collectPublicIdentifiers(input: {\n readonly identifierSlots: readonly string[];\n readonly stored: Readonly<Record<string, string>>;\n readonly given: readonly string[];\n}): { readonly identifiers: Readonly<Record<string, string>> } | { readonly refusal: string } {\n const identifiers: Record<string, string> = {};\n for (const name of input.identifierSlots) {\n const value = input.stored[name]?.trim();\n if (value) identifiers[name] = value;\n }\n for (const raw of input.given) {\n const parsed = parsePublicIdentifierFlag(raw);\n if ('refusal' in parsed) return parsed;\n if (!input.identifierSlots.includes(parsed.name)) {\n const admitted = input.identifierSlots.length === 0 ? 'this provider names none' : `this provider names ${input.identifierSlots.join(', ')}`;\n return { refusal: `--identifier ${parsed.name}: not a public identifier of this provider (${admitted}).` };\n }\n identifiers[parsed.name] = parsed.value;\n }\n return { identifiers };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"provider-vendor-registration.service.js","sourceRoot":"","sources":["../../../../src/services/registry/provider-vendor-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Ac,EAAiB,EAAE,CAC/F,MAAM,CAAC,MAAM,CAAC,UAAU,CAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAE,KAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IACtF,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;QAC5C,MAAM,WAAW,GAAG,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;QACtE,MAAM,KAAK,GAAG,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,KAAK,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC;QAC/E,MAAM,OAAO,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,OAAO,IAAI,iBAAiB,CAAC,OAAO,CAAC,CAAC;QACvF,MAAM,MAAM,GAAG,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;QACvD,IAAI,WAAW,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO,EAAE,CAAC;QACjH,OAAO,CAAC;gBACN,WAAW;gBACX,KAAK;gBACL,OAAO;gBACP,MAAM;gBACN,IAAI,EAAE,KAAK,IAAqC,EAAE;oBAChD,IAAI,CAAC;wBACH,OAAO,IAAI,UAAU,CAAC,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;oBACjD,CAAC;oBAAC,MAAM,CAAC;wBACP,OAAO,SAAS,CAAC;oBACnB,CAAC;gBACH,CAAC;aACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { readFile } from 'node:fs/promises';\n\nimport type { LoadedBrandAsset } from '@wildo-ai/application-creation-runtime';\nimport { WildoLocationType, buildServicePublicUrl } from '@wildo-ai/platform-config-lib';\nimport type { ProviderVendorRegistrationBrandImageSource } from '@wildo-ai/saas-backend-lib';\nimport { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme } from '@wildo-ai/saas-models';\n\n/** What the backend's public origin is derived from. */\nexport interface VendorBackendOriginInput {\n /** `--origin`, when the person gave one: a tunnel in local development, or an origin no environment declares. */\n readonly explicitOrigin?: string | undefined;\n /** The environment `--env` named, as the CLI's environment registry holds it; `undefined` when none was named. */\n readonly environment?: {\n readonly name: string;\n readonly locationType: WildoLocationType;\n readonly publicDomain: string;\n readonly serviceHosts?: Record<string, string> | undefined;\n } | undefined;\n /** `config.services.<key>` of the application's main backend API (`selectPrimaryBackendService`). */\n readonly mainBackendServiceKey: string | undefined;\n}\n\nexport type VendorBackendOrigin = { readonly origin: string } | { readonly refusal: string };\n\n/**\n * The https origin a vendor reaches the application's backend at, derived rather than asked whenever the application\n * declares it.\n *\n * - `--origin` wins: it is the person stating the answer, and the only source in local development.\n * - A REMOTE environment answers with its main backend's public URL, from the same `buildServicePublicUrl` the ingress\n * routes, `runtime.endPoints` and CORS key on, so the URL registered at the vendor is the one the deployment serves.\n * - A LOCAL environment cannot answer: its backend is plain http on localhost, which no vendor reaches. That is a\n * refusal naming the remedy (an https tunnel and `--origin`), never a localhost URL the vendor would refuse later.\n */\nexport function deriveVendorBackendOrigin(input: VendorBackendOriginInput): VendorBackendOrigin {\n if (input.explicitOrigin !== undefined && input.explicitOrigin.trim() !== '') return { origin: input.explicitOrigin.trim() };\n const tunnel = 'start an https tunnel to the local backend and pass its origin with --origin (`--origin https://<tunnel-host>`)';\n if (input.environment === undefined) {\n return { refusal: `Name the environment the vendor will call (--env <name>), or ${tunnel}.` };\n }\n if (input.environment.locationType !== WildoLocationType.REMOTE) {\n return { refusal: `Environment '${input.environment.name}' is local: its backend is http on localhost, which the vendor cannot reach. To register it, ${tunnel}.` };\n }\n if (input.mainBackendServiceKey === undefined) {\n return { refusal: 'The application declares no backend service, so there is no API for the vendor to call.' };\n }\n if (!input.environment.publicDomain) {\n return { refusal: `Environment '${input.environment.name}' declares no publicDomain, so its backend has no public URL. Declare it in its wildo.infra config, or pass --origin.` };\n }\n return {\n origin: buildServicePublicUrl({\n serviceKey: input.mainBackendServiceKey,\n serviceHosts: input.environment.serviceHosts,\n publicDomain: input.environment.publicDomain,\n }),\n };\n}\n\n/** What the application's public origin is derived from. */\nexport interface VendorApplicationOriginInput {\n /** `--app-origin`, when the person gave one. */\n readonly explicitOrigin?: string | undefined;\n readonly environment?: VendorBackendOriginInput['environment'];\n /** `config.services.<key>` of the application's `SAAS_APP` frontend, when it declares one. */\n readonly applicationFrontendServiceKey: string | undefined;\n}\n\n/**\n * The https origin people reach the application at, or `undefined` when nothing declares one (a local environment, or\n * no `SAAS_APP` frontend). Never a refusal: only a registration that names the application's pages needs it, and that\n * registration says so (the Teams app package names the website, privacy notice and terms).\n *\n * `--app-origin` wins; a REMOTE environment answers with its `SAAS_APP` frontend's public URL, from the same\n * `buildServicePublicUrl` the ingress routes.\n */\nexport function deriveVendorApplicationOrigin(input: VendorApplicationOriginInput): string | undefined {\n if (input.explicitOrigin !== undefined && input.explicitOrigin.trim() !== '') return input.explicitOrigin.trim();\n const environment = input.environment;\n if (environment === undefined || environment.locationType !== WildoLocationType.REMOTE || !environment.publicDomain) return undefined;\n if (input.applicationFrontendServiceKey === undefined) return undefined;\n return buildServicePublicUrl({ serviceKey: input.applicationFrontendServiceKey, serviceHosts: environment.serviceHosts, publicDomain: environment.publicDomain });\n}\n\n/** A `--identifier NAME=value` the person gave, or why it cannot be one. */\nexport type ParsedPublicIdentifier = { readonly name: string; readonly value: string } | { readonly refusal: string };\n\n/** Reads one `--identifier NAME=value`. */\nexport function parsePublicIdentifierFlag(raw: string): ParsedPublicIdentifier {\n const separator = raw.indexOf('=');\n const name = separator < 0 ? '' : raw.slice(0, separator).trim();\n const value = separator < 0 ? '' : raw.slice(separator + 1).trim();\n if (name === '' || value === '') return { refusal: `--identifier takes NAME=value (\\`--identifier TEAMS_BOT_APP_ID=<the App ID>\\`), got ${JSON.stringify(raw)}.` };\n return { name, value };\n}\n\n/**\n * The public identifiers a registration receives: the values the environment's store holds for the provider's slots\n * marked `holdsPublicIdentifier`, overlaid by those the person gave (a remote store is write-only, so there the person\n * is the only source). A given name that is not such a slot is refused: this door hands a module identifiers, never\n * an arbitrary value under a secret's name.\n */\nexport function collectPublicIdentifiers(input: {\n readonly identifierSlots: readonly string[];\n readonly stored: Readonly<Record<string, string>>;\n readonly given: readonly string[];\n}): { readonly identifiers: Readonly<Record<string, string>> } | { readonly refusal: string } {\n const identifiers: Record<string, string> = {};\n for (const name of input.identifierSlots) {\n const value = input.stored[name]?.trim();\n if (value) identifiers[name] = value;\n }\n for (const raw of input.given) {\n const parsed = parsePublicIdentifierFlag(raw);\n if ('refusal' in parsed) return parsed;\n if (!input.identifierSlots.includes(parsed.name)) {\n const admitted = input.identifierSlots.length === 0 ? 'this provider names none' : `this provider names ${input.identifierSlots.join(', ')}`;\n return { refusal: `--identifier ${parsed.name}: not a public identifier of this provider (${admitted}).` };\n }\n identifiers[parsed.name] = parsed.value;\n }\n return { identifiers };\n}\n\n/**\n * The application's ACCEPTED brand renditions as `wildo providers register` reads them (#2712): the brand's single\n * source (`specifications/src/brand/resolved-assets.generated.ts`) paired with the files it names, the same set\n * `wildo brand propagate` delivers. Each axis is carried by value, as `projectResolvedAssets` carries it into the\n * runtime configuration, with the authoring schema's defaults (`DEFAULT` theme, `PRIMARY` purpose) for an omitted one;\n * a rendition whose axis or format the runtime vocabulary does not have is left out rather than guessed.\n */\nexport function acceptedBrandImageSources(assets: readonly LoadedBrandAsset[]): ProviderVendorRegistrationBrandImageSource[] {\n const member = <T extends string>(vocabulary: Record<string, T>, value: unknown): T | undefined =>\n (Object.values(vocabulary) as unknown[]).includes(value) ? (value as T) : undefined;\n return assets.flatMap(({ config, absPath }) => {\n const composition = member(BrandAssetComposition, config.composition);\n const theme = member(BrandAssetTheme, config.theme ?? BrandAssetTheme.DEFAULT);\n const purpose = member(BrandAssetPurpose, config.purpose ?? BrandAssetPurpose.PRIMARY);\n const format = member(BrandAssetFormat, config.format);\n if (composition === undefined || theme === undefined || purpose === undefined || format === undefined) return [];\n return [{\n composition,\n theme,\n purpose,\n format,\n read: async (): Promise<Uint8Array | undefined> => {\n try {\n return new Uint8Array(await readFile(absPath));\n } catch {\n return undefined;\n }\n },\n }];\n });\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-wiring.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"provider-wiring.service.d.ts","sourceRoot":"","sources":["../../../../src/services/registry/provider-wiring.service.ts"],"names":[],"mappings":"AA8BA,OAAO,EAML,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,wCAAwC,CAAC;AAGhD,qGAAqG;AACrG,eAAO,MAAM,4BAA4B,yBAAyB,CAAC;AAEnE,iGAAiG;AACjG,eAAO,MAAM,2BAA2B,wEAAwE,CAAC;AAEjH,iFAAiF;AACjF,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/D;AAOD;;;;;;;;;;;GAWG;AACH,wBAAsB,oBAAoB,CACxC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,sBAAsB;AAChC,oHAAoH;AACpH,UAAU,GAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;AACjD,8HAA8H;AAC9H,qBAAqB,GAAE,SAAS,MAAM,EAAO,GAC5C,OAAO,CAAC,cAAc,CAAC,CAsCzB;AAGD,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,MAAM,EAAE,CAMtF;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAMlG;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAOjI;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAKpF;AAED,wGAAwG;AACxG,wBAAgB,yBAAyB,CACvC,GAAG,EAAE;IAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,EACjE,OAAO,EAAE;IACP,YAAY,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,cAAc,CAAA;KAAE,CAAC;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B;AACD,8HAA8H;AAC9H,QAAQ,CAAC,EAAE,MAAM,GAChB,IAAI,CAcN;AAuBD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,mBAAmB,CA8CjH"}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
*/
|
|
29
29
|
import { readFileSync } from 'node:fs';
|
|
30
30
|
import * as path from 'node:path';
|
|
31
|
-
import {
|
|
31
|
+
import { PROVIDER_WORKSPACE_FILE, ProviderModuleFacet, loadSaasConfig, providerModuleFacets, } from '@wildo-ai/platform-config-lib';
|
|
32
32
|
import { CompositionScenarioEditKind, SAAS_CONFIG_FILE_NAME, } from '@wildo-ai/application-creation-runtime';
|
|
33
33
|
import { providerFacetPackageName, readApplicationPackageScope } from './provider-module-identity.service.js';
|
|
34
34
|
/** The ref the lockfile records the wiring under; also the name a human reads in `registry info`. */
|
|
@@ -194,11 +194,11 @@ export function providerWiringScenario(saasRoot, ref, wiring) {
|
|
|
194
194
|
];
|
|
195
195
|
// The module's vendor pins, before anything depends on its facets: the version a facet's `"*"` resolves to (#2789).
|
|
196
196
|
if (wiring.vendorPins !== undefined && Object.keys(wiring.vendorPins).length > 0) {
|
|
197
|
-
edits.push({ kind: CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND, file:
|
|
197
|
+
edits.push({ kind: CompositionScenarioEditKind.PNPM_OVERRIDE_APPEND, file: PROVIDER_WORKSPACE_FILE, entries: { ...wiring.vendorPins } });
|
|
198
198
|
}
|
|
199
|
-
// The vendor packages whose install script pnpm must run (#2801), in the same
|
|
199
|
+
// The vendor packages whose install script pnpm must run (#2801), in the same file, before the install that runs it.
|
|
200
200
|
if (wiring.onlyBuiltDependencies !== undefined && wiring.onlyBuiltDependencies.length > 0) {
|
|
201
|
-
edits.push({ kind: CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND, file:
|
|
201
|
+
edits.push({ kind: CompositionScenarioEditKind.PNPM_ONLY_BUILT_APPEND, file: PROVIDER_WORKSPACE_FILE, names: [...wiring.onlyBuiltDependencies] });
|
|
202
202
|
}
|
|
203
203
|
if (wiring.backendPackage !== undefined) {
|
|
204
204
|
for (const owner of wiring.backendOwners) {
|