@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
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* standings, never a value, so a listing can be printed, logged or shown in a browser.
|
|
13
13
|
*/
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
|
-
import { existsSync, readFileSync, utimesSync } from 'fs';
|
|
16
|
-
import { basename, join } from 'path';
|
|
15
|
+
import { existsSync, readFileSync, realpathSync, utimesSync } from 'fs';
|
|
16
|
+
import { basename, isAbsolute, join, relative, resolve } from 'path';
|
|
17
17
|
import { loadSaasConfig, WildoLocationType, WORKSPACE_CONFIG_NAMES } from '@wildo-ai/platform-config-lib';
|
|
18
18
|
import { ApplicationSecretKind, ApplicationSecretStanding } from '@wildo-ai/platform-core-shared';
|
|
19
19
|
import { parseInboundEndpointSecretEnvVarName, parseSystemOfRecordEnvVarName } from '@wildo-ai/saas-models';
|
|
@@ -166,33 +166,62 @@ function isProcessAlive(pid) {
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
170
|
-
*
|
|
169
|
+
* The restart signal of the runtime a LIVE `wildo local dev` supervisor runs under this label, or `null`.
|
|
170
|
+
*
|
|
171
|
+
* Its published observation (`runtime-signals/supervisors/<label>.json`, label = the runtime's folder) must name a
|
|
172
|
+
* producer that is alive, and the file must exist. Which file: the one the record DECLARES (`signalFilePath`) — the
|
|
173
|
+
* monorepo's `runtime-supervisor.mjs` and `wildo-dev-runtime serve` (since #2134, which is what brings a changed key to a
|
|
174
|
+
* created application's backend) each declare theirs. A record declaring `null` honours no request, so nothing is
|
|
175
|
+
* touched: the app-creator companion's supervisor declares `null` (#2149), since that companion loads the key in place. A record with no such field (a writer predating it) falls back to the conventional
|
|
176
|
+
* `runtime-signals/<label>.signal`. A declared path outside the application's runtime-signals home is ignored: the CLI
|
|
177
|
+
* touches only files of that home.
|
|
171
178
|
*/
|
|
172
|
-
function
|
|
179
|
+
function liveSupervisorSignalFile(saasRoot, folder) {
|
|
180
|
+
const signalDir = join(saasRoot, '.wildo-saas', 'runtime-signals');
|
|
181
|
+
let observation;
|
|
173
182
|
try {
|
|
174
|
-
|
|
175
|
-
return isProcessAlive(observation.producerPid);
|
|
183
|
+
observation = JSON.parse(readFileSync(join(signalDir, 'supervisors', `${folder}.json`), 'utf8'));
|
|
176
184
|
}
|
|
177
185
|
catch {
|
|
178
|
-
return
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
if (!isProcessAlive(observation.producerPid))
|
|
189
|
+
return null;
|
|
190
|
+
if (observation.signalFilePath === null)
|
|
191
|
+
return null;
|
|
192
|
+
if (typeof observation.signalFilePath !== 'string' || observation.signalFilePath.length === 0) {
|
|
193
|
+
const conventional = join(signalDir, `${folder}.signal`);
|
|
194
|
+
return existsSync(conventional) ? conventional : null;
|
|
179
195
|
}
|
|
196
|
+
const declared = resolve(saasRoot, observation.signalFilePath);
|
|
197
|
+
// Compared as REAL paths, so a symlinked application root and a symlink inside the home pointing out are both judged by
|
|
198
|
+
// where the file really is. A file that vanishes while it is read is no signal: the change is already written, and
|
|
199
|
+
// must not be reported as failed.
|
|
200
|
+
let within;
|
|
201
|
+
try {
|
|
202
|
+
within = relative(realpathSync(signalDir), realpathSync(declared));
|
|
203
|
+
}
|
|
204
|
+
catch {
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
if (within.length === 0 || within.startsWith('..') || isAbsolute(within))
|
|
208
|
+
return null;
|
|
209
|
+
return declared;
|
|
180
210
|
}
|
|
181
211
|
/**
|
|
182
212
|
* The signal file whose touch restarts a supervised runtime, per scope path (`backend`, `companion`,
|
|
183
|
-
* `<family>.<key>`).
|
|
184
|
-
* companion's is fixed. Only runtimes a live supervisor runs are returned.
|
|
213
|
+
* `<family>.<key>`). Looked up by the service's folder, the label every generated `dev` script passes its
|
|
214
|
+
* supervisor; the companion's is fixed. Only runtimes a live supervisor runs are returned.
|
|
185
215
|
*/
|
|
186
216
|
async function runtimeSignalFiles(saasRoot, runtimes) {
|
|
187
217
|
const config = await loadSaasConfig(join(saasRoot, WORKSPACE_CONFIG_NAMES.SAAS));
|
|
188
|
-
const signalDir = join(saasRoot, '.wildo-saas', 'runtime-signals');
|
|
189
218
|
const byFolder = new Map();
|
|
190
219
|
const add = (folder) => {
|
|
191
220
|
if (!folder)
|
|
192
221
|
return;
|
|
193
222
|
const name = basename(folder);
|
|
194
|
-
const file =
|
|
195
|
-
if (
|
|
223
|
+
const file = liveSupervisorSignalFile(saasRoot, name);
|
|
224
|
+
if (file !== null)
|
|
196
225
|
byFolder.set(name, file);
|
|
197
226
|
};
|
|
198
227
|
for (const runtime of runtimes) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-secrets.service.js","sourceRoot":"","sources":["../../../../../../src/services/credentials/application-secrets.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAqC,MAAM,gCAAgC,CAAC;AACrI,OAAO,EAAE,oCAAoC,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAE5G,OAAO,EAAE,kCAAkC,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAChJ,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EAEtB,wBAAwB,GAIzB,MAAM,6DAA6D,CAAC;AAErE,OAAO,EAAE,mCAAmC,EAAE,M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MAAM,CAAC,EAAE,CAAC;AAClJ,CAAC","sourcesContent":["/**\n * An application's secrets per environment — provider secrets, system-of-record credentials and inbound\n * endpoint secrets (`ApplicationSecretKind`) — what it needs, what is set, and how to change one, for\n * `wildo secrets` and, through it, the workbench's secrets section (#1637).\n *\n * Local environments keep values in `infrastructure/<env>/secrets/secrets.json`, one section per kind; a\n * change is written there, the runtimes' `.env` files are regenerated, and only the runtimes that read the\n * key are restarted. Remote environments keep them as GitHub Actions secrets, written through the operator's\n * own `gh` login (`remote-secrets-store.service.ts`).\n *\n * A value never leaves this module except to the store that holds it: every report carries names and\n * standings, never a value, so a listing can be printed, logged or shown in a browser.\n */\nimport { spawnSync } from 'child_process';\nimport { existsSync, readFileSync, utimesSync } from 'fs';\nimport { basename, join } from 'path';\n\nimport { loadSaasConfig, WildoLocationType, WORKSPACE_CONFIG_NAMES } from '@wildo-ai/platform-config-lib';\nimport { ApplicationSecretKind, ApplicationSecretStanding, type ApplicationSecretRemoteLevel } from '@wildo-ai/platform-core-shared';\nimport { parseInboundEndpointSecretEnvVarName, parseSystemOfRecordEnvVarName } from '@wildo-ai/saas-models';\n\nimport { readLocalApplicationSecretPresence, updateLocalApplicationSecrets } from '~wildo-cli/services/credentials/local-secrets-store.service';\nimport { describeSecretValueProblem } from '~wildo-cli/services/credentials/provider-secret-format';\nimport { normalizePotentialMultilineSecret } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport {\n describeDeployWorkflowGap,\n listRemoteApplicationSecrets,\n setRemoteApplicationSecret,\n unsetRemoteApplicationSecret,\n} from '~wildo-cli/services/credentials/remote-secrets-store.service';\nimport {\n loadSecretRequirementInputs,\n loadSecretRequirements,\n SystemOfRecordEnvironmentPresence,\n systemOfRecordPresenceOf,\n type SecretRequirement,\n type SecretRequirementInputs,\n type StoredApplicationSecrets,\n} from '~wildo-cli/services/credentials/secret-requirements.service';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport {\n COMPANION_UNREACHABLE_EXIT_CODE,\n CompanionClient,\n CompanionRefusalError,\n companionFailureExitCode,\n} from '~wildo-cli/services/companion/companion-client.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nexport interface EnvironmentSecretsReport {\n readonly envName: string;\n readonly locationType: WildoLocationType;\n readonly requirements: readonly (SecretRequirement & { readonly remoteLevel?: ApplicationSecretRemoteLevel })[];\n /**\n * What this listing could not derive, each saying why — a backend not built (its inbound endpoints are then\n * unknown), a vendor facet that could not be read. Empty when the listing is whole.\n */\n readonly incomplete: readonly string[];\n}\n\n/** An environment's location, refused when the environment is not registered. */\nexport function resolveEnvironmentLocation(envName: string): WildoLocationType {\n const environment = EnvironmentUtils.get(envName);\n if (!environment) {\n throw new Error(`No environment '${envName}'. Registered: ${EnvironmentUtils.listNames().join(', ') || 'none'}.`);\n }\n return environment.locationType;\n}\n\nconst APPLICATION_SECRET_KINDS = Object.values(ApplicationSecretKind);\n\n/**\n * A LOCAL environment's `secrets.json`, per kind: the names with a value (`stored`), and every name the section\n * holds, an empty value included (`present`). A key stored as `\"\"` is not set, but it is still there to remove.\n */\nfunction readLocalStoredSecrets(envName: string): { readonly stored: StoredApplicationSecrets; readonly present: StoredApplicationSecrets } {\n // Names only: the report says what is set, so no value is read into it.\n const sections = APPLICATION_SECRET_KINDS.map((kind) => [kind, readLocalApplicationSecretPresence(envName, kind)] as const);\n return {\n stored: Object.fromEntries(sections.map(([kind, presence]) => [kind, new Set(presence.stored)])) as unknown as StoredApplicationSecrets,\n present: Object.fromEntries(sections.map(([kind, presence]) => [kind, new Set(presence.present)])) as unknown as StoredApplicationSecrets,\n };\n}\n\n/**\n * How the environment addresses each system of record, from its GENERATED config — the file the env builder\n * reads to decide what reaches the backend — or `null` when it cannot be read.\n */\nfunction readSystemOfRecordPresence(envName: string): Readonly<Record<string, SystemOfRecordEnvironmentPresence>> | null {\n let config: PlatformEnvConfigJson | null;\n try {\n config = EnvironmentUtils.loadConfigJson(envName);\n } catch {\n return null;\n }\n if (!config) return null;\n return systemOfRecordPresenceOf(config.systemsOfRecord);\n}\n\n/** One secret's identity across kinds: a name is unique per `secrets.json` section, not across them. */\nconst secretKey = (kind: ApplicationSecretKind, envVarName: string): string => `${kind}:${envVarName}`;\n\n/**\n * What the application needs in one environment, and what is set there. Pass `inputs` when describing\n * several environments, so the application is loaded once (`loadSecretRequirementInputs` with its owners).\n */\nexport async function describeEnvironmentSecrets(saasRoot: string, envName: string, inputs?: SecretRequirementInputs): Promise<EnvironmentSecretsReport> {\n const locationType = resolveEnvironmentLocation(envName);\n const loaded = inputs ?? await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const incomplete = loaded.owners?.incomplete ?? [];\n const systemOfRecordPresence = readSystemOfRecordPresence(envName);\n if (locationType === WildoLocationType.LOCAL) {\n const requirements = await loadSecretRequirements({ saasRoot, inputs: loaded, ...readLocalStoredSecrets(envName), systemOfRecordPresence });\n return { envName, locationType, requirements, incomplete };\n }\n const remote = new Map(listRemoteApplicationSecrets(envName, saasRoot).map((secret) => [secretKey(secret.kind, secret.envVarName), secret]));\n const stored = Object.fromEntries(APPLICATION_SECRET_KINDS.map((kind) => [\n kind,\n new Set([...remote.values()].filter((secret) => secret.kind === kind).map((secret) => secret.envVarName)),\n ])) as unknown as StoredApplicationSecrets;\n const requirements = await loadSecretRequirements({ saasRoot, inputs: loaded, stored, systemOfRecordPresence });\n return {\n envName,\n locationType,\n requirements: requirements.map((row) => {\n const held = remote.get(secretKey(row.kind, row.envVarName));\n return held ? { ...row, remoteLevel: held.level } : row;\n }),\n incomplete,\n };\n}\n\n/**\n * The requirement a name refers to, refused when nothing the application declares reads it — a key no\n * runtime would receive is a typo or a stale name.\n *\n * A NAME is not an identity: each kind is its own `secrets.json` section, and a migration can leave one key in\n * two (an Odoo credential still in `providerEnv` beside its `systemsOfRecordEnv` copy). So `kind` narrows the\n * match, and a name matching in two kinds without one is refused, naming both, rather than resolved to\n * whichever sorted first — which set or removed the other copy than the one the person meant.\n *\n * One exception, for a name whose OWNER exists but could not be enumerated: an inbound endpoint secret when\n * the backend's endpoints could not be read (it is not built), and a system-of-record slot when its vendor's\n * facet could not be. A well-formed name for such an owner is admitted, because refusing it would make the\n * secret impossible to provide until something unrelated is fixed — the env builder delivers any well-formed\n * name, and the backend is where an endpoint without its secret is reported.\n */\nfunction requirementFor(report: EnvironmentSecretsReport, inputs: SecretRequirementInputs, envVarName: string, kind?: ApplicationSecretKind): SecretRequirement {\n const matches = report.requirements\n .filter((candidate) => candidate.envVarName === envVarName && (kind === undefined || candidate.kind === kind))\n .sort((left, right) => left.kind.localeCompare(right.kind));\n if (matches.length > 1) {\n throw new Error(`${envVarName} is in more than one section of this environment's secrets (${matches.map((row) => `${row.kind}: ${row.standing}`).join(', ')}). `\n + `Name the one you mean with --kind ${matches.map((row) => row.kind).join(' | ')}.`);\n }\n if (matches[0]) return matches[0];\n const owners = inputs.owners;\n const endpoint = kind === undefined || kind === ApplicationSecretKind.INBOUND_ENDPOINT ? parseInboundEndpointSecretEnvVarName(envVarName) : null;\n if (endpoint && owners?.inboundEndpointKeys === null) {\n return unenumeratedOwnerRow(envVarName, ApplicationSecretKind.INBOUND_ENDPOINT, endpoint.endpointKey);\n }\n const slot = kind === undefined || kind === ApplicationSecretKind.SYSTEM_OF_RECORD ? parseSystemOfRecordEnvVarName(envVarName) : null;\n if (slot && owners?.systemsOfRecord.some((system) => system.name === slot.instanceName && system.secretSlots === null)) {\n return unenumeratedOwnerRow(envVarName, ApplicationSecretKind.SYSTEM_OF_RECORD, slot.instanceName);\n }\n const known = [...new Set(report.requirements.filter((candidate) => kind === undefined || candidate.kind === kind).map((candidate) => candidate.envVarName))];\n throw new Error(`Nothing this application declares reads ${envVarName}${kind === undefined ? '' : ` as a ${kind} secret`}. Known here: ${known.join(', ') || 'none'}.`);\n}\n\nfunction unenumeratedOwnerRow(envVarName: string, kind: ApplicationSecretKind, ownerRef: string): SecretRequirement {\n return {\n envVarName, kind, ownerRef, description: null, required: true, capabilities: [], runtimes: ['backend'],\n standing: ApplicationSecretStanding.NEEDED, creationEssential: false,\n };\n}\n\nexport interface SecretChangeOutcome {\n readonly envVarName: string;\n /** Which `secrets.json` section (or, remotely, which GitHub secret prefix) the change was made in. */\n readonly kind: ApplicationSecretKind;\n readonly envName: string;\n /**\n * Local only: the runtimes asked to restart to read the change — those that read the key AND run under\n * a LIVE supervisor of `wildo local dev`. A signal file outlives the stack, so its existence alone is\n * not a restart; a runtime nobody supervises reads the key at its next start.\n */\n readonly restartSignalledRuntimes: readonly string[];\n /** Local only: whether the runtimes' `.env` files were regenerated. */\n readonly envFilesRegenerated: boolean;\n /** Local only: why the `.env` files could not be regenerated, with what to run; `null` otherwise. */\n readonly envFilesRegenerationFailure: string | null;\n /**\n * Local only: the companion reads this key and was NOT asked to restart, because the caller said it\n * applies the change itself (`--no-companion-restart`). The workbench does, in-process: restarting\n * the companion from inside a request would end the process serving it and any run in flight.\n */\n readonly companionAppliesChange: boolean;\n /**\n * Local only: the RUNNING companion loaded the change in place, through `POST /api/companion/runtime/env/apply`,\n * so it was not restarted and no run in flight was ended. False when it reads no such key, is not running,\n * or the caller applies the change itself.\n */\n readonly companionLoadedInProcess: boolean;\n /**\n * Local only: the companion is running and reads this key, but could not be made to load it — with what to\n * do. `null` when nothing failed. Distinct from the workbench's `companionApplyFailure`, which the COMPANION\n * sets about its own in-process apply.\n */\n readonly companionLoadFailure: string | null;\n /**\n * The environment's rows AFTER the change, re-derived from the same application inputs the change was\n * checked against (#1782). One change can move OTHER rows too: setting one LLM provider's key can make a\n * competing provider's key no longer needed. A caller holding a listing replaces that environment's rows\n * with these instead of re-listing, which re-loads the application and takes tens of seconds.\n *\n * `null` when they could not be read after the change was MADE — for a remote environment that is one\n * more `gh` listing, which a network error, a rate limit or an expired token can fail. The change itself\n * stands, and a caller holding a listing drops it instead of patching it.\n */\n readonly environmentAfterChange: EnvironmentSecretsReport | null;\n}\n\n/**\n * The environment's rows after a change that has ALREADY been written. A failure here must never turn the\n * completed change into a reported failure: the person would be told \"not changed\" about a secret that was.\n */\nasync function describeAfterChange(saasRoot: string, envName: string, inputs: SecretRequirementInputs): Promise<EnvironmentSecretsReport | null> {\n try {\n return await describeEnvironmentSecrets(saasRoot, envName, inputs);\n } catch {\n return null;\n }\n}\n\n/** Options every change takes. */\nexport interface SecretChangeOptions {\n /** Which `secrets.json` section the name is in — needed only when it is in more than one (see `requirementFor`). */\n readonly kind?: ApplicationSecretKind;\n /**\n * Whether a change the companion reads restarts it (default). The workbench passes `false` and applies\n * the change in-process — see {@link SecretChangeOutcome.companionAppliesChange}.\n */\n readonly restartCompanion?: boolean;\n}\n\n/** The scope path the dev companion is read under (`providers.scopes.companion`). */\nconst COMPANION_RUNTIME = 'companion';\n\n/** The companion's folder under `.wildo-saas/`, which names its supervisor signal file. */\nconst COMPANION_SIGNAL_FOLDER = 'wildo-dev-companion';\n\n/** Is the pid alive (EPERM means alive and someone else's)? */\nfunction isProcessAlive(pid: unknown): boolean {\n if (typeof pid !== 'number' || !Number.isInteger(pid) || pid <= 0) return false;\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return (error as NodeJS.ErrnoException).code === 'EPERM';\n }\n}\n\n/**\n * Whether a live `wildo local dev` supervisor runs this runtime: its published observation\n * (`runtime-signals/supervisors/<label>.json`, label = the runtime's folder) names a producer that is alive.\n */\nfunction isSupervised(saasRoot: string, folder: string): boolean {\n try {\n const observation = JSON.parse(readFileSync(join(saasRoot, '.wildo-saas', 'runtime-signals', 'supervisors', `${folder}.json`), 'utf8')) as { producerPid?: unknown };\n return isProcessAlive(observation.producerPid);\n } catch {\n return false;\n }\n}\n\n/**\n * The signal file whose touch restarts a supervised runtime, per scope path (`backend`, `companion`,\n * `<family>.<key>`). Named after the service's folder, as each `dev-supervised.sh` names it; the\n * companion's is fixed. Only runtimes a live supervisor runs are returned.\n */\nasync function runtimeSignalFiles(saasRoot: string, runtimes: readonly string[]): Promise<Map<string, string>> {\n const config = await loadSaasConfig(join(saasRoot, WORKSPACE_CONFIG_NAMES.SAAS)) as {\n services?: Record<string, { path?: string; frontendType?: unknown }>;\n minions?: Record<string, { path?: string }>;\n workers?: Record<string, { path?: string }>;\n };\n const signalDir = join(saasRoot, '.wildo-saas', 'runtime-signals');\n const byFolder = new Map<string, string>();\n const add = (folder: string | undefined): void => {\n if (!folder) return;\n const name = basename(folder);\n const file = join(signalDir, `${name}.signal`);\n if (existsSync(file) && isSupervised(saasRoot, name)) byFolder.set(name, file);\n };\n for (const runtime of runtimes) {\n if (runtime === COMPANION_RUNTIME) add(COMPANION_SIGNAL_FOLDER);\n else if (runtime === 'backend') {\n for (const service of Object.values(config.services ?? {})) if (service.frontendType === undefined) add(service.path);\n } else {\n const [family, key] = runtime.split('.') as [string, string];\n const source = family === 'minions' ? config.minions : family === 'workers' ? config.workers : config.services;\n add(source?.[key]?.path);\n }\n }\n return byFolder;\n}\n\n/**\n * Run this CLI's own `config sync --domain <domain>` for one environment, as one child run. A failure is\n * REPORTED, never swallowed: the value is already in `secrets.json`, and without the regeneration nothing\n * can read it, which the person must be told along with what to run.\n */\nexport function runConfigSyncDomain(\n saasRoot: string,\n envName: string,\n domain: 'env-files' | 'manifest',\n): { readonly regenerated: boolean; readonly failure: string | null } {\n /*\n * `--force` is required, not a convenience. Without it a non-interactive `config sync` finds the\n * existing files, prints \"Skipping env-files regeneration in non-interactive mode\" and EXITS 0 — so\n * every local change reported `envFilesRegenerated: true` and restarted its runtimes on the OLD `.env`\n * (measured 2026-09-26: a key set from the workbench reached `secrets.json` and no `.env`). The prompt\n * that skip replaces asks \"overwrite the existing env files?\", and changing a secret is a request to\n * do exactly that. `--force` skips confirmations only; secret rotation needs `--rotate-secrets`.\n */\n const args = ['config', 'sync', '--domain', domain, '--env', envName, '--non-interactive', '--force'];\n const result = spawnSync(process.execPath, [process.argv[1]!, ...args], { cwd: saasRoot, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });\n if (result.status === 0) return { regenerated: true, failure: null };\n const lastLine = `${result.stderr ?? ''}\\n${result.stdout ?? ''}`\n .split('\\n')\n .map((line) => line.replace(/\\u001b\\[[0-9;]*m/g, '').trim())\n .filter((line) => line.length > 0)\n .at(-1);\n const what = domain === 'env-files' ? \"the runtimes' .env files were\" : 'the deployment manifests were';\n return {\n regenerated: false,\n failure: `The value is saved, but ${what} not regenerated${lastLine ? ` (${lastLine})` : ''}. Run \\`wildo ${args.join(' ')}\\`, then restart what reads it.`,\n };\n}\n\n/** Regenerate the local runtimes' `.env` files — what every application runtime reads. */\nexport function regenerateEnvFiles(saasRoot: string, envName: string): { readonly regenerated: boolean; readonly failure: string | null } {\n return runConfigSyncDomain(saasRoot, envName, 'env-files');\n}\n\n/** The companion route that loads named variables of its regenerated `.env` into the running process. */\nexport const COMPANION_RUNTIME_ENV_APPLY_PATH = '/api/companion/runtime/env/apply';\n\n/** Long enough for a registry refresh on a loaded machine; short enough that a hung companion does not hold `set`. */\nconst COMPANION_ENV_APPLY_TIMEOUT_MS = 20_000;\n\n/** What asking the running companion to load a changed variable came to. */\ntype CompanionLoadResult =\n | { readonly kind: 'loaded' }\n | { readonly kind: 'not-running' }\n | { readonly kind: 'failed'; readonly failure: string };\n\n/**\n * Ask the RUNNING companion to load one changed variable from the `.env` just regenerated (#1637).\n *\n * The answer to a key that \"is set\" and still refused: the companion reads its `.env` once, at boot, and in\n * a created application nothing supervises it (it runs as plain `node --env-file-if-exists=.env` under\n * `pnpm -r run dev`), so there is no signal file to touch and no restart to ask for. Loading in place works\n * whether or not a supervisor exists, and it spares every run in flight, which a restart would end.\n *\n * Only the NAME is sent; the companion reads the value from its own `.env`.\n *\n * Unreachable (refused connection, no token because it never booted) is `not-running`: it then reads the key\n * at its next start, which is what would happen anyway. Anything else is `failed`, including a 404 from a\n * companion older than this route and a timeout.\n */\nasync function loadInRunningCompanion(saasRoot: string, envVarName: string): Promise<CompanionLoadResult> {\n const addresses = await loadAppLocalRuntimeServiceAddresses(saasRoot).catch(() => null);\n const options = {\n appRoot: saasRoot,\n baseUrl: addresses?.devCompanion?.url,\n port: addresses?.devCompanion?.port,\n timeoutMs: COMPANION_ENV_APPLY_TIMEOUT_MS,\n };\n try {\n await CompanionClient.post(COMPANION_RUNTIME_ENV_APPLY_PATH, { envVarNames: [envVarName] }, options);\n return { kind: 'loaded' };\n } catch (error) {\n /*\n * \"Not running\" is exactly what the client already calls UNREACHABLE — a refused or reset connection, or\n * no token because the companion never booted — so the one classifier decides both. Anything else (a\n * timeout, a hung companion, an unreadable token) is a companion that may hold the old value: a failure.\n */\n if (companionFailureExitCode(error) === COMPANION_UNREACHABLE_EXIT_CODE) return { kind: 'not-running' };\n const restart = `restart \\`wildo local dev\\` so it reads the new value.`;\n if (error instanceof CompanionRefusalError && error.status === 404) {\n return { kind: 'failed', failure: `The running companion is older than this CLI and cannot load ${envVarName} in place; ${restart}` };\n }\n return { kind: 'failed', failure: `The running companion could not load ${envVarName} (${ErrorUtils.extractErrorMessage(error)}); ${restart}` };\n }\n}\n\n/**\n * Regenerate the `.env` files and bring the change to the runtimes that receive the key. ALWAYS regenerated,\n * an UNUSED key included: unconsumed is not undelivered (the companion's `.env` carries every provider key),\n * and a removal that skipped this left the value on disk and in the running process (#1637 review, H1).\n *\n * The companion is asked to LOAD the key in place first; only when it is not running, or could not, is it\n * signalled to restart like the other runtimes. Every other runtime is restarted through its supervisor's\n * signal file.\n */\nasync function applyLocalChange(saasRoot: string, envName: string, row: SecretRequirement, options: SecretChangeOptions): Promise<Omit<SecretChangeOutcome, 'environmentAfterChange'>> {\n const restartCompanion = options.restartCompanion !== false;\n const readsKey = row.runtimes.includes(COMPANION_RUNTIME);\n const companionAppliesChange = !restartCompanion && readsKey;\n const identity = { envVarName: row.envVarName, kind: row.kind, envName };\n const regeneration = regenerateEnvFiles(saasRoot, envName);\n const signalled: string[] = [];\n let companionLoad: CompanionLoadResult | null = null;\n if (regeneration.regenerated) {\n if (restartCompanion && readsKey) companionLoad = await loadInRunningCompanion(saasRoot, row.envVarName);\n const companionHandled = !restartCompanion || companionLoad?.kind === 'loaded';\n const now = new Date();\n const runtimes = row.runtimes.filter((runtime) => !companionHandled || runtime !== COMPANION_RUNTIME);\n for (const [folder, file] of await runtimeSignalFiles(saasRoot, runtimes)) {\n utimesSync(file, now, now);\n signalled.push(folder);\n }\n }\n return {\n ...identity,\n restartSignalledRuntimes: signalled,\n envFilesRegenerated: regeneration.regenerated,\n envFilesRegenerationFailure: regeneration.failure,\n companionAppliesChange,\n companionLoadedInProcess: companionLoad?.kind === 'loaded',\n // A supervised companion restarted instead has received the change, so the failure is not worth saying.\n companionLoadFailure: companionLoad?.kind === 'failed' && !signalled.includes(COMPANION_SIGNAL_FOLDER) ? companionLoad.failure : null,\n };\n}\n\nconst REMOTE_OUTCOME = {\n restartSignalledRuntimes: [],\n envFilesRegenerated: false,\n envFilesRegenerationFailure: null,\n companionAppliesChange: false,\n companionLoadedInProcess: false,\n companionLoadFailure: null,\n} as const;\n\n/**\n * Set one secret in one environment, in the section its kind names. The value is validated, never logged.\n *\n * A key holding a PEM (`…PRIVATE_KEY`, `…CERTIFICATE`, a system of record's `certificatePem`) pasted on one\n * line with literal `\\n` is turned into real line breaks locally, exactly as the CI adapter does when it reads\n * the same secret remotely (`normalizePotentialMultilineSecret`), so both lanes hand a runtime the same\n * bytes. A remote value is stored as given, because that adapter normalizes it on the way out.\n *\n * An UNUSED key is refused: nothing consumes it, so a new value would change nothing a runtime does.\n */\nexport async function setApplicationSecret(\n saasRoot: string,\n envName: string,\n envVarName: string,\n value: string,\n options: SecretChangeOptions = {},\n): Promise<SecretChangeOutcome> {\n const inputs = await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const report = await describeEnvironmentSecrets(saasRoot, envName, inputs);\n const row = requirementFor(report, inputs, envVarName, options.kind);\n if (row.standing === ApplicationSecretStanding.UNUSED) {\n throw new Error(`Nothing consumes ${envVarName}, so setting it would change nothing. Remove it with \\`wildo secrets unset ${envVarName}\\`.`);\n }\n const problem = describeSecretValueProblem(envVarName, value, true);\n if (problem) throw new Error(problem);\n if (report.locationType === WildoLocationType.LOCAL) {\n updateLocalApplicationSecrets(envName, row.kind, { set: { [envVarName]: normalizePotentialMultilineSecret(envVarName, value.trim()) } });\n return { ...(await applyLocalChange(saasRoot, envName, row, options)), environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n }\n const gap = describeDeployWorkflowGap(envName, row.kind, envVarName, saasRoot);\n if (gap) throw new Error(gap);\n setRemoteApplicationSecret(envName, row.kind, envVarName, value.trim(), saasRoot);\n return { envVarName, kind: row.kind, envName, ...REMOTE_OUTCOME, environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n}\n\n/** Remove one secret from one environment — including an UNUSED one, which is what that standing is for. */\nexport async function unsetApplicationSecret(\n saasRoot: string,\n envName: string,\n envVarName: string,\n options: SecretChangeOptions = {},\n): Promise<SecretChangeOutcome> {\n const inputs = await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const report = await describeEnvironmentSecrets(saasRoot, envName, inputs);\n const row = requirementFor(report, inputs, envVarName, options.kind);\n if (report.locationType === WildoLocationType.LOCAL) {\n updateLocalApplicationSecrets(envName, row.kind, { unset: [envVarName] });\n return { ...(await applyLocalChange(saasRoot, envName, row, options)), environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n }\n unsetRemoteApplicationSecret(envName, row.kind, envVarName, saasRoot);\n return { envVarName, kind: row.kind, envName, ...REMOTE_OUTCOME, environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-secrets.service.js","sourceRoot":"","sources":["../../../../src/services/credentials/application-secrets.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe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AO,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;IACxJ,CAAC;IACD,4BAA4B,CAAC,OAAO,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;IACtE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,cAAc,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;AAClJ,CAAC","sourcesContent":["/**\n * An application's secrets per environment — provider secrets, system-of-record credentials and inbound\n * endpoint secrets (`ApplicationSecretKind`) — what it needs, what is set, and how to change one, for\n * `wildo secrets` and, through it, the workbench's secrets section (#1637).\n *\n * Local environments keep values in `infrastructure/<env>/secrets/secrets.json`, one section per kind; a\n * change is written there, the runtimes' `.env` files are regenerated, and only the runtimes that read the\n * key are restarted. Remote environments keep them as GitHub Actions secrets, written through the operator's\n * own `gh` login (`remote-secrets-store.service.ts`).\n *\n * A value never leaves this module except to the store that holds it: every report carries names and\n * standings, never a value, so a listing can be printed, logged or shown in a browser.\n */\nimport { spawnSync } from 'child_process';\nimport { existsSync, readFileSync, realpathSync, utimesSync } from 'fs';\nimport { basename, isAbsolute, join, relative, resolve } from 'path';\n\nimport { loadSaasConfig, WildoLocationType, WORKSPACE_CONFIG_NAMES } from '@wildo-ai/platform-config-lib';\nimport { ApplicationSecretKind, ApplicationSecretStanding, type ApplicationSecretRemoteLevel } from '@wildo-ai/platform-core-shared';\nimport { parseInboundEndpointSecretEnvVarName, parseSystemOfRecordEnvVarName } from '@wildo-ai/saas-models';\n\nimport { readLocalApplicationSecretPresence, updateLocalApplicationSecrets } from '~wildo-cli/services/credentials/local-secrets-store.service';\nimport { describeSecretValueProblem } from '~wildo-cli/services/credentials/provider-secret-format';\nimport { normalizePotentialMultilineSecret } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport {\n describeDeployWorkflowGap,\n listRemoteApplicationSecrets,\n setRemoteApplicationSecret,\n unsetRemoteApplicationSecret,\n} from '~wildo-cli/services/credentials/remote-secrets-store.service';\nimport {\n loadSecretRequirementInputs,\n loadSecretRequirements,\n SystemOfRecordEnvironmentPresence,\n systemOfRecordPresenceOf,\n type SecretRequirement,\n type SecretRequirementInputs,\n type StoredApplicationSecrets,\n} from '~wildo-cli/services/credentials/secret-requirements.service';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { loadAppLocalRuntimeServiceAddresses } from '~wildo-cli/services/application/app-local-runtime-addresses.service';\nimport {\n COMPANION_UNREACHABLE_EXIT_CODE,\n CompanionClient,\n CompanionRefusalError,\n companionFailureExitCode,\n} from '~wildo-cli/services/companion/companion-client.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\nexport interface EnvironmentSecretsReport {\n readonly envName: string;\n readonly locationType: WildoLocationType;\n readonly requirements: readonly (SecretRequirement & { readonly remoteLevel?: ApplicationSecretRemoteLevel })[];\n /**\n * What this listing could not derive, each saying why — a backend not built (its inbound endpoints are then\n * unknown), a vendor facet that could not be read. Empty when the listing is whole.\n */\n readonly incomplete: readonly string[];\n}\n\n/** An environment's location, refused when the environment is not registered. */\nexport function resolveEnvironmentLocation(envName: string): WildoLocationType {\n const environment = EnvironmentUtils.get(envName);\n if (!environment) {\n throw new Error(`No environment '${envName}'. Registered: ${EnvironmentUtils.listNames().join(', ') || 'none'}.`);\n }\n return environment.locationType;\n}\n\nconst APPLICATION_SECRET_KINDS = Object.values(ApplicationSecretKind);\n\n/**\n * A LOCAL environment's `secrets.json`, per kind: the names with a value (`stored`), and every name the section\n * holds, an empty value included (`present`). A key stored as `\"\"` is not set, but it is still there to remove.\n */\nfunction readLocalStoredSecrets(envName: string): { readonly stored: StoredApplicationSecrets; readonly present: StoredApplicationSecrets } {\n // Names only: the report says what is set, so no value is read into it.\n const sections = APPLICATION_SECRET_KINDS.map((kind) => [kind, readLocalApplicationSecretPresence(envName, kind)] as const);\n return {\n stored: Object.fromEntries(sections.map(([kind, presence]) => [kind, new Set(presence.stored)])) as unknown as StoredApplicationSecrets,\n present: Object.fromEntries(sections.map(([kind, presence]) => [kind, new Set(presence.present)])) as unknown as StoredApplicationSecrets,\n };\n}\n\n/**\n * How the environment addresses each system of record, from its GENERATED config — the file the env builder\n * reads to decide what reaches the backend — or `null` when it cannot be read.\n */\nfunction readSystemOfRecordPresence(envName: string): Readonly<Record<string, SystemOfRecordEnvironmentPresence>> | null {\n let config: PlatformEnvConfigJson | null;\n try {\n config = EnvironmentUtils.loadConfigJson(envName);\n } catch {\n return null;\n }\n if (!config) return null;\n return systemOfRecordPresenceOf(config.systemsOfRecord);\n}\n\n/** One secret's identity across kinds: a name is unique per `secrets.json` section, not across them. */\nconst secretKey = (kind: ApplicationSecretKind, envVarName: string): string => `${kind}:${envVarName}`;\n\n/**\n * What the application needs in one environment, and what is set there. Pass `inputs` when describing\n * several environments, so the application is loaded once (`loadSecretRequirementInputs` with its owners).\n */\nexport async function describeEnvironmentSecrets(saasRoot: string, envName: string, inputs?: SecretRequirementInputs): Promise<EnvironmentSecretsReport> {\n const locationType = resolveEnvironmentLocation(envName);\n const loaded = inputs ?? await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const incomplete = loaded.owners?.incomplete ?? [];\n const systemOfRecordPresence = readSystemOfRecordPresence(envName);\n if (locationType === WildoLocationType.LOCAL) {\n const requirements = await loadSecretRequirements({ saasRoot, inputs: loaded, ...readLocalStoredSecrets(envName), systemOfRecordPresence });\n return { envName, locationType, requirements, incomplete };\n }\n const remote = new Map(listRemoteApplicationSecrets(envName, saasRoot).map((secret) => [secretKey(secret.kind, secret.envVarName), secret]));\n const stored = Object.fromEntries(APPLICATION_SECRET_KINDS.map((kind) => [\n kind,\n new Set([...remote.values()].filter((secret) => secret.kind === kind).map((secret) => secret.envVarName)),\n ])) as unknown as StoredApplicationSecrets;\n const requirements = await loadSecretRequirements({ saasRoot, inputs: loaded, stored, systemOfRecordPresence });\n return {\n envName,\n locationType,\n requirements: requirements.map((row) => {\n const held = remote.get(secretKey(row.kind, row.envVarName));\n return held ? { ...row, remoteLevel: held.level } : row;\n }),\n incomplete,\n };\n}\n\n/**\n * The requirement a name refers to, refused when nothing the application declares reads it — a key no\n * runtime would receive is a typo or a stale name.\n *\n * A NAME is not an identity: each kind is its own `secrets.json` section, and a migration can leave one key in\n * two (an Odoo credential still in `providerEnv` beside its `systemsOfRecordEnv` copy). So `kind` narrows the\n * match, and a name matching in two kinds without one is refused, naming both, rather than resolved to\n * whichever sorted first — which set or removed the other copy than the one the person meant.\n *\n * One exception, for a name whose OWNER exists but could not be enumerated: an inbound endpoint secret when\n * the backend's endpoints could not be read (it is not built), and a system-of-record slot when its vendor's\n * facet could not be. A well-formed name for such an owner is admitted, because refusing it would make the\n * secret impossible to provide until something unrelated is fixed — the env builder delivers any well-formed\n * name, and the backend is where an endpoint without its secret is reported.\n */\nfunction requirementFor(report: EnvironmentSecretsReport, inputs: SecretRequirementInputs, envVarName: string, kind?: ApplicationSecretKind): SecretRequirement {\n const matches = report.requirements\n .filter((candidate) => candidate.envVarName === envVarName && (kind === undefined || candidate.kind === kind))\n .sort((left, right) => left.kind.localeCompare(right.kind));\n if (matches.length > 1) {\n throw new Error(`${envVarName} is in more than one section of this environment's secrets (${matches.map((row) => `${row.kind}: ${row.standing}`).join(', ')}). `\n + `Name the one you mean with --kind ${matches.map((row) => row.kind).join(' | ')}.`);\n }\n if (matches[0]) return matches[0];\n const owners = inputs.owners;\n const endpoint = kind === undefined || kind === ApplicationSecretKind.INBOUND_ENDPOINT ? parseInboundEndpointSecretEnvVarName(envVarName) : null;\n if (endpoint && owners?.inboundEndpointKeys === null) {\n return unenumeratedOwnerRow(envVarName, ApplicationSecretKind.INBOUND_ENDPOINT, endpoint.endpointKey);\n }\n const slot = kind === undefined || kind === ApplicationSecretKind.SYSTEM_OF_RECORD ? parseSystemOfRecordEnvVarName(envVarName) : null;\n if (slot && owners?.systemsOfRecord.some((system) => system.name === slot.instanceName && system.secretSlots === null)) {\n return unenumeratedOwnerRow(envVarName, ApplicationSecretKind.SYSTEM_OF_RECORD, slot.instanceName);\n }\n const known = [...new Set(report.requirements.filter((candidate) => kind === undefined || candidate.kind === kind).map((candidate) => candidate.envVarName))];\n throw new Error(`Nothing this application declares reads ${envVarName}${kind === undefined ? '' : ` as a ${kind} secret`}. Known here: ${known.join(', ') || 'none'}.`);\n}\n\nfunction unenumeratedOwnerRow(envVarName: string, kind: ApplicationSecretKind, ownerRef: string): SecretRequirement {\n return {\n envVarName, kind, ownerRef, description: null, required: true, capabilities: [], runtimes: ['backend'],\n standing: ApplicationSecretStanding.NEEDED, creationEssential: false,\n };\n}\n\nexport interface SecretChangeOutcome {\n readonly envVarName: string;\n /** Which `secrets.json` section (or, remotely, which GitHub secret prefix) the change was made in. */\n readonly kind: ApplicationSecretKind;\n readonly envName: string;\n /**\n * Local only: the runtimes asked to restart to read the change — those that read the key AND run under\n * a LIVE supervisor of `wildo local dev`. A signal file outlives the stack, so its existence alone is\n * not a restart; a runtime nobody supervises reads the key at its next start.\n */\n readonly restartSignalledRuntimes: readonly string[];\n /** Local only: whether the runtimes' `.env` files were regenerated. */\n readonly envFilesRegenerated: boolean;\n /** Local only: why the `.env` files could not be regenerated, with what to run; `null` otherwise. */\n readonly envFilesRegenerationFailure: string | null;\n /**\n * Local only: the companion reads this key and was NOT asked to restart, because the caller said it\n * applies the change itself (`--no-companion-restart`). The workbench does, in-process: restarting\n * the companion from inside a request would end the process serving it and any run in flight.\n */\n readonly companionAppliesChange: boolean;\n /**\n * Local only: the RUNNING companion loaded the change in place, through `POST /api/companion/runtime/env/apply`,\n * so it was not restarted and no run in flight was ended. False when it reads no such key, is not running,\n * or the caller applies the change itself.\n */\n readonly companionLoadedInProcess: boolean;\n /**\n * Local only: the companion is running and reads this key, but could not be made to load it — with what to\n * do. `null` when nothing failed. Distinct from the workbench's `companionApplyFailure`, which the COMPANION\n * sets about its own in-process apply.\n */\n readonly companionLoadFailure: string | null;\n /**\n * The environment's rows AFTER the change, re-derived from the same application inputs the change was\n * checked against (#1782). One change can move OTHER rows too: setting one LLM provider's key can make a\n * competing provider's key no longer needed. A caller holding a listing replaces that environment's rows\n * with these instead of re-listing, which re-loads the application and takes tens of seconds.\n *\n * `null` when they could not be read after the change was MADE — for a remote environment that is one\n * more `gh` listing, which a network error, a rate limit or an expired token can fail. The change itself\n * stands, and a caller holding a listing drops it instead of patching it.\n */\n readonly environmentAfterChange: EnvironmentSecretsReport | null;\n}\n\n/**\n * The environment's rows after a change that has ALREADY been written. A failure here must never turn the\n * completed change into a reported failure: the person would be told \"not changed\" about a secret that was.\n */\nasync function describeAfterChange(saasRoot: string, envName: string, inputs: SecretRequirementInputs): Promise<EnvironmentSecretsReport | null> {\n try {\n return await describeEnvironmentSecrets(saasRoot, envName, inputs);\n } catch {\n return null;\n }\n}\n\n/** Options every change takes. */\nexport interface SecretChangeOptions {\n /** Which `secrets.json` section the name is in — needed only when it is in more than one (see `requirementFor`). */\n readonly kind?: ApplicationSecretKind;\n /**\n * Whether a change the companion reads restarts it (default). The workbench passes `false` and applies\n * the change in-process — see {@link SecretChangeOutcome.companionAppliesChange}.\n */\n readonly restartCompanion?: boolean;\n}\n\n/** The scope path the dev companion is read under (`providers.scopes.companion`). */\nconst COMPANION_RUNTIME = 'companion';\n\n/** The companion's folder under `.wildo-saas/`, which names its supervisor signal file. */\nconst COMPANION_SIGNAL_FOLDER = 'wildo-dev-companion';\n\n/** Is the pid alive (EPERM means alive and someone else's)? */\nfunction isProcessAlive(pid: unknown): boolean {\n if (typeof pid !== 'number' || !Number.isInteger(pid) || pid <= 0) return false;\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return (error as NodeJS.ErrnoException).code === 'EPERM';\n }\n}\n\n/**\n * The restart signal of the runtime a LIVE `wildo local dev` supervisor runs under this label, or `null`.\n *\n * Its published observation (`runtime-signals/supervisors/<label>.json`, label = the runtime's folder) must name a\n * producer that is alive, and the file must exist. Which file: the one the record DECLARES (`signalFilePath`) — the\n * monorepo's `runtime-supervisor.mjs` and `wildo-dev-runtime serve` (since #2134, which is what brings a changed key to a\n * created application's backend) each declare theirs. A record declaring `null` honours no request, so nothing is\n * touched: the app-creator companion's supervisor declares `null` (#2149), since that companion loads the key in place. A record with no such field (a writer predating it) falls back to the conventional\n * `runtime-signals/<label>.signal`. A declared path outside the application's runtime-signals home is ignored: the CLI\n * touches only files of that home.\n */\nfunction liveSupervisorSignalFile(saasRoot: string, folder: string): string | null {\n const signalDir = join(saasRoot, '.wildo-saas', 'runtime-signals');\n let observation: { producerPid?: unknown; signalFilePath?: unknown };\n try {\n observation = JSON.parse(readFileSync(join(signalDir, 'supervisors', `${folder}.json`), 'utf8')) as typeof observation;\n } catch {\n return null;\n }\n if (!isProcessAlive(observation.producerPid)) return null;\n if (observation.signalFilePath === null) return null;\n if (typeof observation.signalFilePath !== 'string' || observation.signalFilePath.length === 0) {\n const conventional = join(signalDir, `${folder}.signal`);\n return existsSync(conventional) ? conventional : null;\n }\n const declared = resolve(saasRoot, observation.signalFilePath);\n // Compared as REAL paths, so a symlinked application root and a symlink inside the home pointing out are both judged by\n // where the file really is. A file that vanishes while it is read is no signal: the change is already written, and\n // must not be reported as failed.\n let within: string;\n try {\n within = relative(realpathSync(signalDir), realpathSync(declared));\n } catch {\n return null;\n }\n if (within.length === 0 || within.startsWith('..') || isAbsolute(within)) return null;\n return declared;\n}\n\n/**\n * The signal file whose touch restarts a supervised runtime, per scope path (`backend`, `companion`,\n * `<family>.<key>`). Looked up by the service's folder, the label every generated `dev` script passes its\n * supervisor; the companion's is fixed. Only runtimes a live supervisor runs are returned.\n */\nasync function runtimeSignalFiles(saasRoot: string, runtimes: readonly string[]): Promise<Map<string, string>> {\n const config = await loadSaasConfig(join(saasRoot, WORKSPACE_CONFIG_NAMES.SAAS)) as {\n services?: Record<string, { path?: string; frontendType?: unknown }>;\n minions?: Record<string, { path?: string }>;\n workers?: Record<string, { path?: string }>;\n };\n const byFolder = new Map<string, string>();\n const add = (folder: string | undefined): void => {\n if (!folder) return;\n const name = basename(folder);\n const file = liveSupervisorSignalFile(saasRoot, name);\n if (file !== null) byFolder.set(name, file);\n };\n for (const runtime of runtimes) {\n if (runtime === COMPANION_RUNTIME) add(COMPANION_SIGNAL_FOLDER);\n else if (runtime === 'backend') {\n for (const service of Object.values(config.services ?? {})) if (service.frontendType === undefined) add(service.path);\n } else {\n const [family, key] = runtime.split('.') as [string, string];\n const source = family === 'minions' ? config.minions : family === 'workers' ? config.workers : config.services;\n add(source?.[key]?.path);\n }\n }\n return byFolder;\n}\n\n/**\n * Run this CLI's own `config sync --domain <domain>` for one environment, as one child run. A failure is\n * REPORTED, never swallowed: the value is already in `secrets.json`, and without the regeneration nothing\n * can read it, which the person must be told along with what to run.\n */\nexport function runConfigSyncDomain(\n saasRoot: string,\n envName: string,\n domain: 'env-files' | 'manifest',\n): { readonly regenerated: boolean; readonly failure: string | null } {\n /*\n * `--force` is required, not a convenience. Without it a non-interactive `config sync` finds the\n * existing files, prints \"Skipping env-files regeneration in non-interactive mode\" and EXITS 0 — so\n * every local change reported `envFilesRegenerated: true` and restarted its runtimes on the OLD `.env`\n * (measured 2026-09-26: a key set from the workbench reached `secrets.json` and no `.env`). The prompt\n * that skip replaces asks \"overwrite the existing env files?\", and changing a secret is a request to\n * do exactly that. `--force` skips confirmations only; secret rotation needs `--rotate-secrets`.\n */\n const args = ['config', 'sync', '--domain', domain, '--env', envName, '--non-interactive', '--force'];\n const result = spawnSync(process.execPath, [process.argv[1]!, ...args], { cwd: saasRoot, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] });\n if (result.status === 0) return { regenerated: true, failure: null };\n const lastLine = `${result.stderr ?? ''}\\n${result.stdout ?? ''}`\n .split('\\n')\n .map((line) => line.replace(/\\u001b\\[[0-9;]*m/g, '').trim())\n .filter((line) => line.length > 0)\n .at(-1);\n const what = domain === 'env-files' ? \"the runtimes' .env files were\" : 'the deployment manifests were';\n return {\n regenerated: false,\n failure: `The value is saved, but ${what} not regenerated${lastLine ? ` (${lastLine})` : ''}. Run \\`wildo ${args.join(' ')}\\`, then restart what reads it.`,\n };\n}\n\n/** Regenerate the local runtimes' `.env` files — what every application runtime reads. */\nexport function regenerateEnvFiles(saasRoot: string, envName: string): { readonly regenerated: boolean; readonly failure: string | null } {\n return runConfigSyncDomain(saasRoot, envName, 'env-files');\n}\n\n/** The companion route that loads named variables of its regenerated `.env` into the running process. */\nexport const COMPANION_RUNTIME_ENV_APPLY_PATH = '/api/companion/runtime/env/apply';\n\n/** Long enough for a registry refresh on a loaded machine; short enough that a hung companion does not hold `set`. */\nconst COMPANION_ENV_APPLY_TIMEOUT_MS = 20_000;\n\n/** What asking the running companion to load a changed variable came to. */\ntype CompanionLoadResult =\n | { readonly kind: 'loaded' }\n | { readonly kind: 'not-running' }\n | { readonly kind: 'failed'; readonly failure: string };\n\n/**\n * Ask the RUNNING companion to load one changed variable from the `.env` just regenerated (#1637).\n *\n * The answer to a key that \"is set\" and still refused: the companion reads its `.env` once, at boot, and in\n * a created application nothing supervises it (it runs as plain `node --env-file-if-exists=.env` under\n * `pnpm -r run dev`), so there is no signal file to touch and no restart to ask for. Loading in place works\n * whether or not a supervisor exists, and it spares every run in flight, which a restart would end.\n *\n * Only the NAME is sent; the companion reads the value from its own `.env`.\n *\n * Unreachable (refused connection, no token because it never booted) is `not-running`: it then reads the key\n * at its next start, which is what would happen anyway. Anything else is `failed`, including a 404 from a\n * companion older than this route and a timeout.\n */\nasync function loadInRunningCompanion(saasRoot: string, envVarName: string): Promise<CompanionLoadResult> {\n const addresses = await loadAppLocalRuntimeServiceAddresses(saasRoot).catch(() => null);\n const options = {\n appRoot: saasRoot,\n baseUrl: addresses?.devCompanion?.url,\n port: addresses?.devCompanion?.port,\n timeoutMs: COMPANION_ENV_APPLY_TIMEOUT_MS,\n };\n try {\n await CompanionClient.post(COMPANION_RUNTIME_ENV_APPLY_PATH, { envVarNames: [envVarName] }, options);\n return { kind: 'loaded' };\n } catch (error) {\n /*\n * \"Not running\" is exactly what the client already calls UNREACHABLE — a refused or reset connection, or\n * no token because the companion never booted — so the one classifier decides both. Anything else (a\n * timeout, a hung companion, an unreadable token) is a companion that may hold the old value: a failure.\n */\n if (companionFailureExitCode(error) === COMPANION_UNREACHABLE_EXIT_CODE) return { kind: 'not-running' };\n const restart = `restart \\`wildo local dev\\` so it reads the new value.`;\n if (error instanceof CompanionRefusalError && error.status === 404) {\n return { kind: 'failed', failure: `The running companion is older than this CLI and cannot load ${envVarName} in place; ${restart}` };\n }\n return { kind: 'failed', failure: `The running companion could not load ${envVarName} (${ErrorUtils.extractErrorMessage(error)}); ${restart}` };\n }\n}\n\n/**\n * Regenerate the `.env` files and bring the change to the runtimes that receive the key. ALWAYS regenerated,\n * an UNUSED key included: unconsumed is not undelivered (the companion's `.env` carries every provider key),\n * and a removal that skipped this left the value on disk and in the running process (#1637 review, H1).\n *\n * The companion is asked to LOAD the key in place first; only when it is not running, or could not, is it\n * signalled to restart like the other runtimes. Every other runtime is restarted through its supervisor's\n * signal file.\n */\nasync function applyLocalChange(saasRoot: string, envName: string, row: SecretRequirement, options: SecretChangeOptions): Promise<Omit<SecretChangeOutcome, 'environmentAfterChange'>> {\n const restartCompanion = options.restartCompanion !== false;\n const readsKey = row.runtimes.includes(COMPANION_RUNTIME);\n const companionAppliesChange = !restartCompanion && readsKey;\n const identity = { envVarName: row.envVarName, kind: row.kind, envName };\n const regeneration = regenerateEnvFiles(saasRoot, envName);\n const signalled: string[] = [];\n let companionLoad: CompanionLoadResult | null = null;\n if (regeneration.regenerated) {\n if (restartCompanion && readsKey) companionLoad = await loadInRunningCompanion(saasRoot, row.envVarName);\n const companionHandled = !restartCompanion || companionLoad?.kind === 'loaded';\n const now = new Date();\n const runtimes = row.runtimes.filter((runtime) => !companionHandled || runtime !== COMPANION_RUNTIME);\n for (const [folder, file] of await runtimeSignalFiles(saasRoot, runtimes)) {\n utimesSync(file, now, now);\n signalled.push(folder);\n }\n }\n return {\n ...identity,\n restartSignalledRuntimes: signalled,\n envFilesRegenerated: regeneration.regenerated,\n envFilesRegenerationFailure: regeneration.failure,\n companionAppliesChange,\n companionLoadedInProcess: companionLoad?.kind === 'loaded',\n // A supervised companion restarted instead has received the change, so the failure is not worth saying.\n companionLoadFailure: companionLoad?.kind === 'failed' && !signalled.includes(COMPANION_SIGNAL_FOLDER) ? companionLoad.failure : null,\n };\n}\n\nconst REMOTE_OUTCOME = {\n restartSignalledRuntimes: [],\n envFilesRegenerated: false,\n envFilesRegenerationFailure: null,\n companionAppliesChange: false,\n companionLoadedInProcess: false,\n companionLoadFailure: null,\n} as const;\n\n/**\n * Set one secret in one environment, in the section its kind names. The value is validated, never logged.\n *\n * A key holding a PEM (`…PRIVATE_KEY`, `…CERTIFICATE`, a system of record's `certificatePem`) pasted on one\n * line with literal `\\n` is turned into real line breaks locally, exactly as the CI adapter does when it reads\n * the same secret remotely (`normalizePotentialMultilineSecret`), so both lanes hand a runtime the same\n * bytes. A remote value is stored as given, because that adapter normalizes it on the way out.\n *\n * An UNUSED key is refused: nothing consumes it, so a new value would change nothing a runtime does.\n */\nexport async function setApplicationSecret(\n saasRoot: string,\n envName: string,\n envVarName: string,\n value: string,\n options: SecretChangeOptions = {},\n): Promise<SecretChangeOutcome> {\n const inputs = await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const report = await describeEnvironmentSecrets(saasRoot, envName, inputs);\n const row = requirementFor(report, inputs, envVarName, options.kind);\n if (row.standing === ApplicationSecretStanding.UNUSED) {\n throw new Error(`Nothing consumes ${envVarName}, so setting it would change nothing. Remove it with \\`wildo secrets unset ${envVarName}\\`.`);\n }\n const problem = describeSecretValueProblem(envVarName, value, true);\n if (problem) throw new Error(problem);\n if (report.locationType === WildoLocationType.LOCAL) {\n updateLocalApplicationSecrets(envName, row.kind, { set: { [envVarName]: normalizePotentialMultilineSecret(envVarName, value.trim()) } });\n return { ...(await applyLocalChange(saasRoot, envName, row, options)), environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n }\n const gap = describeDeployWorkflowGap(envName, row.kind, envVarName, saasRoot);\n if (gap) throw new Error(gap);\n setRemoteApplicationSecret(envName, row.kind, envVarName, value.trim(), saasRoot);\n return { envVarName, kind: row.kind, envName, ...REMOTE_OUTCOME, environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n}\n\n/** Remove one secret from one environment — including an UNUSED one, which is what that standing is for. */\nexport async function unsetApplicationSecret(\n saasRoot: string,\n envName: string,\n envVarName: string,\n options: SecretChangeOptions = {},\n): Promise<SecretChangeOutcome> {\n const inputs = await loadSecretRequirementInputs(saasRoot, { withOwners: true });\n const report = await describeEnvironmentSecrets(saasRoot, envName, inputs);\n const row = requirementFor(report, inputs, envVarName, options.kind);\n if (report.locationType === WildoLocationType.LOCAL) {\n updateLocalApplicationSecrets(envName, row.kind, { unset: [envVarName] });\n return { ...(await applyLocalChange(saasRoot, envName, row, options)), environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n }\n unsetRemoteApplicationSecret(envName, row.kind, envVarName, saasRoot);\n return { envVarName, kind: row.kind, envName, ...REMOTE_OUTCOME, environmentAfterChange: await describeAfterChange(saasRoot, envName, inputs) };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-secrets-adapter.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ci-secrets-adapter.service.d.ts","sourceRoot":"","sources":["../../../../src/services/credentials/ci-secrets-adapter.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAgHlG;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAErG;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,YAAY,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAKpJ;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC7B;AAyCD;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAKpF;AAeD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,GACpD,sBAAsB,CA4CxB;AAuDD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,qBAAqB,GAAE,SAAS,sBAAsB,EAAO,GAC5D;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAmB5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-secrets-adapter.service.js","sourceRoot":"","sources":["../../../../../../src/services/credentials/ci-secrets-adapter.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AAEpG,OAAO,EAAE,kCAAkC,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAC;AAE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;IAE3C,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAmB,CAAC;IACvD,KAAK,MAAM,KAAK,IAAI,qBAAqB,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,6BAA6B,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAC3E,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;IACvG,CAAC;IACD,KAAK,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,mBAAmB,EAAE,CAAC;QACvD,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAChC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { ApplicationSecretKind } from '@wildo-ai/platform-core-shared';\n\nimport { PlatformEnvSecretsJson_Schema } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FRAMEWORK_MANAGED_SECRET_MATERIALS, carriedKeysOf } from '~wildo-cli/services/credentials/framework-managed-secrets';\n\n/**\n * Prefix for all CI secret env vars.\n * GitHub Secrets are mapped to `WILDO_SECRET_*` env vars in the workflow.\n */\nconst PREFIX = 'WILDO_SECRET_';\n\n/**\n * `secrets.json` paths an OPERATOR types — the only half of the mapping that can legitimately be\n * hand-listed here, because no registry owns them.\n *\n * Everything else is FRAMEWORK-GENERATED material and is derived from\n * {@link FRAMEWORK_MANAGED_SECRET_MATERIALS} below. The admin IDENTITY fields are here while\n * `admin.password` is not, mirroring the registry's own split: the framework mints the password when\n * the operator does not supply one, and never invents an identity.\n */\nconst OPERATOR_TYPED_SECRET_PATHS: readonly string[] = [\n 'admin.email',\n 'admin.firstName',\n 'admin.lastName',\n /*\n * The SECOND administrator, who approves an application-wide access grant (#575).\n *\n * All four, INCLUDING the password, unlike the first administrator. The password is here rather\n * than derived from the registry because the approver block is `.optional()` and a framework-\n * managed key must always exist after provisioning — so `ADMIN_PASSWORD` fills the approver's\n * password without declaring it. Remotely it is operator-typed anyway, which is exactly what this\n * list is for.\n *\n * A CI-reconstructed `secrets.json` missing these rebuilds a platform with ONE administrator —\n * a platform whose widest read refuses for want of anybody able to approve the grant.\n */\n 'approver.email',\n 'approver.firstName',\n 'approver.lastName',\n 'approver.password',\n 'atlas.apiPublicKey',\n 'atlas.apiPrivateKey',\n 'github.orgUrl',\n 'github.adminUser',\n 'github.adminToken',\n];\n\n/**\n * `mongodb.rootUser` → `MONGODB_ROOT_USER`.\n *\n * The env-var name is DERIVED from the secrets path rather than paired with it by hand, and every\n * one of the 16 framework-managed suffixes this replaced comes back byte-identical — which is what\n * makes the derivation admissible rather than a rename disguised as a refactor (pinned in\n * `ci-secrets-mapping.test.ts`).\n */\nfunction envVarSuffixForSecretPath(dotPath: string): string {\n return dotPath\n .split('.')\n .map((segment) => segment.replace(/([a-z0-9])([A-Z])/g, '$1_$2').toUpperCase())\n .join('_');\n}\n\n/**\n * Mapping from flat env var suffixes to the structured `PlatformEnvSecretsJson` paths.\n * Each entry is `[ENV_VAR_SUFFIX, dotPath]`.\n *\n * ## Why this is derived and no longer written out\n *\n * This was a hand-kept list restating a population {@link FRAMEWORK_MANAGED_SECRET_MATERIALS} owns,\n * with no mechanical link to it — and it had drifted by THREE materials: the\n * crontabs-batches-manager signing keypair, the immudb state-signing keypair and the mongot\n * sync-source credential. Each is minted on a developer machine and each was silently absent from a\n * CI-reconstructed `secrets.json`, so a pipeline-built deployment ran with the exact degradations\n * those materials exist to prevent: crontabs signing every scheduled tick with a fallback key,\n * immudb running without `--signingKey`, and mongot with no credential to authenticate to mongod.\n *\n * Deriving it means a material added to the registry tomorrow is a GitHub Secret the generated\n * workflow asks for, with no second edit to remember. The registry is itself compile-time-asserted\n * total over `FrameworkManagedSecretMaterialRef`, so the chain has no hand-maintained link left in\n * it. Identity keys are included alongside secret keys because CI must reconstruct the WHOLE\n * material — a password whose username never arrived is not a credential.\n */\nconst FIXED_MAPPINGS: ReadonlyArray<readonly [string, string]> = [\n ...FRAMEWORK_MANAGED_SECRET_MATERIALS.flatMap(\n (material) => [...material.identityKeys, ...material.secretKeys, ...carriedKeysOf(material)],\n ),\n ...OPERATOR_TYPED_SECRET_PATHS,\n].map((dotPath) => [envVarSuffixForSecretPath(dotPath), dotPath] as const);\n\n/** Protocol-aware provider env var prefix: `WILDO_SECRET_PROVIDER_ENV_<ENV_VAR_NAME>` */\nconst PROVIDER_ENV_PREFIX = `${PREFIX}PROVIDER_ENV_`;\n\n/**\n * System-of-record credentials (#1055). A third prefix scan rather than a row in the fixed table,\n * for the same reason as `providerEnv` one line up: the key space is open — one key per declared\n * instance per secret slot — and the fixed table's path walker cannot express a `z.record` node.\n * The instance and slot are recovered by parsing the variable name, which the `__` delimiter makes\n * unambiguous.\n */\nconst SYSTEMS_OF_RECORD_ENV_PREFIX = `${PREFIX}SYSTEMS_OF_RECORD_ENV_`;\n\n/**\n * Inbound endpoint secrets (#1596), one prefix over again:\n * `WILDO_SECRET_INBOUND_ENDPOINT_ENV_WILDO_INBOUND_<ENDPOINT_KEY>__SECRET`. Open key space, like the two above.\n */\nconst INBOUND_ENDPOINT_ENV_PREFIX = `${PREFIX}INBOUND_ENDPOINT_ENV_`;\n\n/** The GitHub Actions secret prefix each kind of application secret travels under — one per `secrets.json` section. */\nconst APPLICATION_SECRET_CI_PREFIXES: Readonly<Record<ApplicationSecretKind, string>> = {\n [ApplicationSecretKind.PROVIDER]: PROVIDER_ENV_PREFIX,\n [ApplicationSecretKind.SYSTEM_OF_RECORD]: SYSTEMS_OF_RECORD_ENV_PREFIX,\n [ApplicationSecretKind.INBOUND_ENDPOINT]: INBOUND_ENDPOINT_ENV_PREFIX,\n};\n\n/**\n * The GitHub Actions secret an application secret travels as — what the generated deploy workflow reads\n * and what `wildo secrets set --env <remote>` writes. One function, so the writer and the reader cannot\n * spell it differently, and it uses the same prefixes {@link reconstructSecretsFromEnv} scans.\n */\nexport function applicationSecretCiSecretName(kind: ApplicationSecretKind, envVarName: string): string {\n return `${APPLICATION_SECRET_CI_PREFIXES[kind]}${envVarName}`;\n}\n\n/**\n * Which application secret a GitHub secret carries, or `null` for any other secret. The three prefixes do\n * not prefix one another, so at most one matches.\n */\nexport function applicationSecretFromCiSecretName(ciSecretName: string): { readonly kind: ApplicationSecretKind; readonly envVarName: string } | null {\n for (const [kind, prefix] of Object.entries(APPLICATION_SECRET_CI_PREFIXES) as Array<[ApplicationSecretKind, string]>) {\n if (ciSecretName.startsWith(prefix) && ciSecretName.length > prefix.length) return { kind, envVarName: ciSecretName.slice(prefix.length) };\n }\n return null;\n}\n\n/**\n * One application secret a deploy workflow forwards to its job: WHICH `secrets.json` section it belongs to, the\n * variable the runtime is handed, and whether the deploy needs it. `required` only decides where the line sits in\n * the generated block; every listed secret is forwarded the same way.\n */\nexport interface ApplicationCiSecretKey {\n readonly kind: ApplicationSecretKind;\n readonly envVarName: string;\n readonly required?: boolean;\n}\n\n/**\n * One PEM block, `-----BEGIN <label>-----<body>-----END <label>-----`. The body is captured whole so\n * {@link rewrapFlattenedPemBlocks} can tell a flattened block from a wrapped one.\n */\nconst PEM_BLOCK_PATTERN = /-----BEGIN ([A-Z0-9 ]+)-----([\\s\\S]*?)-----END \\1-----/g;\n\n/**\n * Restores the line breaks of a PEM block that arrived with NONE, and leaves every other block as it is.\n *\n * A single-line input drops the line breaks of whatever is pasted into it: a masked terminal prompt, or a\n * `text`/`password` form field (HTML value sanitization). The workbench's secret field was such a field\n * until 2026-09-26, and a key file pasted into it reached `secrets.json` as one run of characters no\n * parser reads, with nothing saying so. It is a multi-line box now; the repair stays for every other door.\n *\n * Rebuilding is exact, not a guess: textual encoding permits no headers inside a block and fixes the line\n * width, so the body is base64 alone and its wrapping follows from its length.\n * spec-cite: RFC 7468 §2 — \"Generators MUST wrap the base64-encoded lines so that each line consists of\n * exactly 64 characters except for the final line\"; textual encoding does \"not define or permit headers\".\n *\n * Only a block whose body holds no line break is touched, so a key that arrived intact is byte-identical,\n * whatever width it was wrapped at. A body carrying anything besides base64 and spaces (a legacy PEM's\n * `Proc-Type:` header) is left alone: it cannot be re-wrapped safely, so it is not re-wrapped.\n */\nfunction rewrapFlattenedPemBlocks(value: string): string {\n const rewrapped = value.replace(PEM_BLOCK_PATTERN, (block, label: string, body: string) => {\n if (/[\\r\\n]/.test(body)) return block;\n const base64 = body.replace(/ +/g, '');\n if (base64.length === 0 || !/^[A-Za-z0-9+/]+=*$/.test(base64)) return block;\n const lines = base64.match(/.{1,64}/g) ?? [];\n return [`-----BEGIN ${label}-----`, ...lines, `-----END ${label}-----`].join('\\n');\n });\n /*\n * A bundle (a certificate chain, a key with its certificate) flattened the same way leaves one block's\n * END touching the next block's BEGIN. That is never valid PEM (OpenSSL: \"bad end line\"), so they are\n * separated; a bundle that arrived intact already has its line break and is not touched.\n */\n return rewrapped.replace(/(-----END [A-Z0-9 ]+-----)[ \\t]*(-----BEGIN )/g, '$1\\n$2');\n}\n\n/**\n * The value a key holding a PEM should carry, given how it arrived. Two shapes are repaired: literal `\\n`\n * escapes (a one-line GitHub secret, a one-line terminal paste), and a block whose line breaks were lost\n * altogether (a paste into a single-line input). The local and remote lanes both read a value through\n * here, so a runtime receives the same bytes from either.\n */\nexport function normalizePotentialMultilineSecret(key: string, value: string): string {\n if (!/(PRIVATE_KEY|PUBLIC_KEY|PEM|CERTIFICATE)/.test(key)) {\n return value;\n }\n return rewrapFlattenedPemBlocks(value.replace(/\\\\n/g, '\\n'));\n}\n\nfunction setNestedValue(obj: Record<string, unknown>, dotPath: string, value: string): void {\n const parts = dotPath.split('.');\n let current = obj;\n for (let i = 0; i < parts.length - 1; i++) {\n const key = parts[i];\n if (!(key in current) || typeof current[key] !== 'object' || current[key] === null) {\n current[key] = {};\n }\n current = current[key] as Record<string, unknown>;\n }\n current[parts[parts.length - 1]] = value;\n}\n\n/**\n * Reconstructs a `PlatformEnvSecretsJson` from flat environment variables.\n *\n * In CI, secrets are stored in GitHub Secrets and injected as env vars\n * with the `WILDO_SECRET_` prefix. This adapter reads them from `process.env`\n * (or a provided record) and reconstructs the structured object that\n * `PlatformEnvVarsBuilder` and `generateK8sSecrets()` expect.\n *\n * Provider secrets use the protocol-aware convention\n * `WILDO_SECRET_PROVIDER_ENV_<ENV_VAR_NAME>`.\n *\n * System-of-record secrets use the same shape one prefix over:\n * `WILDO_SECRET_SYSTEMS_OF_RECORD_ENV_WILDO_SOR_<NAME>__<SLOT>`. The double name is not redundancy —\n * the outer prefix says which SECTION the value belongs to and the inner one is the variable the\n * runtime is handed.\n *\n * @throws {ZodError} if the reconstructed object doesn't pass schema validation\n */\nexport function reconstructSecretsFromEnv(\n env: Record<string, string | undefined> = process.env,\n): PlatformEnvSecretsJson {\n const raw: Record<string, unknown> = {};\n\n for (const [suffix, dotPath] of FIXED_MAPPINGS) {\n const envKey = `${PREFIX}${suffix}`;\n const value = env[envKey];\n if (value !== undefined && value !== '') {\n setNestedValue(raw, dotPath, normalizePotentialMultilineSecret(suffix, value));\n }\n }\n\n const providerEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(PROVIDER_ENV_PREFIX) && value) {\n const envVarName = key.slice(PROVIDER_ENV_PREFIX.length);\n providerEnv[envVarName] = normalizePotentialMultilineSecret(envVarName, value);\n }\n }\n if (Object.keys(providerEnv).length > 0) {\n raw.providerEnv = providerEnv;\n }\n\n const systemsOfRecordEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(SYSTEMS_OF_RECORD_ENV_PREFIX) && value) {\n const envVarName = key.slice(SYSTEMS_OF_RECORD_ENV_PREFIX.length);\n systemsOfRecordEnv[envVarName] = normalizePotentialMultilineSecret(envVarName, value);\n }\n }\n if (Object.keys(systemsOfRecordEnv).length > 0) {\n raw.systemsOfRecordEnv = systemsOfRecordEnv;\n }\n\n const inboundEndpointEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(INBOUND_ENDPOINT_ENV_PREFIX) && value) {\n inboundEndpointEnv[key.slice(INBOUND_ENDPOINT_ENV_PREFIX.length)] = value;\n }\n }\n if (Object.keys(inboundEndpointEnv).length > 0) {\n raw.inboundEndpointEnv = inboundEndpointEnv;\n }\n\n return PlatformEnvSecretsJson_Schema.parse(raw);\n}\n\n/**\n * Is this secrets path optional according to `PlatformEnvSecretsJson_Schema`?\n *\n * ## Why it is ASKED rather than listed\n *\n * The list this replaced described itself as \"suffixes that map to `.optional()` sections in\n * `PlatformEnvSecretsJson_Schema`\" — i.e. it was already a hand-kept restatement of an answer the\n * schema gives, one file away, and it had no way to notice a section flipping optional. Asking the\n * schema reproduces every one of its nine entries and extends for free to the three materials it\n * never knew about, all of which are `.optional()` branches: `platform.crontabsBatchesManager`,\n * `immudb` and `mongot`.\n *\n * That answer is also what makes adding them SAFE. A pipeline that is green today declares none of\n * the three; classifying them REQUIRED would have made the generated workflow demand three GitHub\n * Secrets that no existing repository has. Optional is not a hedge here — it is what the schema\n * already says, and `reconstructSecretsFromEnv` parses a payload without them today.\n *\n * A path the schema does not describe THROWS rather than defaulting either way: that means the\n * registry and the schema have drifted, and guessing would put a material into a pipeline under a\n * name nothing will ever read back.\n */\nfunction isOptionalSecretPath(dotPath: string): boolean {\n let node: z.ZodType = PlatformEnvSecretsJson_Schema;\n let optional = false;\n\n for (const segment of dotPath.split('.')) {\n // Unwrap every optional/nullable/default wrapper before looking for a shape: optionality\n // ANYWHERE on the path makes the leaf optional, because the whole branch may be absent.\n while (node.def.type === 'optional' || node.def.type === 'nullable' || node.def.type === 'default') {\n optional = true;\n node = (node.def as unknown as { innerType: z.ZodType }).innerType;\n }\n\n if (node.def.type !== 'object') {\n throw new Error(\n `Secrets path '${dotPath}' is not describable by PlatformEnvSecretsJson_Schema: `\n + `'${segment}' has no object to look in. The secret registry and the schema have drifted.`,\n );\n }\n\n const next = (node as z.ZodObject<Record<string, z.ZodType>>).shape[segment];\n if (!next) {\n throw new Error(\n `Secrets path '${dotPath}' is not declared by PlatformEnvSecretsJson_Schema (missing '${segment}'). `\n + `The secret registry and the schema have drifted.`,\n );\n }\n node = next;\n }\n\n return optional || node.def.type === 'optional';\n}\n\n/**\n * Returns the list of env var names that a CI pipeline should configure\n * as GitHub Secrets. Consumed by `wildo config sync --domain cicd` (via\n * `ci-workflow-generator.service.ts:buildSecretsEnvBlock`) to inject the\n * `${{ secrets.X }}` env block into the generated deploy workflows.\n *\n * The fixed mappings come first, then every application secret under its kind's prefix — the SAME name\n * `reconstructSecretsFromEnv` reads back into that kind's section, so a secret the job receives lands where the\n * env builder looks for it (#1650). A name listed twice is forwarded once, required if either listing says so.\n */\nexport function getRequiredCiSecretEnvVars(\n applicationSecretKeys: readonly ApplicationCiSecretKey[] = [],\n): { required: string[]; optional: string[] } {\n const required = FIXED_MAPPINGS\n .filter(([, dotPath]) => !isOptionalSecretPath(dotPath))\n .map(([suffix]) => `${PREFIX}${suffix}`);\n\n const optional = FIXED_MAPPINGS\n .filter(([, dotPath]) => isOptionalSecretPath(dotPath))\n .map(([suffix]) => `${PREFIX}${suffix}`);\n\n const applicationRequired = new Map<string, boolean>();\n for (const entry of applicationSecretKeys) {\n const ciName = applicationSecretCiSecretName(entry.kind, entry.envVarName);\n applicationRequired.set(ciName, applicationRequired.get(ciName) === true || entry.required === true);\n }\n for (const [ciName, isRequired] of applicationRequired) {\n (isRequired ? required : optional).push(ciName);\n }\n\n return { required, optional };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ci-secrets-adapter.service.js","sourceRoot":"","sources":["../../../../src/services/credentials/ci-secrets-adapter.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAA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,CAAC,OAAO,CAAC,CAAC;SACtD,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAE3C,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAmB,CAAC;IACvD,KAAK,MAAM,KAAK,IAAI,qBAAqB,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,6BAA6B,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAC3E,mBAAmB,CAAC,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;IACvG,CAAC;IACD,KAAK,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,mBAAmB,EAAE,CAAC;QACvD,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAChC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { ApplicationSecretKind } from '@wildo-ai/platform-core-shared';\n\nimport { PlatformEnvSecretsJson_Schema } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FRAMEWORK_MANAGED_SECRET_MATERIALS, carriedKeysOf } from '~wildo-cli/services/credentials/framework-managed-secrets';\n\n/**\n * Prefix for all CI secret env vars.\n * GitHub Secrets are mapped to `WILDO_SECRET_*` env vars in the workflow.\n */\nconst PREFIX = 'WILDO_SECRET_';\n\n/**\n * `secrets.json` paths an OPERATOR types — the only half of the mapping that can legitimately be\n * hand-listed here, because no registry owns them.\n *\n * Everything else is FRAMEWORK-GENERATED material and is derived from\n * {@link FRAMEWORK_MANAGED_SECRET_MATERIALS} below. The admin IDENTITY fields are here while\n * `admin.password` is not, mirroring the registry's own split: the framework mints the password when\n * the operator does not supply one, and never invents an identity.\n */\nconst OPERATOR_TYPED_SECRET_PATHS: readonly string[] = [\n 'admin.email',\n 'admin.firstName',\n 'admin.lastName',\n /*\n * The SECOND administrator, who approves an application-wide access grant (#575).\n *\n * All four, INCLUDING the password, unlike the first administrator. The password is here rather\n * than derived from the registry because the approver block is `.optional()` and a framework-\n * managed key must always exist after provisioning — so `ADMIN_PASSWORD` fills the approver's\n * password without declaring it. Remotely it is operator-typed anyway, which is exactly what this\n * list is for.\n *\n * A CI-reconstructed `secrets.json` missing these rebuilds a platform with ONE administrator —\n * a platform whose widest read refuses for want of anybody able to approve the grant.\n */\n 'approver.email',\n 'approver.firstName',\n 'approver.lastName',\n 'approver.password',\n 'atlas.apiPublicKey',\n 'atlas.apiPrivateKey',\n 'github.orgUrl',\n 'github.adminUser',\n 'github.adminToken',\n];\n\n/**\n * `mongodb.rootUser` → `MONGODB_ROOT_USER`.\n *\n * The env-var name is DERIVED from the secrets path rather than paired with it by hand, and every\n * one of the 16 framework-managed suffixes this replaced comes back byte-identical — which is what\n * makes the derivation admissible rather than a rename disguised as a refactor (pinned in\n * `ci-secrets-mapping.test.ts`).\n */\nfunction envVarSuffixForSecretPath(dotPath: string): string {\n return dotPath\n .split('.')\n .map((segment) => segment.replace(/([a-z0-9])([A-Z])/g, '$1_$2').toUpperCase())\n .join('_');\n}\n\n/**\n * Mapping from flat env var suffixes to the structured `PlatformEnvSecretsJson` paths.\n * Each entry is `[ENV_VAR_SUFFIX, dotPath]`.\n *\n * ## Why this is derived and no longer written out\n *\n * This was a hand-kept list restating a population {@link FRAMEWORK_MANAGED_SECRET_MATERIALS} owns,\n * with no mechanical link to it — and it had drifted by THREE materials: the\n * crontabs-batches-manager signing keypair, the immudb state-signing keypair and the mongot\n * sync-source credential. Each is minted on a developer machine and each was silently absent from a\n * CI-reconstructed `secrets.json`, so a pipeline-built deployment ran with the exact degradations\n * those materials exist to prevent: crontabs signing every scheduled tick with a fallback key,\n * immudb running without `--signingKey`, and mongot with no credential to authenticate to mongod.\n *\n * Deriving it means a material added to the registry tomorrow is a GitHub Secret the generated\n * workflow asks for, with no second edit to remember. The registry is itself compile-time-asserted\n * total over `FrameworkManagedSecretMaterialRef`, so the chain has no hand-maintained link left in\n * it. Identity keys are included alongside secret keys because CI must reconstruct the WHOLE\n * material — a password whose username never arrived is not a credential.\n */\nconst FIXED_MAPPINGS: ReadonlyArray<readonly [string, string]> = [\n ...FRAMEWORK_MANAGED_SECRET_MATERIALS.flatMap(\n (material) => [...material.identityKeys, ...material.secretKeys, ...carriedKeysOf(material)],\n ),\n ...OPERATOR_TYPED_SECRET_PATHS,\n].map((dotPath) => [envVarSuffixForSecretPath(dotPath), dotPath] as const);\n\n/** Protocol-aware provider env var prefix: `WILDO_SECRET_PROVIDER_ENV_<ENV_VAR_NAME>` */\nconst PROVIDER_ENV_PREFIX = `${PREFIX}PROVIDER_ENV_`;\n\n/**\n * System-of-record credentials (#1055). A third prefix scan rather than a row in the fixed table,\n * for the same reason as `providerEnv` one line up: the key space is open — one key per declared\n * instance per secret slot — and the fixed table's path walker cannot express a `z.record` node.\n * The instance and slot are recovered by parsing the variable name, which the `__` delimiter makes\n * unambiguous.\n */\nconst SYSTEMS_OF_RECORD_ENV_PREFIX = `${PREFIX}SYSTEMS_OF_RECORD_ENV_`;\n\n/**\n * Inbound endpoint secrets (#1596), one prefix over again:\n * `WILDO_SECRET_INBOUND_ENDPOINT_ENV_WILDO_INBOUND_<ENDPOINT_KEY>__SECRET`. Open key space, like the two above.\n */\nconst INBOUND_ENDPOINT_ENV_PREFIX = `${PREFIX}INBOUND_ENDPOINT_ENV_`;\n\n/** The GitHub Actions secret prefix each kind of application secret travels under — one per `secrets.json` section. */\nconst APPLICATION_SECRET_CI_PREFIXES: Readonly<Record<ApplicationSecretKind, string>> = {\n [ApplicationSecretKind.PROVIDER]: PROVIDER_ENV_PREFIX,\n [ApplicationSecretKind.SYSTEM_OF_RECORD]: SYSTEMS_OF_RECORD_ENV_PREFIX,\n [ApplicationSecretKind.INBOUND_ENDPOINT]: INBOUND_ENDPOINT_ENV_PREFIX,\n};\n\n/**\n * The GitHub Actions secret an application secret travels as — what the generated deploy workflow reads\n * and what `wildo secrets set --env <remote>` writes. One function, so the writer and the reader cannot\n * spell it differently, and it uses the same prefixes {@link reconstructSecretsFromEnv} scans.\n */\nexport function applicationSecretCiSecretName(kind: ApplicationSecretKind, envVarName: string): string {\n return `${APPLICATION_SECRET_CI_PREFIXES[kind]}${envVarName}`;\n}\n\n/**\n * Which application secret a GitHub secret carries, or `null` for any other secret. The three prefixes do\n * not prefix one another, so at most one matches.\n */\nexport function applicationSecretFromCiSecretName(ciSecretName: string): { readonly kind: ApplicationSecretKind; readonly envVarName: string } | null {\n for (const [kind, prefix] of Object.entries(APPLICATION_SECRET_CI_PREFIXES) as Array<[ApplicationSecretKind, string]>) {\n if (ciSecretName.startsWith(prefix) && ciSecretName.length > prefix.length) return { kind, envVarName: ciSecretName.slice(prefix.length) };\n }\n return null;\n}\n\n/**\n * One application secret a deploy workflow forwards to its job: WHICH `secrets.json` section it belongs to, the\n * variable the runtime is handed, and whether the deploy needs it. `required` only decides where the line sits in\n * the generated block; every listed secret is forwarded the same way.\n */\nexport interface ApplicationCiSecretKey {\n readonly kind: ApplicationSecretKind;\n readonly envVarName: string;\n readonly required?: boolean;\n}\n\n/**\n * One PEM block, `-----BEGIN <label>-----<body>-----END <label>-----`. The body is captured whole so\n * {@link rewrapFlattenedPemBlocks} can tell a flattened block from a wrapped one.\n */\nconst PEM_BLOCK_PATTERN = /-----BEGIN ([A-Z0-9 ]+)-----([\\s\\S]*?)-----END \\1-----/g;\n\n/**\n * Restores the line breaks of a PEM block that arrived with NONE, and leaves every other block as it is.\n *\n * A single-line input drops the line breaks of whatever is pasted into it: a masked terminal prompt, or a\n * `text`/`password` form field (HTML value sanitization). The workbench's secret field was such a field\n * until 2026-09-26, and a key file pasted into it reached `secrets.json` as one run of characters no\n * parser reads, with nothing saying so. It is a multi-line box now; the repair stays for every other door.\n *\n * Rebuilding is exact, not a guess: textual encoding permits no headers inside a block and fixes the line\n * width, so the body is base64 alone and its wrapping follows from its length.\n * spec-cite: RFC 7468 §2 — \"Generators MUST wrap the base64-encoded lines so that each line consists of\n * exactly 64 characters except for the final line\"; textual encoding does \"not define or permit headers\".\n *\n * Only a block whose body holds no line break is touched, so a key that arrived intact is byte-identical,\n * whatever width it was wrapped at. A body carrying anything besides base64 and spaces (a legacy PEM's\n * `Proc-Type:` header) is left alone: it cannot be re-wrapped safely, so it is not re-wrapped.\n */\nfunction rewrapFlattenedPemBlocks(value: string): string {\n const rewrapped = value.replace(PEM_BLOCK_PATTERN, (block, label: string, body: string) => {\n if (/[\\r\\n]/.test(body)) return block;\n const base64 = body.replace(/ +/g, '');\n if (base64.length === 0 || !/^[A-Za-z0-9+/]+=*$/.test(base64)) return block;\n const lines = base64.match(/.{1,64}/g) ?? [];\n return [`-----BEGIN ${label}-----`, ...lines, `-----END ${label}-----`].join('\\n');\n });\n /*\n * A bundle (a certificate chain, a key with its certificate) flattened the same way leaves one block's\n * END touching the next block's BEGIN. That is never valid PEM (OpenSSL: \"bad end line\"), so they are\n * separated; a bundle that arrived intact already has its line break and is not touched.\n */\n return rewrapped.replace(/(-----END [A-Z0-9 ]+-----)[ \\t]*(-----BEGIN )/g, '$1\\n$2');\n}\n\n/**\n * The value a key holding a PEM should carry, given how it arrived. Two shapes are repaired: literal `\\n`\n * escapes (a one-line GitHub secret, a one-line terminal paste), and a block whose line breaks were lost\n * altogether (a paste into a single-line input). The local and remote lanes both read a value through\n * here, so a runtime receives the same bytes from either.\n */\nexport function normalizePotentialMultilineSecret(key: string, value: string): string {\n if (!/(PRIVATE_KEY|PUBLIC_KEY|PEM|CERTIFICATE)/.test(key)) {\n return value;\n }\n return rewrapFlattenedPemBlocks(value.replace(/\\\\n/g, '\\n'));\n}\n\nfunction setNestedValue(obj: Record<string, unknown>, dotPath: string, value: string): void {\n const parts = dotPath.split('.');\n let current = obj;\n for (let i = 0; i < parts.length - 1; i++) {\n const key = parts[i];\n if (!(key in current) || typeof current[key] !== 'object' || current[key] === null) {\n current[key] = {};\n }\n current = current[key] as Record<string, unknown>;\n }\n current[parts[parts.length - 1]] = value;\n}\n\n/**\n * Reconstructs a `PlatformEnvSecretsJson` from flat environment variables.\n *\n * In CI, secrets are stored in GitHub Secrets and injected as env vars\n * with the `WILDO_SECRET_` prefix. This adapter reads them from `process.env`\n * (or a provided record) and reconstructs the structured object that\n * `PlatformEnvVarsBuilder` and `generateK8sSecrets()` expect.\n *\n * Provider secrets use the protocol-aware convention\n * `WILDO_SECRET_PROVIDER_ENV_<ENV_VAR_NAME>`.\n *\n * System-of-record secrets use the same shape one prefix over:\n * `WILDO_SECRET_SYSTEMS_OF_RECORD_ENV_WILDO_SOR_<NAME>__<SLOT>`. The double name is not redundancy —\n * the outer prefix says which SECTION the value belongs to and the inner one is the variable the\n * runtime is handed.\n *\n * @throws {ZodError} if the reconstructed object doesn't pass schema validation\n */\nexport function reconstructSecretsFromEnv(\n env: Record<string, string | undefined> = process.env,\n): PlatformEnvSecretsJson {\n const raw: Record<string, unknown> = {};\n\n for (const [suffix, dotPath] of FIXED_MAPPINGS) {\n const envKey = `${PREFIX}${suffix}`;\n const value = env[envKey];\n if (value !== undefined && value !== '') {\n setNestedValue(raw, dotPath, normalizePotentialMultilineSecret(suffix, value));\n }\n }\n\n const providerEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(PROVIDER_ENV_PREFIX) && value) {\n const envVarName = key.slice(PROVIDER_ENV_PREFIX.length);\n providerEnv[envVarName] = normalizePotentialMultilineSecret(envVarName, value);\n }\n }\n if (Object.keys(providerEnv).length > 0) {\n raw.providerEnv = providerEnv;\n }\n\n const systemsOfRecordEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(SYSTEMS_OF_RECORD_ENV_PREFIX) && value) {\n const envVarName = key.slice(SYSTEMS_OF_RECORD_ENV_PREFIX.length);\n systemsOfRecordEnv[envVarName] = normalizePotentialMultilineSecret(envVarName, value);\n }\n }\n if (Object.keys(systemsOfRecordEnv).length > 0) {\n raw.systemsOfRecordEnv = systemsOfRecordEnv;\n }\n\n const inboundEndpointEnv: Record<string, string> = {};\n for (const [key, value] of Object.entries(env)) {\n if (key.startsWith(INBOUND_ENDPOINT_ENV_PREFIX) && value) {\n inboundEndpointEnv[key.slice(INBOUND_ENDPOINT_ENV_PREFIX.length)] = value;\n }\n }\n if (Object.keys(inboundEndpointEnv).length > 0) {\n raw.inboundEndpointEnv = inboundEndpointEnv;\n }\n\n return PlatformEnvSecretsJson_Schema.parse(raw);\n}\n\n/**\n * Is this secrets path optional according to `PlatformEnvSecretsJson_Schema`?\n *\n * ## Why it is ASKED rather than listed\n *\n * The list this replaced described itself as \"suffixes that map to `.optional()` sections in\n * `PlatformEnvSecretsJson_Schema`\" — i.e. it was already a hand-kept restatement of an answer the\n * schema gives, one file away, and it had no way to notice a section flipping optional. Asking the\n * schema reproduces every one of its nine entries and extends for free to the three materials it\n * never knew about, all of which are `.optional()` branches: `platform.crontabsBatchesManager`,\n * `immudb` and `mongot`.\n *\n * That answer is also what makes adding them SAFE. A pipeline that is green today declares none of\n * the three; classifying them REQUIRED would have made the generated workflow demand three GitHub\n * Secrets that no existing repository has. Optional is not a hedge here — it is what the schema\n * already says, and `reconstructSecretsFromEnv` parses a payload without them today.\n *\n * A path the schema does not describe THROWS rather than defaulting either way: that means the\n * registry and the schema have drifted, and guessing would put a material into a pipeline under a\n * name nothing will ever read back.\n */\nfunction isOptionalSecretPath(dotPath: string): boolean {\n let node: z.ZodType = PlatformEnvSecretsJson_Schema;\n let optional = false;\n\n for (const segment of dotPath.split('.')) {\n // Unwrap every optional/nullable/default wrapper before looking for a shape: optionality\n // ANYWHERE on the path makes the leaf optional, because the whole branch may be absent.\n while (node.def.type === 'optional' || node.def.type === 'nullable' || node.def.type === 'default') {\n optional = true;\n node = (node.def as unknown as { innerType: z.ZodType }).innerType;\n }\n\n if (node.def.type !== 'object') {\n throw new Error(\n `Secrets path '${dotPath}' is not describable by PlatformEnvSecretsJson_Schema: `\n + `'${segment}' has no object to look in. The secret registry and the schema have drifted.`,\n );\n }\n\n const next = (node as z.ZodObject<Record<string, z.ZodType>>).shape[segment];\n if (!next) {\n throw new Error(\n `Secrets path '${dotPath}' is not declared by PlatformEnvSecretsJson_Schema (missing '${segment}'). `\n + `The secret registry and the schema have drifted.`,\n );\n }\n node = next;\n }\n\n return optional || node.def.type === 'optional';\n}\n\n/**\n * Returns the list of env var names that a CI pipeline should configure\n * as GitHub Secrets. Consumed by `wildo config sync --domain cicd` (via\n * `ci-workflow-generator.service.ts:buildSecretsEnvBlock`) to inject the\n * `${{ secrets.X }}` env block into the generated deploy workflows.\n *\n * The fixed mappings come first, then every application secret under its kind's prefix — the SAME name\n * `reconstructSecretsFromEnv` reads back into that kind's section, so a secret the job receives lands where the\n * env builder looks for it (#1650). A name listed twice is forwarded once, required if either listing says so.\n */\nexport function getRequiredCiSecretEnvVars(\n applicationSecretKeys: readonly ApplicationCiSecretKey[] = [],\n): { required: string[]; optional: string[] } {\n const required = FIXED_MAPPINGS\n .filter(([, dotPath]) => !isOptionalSecretPath(dotPath))\n .map(([suffix]) => `${PREFIX}${suffix}`);\n\n const optional = FIXED_MAPPINGS\n .filter(([, dotPath]) => isOptionalSecretPath(dotPath))\n .map(([suffix]) => `${PREFIX}${suffix}`);\n\n const applicationRequired = new Map<string, boolean>();\n for (const entry of applicationSecretKeys) {\n const ciName = applicationSecretCiSecretName(entry.kind, entry.envVarName);\n applicationRequired.set(ciName, applicationRequired.get(ciName) === true || entry.required === true);\n }\n for (const [ciName, isRequired] of applicationRequired) {\n (isRequired ? required : optional).push(ciName);\n }\n\n return { required, optional };\n}\n"]}
|
|
@@ -122,6 +122,21 @@ export interface ProviderSecretsCatalogueEntry {
|
|
|
122
122
|
*/
|
|
123
123
|
otlpAuth?: BackendProviderModule['otlpAuth'];
|
|
124
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* A contribution that names a ref the ENGINE tier already owns and does not come from the engine (#3243).
|
|
127
|
+
*
|
|
128
|
+
* The contribution is ignored either way (the engine tier is the floor). What this records is the case worth telling
|
|
129
|
+
* someone about: a package or an application module that claims an engine provider's ref, so whatever it declares
|
|
130
|
+
* (secret slots, capabilities) is silently not what the CLI uses.
|
|
131
|
+
*/
|
|
132
|
+
export interface ContributionShadowingEngineProvider {
|
|
133
|
+
/** The engine provider's ref the contribution claims. */
|
|
134
|
+
readonly providerRef: string;
|
|
135
|
+
/** The package the contribution says it comes from, when its identity names one. */
|
|
136
|
+
readonly declaredPackageName?: string;
|
|
137
|
+
/** The package root discovery read it from, when the caller was discovery (it carries the owner). */
|
|
138
|
+
readonly ownerPackageRoot?: string;
|
|
139
|
+
}
|
|
125
140
|
/**
|
|
126
141
|
* Register provider contributions discovered outside the engine registry.
|
|
127
142
|
*
|
|
@@ -130,11 +145,47 @@ export interface ProviderSecretsCatalogueEntry {
|
|
|
130
145
|
* ref: registering the same ref twice replaces the entry rather than duplicating it, so a
|
|
131
146
|
* re-run of discovery is safe.
|
|
132
147
|
*
|
|
133
|
-
* A ref that the ENGINE already ships is ignored, deliberately
|
|
134
|
-
*
|
|
135
|
-
*
|
|
148
|
+
* A ref that the ENGINE already ships is ignored, deliberately: the engine tier is the floor, and a package silently
|
|
149
|
+
* shadowing an engine provider's secret contract is exactly the substitution this layer must not perform.
|
|
150
|
+
*
|
|
151
|
+
* ## Ignored, and said only when someone shadows (#3243)
|
|
152
|
+
*
|
|
153
|
+
* This used to print one `[provider-catalogue] … is ignored` line per collision on stderr, in EVERY process. Every
|
|
154
|
+
* application collides on every engine provider, because discovery admits the engine's own provider barrel
|
|
155
|
+
* (`@wildo-ai/external-connectors-private/companion`, #358) and every frontend re-exports the engine's frontend
|
|
156
|
+
* contributions: so each `wildo` verb in app-creation-test-007 began with 19 such lines, for anthropic … twilio,
|
|
157
|
+
* none of which anybody had overridden. Agents had to `grep -v` every call.
|
|
158
|
+
*
|
|
159
|
+
* A collision is silent only when the contribution IS the engine's own, judged by COMPARISON
|
|
160
|
+
* ({@link isEngineOwnContribution}), never by what the contribution says about itself: an override built by spreading
|
|
161
|
+
* the engine's contribution and changing its secrets contract still declares origin ENGINE and tier MAIN, and is
|
|
162
|
+
* exactly the case worth reporting. Every other collision is recorded, never printed here: `wildo local doctor` and
|
|
163
|
+
* the `wildo local dev` preflight report it once (`checkProviderContributionsShadowingEngine`), naming the provider
|
|
164
|
+
* and where the contribution came from. Printing it here put it on every verb, which is how the real case became
|
|
165
|
+
* noise nobody read.
|
|
136
166
|
*/
|
|
137
167
|
export declare function registerDiscoveredProviderContributions(contributions: readonly ProviderCompanionContribution[]): void;
|
|
168
|
+
/**
|
|
169
|
+
* Whether a contribution colliding with an engine provider's ref is the engine's OWN record, so ignoring it loses
|
|
170
|
+
* nothing (#3243). Decided by comparison, never by the contribution's declared origin, which an override keeps.
|
|
171
|
+
*
|
|
172
|
+
* - **A backend facet** (any runtime target outside a frontend service) must equal the engine barrel's contribution
|
|
173
|
+
* for that ref (`engineBackendProviderContributions`) on every field it carries (identity, capabilities, protocols,
|
|
174
|
+
* the secrets-contract shape and its protocol slots, the compliance profile), the fields discovery writes excepted.
|
|
175
|
+
* - **A frontend facet** (every target a frontend service): the engine's frontend contributions declare no secret slot
|
|
176
|
+
* and no OTLP auth (a browser-safe provider owns no server secret), and those are the only fields this catalogue
|
|
177
|
+
* would take from it. So it is the engine's own when it declares neither; one that does declares a secrets contract
|
|
178
|
+
* the catalogue ignores, which is a shadow. Its browser fields are the frontend runtime's to compose, not this
|
|
179
|
+
* layer's, and the CLI does not load the frontend provider registries.
|
|
180
|
+
*/
|
|
181
|
+
export declare function isEngineOwnContribution(contribution: ProviderCompanionContribution): boolean;
|
|
182
|
+
/**
|
|
183
|
+
* The non-engine contributions this process registered that claim an engine provider's ref, sorted by ref (#3243).
|
|
184
|
+
*
|
|
185
|
+
* Empty until discovery ran ({@link resolveAndRegisterSaasProviderContributions}); the reporting check runs discovery
|
|
186
|
+
* first for that reason.
|
|
187
|
+
*/
|
|
188
|
+
export declare function listContributionsShadowingEngineProviders(): ContributionShadowingEngineProvider[];
|
|
138
189
|
/**
|
|
139
190
|
* Discover an application's provider contributions AND register them, as one step.
|
|
140
191
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composed-provider-catalogue.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"composed-provider-catalogue.d.ts","sourceRoot":"","sources":["../../../../src/services/credentials/composed-provider-catalogue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC3B,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAGL,KAAK,8BAA8B,EACnC,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAE3E;;;;;;;;;;GAUG;AACH,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC,CAAC;AAE/F,+FAA+F;AAC/F,MAAM,WAAW,uBAAuB;IACtC,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,IAAI,CAAC;CACxB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,MAAM,CAAC;I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