@wildo-ai/wildo-cli 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/wildo.d.ts.map +1 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +5 -3
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
- package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
- package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
- package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
- package/dist/src/commands/assurance/report.command.d.ts +14 -0
- package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/report.command.js +28 -0
- package/dist/src/commands/assurance/report.command.js.map +1 -0
- package/dist/src/commands/assurance/run.command.d.ts +16 -0
- package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/run.command.js +49 -0
- package/dist/src/commands/assurance/run.command.js.map +1 -0
- package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
- package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
- package/dist/src/commands/assurance/schedule.command.js +49 -0
- package/dist/src/commands/assurance/schedule.command.js.map +1 -0
- package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/pack.command.js.map +1 -1
- package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/publish.command.js.map +1 -1
- package/dist/src/commands/blueprint/status.command.d.ts.map +1 -1
- package/dist/src/commands/blueprint/status.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/accept.command.d.ts +4 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -1
- package/dist/src/commands/build/accept.command.js +10 -1
- package/dist/src/commands/build/accept.command.js.map +1 -1
- package/dist/src/commands/build/approve.command.d.ts +18 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -0
- package/dist/src/commands/build/approve.command.js +45 -0
- package/dist/src/commands/build/approve.command.js.map +1 -0
- package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
- package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
- package/dist/src/commands/build/checkpoint.command.js +36 -0
- package/dist/src/commands/build/checkpoint.command.js.map +1 -0
- package/dist/src/commands/build/close.command.d.ts +26 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -0
- package/dist/src/commands/build/close.command.js +58 -0
- package/dist/src/commands/build/close.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
- package/dist/src/commands/build/dispatches.command.js +10 -9
- package/dist/src/commands/build/dispatches.command.js.map +1 -1
- package/dist/src/commands/build/next.command.d.ts.map +1 -1
- package/dist/src/commands/build/next.command.js +6 -1
- package/dist/src/commands/build/next.command.js.map +1 -1
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
- package/dist/src/commands/build/rearm.command.js.map +1 -1
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/build/settle-window.command.d.ts +17 -0
- package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
- package/dist/src/commands/build/settle-window.command.js +42 -0
- package/dist/src/commands/build/settle-window.command.js.map +1 -0
- package/dist/src/commands/build/stop.command.d.ts +23 -0
- package/dist/src/commands/build/stop.command.d.ts.map +1 -0
- package/dist/src/commands/build/stop.command.js +52 -0
- package/dist/src/commands/build/stop.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
- package/dist/src/commands/build/tasks.command.js.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/check-resources.command.d.ts +20 -6
- package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
- package/dist/src/commands/config/check-resources.command.js +33 -12
- package/dist/src/commands/config/check-resources.command.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
- package/dist/src/commands/config/data-retention.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts +3 -0
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +3 -0
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
- package/dist/src/commands/config/legal-notice.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
- package/dist/src/commands/config/service-consent.command.js.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +4 -3
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +51 -17
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +10 -10
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/elements.command.d.ts +4 -2
- package/dist/src/commands/context/elements.command.d.ts.map +1 -1
- package/dist/src/commands/context/elements.command.js +4 -2
- package/dist/src/commands/context/elements.command.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +33 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +186 -34
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +4 -2
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.js +6 -4
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
- package/dist/src/commands/context/pipelines.command.js.map +1 -1
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
- package/dist/src/commands/creation/accept.command.js.map +1 -1
- package/dist/src/commands/creation/answer.command.d.ts +12 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +69 -2
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
- package/dist/src/commands/creation/brief.command.d.ts +10 -3
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
- package/dist/src/commands/creation/brief.command.js +22 -7
- package/dist/src/commands/creation/brief.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
- package/dist/src/commands/creation/depth.command.js.map +1 -1
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
- package/dist/src/commands/creation/diff.command.js.map +1 -1
- package/dist/src/commands/creation/drive.command.d.ts +19 -0
- package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
- package/dist/src/commands/creation/drive.command.js +112 -0
- package/dist/src/commands/creation/drive.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +11 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +75 -1
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/creation/loop.command.d.ts +6 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +16 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
- package/dist/src/commands/creation/persona.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
- package/dist/src/commands/creation/preflight.command.js.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
- package/dist/src/commands/creation/prompt-hook.command.js +7 -3
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
- package/dist/src/commands/creation/propose.command.js.map +1 -1
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
- package/dist/src/commands/creation/pulse.command.js.map +1 -1
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +13 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -1
- package/dist/src/commands/creation/reason.command.js.map +1 -1
- package/dist/src/commands/creation/report.command.d.ts.map +1 -1
- package/dist/src/commands/creation/report.command.js +12 -0
- package/dist/src/commands/creation/report.command.js.map +1 -1
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
- package/dist/src/commands/creation/revert.command.js +2 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -1
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
- package/dist/src/commands/creation/statusline.command.js.map +1 -1
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
- package/dist/src/commands/creation/watch.command.js.map +1 -1
- package/dist/src/commands/creation/why.command.d.ts.map +1 -1
- package/dist/src/commands/creation/why.command.js +14 -9
- package/dist/src/commands/creation/why.command.js.map +1 -1
- package/dist/src/commands/creation/writes.command.d.ts +7 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
- package/dist/src/commands/creation/writes.command.js +21 -6
- package/dist/src/commands/creation/writes.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +2 -2
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.js +2 -2
- package/dist/src/commands/db/diff.command.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts +2 -3
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -3
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.js +9 -1
- package/dist/src/commands/db/migrate.command.js.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.js.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/stop-all.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/check.command.d.ts.map +1 -1
- package/dist/src/commands/docs/check.command.js +12 -0
- package/dist/src/commands/docs/check.command.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/look.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/look.command.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/audit.command.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +20 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js +2 -1
- package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +2 -2
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts +1 -1
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/graph.command.js +1 -1
- package/dist/src/commands/fwk/graph.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +53 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +345 -12
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js +9 -0
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.js +15 -4
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-promote.command.js +32 -11
- package/dist/src/commands/fwk/publish-promote.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-providers.command.js +8 -0
- package/dist/src/commands/fwk/publish-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
- package/dist/src/commands/fwk/release.command.d.ts +22 -0
- package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/release.command.js +216 -0
- package/dist/src/commands/fwk/release.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.js.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts +15 -2
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +20 -7
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-preview.command.js.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.js +2 -2
- package/dist/src/commands/generate/email-status.command.js.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.js +2 -2
- package/dist/src/commands/generate/email-translate.command.js.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.js +2 -2
- package/dist/src/commands/generate/email.command.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +110 -12
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +5 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +9 -3
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +11 -3
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +73 -27
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
- package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
- package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
- package/dist/src/commands/keys/rotate.command.d.ts.map +1 -1
- package/dist/src/commands/keys/rotate.command.js.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -1
- package/dist/src/commands/keys/thumbprint.command.js.map +1 -1
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
- package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
- package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts +16 -4
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev-status.command.js +50 -6
- package/dist/src/commands/local/dev-status.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +80 -5
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +273 -19
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +22 -9
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +59 -43
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/down.command.js +1 -2
- package/dist/src/commands/local/down.command.js.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/logs.command.js.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.js.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
- package/dist/src/commands/local/smoke.command.js +1 -1
- package/dist/src/commands/local/smoke.command.js.map +1 -1
- package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
- package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-addresses.command.js +65 -0
- package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
- package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
- package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/sor-command.utils.js +28 -0
- package/dist/src/commands/local/sor-command.utils.js.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
- package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-secrets.command.js +75 -0
- package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
- package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
- package/dist/src/commands/local/sor-simulators.command.js +55 -0
- package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.js.map +1 -1
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts +7 -7
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +11 -11
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/application-connection-session.utils.d.ts +9 -0
- package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
- package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
- package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
- package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js +2 -1
- package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -1
- package/dist/src/commands/providers/connect.command.d.ts +19 -0
- package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connect.command.js +257 -0
- package/dist/src/commands/providers/connect.command.js.map +1 -0
- package/dist/src/commands/providers/connections.command.d.ts +14 -0
- package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
- package/dist/src/commands/providers/connections.command.js +74 -0
- package/dist/src/commands/providers/connections.command.js.map +1 -0
- package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
- package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
- package/dist/src/commands/providers/disconnect.command.js +91 -0
- package/dist/src/commands/providers/disconnect.command.js.map +1 -0
- package/dist/src/commands/providers/new.command.d.ts.map +1 -1
- package/dist/src/commands/providers/new.command.js +2 -2
- package/dist/src/commands/providers/new.command.js.map +1 -1
- package/dist/src/commands/providers/probe.command.d.ts +0 -1
- package/dist/src/commands/providers/probe.command.d.ts.map +1 -1
- package/dist/src/commands/providers/probe.command.js +31 -31
- package/dist/src/commands/providers/probe.command.js.map +1 -1
- package/dist/src/commands/providers/prove.command.d.ts +16 -0
- package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
- package/dist/src/commands/providers/prove.command.js +174 -0
- package/dist/src/commands/providers/prove.command.js.map +1 -0
- package/dist/src/commands/providers/register.command.d.ts.map +1 -1
- package/dist/src/commands/providers/register.command.js +45 -10
- package/dist/src/commands/providers/register.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/domain.command.d.ts.map +1 -1
- package/dist/src/commands/registry/domain.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts.map +1 -1
- package/dist/src/commands/registry/key.command.js.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +4 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
- package/dist/src/commands/registry/outdated.command.js.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.js.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +14 -0
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
- package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +12 -11
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +47 -56
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts.map +1 -1
- package/dist/src/commands/registry/status.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.js +4 -2
- package/dist/src/commands/registry/whoami.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
- package/dist/src/commands/registry/yank.command.js.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.js.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.js.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.js.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.js +1 -1
- package/dist/src/commands/remote/sync.command.js.map +1 -1
- package/dist/src/commands/seal/currency.command.d.ts +13 -0
- package/dist/src/commands/seal/currency.command.d.ts.map +1 -0
- package/dist/src/commands/seal/currency.command.js +52 -0
- package/dist/src/commands/seal/currency.command.js.map +1 -0
- package/dist/src/commands/seal/dead.command.d.ts.map +1 -1
- package/dist/src/commands/seal/dead.command.js +2 -1
- package/dist/src/commands/seal/dead.command.js.map +1 -1
- package/dist/src/commands/seal/export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/export.command.js.map +1 -1
- package/dist/src/commands/seal/log-export.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-export.command.js +6 -1
- package/dist/src/commands/seal/log-export.command.js.map +1 -1
- package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/log-verify.command.js +2 -1
- package/dist/src/commands/seal/log-verify.command.js.map +1 -1
- package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
- package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
- package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
- package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
- package/dist/src/commands/seal/retry.command.d.ts.map +1 -1
- package/dist/src/commands/seal/retry.command.js.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/seal-admin-door.utils.js +2 -0
- package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -1
- package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -1
- package/dist/src/commands/seal/verify.command.d.ts +14 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/verify.command.js +85 -9
- package/dist/src/commands/seal/verify.command.js.map +1 -1
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/github.command.js.map +1 -1
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/list.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +5 -3
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/unset.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +86 -7
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +15 -1
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/website/look.command.d.ts.map +1 -1
- package/dist/src/commands/website/look.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +12 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.js.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts +4 -4
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.js +4 -4
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.js.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/base-command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts +10 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +13 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
- package/dist/src/kernel/command-index-cache.js.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +5 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-runner.js.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.js.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/json-document-output.d.ts.map +1 -1
- package/dist/src/kernel/json-document-output.js.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/logger.js.map +1 -1
- package/dist/src/kernel/types.d.ts +8 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +7 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.js.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.js.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -1
- package/dist/src/services/application/ai-use-declarations.service.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +42 -3
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +147 -42
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-env.service.js.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.js +23 -5
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts +8 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +17 -8
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js +5 -1
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +10 -1
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.js +142 -19
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +10 -6
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +32 -18
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
- package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
- package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
- package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +31 -11
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
- package/dist/src/services/application/backend-config.paths.js.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts +1 -1
- package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
- package/dist/src/services/application/composition-provider-plan.service.js +53 -28
- package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts +19 -0
- package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -1
- package/dist/src/services/application/content-guardrail-classifier.service.js +76 -12
- package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-host-readiness.service.js +44 -5
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
- package/dist/src/services/application/creation-preflight.service.js.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
- package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
- package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
- package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
- package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +1 -1
- package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
- package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/local-provider-doubles.service.d.ts +98 -0
- package/dist/src/services/application/local-provider-doubles.service.d.ts.map +1 -0
- package/dist/src/services/application/local-provider-doubles.service.js +214 -0
- package/dist/src/services/application/local-provider-doubles.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +38 -10
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +6 -2
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +46 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -1
- package/dist/src/services/application/system-of-record-simulators.service.d.ts +221 -0
- package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
- package/dist/src/services/application/system-of-record-simulators.service.js +442 -0
- package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +6 -3
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
- package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
- package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-export.service.js +2 -1
- package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-line.service.js +5 -3
- package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -1
- package/dist/src/services/blueprint/blueprint-report.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +1 -1
- package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -1
- package/dist/src/services/blueprint/framework-blueprints.service.js +20 -7
- package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +8 -33
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +23 -6
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -1
- package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -1
- package/dist/src/services/companion/agent-work-shortfall-words.js +21 -2
- package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +179 -7
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +184 -15
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts +25 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +61 -10
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.js +8 -1
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/console-agent.d.ts +50 -0
- package/dist/src/services/companion/console-agent.d.ts.map +1 -0
- package/dist/src/services/companion/console-agent.js +67 -0
- package/dist/src/services/companion/console-agent.js.map +1 -0
- package/dist/src/services/companion/console-fast-path.d.ts +6 -4
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
- package/dist/src/services/companion/console-fast-path.js +12 -9
- package/dist/src/services/companion/console-fast-path.js.map +1 -1
- package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
- package/dist/src/services/companion/console-verb.utils.js +22 -1
- package/dist/src/services/companion/console-verb.utils.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +44 -13
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +121 -7
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts +262 -0
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-drive.service.js +499 -0
- package/dist/src/services/companion/creation-drive.service.js.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/git-helper.service.js.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +22 -6
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +6 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.js +50 -102
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +42 -13
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +54 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +77 -14
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +21 -159
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +35 -18
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts +8 -2
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.service.js +11 -2
- package/dist/src/services/credentials/credentials.service.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +19 -5
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +42 -14
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +21 -5
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +4 -2
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +9 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +9 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.service.js.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts +93 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
- package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +42 -11
- package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -1
- package/dist/src/services/data-services/platform-key-vault.server-config.js +63 -16
- package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -1
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
- package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
- package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
- package/dist/src/services/deployment/application-runtime-environment.js +116 -0
- package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +14 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +177 -51
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +368 -93
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts +56 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +4 -4
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +51 -10
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +179 -43
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +38 -2
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +35 -31
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +38 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
- package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-log-retention.service.js +3 -2
- package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js +22 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +53 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +118 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +32 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +14 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
- package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-member-authority.js +256 -0
- package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +13 -8
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +38 -13
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts +3 -2
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +21 -7
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +35 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +88 -55
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.js +29 -30
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts +5 -6
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-registry.service.js +5 -6
- package/dist/src/services/environment/environment-registry.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +1 -1
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +14 -11
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +5 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
- package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +26 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +28 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -61
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.js +178 -152
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
- package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
- package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
- package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-agent-skills-console.js +116 -0
- package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
- package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
- package/dist/src/services/framework/application-console-loaders.js +221 -0
- package/dist/src/services/framework/application-console-loaders.js.map +1 -0
- package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
- package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
- package/dist/src/services/framework/application-opencode-console.js +68 -0
- package/dist/src/services/framework/application-opencode-console.js.map +1 -0
- package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -1
- package/dist/src/services/framework/application-provider-skills.service.js.map +1 -1
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.js.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
- package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -1
- package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +5 -0
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +7 -2
- package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +19 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +18 -4
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +34 -2
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +63 -17
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +86 -3
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
- package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-credential.js +113 -0
- package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +100 -8
- package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-dist-tag.service.js +147 -25
- package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +128 -56
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
- package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
- package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +18 -3
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -75
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts +13 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-release.service.js +15 -2
- package/dist/src/services/framework/framework-release.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +7 -3
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +25 -16
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
- package/dist/src/services/framework/npm-registry-output.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +13 -3
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
- package/dist/src/services/framework/package-install.service.js +22 -9
- package/dist/src/services/framework/package-install.service.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +3 -3
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.js +3 -6
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-look.service.js +2 -1
- package/dist/src/services/frontend/frontend-look.service.js.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/domain-generator.service.js.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.js.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.js.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.js.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.js.map +1 -1
- package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
- package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
- package/dist/src/services/registry/application-provider-connection.service.js +337 -0
- package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.js +13 -2
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/index.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -1
- package/dist/src/services/registry/installed-provider-module.service.js.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-install.service.js.map +1 -1
- package/dist/src/services/registry/module-publish.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-publish.service.js +16 -7
- package/dist/src/services/registry/module-publish.service.js.map +1 -1
- package/dist/src/services/registry/module-registration.service.d.ts +0 -11
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-registration.service.js +88 -149
- package/dist/src/services/registry/module-registration.service.js.map +1 -1
- package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-requirements.service.js +5 -5
- package/dist/src/services/registry/module-requirements.service.js.map +1 -1
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
- package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
- package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-connect.service.d.ts +300 -0
- package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-connect.service.js +712 -0
- package/dist/src/services/registry/provider-connect.service.js.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
- package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +38 -4
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
- package/dist/src/services/registry/provider-install-step.js +56 -11
- package/dist/src/services/registry/provider-install-step.js.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts +12 -1
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-checks.service.js +114 -25
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
- package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
- package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.js +9 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +2 -2
- package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-vendor-packages.service.js +9 -6
- package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +22 -12
- package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-openapi-conformance.service.js +122 -51
- package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -1
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
- package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
- package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
- package/dist/src/services/registry/provider-probe.service.d.ts +189 -5
- package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-probe.service.js +268 -54
- package/dist/src/services/registry/provider-probe.service.js.map +1 -1
- package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
- package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-proof.service.js +640 -0
- package/dist/src/services/registry/provider-proof.service.js.map +1 -0
- package/dist/src/services/registry/provider-publication.service.d.ts +8 -0
- package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-publication.service.js +25 -12
- package/dist/src/services/registry/provider-publication.service.js.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts +10 -0
- package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-vendor-registration.service.js +34 -0
- package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-wiring.service.js +4 -4
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +20 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +48 -6
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/tools/utility-tools.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +5 -4
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/dist/src/services/website/website-look.service.d.ts.map +1 -1
- package/dist/src/services/website/website-look.service.js.map +1 -1
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
- package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +32 -5
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +63 -36
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +42 -7
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
- package/dist/src/services/website/website-workspace.service.js +121 -12
- package/dist/src/services/website/website-workspace.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/framework-root-package.json +121 -59
- package/package.json +180 -99
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +67 -27
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
- package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
- package/scripts/pnpm-workspace-members.mjs +146 -0
- package/scripts/pnpm-workspace-settings.mjs +418 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +139 -63
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +2 -1
- package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +2 -2
- package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +19 -2
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +31 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +3 -1
- package/templates/infra/registry-host/docker-compose.yml +4 -0
- package/templates/infra/yara-service/requirements.txt +1 -1
- package/templates/saas/blueprints/b2b-saas/blueprint.json +1 -1
- package/templates/saas/blueprints/internal-tool/blueprint.json +13 -1
- package/templates/saas/blueprints/service-firm/blueprint.json +1 -1
- package/templates/saas/engine-peer-closure.json +66 -8
- package/templates/saas/i18n/email/components/labels.fr.ts +1 -1
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +7 -5
- package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +5 -3
- package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +8 -6
- package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +10 -8
- package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +11 -9
- package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +6 -4
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +5 -5
- package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +3 -3
- package/templates/saas/i18n/engine/README.md +8 -3
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +9 -9
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +10 -1
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +10 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +18 -4
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -7
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -7
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +2 -1
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +2 -1
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +57 -42
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +19 -4
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -31
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +3 -16
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -24
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +3 -17
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -14
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +3 -3
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -44
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/applications.en.ts +280 -8
- package/templates/saas/i18n/engine/resources/applications.fr.ts +279 -7
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +281 -325
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +120 -164
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +36 -36
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
- package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +226 -248
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +60 -82
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +21 -21
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +221 -0
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +221 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +16 -26
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +24 -22
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +23 -4
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +23 -4
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.en.ts → organizationModelUsageCeilingState.en.ts} +75 -81
- package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.fr.ts → organizationModelUsageCeilingState.fr.ts} +75 -81
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +35 -45
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -12
- package/templates/saas/i18n/engine/resources/{workbenchComplianceCandidateVariantSelections.en.ts → organizationPersonTokenCeilingState.en.ts} +70 -54
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +27 -27
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +17 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -28
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +1 -9
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +15 -15
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -69
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +4 -4
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -9
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/organizations.en.ts +45 -10
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +45 -10
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -46
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.en.ts → postCommitEffectOutbox.en.ts} +58 -75
- package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.fr.ts → postCommitEffectOutbox.fr.ts} +58 -75
- package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
- package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
- package/templates/saas/i18n/engine/resources/promotions.en.ts +10 -10
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +19 -1
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +19 -1
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +24 -24
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +8 -2
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +8 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +223 -2
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +223 -2
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/{workbenchBrandNameJurisdictions.en.ts → ssoDomainReservations.en.ts} +57 -44
- package/templates/saas/i18n/engine/resources/{workbenchMarketCategories.fr.ts → ssoDomainReservations.fr.ts} +52 -47
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +31 -31
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +31 -31
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +64 -0
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -28
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +0 -17
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
- package/templates/saas/i18n/engine/resources/user_self.en.ts +46 -5
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +46 -5
- package/templates/saas/i18n/engine/resources/users.en.ts +23 -36
- package/templates/saas/i18n/engine/resources/users.fr.ts +23 -36
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +0 -5
- package/templates/saas/scenarios/add-locale/scenario.json +2 -2
- package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
- package/templates/saas/scenarios/add-marketing-page/scenario.json +3 -5
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +2 -2
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +6 -0
- package/templates/saas/scenarios/add-resource/scenario.json +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +15 -13
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +8 -5
- package/templates/saas/scenarios/add-technical-doc/scenario.json +7 -3
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -8
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +4 -4
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +0 -5
- package/templates/saas/scenarios/add-website/scenario.json +4 -2
- package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +2 -16
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +3 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +12 -2
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -156
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
- package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
- package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
- package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
- package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +3 -1
- package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
- package/templates/saas/skeleton/frontend/src/index.css.hbs +25 -18
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +7 -2
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +22 -3
- package/templates/saas/skeleton/gitignore +13 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
- package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
- package/templates/saas/skeleton/tsconfig.common.json +6 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +0 -210
- package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
- package/dist/src/services/application/provider-package-links.service.js +0 -421
- package/dist/src/services/application/provider-package-links.service.js.map +0 -1
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -166
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -515
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +0 -702
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -878
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +0 -174
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -430
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -456
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -574
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -358
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -1256
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -599
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -478
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
+
import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/types';
|
|
3
|
+
export default class KeysLegacyEnvelopeKeyCommand extends BaseCommand {
|
|
4
|
+
readonly meta: CommandMeta;
|
|
5
|
+
run(ctx: CommandContext): Promise<CommandResult>;
|
|
6
|
+
private printStatus;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=legacy-envelope-key.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy-envelope-key.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/keys/legacy-envelope-key.command.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAwB1F,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,WAAW;IACnE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAiEtD,OAAO,CAAC,WAAW;CAQpB"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `wildo keys legacy-envelope-key` — retire, or restore, the delivery of an application's legacy session encryption key
|
|
3
|
+
* (#3028), the key that opens the v1 envelopes sealed before the application's data-key ring sealed its secrets.
|
|
4
|
+
*
|
|
5
|
+
* wildo keys legacy-envelope-key --status # delivered or retired; changes nothing
|
|
6
|
+
* wildo keys legacy-envelope-key --retire --observed-v1 0 --reason "census zero all week"
|
|
7
|
+
* wildo keys legacy-envelope-key --restore --reason "a restored backup brought v1 values back"
|
|
8
|
+
*
|
|
9
|
+
* The application backend counts what is still v1 at every boot and logs it: `V1 envelope census (#3028): …` with
|
|
10
|
+
* `totalV1Envelopes` and `complete`. Retire the key only once that census reads zero and complete; pass the total you
|
|
11
|
+
* read as `--observed-v1` (and `--census-incomplete` if the log said incomplete, which is refused). apps-manager refuses
|
|
12
|
+
* anything but a complete zero, keeps the key stored, and stops handing it to the backend and the minions; a restart
|
|
13
|
+
* picks the change up. `--restore` delivers the kept key again, and is the remedy if a later census logs an ERROR that
|
|
14
|
+
* the key is retired but v1 values are still held.
|
|
15
|
+
*
|
|
16
|
+
* Runs against apps-manager's admin door with the platform admin secret, like `wildo keys rotate-signing-keys`. The
|
|
17
|
+
* reason is recorded on the platform's audit trail at HIGH, where the shared admin secret names nobody.
|
|
18
|
+
*/
|
|
19
|
+
import chalk from 'chalk';
|
|
20
|
+
import { ApplicationLegacyEnvelopeKeyOutcome } from '@wildo-ai/platform-config-lib';
|
|
21
|
+
import { BaseCommand } from '../../kernel/base-command.js';
|
|
22
|
+
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
23
|
+
import { CommandCategory } from '../../kernel/types.js';
|
|
24
|
+
import { EnvironmentRegistry } from '../../services/environment/environment-registry.service.js';
|
|
25
|
+
import { EnvironmentUtils } from '../../services/environment/environment.service.js';
|
|
26
|
+
import { AppBootstrapService } from '../../services/application/app-bootstrap.service.js';
|
|
27
|
+
import { AppRuntimeTargetsService } from '../../services/application/app-runtime-targets.service.js';
|
|
28
|
+
import { parsePlatformEnvironmentId } from '../../services/environment/environment.schemas.js';
|
|
29
|
+
import { reconstructSecretsFromEnv } from '../../services/credentials/ci-secrets-adapter.service.js';
|
|
30
|
+
/** What the command was asked to do: exactly one of these. */
|
|
31
|
+
var LegacyEnvelopeKeyAction;
|
|
32
|
+
(function (LegacyEnvelopeKeyAction) {
|
|
33
|
+
LegacyEnvelopeKeyAction["STATUS"] = "status";
|
|
34
|
+
LegacyEnvelopeKeyAction["RETIRE"] = "retire";
|
|
35
|
+
LegacyEnvelopeKeyAction["RESTORE"] = "restore";
|
|
36
|
+
})(LegacyEnvelopeKeyAction || (LegacyEnvelopeKeyAction = {}));
|
|
37
|
+
/** The answer each outcome is reported with. */
|
|
38
|
+
const OUTCOME_MESSAGE = {
|
|
39
|
+
[ApplicationLegacyEnvelopeKeyOutcome.RETIRED]: 'Retired the legacy session encryption key: it stays stored and is no longer delivered. Restart the backend and the minions to drop it.',
|
|
40
|
+
[ApplicationLegacyEnvelopeKeyOutcome.ALREADY_RETIRED]: 'The legacy session encryption key was already retired; nothing changed.',
|
|
41
|
+
[ApplicationLegacyEnvelopeKeyOutcome.RESTORED]: 'Restored the legacy session encryption key: it is delivered again. Restart the backend and the minions to receive it.',
|
|
42
|
+
[ApplicationLegacyEnvelopeKeyOutcome.ALREADY_DELIVERED]: 'The legacy session encryption key was already delivered; nothing changed.',
|
|
43
|
+
[ApplicationLegacyEnvelopeKeyOutcome.NOTHING_STORED]: 'This application holds no legacy session encryption key (it was registered after the key stopped being created); nothing to change.',
|
|
44
|
+
};
|
|
45
|
+
export default class KeysLegacyEnvelopeKeyCommand extends BaseCommand {
|
|
46
|
+
meta = {
|
|
47
|
+
name: 'keys legacy-envelope-key',
|
|
48
|
+
description: "Retire (on a complete zero v1 census) or restore the delivery of an application's legacy session encryption key; --status shows it (platform operator).",
|
|
49
|
+
category: CommandCategory.Config,
|
|
50
|
+
flags: {
|
|
51
|
+
status: { type: 'boolean', description: 'Show whether the key is delivered, and change nothing.', default: false },
|
|
52
|
+
retire: { type: 'boolean', description: 'Stop delivering the key (needs --observed-v1 0 and --reason).', default: false },
|
|
53
|
+
restore: { type: 'boolean', description: 'Deliver the kept key again (needs --reason).', default: false },
|
|
54
|
+
'observed-v1': { type: 'string', description: 'The totalV1Envelopes the backend logged in its last census (only 0 is admitted).', default: undefined },
|
|
55
|
+
'census-incomplete': { type: 'boolean', description: 'The last census logged itself incomplete (a retirement is then refused).', default: false },
|
|
56
|
+
reason: { type: 'string', description: 'Why, recorded on the audit trail (required to retire or restore).', default: undefined },
|
|
57
|
+
env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },
|
|
58
|
+
app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },
|
|
59
|
+
ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
async run(ctx) {
|
|
63
|
+
const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;
|
|
64
|
+
if (!saasRoot)
|
|
65
|
+
return { success: false, message: '`wildo keys legacy-envelope-key` requires a targeted app root with wildo.saas.config.ts.' };
|
|
66
|
+
const chosen = [
|
|
67
|
+
...(ctx.flags.status === true ? [LegacyEnvelopeKeyAction.STATUS] : []),
|
|
68
|
+
...(ctx.flags.retire === true ? [LegacyEnvelopeKeyAction.RETIRE] : []),
|
|
69
|
+
...(ctx.flags.restore === true ? [LegacyEnvelopeKeyAction.RESTORE] : []),
|
|
70
|
+
];
|
|
71
|
+
if (chosen.length !== 1)
|
|
72
|
+
return { success: false, message: 'Pass exactly one of --status, --retire, --restore.' };
|
|
73
|
+
const action = chosen[0];
|
|
74
|
+
const reason = ctx.flags.reason?.trim();
|
|
75
|
+
if (action === LegacyEnvelopeKeyAction.STATUS && reason)
|
|
76
|
+
return { success: false, message: '--status changes nothing, so it takes no --reason.' };
|
|
77
|
+
if (action !== LegacyEnvelopeKeyAction.STATUS && !reason)
|
|
78
|
+
return { success: false, message: `--${action} states why: pass --reason "…" (recorded on the audit trail).` };
|
|
79
|
+
let observedTotal;
|
|
80
|
+
if (action === LegacyEnvelopeKeyAction.RETIRE) {
|
|
81
|
+
const raw = ctx.flags['observed-v1'];
|
|
82
|
+
observedTotal = raw === undefined ? undefined : Number(raw);
|
|
83
|
+
if (observedTotal === undefined || !Number.isInteger(observedTotal) || observedTotal < 0) {
|
|
84
|
+
return { success: false, message: 'A retirement states the census it rests on: pass --observed-v1 <totalV1Envelopes> as the backend last logged it (`V1 envelope census (#3028)`).' };
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const envFlag = ctx.flags.env;
|
|
88
|
+
let envName;
|
|
89
|
+
try {
|
|
90
|
+
envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;
|
|
91
|
+
}
|
|
92
|
+
catch {
|
|
93
|
+
return { success: false, message: `Invalid environment name '${envFlag}'.` };
|
|
94
|
+
}
|
|
95
|
+
if (!envName)
|
|
96
|
+
return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };
|
|
97
|
+
const env = EnvironmentRegistry.get(envName);
|
|
98
|
+
if (!env)
|
|
99
|
+
return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };
|
|
100
|
+
let credentials;
|
|
101
|
+
try {
|
|
102
|
+
credentials = ctx.flags.ci === true ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);
|
|
103
|
+
}
|
|
104
|
+
catch (error) {
|
|
105
|
+
return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };
|
|
106
|
+
}
|
|
107
|
+
if (!credentials)
|
|
108
|
+
return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };
|
|
109
|
+
const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app });
|
|
110
|
+
if (!runtimeTarget)
|
|
111
|
+
return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };
|
|
112
|
+
const appSlug = runtimeTarget.appSlug;
|
|
113
|
+
try {
|
|
114
|
+
if (action === LegacyEnvelopeKeyAction.STATUS) {
|
|
115
|
+
const status = await AppBootstrapService.readApplicationLegacyEnvelopeKey(env, credentials, appSlug);
|
|
116
|
+
ctx.log.info(`Legacy session encryption key of ${appSlug} (env: ${envName}):`);
|
|
117
|
+
this.printStatus(ctx, status);
|
|
118
|
+
return { success: true };
|
|
119
|
+
}
|
|
120
|
+
const answer = await AppBootstrapService.changeApplicationLegacyEnvelopeKeyDelivery(env, credentials, appSlug, action === LegacyEnvelopeKeyAction.RETIRE
|
|
121
|
+
? { retire: { justification: reason, observedCensus: { total: observedTotal, complete: ctx.flags['census-incomplete'] !== true } } }
|
|
122
|
+
: { restore: { justification: reason } });
|
|
123
|
+
ctx.log.success(`${OUTCOME_MESSAGE[answer.outcome]} (${appSlug}, env: ${envName})`);
|
|
124
|
+
this.printStatus(ctx, answer.status);
|
|
125
|
+
return { success: true };
|
|
126
|
+
}
|
|
127
|
+
catch (error) {
|
|
128
|
+
return { success: false, message: `The legacy envelope key ${action} for ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}` };
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
printStatus(ctx, status) {
|
|
132
|
+
ctx.log.info(` stored ${status.stored ? 'yes' : chalk.yellow('no')}`);
|
|
133
|
+
ctx.log.info(` delivered ${status.delivered ? 'yes' : chalk.yellow('no')}`);
|
|
134
|
+
if (status.retirement) {
|
|
135
|
+
ctx.log.info(` retired ${status.retirement.retiredAt} ${chalk.dim(`census ${status.retirement.observedCensus.total}${status.retirement.observedCensus.complete ? '' : ', incomplete'}`)}`);
|
|
136
|
+
ctx.log.info(` reason ${status.retirement.justification}`);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=legacy-envelope-key.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy-envelope-key.command.js","sourceRoot":"","sources":["../../../../src/commands/keys/legacy-envelope-key.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mCAAmC,EAA2C,MAAM,+BAA+B,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,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QAC1I,CAAC;IACH,CAAC;IAEO,WAAW,CAAC,GAAmB,EAAE,MAA0C;QACjF,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC3E,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC9E,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YACtB,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,MAAM,CAAC,UAAU,CAAC,SAAS,KAAK,KAAK,CAAC,GAAG,CAAC,UAAU,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC,EAAE,CAAC,CAAC;YAChM,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,MAAM,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo keys legacy-envelope-key` — retire, or restore, the delivery of an application's legacy session encryption key\n * (#3028), the key that opens the v1 envelopes sealed before the application's data-key ring sealed its secrets.\n *\n * wildo keys legacy-envelope-key --status # delivered or retired; changes nothing\n * wildo keys legacy-envelope-key --retire --observed-v1 0 --reason \"census zero all week\"\n * wildo keys legacy-envelope-key --restore --reason \"a restored backup brought v1 values back\"\n *\n * The application backend counts what is still v1 at every boot and logs it: `V1 envelope census (#3028): …` with\n * `totalV1Envelopes` and `complete`. Retire the key only once that census reads zero and complete; pass the total you\n * read as `--observed-v1` (and `--census-incomplete` if the log said incomplete, which is refused). apps-manager refuses\n * anything but a complete zero, keeps the key stored, and stops handing it to the backend and the minions; a restart\n * picks the change up. `--restore` delivers the kept key again, and is the remedy if a later census logs an ERROR that\n * the key is retired but v1 values are still held.\n *\n * Runs against apps-manager's admin door with the platform admin secret, like `wildo keys rotate-signing-keys`. The\n * reason is recorded on the platform's audit trail at HIGH, where the shared admin secret names nobody.\n */\nimport chalk from 'chalk';\nimport { ApplicationLegacyEnvelopeKeyOutcome, type ApplicationLegacyEnvelopeKeyStatus } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { parsePlatformEnvironmentId } from '~wildo-cli/services/environment/environment.schemas';\nimport { reconstructSecretsFromEnv } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\n\n/** What the command was asked to do: exactly one of these. */\nenum LegacyEnvelopeKeyAction {\n STATUS = 'status',\n RETIRE = 'retire',\n RESTORE = 'restore',\n}\n\n/** The answer each outcome is reported with. */\nconst OUTCOME_MESSAGE: Readonly<Record<ApplicationLegacyEnvelopeKeyOutcome, string>> = {\n [ApplicationLegacyEnvelopeKeyOutcome.RETIRED]: 'Retired the legacy session encryption key: it stays stored and is no longer delivered. Restart the backend and the minions to drop it.',\n [ApplicationLegacyEnvelopeKeyOutcome.ALREADY_RETIRED]: 'The legacy session encryption key was already retired; nothing changed.',\n [ApplicationLegacyEnvelopeKeyOutcome.RESTORED]: 'Restored the legacy session encryption key: it is delivered again. Restart the backend and the minions to receive it.',\n [ApplicationLegacyEnvelopeKeyOutcome.ALREADY_DELIVERED]: 'The legacy session encryption key was already delivered; nothing changed.',\n [ApplicationLegacyEnvelopeKeyOutcome.NOTHING_STORED]: 'This application holds no legacy session encryption key (it was registered after the key stopped being created); nothing to change.',\n};\n\nexport default class KeysLegacyEnvelopeKeyCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'keys legacy-envelope-key',\n description: \"Retire (on a complete zero v1 census) or restore the delivery of an application's legacy session encryption key; --status shows it (platform operator).\",\n category: CommandCategory.Config,\n flags: {\n status: { type: 'boolean', description: 'Show whether the key is delivered, and change nothing.', default: false },\n retire: { type: 'boolean', description: 'Stop delivering the key (needs --observed-v1 0 and --reason).', default: false },\n restore: { type: 'boolean', description: 'Deliver the kept key again (needs --reason).', default: false },\n 'observed-v1': { type: 'string', description: 'The totalV1Envelopes the backend logged in its last census (only 0 is admitted).', default: undefined },\n 'census-incomplete': { type: 'boolean', description: 'The last census logged itself incomplete (a retirement is then refused).', default: false },\n reason: { type: 'string', description: 'Why, recorded on the audit trail (required to retire or restore).', default: undefined },\n env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },\n ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) return { success: false, message: '`wildo keys legacy-envelope-key` requires a targeted app root with wildo.saas.config.ts.' };\n\n const chosen = [\n ...(ctx.flags.status === true ? [LegacyEnvelopeKeyAction.STATUS] : []),\n ...(ctx.flags.retire === true ? [LegacyEnvelopeKeyAction.RETIRE] : []),\n ...(ctx.flags.restore === true ? [LegacyEnvelopeKeyAction.RESTORE] : []),\n ];\n if (chosen.length !== 1) return { success: false, message: 'Pass exactly one of --status, --retire, --restore.' };\n const action = chosen[0]!;\n const reason = (ctx.flags.reason as string | undefined)?.trim();\n if (action === LegacyEnvelopeKeyAction.STATUS && reason) return { success: false, message: '--status changes nothing, so it takes no --reason.' };\n if (action !== LegacyEnvelopeKeyAction.STATUS && !reason) return { success: false, message: `--${action} states why: pass --reason \"…\" (recorded on the audit trail).` };\n\n let observedTotal: number | undefined;\n if (action === LegacyEnvelopeKeyAction.RETIRE) {\n const raw = ctx.flags['observed-v1'] as string | undefined;\n observedTotal = raw === undefined ? undefined : Number(raw);\n if (observedTotal === undefined || !Number.isInteger(observedTotal) || observedTotal < 0) {\n return { success: false, message: 'A retirement states the census it rests on: pass --observed-v1 <totalV1Envelopes> as the backend last logged it (`V1 envelope census (#3028)`).' };\n }\n }\n\n const envFlag = ctx.flags.env as string | undefined;\n let envName: string | undefined;\n try {\n envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;\n } catch {\n return { success: false, message: `Invalid environment name '${envFlag}'.` };\n }\n if (!envName) return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };\n const env = EnvironmentRegistry.get(envName);\n if (!env) return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };\n\n let credentials;\n try {\n credentials = ctx.flags.ci === true ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);\n } catch (error) {\n return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n if (!credentials) return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app as string | undefined });\n if (!runtimeTarget) return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };\n const appSlug = runtimeTarget.appSlug;\n\n try {\n if (action === LegacyEnvelopeKeyAction.STATUS) {\n const status = await AppBootstrapService.readApplicationLegacyEnvelopeKey(env, credentials, appSlug);\n ctx.log.info(`Legacy session encryption key of ${appSlug} (env: ${envName}):`);\n this.printStatus(ctx, status);\n return { success: true };\n }\n const answer = await AppBootstrapService.changeApplicationLegacyEnvelopeKeyDelivery(env, credentials, appSlug, action === LegacyEnvelopeKeyAction.RETIRE\n ? { retire: { justification: reason!, observedCensus: { total: observedTotal!, complete: ctx.flags['census-incomplete'] !== true } } }\n : { restore: { justification: reason! } });\n ctx.log.success(`${OUTCOME_MESSAGE[answer.outcome]} (${appSlug}, env: ${envName})`);\n this.printStatus(ctx, answer.status);\n return { success: true };\n } catch (error) {\n return { success: false, message: `The legacy envelope key ${action} for ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n }\n\n private printStatus(ctx: CommandContext, status: ApplicationLegacyEnvelopeKeyStatus): void {\n ctx.log.info(` stored ${status.stored ? 'yes' : chalk.yellow('no')}`);\n ctx.log.info(` delivered ${status.delivered ? 'yes' : chalk.yellow('no')}`);\n if (status.retirement) {\n ctx.log.info(` retired ${status.retirement.retiredAt} ${chalk.dim(`census ${status.retirement.observedCensus.total}${status.retirement.observedCensus.complete ? '' : ', incomplete'}`)}`);\n ctx.log.info(` reason ${status.retirement.justification}`);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
+
import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/types';
|
|
3
|
+
export default class KeysRotateSigningKeysCommand extends BaseCommand {
|
|
4
|
+
readonly meta: CommandMeta;
|
|
5
|
+
run(ctx: CommandContext): Promise<CommandResult>;
|
|
6
|
+
private printStatus;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=rotate-signing-keys.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotate-signing-keys.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/keys/rotate-signing-keys.command.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAgB1F,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,WAAW;IACnE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA8EtD,OAAO,CAAC,WAAW;CAYpB"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `wildo keys rotate-signing-keys` — rotate an application's signing keys (#2895), the keys held in its secrets rather
|
|
3
|
+
* than the platform keyring: auth tokens, webhooks, platform requests and worker requests.
|
|
4
|
+
*
|
|
5
|
+
* wildo keys rotate-signing-keys --status # the keys, as kids and dates; changes nothing
|
|
6
|
+
* wildo keys rotate-signing-keys --stage --reason "quarterly rotation" # planned: mint and PUBLISH the next keys
|
|
7
|
+
* wildo keys rotate-signing-keys --promote --reason "quarterly rotation" # planned: promote them, once published for the lead
|
|
8
|
+
* wildo keys rotate-signing-keys --reason "the key may have leaked" # immediate: rotate all four now
|
|
9
|
+
*
|
|
10
|
+
* A planned rotation goes through the key layer (#2895): `--stage` publishes the next keys while they sign nothing (the
|
|
11
|
+
* application's JWKS carries them within five minutes), and `--promote` is refused until they have been published for
|
|
12
|
+
* the lead (70 minutes: the key refresh plus the JWKS cache lifetime), so no relying party meets a token signed with a key
|
|
13
|
+
* it has not had the chance to fetch. The immediate rotation is for a key that may have leaked: verifiers then learn
|
|
14
|
+
* the new key from its unfamiliar `kid`.
|
|
15
|
+
*
|
|
16
|
+
* The command reads the keys first and asks apps-manager to replace exactly those. That compare-and-set is what makes it
|
|
17
|
+
* safe to retry: a request whose answer was lost is re-sent unchanged and answered "already rotated", and a request
|
|
18
|
+
* built on keys that changed since they were read is refused. Every replaced key is RETIRED, not dropped: it keeps
|
|
19
|
+
* verifying what it signed until the longest token it can have signed expires (shown as `until`), so sessions, webhook
|
|
20
|
+
* signatures and in-flight requests survive the rotation. The reason is recorded on the platform's audit trail, where the
|
|
21
|
+
* shared admin secret names nobody.
|
|
22
|
+
*
|
|
23
|
+
* What follows a rotation: a running backend adopts the new keys at its next signing-key refresh (at most five
|
|
24
|
+
* minutes, no restart), and verifiers fetch the new keys the first time a token names one they do not hold, the
|
|
25
|
+
* platform's verifier of platform requests included (#2895).
|
|
26
|
+
*
|
|
27
|
+
* Runs against apps-manager's admin door with the platform admin secret, like `wildo keys rotate`.
|
|
28
|
+
*/
|
|
29
|
+
import chalk from 'chalk';
|
|
30
|
+
import { ApplicationSigningKeyRotationOutcome, nextSigningKeyIdsOf, signingKeyIdsOf } from '@wildo-ai/platform-config-lib';
|
|
31
|
+
import { BaseCommand } from '../../kernel/base-command.js';
|
|
32
|
+
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
33
|
+
import { CommandCategory } from '../../kernel/types.js';
|
|
34
|
+
import { EnvironmentRegistry } from '../../services/environment/environment-registry.service.js';
|
|
35
|
+
import { EnvironmentUtils } from '../../services/environment/environment.service.js';
|
|
36
|
+
import { AppBootstrapService } from '../../services/application/app-bootstrap.service.js';
|
|
37
|
+
import { AppRuntimeTargetsService } from '../../services/application/app-runtime-targets.service.js';
|
|
38
|
+
import { parsePlatformEnvironmentId } from '../../services/environment/environment.schemas.js';
|
|
39
|
+
import { reconstructSecretsFromEnv } from '../../services/credentials/ci-secrets-adapter.service.js';
|
|
40
|
+
/** What each half of a planned rotation reports (#2895). */
|
|
41
|
+
const PLANNED_OUTCOME_MESSAGE = {
|
|
42
|
+
[ApplicationSigningKeyRotationOutcome.STAGED]: 'Staged and published the next signing keys; nothing signs with them yet. Promote them with --promote once the time shown has passed.',
|
|
43
|
+
[ApplicationSigningKeyRotationOutcome.ALREADY_STAGED]: 'Next signing keys were already staged; nothing changed.',
|
|
44
|
+
[ApplicationSigningKeyRotationOutcome.PROMOTED]: 'Promoted the staged signing keys; a running backend signs with them within five minutes, and the replaced keys keep verifying until what they signed expires.',
|
|
45
|
+
[ApplicationSigningKeyRotationOutcome.ALREADY_PROMOTED]: 'The staged keys were already promoted; nothing changed.',
|
|
46
|
+
};
|
|
47
|
+
export default class KeysRotateSigningKeysCommand extends BaseCommand {
|
|
48
|
+
meta = {
|
|
49
|
+
name: 'keys rotate-signing-keys',
|
|
50
|
+
description: "Rotate an application's signing keys (auth tokens, webhooks, platform and worker requests), justified and safe to retry; --status shows them (platform operator).",
|
|
51
|
+
category: CommandCategory.Config,
|
|
52
|
+
flags: {
|
|
53
|
+
reason: { type: 'string', description: 'Why the keys rotate, recorded on the audit trail (required to rotate).', default: undefined },
|
|
54
|
+
status: { type: 'boolean', description: 'Show the keys (kids, staged keys, retirement dates) and change nothing.', default: false },
|
|
55
|
+
stage: { type: 'boolean', description: 'Planned rotation, first half: mint and publish the next keys (needs --reason).', default: false },
|
|
56
|
+
promote: { type: 'boolean', description: 'Planned rotation, second half: promote the staged keys once published for the lead (needs --reason).', default: false },
|
|
57
|
+
env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },
|
|
58
|
+
app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },
|
|
59
|
+
ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
async run(ctx) {
|
|
63
|
+
const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;
|
|
64
|
+
if (!saasRoot)
|
|
65
|
+
return { success: false, message: '`wildo keys rotate-signing-keys` requires a targeted app root with wildo.saas.config.ts.' };
|
|
66
|
+
const statusOnly = ctx.flags.status === true;
|
|
67
|
+
const stage = ctx.flags.stage === true;
|
|
68
|
+
const promote = ctx.flags.promote === true;
|
|
69
|
+
if ([statusOnly, stage, promote].filter(Boolean).length > 1)
|
|
70
|
+
return { success: false, message: 'Pass at most one of --status, --stage, --promote.' };
|
|
71
|
+
const reason = ctx.flags.reason?.trim();
|
|
72
|
+
if (statusOnly && reason)
|
|
73
|
+
return { success: false, message: '--status changes nothing, so it takes no --reason.' };
|
|
74
|
+
if (!statusOnly && !reason)
|
|
75
|
+
return { success: false, message: 'A rotation states why: pass --reason "…" (recorded on the audit trail). --status shows the keys without rotating.' };
|
|
76
|
+
const envFlag = ctx.flags.env;
|
|
77
|
+
let envName;
|
|
78
|
+
try {
|
|
79
|
+
envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;
|
|
80
|
+
}
|
|
81
|
+
catch {
|
|
82
|
+
return { success: false, message: `Invalid environment name '${envFlag}'.` };
|
|
83
|
+
}
|
|
84
|
+
if (!envName)
|
|
85
|
+
return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };
|
|
86
|
+
const env = EnvironmentRegistry.get(envName);
|
|
87
|
+
if (!env)
|
|
88
|
+
return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };
|
|
89
|
+
let credentials;
|
|
90
|
+
try {
|
|
91
|
+
credentials = ctx.flags.ci === true ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };
|
|
95
|
+
}
|
|
96
|
+
if (!credentials)
|
|
97
|
+
return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };
|
|
98
|
+
const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app });
|
|
99
|
+
if (!runtimeTarget)
|
|
100
|
+
return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };
|
|
101
|
+
const appSlug = runtimeTarget.appSlug;
|
|
102
|
+
let before;
|
|
103
|
+
try {
|
|
104
|
+
before = await AppBootstrapService.readApplicationSigningKeys(env, credentials, appSlug);
|
|
105
|
+
}
|
|
106
|
+
catch (error) {
|
|
107
|
+
return { success: false, message: `Reading the signing keys of ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}` };
|
|
108
|
+
}
|
|
109
|
+
if (statusOnly) {
|
|
110
|
+
ctx.log.info(`Signing keys of ${appSlug} (env: ${envName}):`);
|
|
111
|
+
this.printStatus(ctx, before);
|
|
112
|
+
return { success: true };
|
|
113
|
+
}
|
|
114
|
+
if (stage || promote) {
|
|
115
|
+
try {
|
|
116
|
+
const answer = await AppBootstrapService.planApplicationSigningKeyRotation(env, credentials, appSlug, stage
|
|
117
|
+
? { stage: { justification: reason } }
|
|
118
|
+
: { promote: { expectedNextKeyIds: nextSigningKeyIdsOf(before), justification: reason } });
|
|
119
|
+
ctx.log.success(PLANNED_OUTCOME_MESSAGE[answer.outcome] ?? `${answer.outcome} (${appSlug})`);
|
|
120
|
+
this.printStatus(ctx, answer.status);
|
|
121
|
+
return { success: true };
|
|
122
|
+
}
|
|
123
|
+
catch (error) {
|
|
124
|
+
return { success: false, message: `The ${stage ? 'staging' : 'promotion'} of ${appSlug}'s signing keys failed: ${ErrorUtils.extractErrorMessage(error)}` };
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
const expectedKeyIds = signingKeyIdsOf(before);
|
|
128
|
+
try {
|
|
129
|
+
const answer = await AppBootstrapService.rotateApplicationSigningKeys(env, credentials, appSlug, { expectedKeyIds, justification: reason });
|
|
130
|
+
ctx.log.success(answer.outcome === ApplicationSigningKeyRotationOutcome.ROTATED
|
|
131
|
+
? `Rotated the signing keys of ${appSlug} (env: ${envName}).`
|
|
132
|
+
: `The signing keys of ${appSlug} were already rotated from the keys read; nothing changed (env: ${envName}).`);
|
|
133
|
+
this.printStatus(ctx, answer.status);
|
|
134
|
+
ctx.log.info('A running backend adopts the new keys within five minutes, without a restart; verifiers fetch them on the first token that names one.');
|
|
135
|
+
return { success: true };
|
|
136
|
+
}
|
|
137
|
+
catch (error) {
|
|
138
|
+
return {
|
|
139
|
+
success: false,
|
|
140
|
+
message: `Rotating the signing keys of ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}\n`
|
|
141
|
+
+ 'Run `wildo keys rotate-signing-keys --status` to see where the keys stand. A rotation that stored its new public keys and not its private ones is completed by running the rotation again; a key that signs is never dropped by it.',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
printStatus(ctx, status) {
|
|
146
|
+
for (const entry of status.purposes) {
|
|
147
|
+
const interrupted = entry.publishedKid !== entry.signingKid ? chalk.yellow(` (published ${entry.publishedKid ?? 'none'}: an interrupted rotation, run it again)`) : '';
|
|
148
|
+
ctx.log.info(` ${entry.purpose} ${entry.signingKid ?? chalk.yellow('no key')}${interrupted}`);
|
|
149
|
+
if (entry.next) {
|
|
150
|
+
ctx.log.info(` ${chalk.dim('next')} ${entry.next.kid} ${chalk.dim(`published ${entry.next.publishedAt}, promotable from ${entry.next.promotableAt}`)}`);
|
|
151
|
+
}
|
|
152
|
+
for (const retired of entry.retired) {
|
|
153
|
+
ctx.log.info(` ${chalk.dim('retired')} ${retired.kid} ${chalk.dim(`until ${retired.notAfter ?? 'no end recorded'}`)}`);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=rotate-signing-keys.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotate-signing-keys.command.js","sourceRoot":"","sources":["../../../../src/commands/keys/rotate-signing-keys.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,oCAAoC,EAAE,mBAAmB,EAAE,eAAe,EAAqC,MAAM,+BAA+B,CAAC;AAC9J,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,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AAK,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACpC,MAAM,WAAW,GAAG,KAAK,CAAC,YAAY,KAAK,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,KAAK,CAAC,YAAY,IAAI,MAAM,0CAA0C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACxK,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,WAAW,EAAE,CAAC,CAAC;YAChG,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;gBACf,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,KAAK,CAAC,GAAG,CAAC,aAAa,KAAK,CAAC,IAAI,CAAC,WAAW,qBAAqB,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC;YAC9J,CAAC;YACD,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;gBACpC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,OAAO,CAAC,GAAG,KAAK,KAAK,CAAC,GAAG,CAAC,SAAS,OAAO,CAAC,QAAQ,IAAI,iBAAiB,EAAE,CAAC,EAAE,CAAC,CAAC;YAC7H,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo keys rotate-signing-keys` — rotate an application's signing keys (#2895), the keys held in its secrets rather\n * than the platform keyring: auth tokens, webhooks, platform requests and worker requests.\n *\n * wildo keys rotate-signing-keys --status # the keys, as kids and dates; changes nothing\n * wildo keys rotate-signing-keys --stage --reason \"quarterly rotation\" # planned: mint and PUBLISH the next keys\n * wildo keys rotate-signing-keys --promote --reason \"quarterly rotation\" # planned: promote them, once published for the lead\n * wildo keys rotate-signing-keys --reason \"the key may have leaked\" # immediate: rotate all four now\n *\n * A planned rotation goes through the key layer (#2895): `--stage` publishes the next keys while they sign nothing (the\n * application's JWKS carries them within five minutes), and `--promote` is refused until they have been published for\n * the lead (70 minutes: the key refresh plus the JWKS cache lifetime), so no relying party meets a token signed with a key\n * it has not had the chance to fetch. The immediate rotation is for a key that may have leaked: verifiers then learn\n * the new key from its unfamiliar `kid`.\n *\n * The command reads the keys first and asks apps-manager to replace exactly those. That compare-and-set is what makes it\n * safe to retry: a request whose answer was lost is re-sent unchanged and answered \"already rotated\", and a request\n * built on keys that changed since they were read is refused. Every replaced key is RETIRED, not dropped: it keeps\n * verifying what it signed until the longest token it can have signed expires (shown as `until`), so sessions, webhook\n * signatures and in-flight requests survive the rotation. The reason is recorded on the platform's audit trail, where the\n * shared admin secret names nobody.\n *\n * What follows a rotation: a running backend adopts the new keys at its next signing-key refresh (at most five\n * minutes, no restart), and verifiers fetch the new keys the first time a token names one they do not hold, the\n * platform's verifier of platform requests included (#2895).\n *\n * Runs against apps-manager's admin door with the platform admin secret, like `wildo keys rotate`.\n */\nimport chalk from 'chalk';\nimport { ApplicationSigningKeyRotationOutcome, nextSigningKeyIdsOf, signingKeyIdsOf, type ApplicationSigningKeysStatus } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { parsePlatformEnvironmentId } from '~wildo-cli/services/environment/environment.schemas';\nimport { reconstructSecretsFromEnv } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\n\n/** What each half of a planned rotation reports (#2895). */\nconst PLANNED_OUTCOME_MESSAGE: Partial<Record<ApplicationSigningKeyRotationOutcome, string>> = {\n [ApplicationSigningKeyRotationOutcome.STAGED]: 'Staged and published the next signing keys; nothing signs with them yet. Promote them with --promote once the time shown has passed.',\n [ApplicationSigningKeyRotationOutcome.ALREADY_STAGED]: 'Next signing keys were already staged; nothing changed.',\n [ApplicationSigningKeyRotationOutcome.PROMOTED]: 'Promoted the staged signing keys; a running backend signs with them within five minutes, and the replaced keys keep verifying until what they signed expires.',\n [ApplicationSigningKeyRotationOutcome.ALREADY_PROMOTED]: 'The staged keys were already promoted; nothing changed.',\n};\n\nexport default class KeysRotateSigningKeysCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'keys rotate-signing-keys',\n description: \"Rotate an application's signing keys (auth tokens, webhooks, platform and worker requests), justified and safe to retry; --status shows them (platform operator).\",\n category: CommandCategory.Config,\n flags: {\n reason: { type: 'string', description: 'Why the keys rotate, recorded on the audit trail (required to rotate).', default: undefined },\n status: { type: 'boolean', description: 'Show the keys (kids, staged keys, retirement dates) and change nothing.', default: false },\n stage: { type: 'boolean', description: 'Planned rotation, first half: mint and publish the next keys (needs --reason).', default: false },\n promote: { type: 'boolean', description: 'Planned rotation, second half: promote the staged keys once published for the lead (needs --reason).', default: false },\n env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },\n ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) return { success: false, message: '`wildo keys rotate-signing-keys` requires a targeted app root with wildo.saas.config.ts.' };\n\n const statusOnly = ctx.flags.status === true;\n const stage = ctx.flags.stage === true;\n const promote = ctx.flags.promote === true;\n if ([statusOnly, stage, promote].filter(Boolean).length > 1) return { success: false, message: 'Pass at most one of --status, --stage, --promote.' };\n const reason = (ctx.flags.reason as string | undefined)?.trim();\n if (statusOnly && reason) return { success: false, message: '--status changes nothing, so it takes no --reason.' };\n if (!statusOnly && !reason) return { success: false, message: 'A rotation states why: pass --reason \"…\" (recorded on the audit trail). --status shows the keys without rotating.' };\n\n const envFlag = ctx.flags.env as string | undefined;\n let envName: string | undefined;\n try {\n envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;\n } catch {\n return { success: false, message: `Invalid environment name '${envFlag}'.` };\n }\n if (!envName) return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };\n const env = EnvironmentRegistry.get(envName);\n if (!env) return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };\n\n let credentials;\n try {\n credentials = ctx.flags.ci === true ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);\n } catch (error) {\n return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n if (!credentials) return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app as string | undefined });\n if (!runtimeTarget) return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };\n const appSlug = runtimeTarget.appSlug;\n\n let before: ApplicationSigningKeysStatus;\n try {\n before = await AppBootstrapService.readApplicationSigningKeys(env, credentials, appSlug);\n } catch (error) {\n return { success: false, message: `Reading the signing keys of ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n if (statusOnly) {\n ctx.log.info(`Signing keys of ${appSlug} (env: ${envName}):`);\n this.printStatus(ctx, before);\n return { success: true };\n }\n\n if (stage || promote) {\n try {\n const answer = await AppBootstrapService.planApplicationSigningKeyRotation(env, credentials, appSlug, stage\n ? { stage: { justification: reason! } }\n : { promote: { expectedNextKeyIds: nextSigningKeyIdsOf(before), justification: reason! } });\n ctx.log.success(PLANNED_OUTCOME_MESSAGE[answer.outcome] ?? `${answer.outcome} (${appSlug})`);\n this.printStatus(ctx, answer.status);\n return { success: true };\n } catch (error) {\n return { success: false, message: `The ${stage ? 'staging' : 'promotion'} of ${appSlug}'s signing keys failed: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n }\n\n const expectedKeyIds = signingKeyIdsOf(before);\n try {\n const answer = await AppBootstrapService.rotateApplicationSigningKeys(env, credentials, appSlug, { expectedKeyIds, justification: reason! });\n ctx.log.success(answer.outcome === ApplicationSigningKeyRotationOutcome.ROTATED\n ? `Rotated the signing keys of ${appSlug} (env: ${envName}).`\n : `The signing keys of ${appSlug} were already rotated from the keys read; nothing changed (env: ${envName}).`);\n this.printStatus(ctx, answer.status);\n ctx.log.info('A running backend adopts the new keys within five minutes, without a restart; verifiers fetch them on the first token that names one.');\n return { success: true };\n } catch (error) {\n return {\n success: false,\n message: `Rotating the signing keys of ${appSlug} failed: ${ErrorUtils.extractErrorMessage(error)}\\n`\n + 'Run `wildo keys rotate-signing-keys --status` to see where the keys stand. A rotation that stored its new public keys and not its private ones is completed by running the rotation again; a key that signs is never dropped by it.',\n };\n }\n }\n\n private printStatus(ctx: CommandContext, status: ApplicationSigningKeysStatus): void {\n for (const entry of status.purposes) {\n const interrupted = entry.publishedKid !== entry.signingKid ? chalk.yellow(` (published ${entry.publishedKid ?? 'none'}: an interrupted rotation, run it again)`) : '';\n ctx.log.info(` ${entry.purpose} ${entry.signingKid ?? chalk.yellow('no key')}${interrupted}`);\n if (entry.next) {\n ctx.log.info(` ${chalk.dim('next')} ${entry.next.kid} ${chalk.dim(`published ${entry.next.publishedAt}, promotable from ${entry.next.promotableAt}`)}`);\n }\n for (const retired of entry.retired) {\n ctx.log.info(` ${chalk.dim('retired')} ${retired.kid} ${chalk.dim(`until ${retired.notAfter ?? 'no end recorded'}`)}`);\n }\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rotate.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"rotate.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/keys/rotate.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQ1F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACxD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAexB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAyEvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rotate.command.js","sourceRoot":"","sources":["../../../../../../src/commands/keys/rotate.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,wBAAw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;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,uIAAuI,CAAC,CAAC;YACpK,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,wBAAwB,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;QACtG,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo keys rotate` — rotate one of an application's platform-custody keyrings (#2891).\n *\n * The keyring keeps an ACTIVE version that signs and a NEXT version every verifier already holds. A planned rotation\n * promotes NEXT and retires ACTIVE, which keeps verifying everything it signed:\n *\n * wildo keys rotate # the approval-seal key of the targeted application\n * wildo keys rotate --organization <organizationId> # an organization's key, when the binding is per organization\n *\n * An EMERGENCY rotation is for a key that may have leaked. It marks ACTIVE compromised from the earliest instant it may\n * have been exposed, destroys its private material at once, and promotes NEXT. Seals made before that instant can still\n * be corroborated; seals after it cannot, and the verifier says so. The instant is never defaulted: an operator who does\n * not know it states the earliest one possible.\n *\n * wildo keys rotate --emergency --since 2026-10-18T00:00:00Z --reason \"host credentials found in a public paste\"\n *\n * A ROOT-LOST rotation is for a platform whose key-encryption root (`PLATFORM_KEY_ENCRYPTION_ROOT`) is gone and was not\n * leaked: apps-manager now runs with a new root, and no LOCAL key sealed under the old one can be opened. Every version\n * that cannot be opened is destroyed (its public half stays and still verifies what it signed) and a fresh pair is made.\n * Refused when every version still opens.\n *\n * wildo keys rotate --root-lost --reason \"the root was lost with the old host\"\n *\n * A planned rotation is refused while NEXT was published less than 15 minutes ago: a verifier may not hold it yet.\n * Only a key held in the platform keyring rotates here; the runtime-response key lives in apps-manager's environment and\n * rotates by promoting its next pair in the environment's secrets and running `wildo config sync`.\n *\n * Runs against apps-manager's admin door with the platform admin secret, like `wildo config reapply-declaration`.\n */\n\nimport chalk from 'chalk';\nimport { CryptoKey_Purpose } from '@wildo-ai/saas-models';\nimport { KeyringRotationMode, cryptoKeyPurposeIsKeyringHeld, keyringRotationRefusalOf } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { parsePlatformEnvironmentId } from '~wildo-cli/services/environment/environment.schemas';\nimport { reconstructSecretsFromEnv } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\n\nexport default class KeysRotateCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'keys rotate',\n description: \"Rotate an application's platform-custody signing key; --emergency when it may have leaked, --root-lost when the key-encryption root is gone (platform operator).\",\n category: CommandCategory.Config,\n flags: {\n purpose: { type: 'string', description: `The key purpose (default ${CryptoKey_Purpose.APPROVAL_SEAL}).`, default: undefined },\n organization: { type: 'string', description: 'For a per-organization key: the organization id whose key rotates.', default: undefined },\n emergency: { type: 'boolean', description: 'The key may have leaked: mark it compromised and destroy it now.', default: false },\n 'root-lost': { type: 'boolean', description: 'The key-encryption root is lost (not leaked): destroy every key it sealed and make a fresh pair.', default: false },\n since: { type: 'string', description: 'Emergency: the earliest instant the key may have been exposed (ISO 8601).', default: undefined },\n reason: { type: 'string', description: 'Emergency and root-lost: why, recorded on the audit trail.', default: undefined },\n env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },\n ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) return { success: false, message: '`wildo keys rotate` requires a targeted app root with wildo.saas.config.ts.' };\n\n const purposeFlag = ctx.flags.purpose as string | undefined;\n const purpose = purposeFlag === undefined ? CryptoKey_Purpose.APPROVAL_SEAL : Object.values(CryptoKey_Purpose).find((value) => value === purposeFlag);\n // Only a keyring-held purpose rotates here; every other one is named with where it is held and what to do instead.\n const rotatable = Object.values(CryptoKey_Purpose).filter(cryptoKeyPurposeIsKeyringHeld);\n if (!purpose) return { success: false, message: `--purpose must be one of: ${rotatable.join(', ')}.` };\n const refusal = keyringRotationRefusalOf(purpose);\n if (refusal) return { success: false, message: refusal };\n const emergency = ctx.flags.emergency === true;\n const rootLost = ctx.flags['root-lost'] === true;\n const since = ctx.flags.since as string | undefined;\n const reason = ctx.flags.reason as string | undefined;\n if (emergency && rootLost) {\n return { success: false, message: '--emergency and --root-lost are different events: a leaked key, or a lost root that sealed keys. Pass one.' };\n }\n if (emergency && (!since || !reason)) {\n return { success: false, message: 'An emergency rotation needs --since (the earliest instant the key may have been exposed) and --reason.' };\n }\n if (rootLost && (!reason || since)) {\n return { success: false, message: 'A root-lost rotation needs --reason, and takes no --since: a lost root exposed nothing.' };\n }\n if (!emergency && !rootLost && (since || reason)) {\n return { success: false, message: '--since and --reason are for an emergency rotation (--emergency); a planned rotation takes neither.' };\n }\n const mode = emergency ? KeyringRotationMode.EMERGENCY : rootLost ? KeyringRotationMode.ROOT_LOST : KeyringRotationMode.PLANNED;\n\n const isCi = ctx.flags.ci === true;\n const envFlag = ctx.flags.env as string | undefined;\n let envName: string | undefined;\n try {\n envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;\n } catch {\n return { success: false, message: `Invalid environment name '${envFlag}'.` };\n }\n if (!envName) return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };\n const env = EnvironmentRegistry.get(envName);\n if (!env) return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };\n\n let credentials;\n try {\n credentials = isCi ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);\n } catch (error) {\n return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n if (!credentials) return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app as string | undefined });\n if (!runtimeTarget) return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };\n\n const organizationId = ctx.flags.organization as string | undefined;\n try {\n const status = await AppBootstrapService.rotateKeyring(env, credentials, runtimeTarget.appSlug, {\n purpose,\n ...(organizationId ? { organizationId } : {}),\n mode,\n ...(emergency ? { compromiseInstant: since } : {}),\n ...(reason ? { justification: reason } : {}),\n });\n const label = { [KeyringRotationMode.PLANNED]: 'Rotation', [KeyringRotationMode.EMERGENCY]: 'Emergency rotation', [KeyringRotationMode.ROOT_LOST]: 'Root-lost rotation' }[mode];\n ctx.log.success(`${label} of ${runtimeTarget.appSlug}'s ${purpose} key done (env: ${envName}).`);\n for (const version of status.versions.filter((candidate) => candidate.purpose === purpose && candidate.scopeId === (organizationId ?? candidate.scopeId))) {\n ctx.log.info(` ${chalk.dim(`#${version.generation}`)} ${version.kid} ${version.state}${version.compromiseInstant ? ` exposed since ${version.compromiseInstant}` : ''}`);\n }\n if (emergency) ctx.log.warn('Seals made after the stated instant cannot be corroborated: the application publishes the key as compromised from that instant. It learns the new keys at its next keyring refresh.');\n if (rootLost) ctx.log.info('Every seal already made keeps verifying: the destroyed keys\\' public halves stay published. Keep the new root in your secrets backup.');\n return { success: true };\n } catch (error) {\n return { success: false, message: `Key rotation failed: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"rotate.command.js","sourceRoot":"","sources":["../../../../src/commands/keys/rot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I,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,KAAK,OAAO,IAAI,SAAS,CAAC,OAAO,KAAK,CAAC,cAAc,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;gBAC1J,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,OAAO,CAAC,GAAG,KAAK,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAC/K,CAAC;YACD,IAAI,SAAS;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,qLAAqL,CAAC,CAAC;YACnN,IAAI,QAAQ;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,uIAAuI,CAAC,CAAC;YACpK,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,wBAAwB,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;QACtG,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo keys rotate` — rotate one of an application's platform-custody keyrings (#2891).\n *\n * The keyring keeps an ACTIVE version that signs and a NEXT version every verifier already holds. A planned rotation\n * promotes NEXT and retires ACTIVE, which keeps verifying everything it signed:\n *\n * wildo keys rotate # the approval-seal key of the targeted application\n * wildo keys rotate --organization <organizationId> # an organization's key, when the binding is per organization\n *\n * An EMERGENCY rotation is for a key that may have leaked. It marks ACTIVE compromised from the earliest instant it may\n * have been exposed, destroys its private material at once, and promotes NEXT. Seals made before that instant can still\n * be corroborated; seals after it cannot, and the verifier says so. The instant is never defaulted: an operator who does\n * not know it states the earliest one possible.\n *\n * wildo keys rotate --emergency --since 2026-10-18T00:00:00Z --reason \"host credentials found in a public paste\"\n *\n * A ROOT-LOST rotation is for a platform whose key-encryption root (`PLATFORM_KEY_ENCRYPTION_ROOT`) is gone and was not\n * leaked: apps-manager now runs with a new root, and no LOCAL key sealed under the old one can be opened. Every version\n * that cannot be opened is destroyed (its public half stays and still verifies what it signed) and a fresh pair is made.\n * Refused when every version still opens.\n *\n * wildo keys rotate --root-lost --reason \"the root was lost with the old host\"\n *\n * A planned rotation is refused while NEXT was published less than 15 minutes ago: a verifier may not hold it yet.\n * Only a key held in the platform keyring rotates here; the runtime-response key lives in apps-manager's environment and\n * rotates by promoting its next pair in the environment's secrets and running `wildo config sync`.\n *\n * Runs against apps-manager's admin door with the platform admin secret, like `wildo config reapply-declaration`.\n */\n\nimport chalk from 'chalk';\nimport { CryptoKey_Purpose } from '@wildo-ai/saas-models';\nimport { KeyringRotationMode, cryptoKeyPurposeIsKeyringHeld, keyringRotationRefusalOf } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\nimport { parsePlatformEnvironmentId } from '~wildo-cli/services/environment/environment.schemas';\nimport { reconstructSecretsFromEnv } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\n\nexport default class KeysRotateCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'keys rotate',\n description: \"Rotate an application's platform-custody signing key; --emergency when it may have leaked, --root-lost when the key-encryption root is gone (platform operator).\",\n category: CommandCategory.Config,\n flags: {\n purpose: { type: 'string', description: `The key purpose (default ${CryptoKey_Purpose.APPROVAL_SEAL}).`, default: undefined },\n organization: { type: 'string', description: 'For a per-organization key: the organization id whose key rotates.', default: undefined },\n emergency: { type: 'boolean', description: 'The key may have leaked: mark it compromised and destroy it now.', default: false },\n 'root-lost': { type: 'boolean', description: 'The key-encryption root is lost (not leaked): destroy every key it sealed and make a fresh pair.', default: false },\n since: { type: 'string', description: 'Emergency: the earliest instant the key may have been exposed (ISO 8601).', default: undefined },\n reason: { type: 'string', description: 'Emergency and root-lost: why, recorded on the audit trail.', default: undefined },\n env: { type: 'string', description: 'Target environment (default: the active one).', default: undefined },\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app).', default: undefined },\n ci: { type: 'boolean', description: 'CI mode — read the admin secret from env vars.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) return { success: false, message: '`wildo keys rotate` requires a targeted app root with wildo.saas.config.ts.' };\n\n const purposeFlag = ctx.flags.purpose as string | undefined;\n const purpose = purposeFlag === undefined ? CryptoKey_Purpose.APPROVAL_SEAL : Object.values(CryptoKey_Purpose).find((value) => value === purposeFlag);\n // Only a keyring-held purpose rotates here; every other one is named with where it is held and what to do instead.\n const rotatable = Object.values(CryptoKey_Purpose).filter(cryptoKeyPurposeIsKeyringHeld);\n if (!purpose) return { success: false, message: `--purpose must be one of: ${rotatable.join(', ')}.` };\n const refusal = keyringRotationRefusalOf(purpose);\n if (refusal) return { success: false, message: refusal };\n const emergency = ctx.flags.emergency === true;\n const rootLost = ctx.flags['root-lost'] === true;\n const since = ctx.flags.since as string | undefined;\n const reason = ctx.flags.reason as string | undefined;\n if (emergency && rootLost) {\n return { success: false, message: '--emergency and --root-lost are different events: a leaked key, or a lost root that sealed keys. Pass one.' };\n }\n if (emergency && (!since || !reason)) {\n return { success: false, message: 'An emergency rotation needs --since (the earliest instant the key may have been exposed) and --reason.' };\n }\n if (rootLost && (!reason || since)) {\n return { success: false, message: 'A root-lost rotation needs --reason, and takes no --since: a lost root exposed nothing.' };\n }\n if (!emergency && !rootLost && (since || reason)) {\n return { success: false, message: '--since and --reason are for an emergency rotation (--emergency); a planned rotation takes neither.' };\n }\n const mode = emergency ? KeyringRotationMode.EMERGENCY : rootLost ? KeyringRotationMode.ROOT_LOST : KeyringRotationMode.PLANNED;\n\n const isCi = ctx.flags.ci === true;\n const envFlag = ctx.flags.env as string | undefined;\n let envName: string | undefined;\n try {\n envName = envFlag ? parsePlatformEnvironmentId(envFlag) : ctx.activeEnv?.name;\n } catch {\n return { success: false, message: `Invalid environment name '${envFlag}'.` };\n }\n if (!envName) return { success: false, message: 'No active environment. Pass --env or run `wildo init` first.' };\n const env = EnvironmentRegistry.get(envName);\n if (!env) return { success: false, message: `Environment '${envName}' not found. Run 'wildo init' first.` };\n\n let credentials;\n try {\n credentials = isCi ? reconstructSecretsFromEnv() : EnvironmentUtils.loadSecretsJson(envName);\n } catch (error) {\n return { success: false, message: `Failed to load the platform admin secret: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n if (!credentials) return { success: false, message: `No secrets for '${envName}'. Run 'wildo init' first.` };\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug: ctx.flags.app as string | undefined });\n if (!runtimeTarget) return { success: false, message: `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.` };\n\n const organizationId = ctx.flags.organization as string | undefined;\n try {\n const status = await AppBootstrapService.rotateKeyring(env, credentials, runtimeTarget.appSlug, {\n purpose,\n ...(organizationId ? { organizationId } : {}),\n mode,\n ...(emergency ? { compromiseInstant: since } : {}),\n ...(reason ? { justification: reason } : {}),\n });\n const label = { [KeyringRotationMode.PLANNED]: 'Rotation', [KeyringRotationMode.EMERGENCY]: 'Emergency rotation', [KeyringRotationMode.ROOT_LOST]: 'Root-lost rotation' }[mode];\n ctx.log.success(`${label} of ${runtimeTarget.appSlug}'s ${purpose} key done (env: ${envName}).`);\n for (const version of status.versions.filter((candidate) => candidate.purpose === purpose && candidate.scopeId === (organizationId ?? candidate.scopeId))) {\n ctx.log.info(` ${chalk.dim(`#${version.generation}`)} ${version.kid} ${version.state}${version.compromiseInstant ? ` exposed since ${version.compromiseInstant}` : ''}`);\n }\n if (emergency) ctx.log.warn('Seals made after the stated instant cannot be corroborated: the application publishes the key as compromised from that instant. It learns the new keys at its next keyring refresh.');\n if (rootLost) ctx.log.info('Every seal already made keeps verifying: the destroyed keys\\' public halves stay published. Keep the new root in your secrets backup.');\n return { success: true };\n } catch (error) {\n return { success: false, message: `Key rotation failed: ${ErrorUtils.extractErrorMessage(error)}` };\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumbprint.command.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"thumbprint.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/keys/thumbprint.command.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAuD,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACxH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG1F,iFAAiF;AACjF,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,CAQ9D;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,WAAW;IAC5D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAoBvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumbprint.command.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"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S,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,sBAAsB,CAAC,IAAI,EAAE,KAAK,EAAE,eAAe,CAAC,WAAW,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAChI,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,sHAAsH,CAAC,CAAC,CAAC;QAChJ,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,CAAC;CACF","sourcesContent":["/**\n * `wildo keys thumbprint <public key file>` — the `kid` of a public key, to pin it (#2932).\n *\n * A pin is a key's RFC 7638 thumbprint, which is the `kid` the platform gives every key it signs with. An operator who\n * pins a key states that the key is theirs, so the public half it pins must come from a channel the host does not\n * control: its own KMS account's public-key export (`aws kms get-public-key`, `gcloud kms keys versions\n * get-public-key`, the vault's key page), never the application's JWKS. This command reads that file (a PEM public key,\n * or a JWK) and prints the thumbprint and a pin entry to complete and commit into `keyManagement.pins`.\n *\n * spec-cite: RFC 7638 §3 (the thumbprint over the required members, lexicographic, no whitespace). Cited by section.\n */\nimport { readFileSync } from 'node:fs';\nimport { createPublicKey } from 'node:crypto';\nimport { resolve } from 'node:path';\nimport chalk from 'chalk';\nimport { CryptoKey_Scope, CryptoKey_VersionState } from '@wildo-ai/saas-models';\nimport { isP256PublicJwk, p256JwkThumbprint, p256PublicJwkOf, type P256PublicJwk } from '@wildo-ai/platform-config-lib';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\n\n/** A P-256 public key from a PEM file or a JWK file; throws on anything else. */\nexport function publicJwkOfFile(content: string): P256PublicJwk {\n const trimmed = content.trim();\n if (trimmed.startsWith('{')) {\n const jwk: unknown = JSON.parse(trimmed);\n if (!isP256PublicJwk(jwk)) throw new Error('the JWK is not a P-256 public key');\n return jwk;\n }\n return p256PublicJwkOf(createPublicKey(trimmed));\n}\n\nexport default class KeysThumbprintCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'keys thumbprint',\n description: 'Print the kid (RFC 7638 thumbprint) of a P-256 public key file you obtained yourself, to pin it in keyManagement.pins.',\n category: CommandCategory.Core,\n args: [{ name: 'file', description: 'A PEM public key or a JWK (JSON).', required: true }],\n flags: {\n 'scope-id': { type: 'string', description: 'The pin\\'s scope id: the application id (or the organization id for an organization key).' },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const path = ctx.args.file;\n if (!path) {\n ctx.log.error('Missing required <file> argument.');\n return { success: false };\n }\n let kid: string;\n try {\n kid = p256JwkThumbprint(publicJwkOfFile(readFileSync(resolve(process.cwd(), path), 'utf8')));\n } catch (error) {\n ctx.log.error(`Cannot read a P-256 public key from ${path}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n ctx.log.info(`${chalk.green('kid')} ${kid}`);\n const scopeId = typeof ctx.flags['scope-id'] === 'string' ? ctx.flags['scope-id'] : '<application id>';\n ctx.log.info('Pin entry, to review and commit under keyManagement.pins[<purpose>].keys:');\n ctx.log.info(JSON.stringify({ kid, state: CryptoKey_VersionState.NEXT, scope: CryptoKey_Scope.APPLICATION, scopeId }, null, 2));\n ctx.log.info(chalk.dim('Pin a key only from a channel the host does not control. The pin set is never pruned: a retired key keeps verifying.'));\n return { success: true };\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseCommand } from '../../kernel/base-command';
|
|
2
|
+
import type { CommandMeta, CommandContext, CommandResult } from '../../kernel/types';
|
|
3
|
+
export default class KeysVaultRotateTokensCommand extends BaseCommand {
|
|
4
|
+
readonly meta: CommandMeta;
|
|
5
|
+
run(ctx: CommandContext): Promise<CommandResult>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=vault-rotate-tokens.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vault-rotate-tokens.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/keys/vault-rotate-tokens.command.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAoB1F,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,WAAW;IACnE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAUxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAiDvD"}
|