@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
|
@@ -27,13 +27,19 @@
|
|
|
27
27
|
* An environment whose secrets are not on this machine is named as not probed, never as served. A REMOTE environment's
|
|
28
28
|
* secrets are rebuilt from its CI environment at deploy, so a local copy missing a secret is reported as such.
|
|
29
29
|
*
|
|
30
|
+
* A provider can serve one guardrail and not the other (`openai-moderation` moderates output and does not screen), so
|
|
31
|
+
* whether it serves is answered PER GUARDRAIL the agents declare, from the provider's declared capabilities. And an
|
|
32
|
+
* environment may declare that it runs its agents unguarded where no classifier offers a guardrail
|
|
33
|
+
* (`agentContentGuardrails: { withoutClassifier: RUN_UNGUARDED, reason }`): such an environment is reported as running
|
|
34
|
+
* them UNGUARDED, with its reason, never as refusing, because that is what the backend does there.
|
|
35
|
+
*
|
|
30
36
|
* The agents are application code, read from the running dev companion (the same read as the AI-use line). Without
|
|
31
37
|
* them the line is a PASS that says the agent half was not probed, and lists the environments that could not serve a
|
|
32
38
|
* guarded agent as information, as the AI-use line does. An organization's agent policy can switch a guardrail on for
|
|
33
39
|
* one tenant; that is a database row, and the backend's boot report counts those.
|
|
34
40
|
*/
|
|
35
41
|
import { existsSync, readFileSync } from 'node:fs';
|
|
36
|
-
import { EngineCapability, FlowsActors_Agent_Status, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, isEngineCapabilityEnabled } from '@wildo-ai/saas-models';
|
|
42
|
+
import { AgentContentGuardrailsWithoutClassifier, BUILTIN_PROVIDER_CAPABILITY, EngineCapability, FlowsActors_Agent_Status, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, isEngineCapabilityEnabled, describeCaughtError, } from '@wildo-ai/saas-models';
|
|
37
43
|
import { orderProvidersForEngineCapability } from '@wildo-ai/saas-backend-lib/assurance-derivations';
|
|
38
44
|
import { LocalPreconditionCheckStatus } from '../../services/deployment/local-precondition-checks.schemas.js';
|
|
39
45
|
export const CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME = 'content-guardrail classifier';
|
|
@@ -64,7 +70,7 @@ export function readEnvironmentProviderEnv(path, fs = {
|
|
|
64
70
|
parsed = JSON.parse(fs.read(path));
|
|
65
71
|
}
|
|
66
72
|
catch (error) {
|
|
67
|
-
return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason:
|
|
73
|
+
return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason: describeCaughtError(error) };
|
|
68
74
|
}
|
|
69
75
|
const providerEnv = parsed?.providerEnv;
|
|
70
76
|
if (providerEnv === undefined)
|
|
@@ -74,6 +80,16 @@ export function readEnvironmentProviderEnv(path, fs = {
|
|
|
74
80
|
}
|
|
75
81
|
return { kind: EnvironmentProviderEnvReadingKind.READ, providerEnv: providerEnv };
|
|
76
82
|
}
|
|
83
|
+
/** The guardrails the guarded agents declare, between them. `undefined` when the agents could not be read. */
|
|
84
|
+
export function guardrailsDeclaredBy(agents) {
|
|
85
|
+
if (agents.some((agent) => agent.promptInjectionScreening === undefined && agent.outputModeration === undefined))
|
|
86
|
+
return undefined;
|
|
87
|
+
const guarded = agents.filter((agent) => (agent.status == null || agent.status === FlowsActors_Agent_Status.ACTIVE) && agent.capability === EngineCapability.AI_LLM);
|
|
88
|
+
return {
|
|
89
|
+
promptInjection: guarded.some((agent) => agent.promptInjectionScreening != null),
|
|
90
|
+
outputModeration: guarded.some((agent) => agent.outputModeration != null),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
77
93
|
/**
|
|
78
94
|
* The agents that can be refused for want of a classifier, by ref, or `undefined` when the projection cannot say (it
|
|
79
95
|
* predates the guardrail fields, so absence there means NOT READ). An agent is left out when it is known not to run
|
|
@@ -106,6 +122,8 @@ export function readEnvironmentClassifiers(input) {
|
|
|
106
122
|
return { envName: environment.envName, unreadable: environment.error instanceof Error ? environment.error.message : String(environment.error) };
|
|
107
123
|
}
|
|
108
124
|
const remote = environment.path.endsWith('wildo.infra.remote.config.ts') ? { remote: true } : {};
|
|
125
|
+
const declaration = environment.config.agentContentGuardrails;
|
|
126
|
+
const unguarded = declaration?.withoutClassifier === AgentContentGuardrailsWithoutClassifier.RUN_UNGUARDED ? { runsUnguardedBecause: declaration.reason } : {};
|
|
109
127
|
const selectionOverride = environment.config.providerSelection?.[CAPABILITY];
|
|
110
128
|
const [providerRef] = orderProvidersForEngineCapability({
|
|
111
129
|
capability: CAPABILITY,
|
|
@@ -114,27 +132,65 @@ export function readEnvironmentClassifiers(input) {
|
|
|
114
132
|
...(selectionOverride ? { selectionOverride } : {}),
|
|
115
133
|
});
|
|
116
134
|
const secrets = input.providerEnvOf(environment.envName);
|
|
117
|
-
if (providerRef === undefined)
|
|
118
|
-
|
|
135
|
+
if (providerRef === undefined) {
|
|
136
|
+
// As the runtime reads it (`declaresProviderForEngineCapability`): enabled, and the scope lists one or a selection names one.
|
|
137
|
+
const declaredButMissing = capabilityEnabled ? [...new Set([
|
|
138
|
+
...Object.entries(runtimeScope?.providers ?? {}).filter(([, entry]) => (entry?.engineCapabilities ?? []).includes(CAPABILITY)).map(([ref]) => ref),
|
|
139
|
+
...[selectionOverride?.primary, runtimeScope?.selection?.[CAPABILITY]?.primary].filter((ref) => typeof ref === 'string'),
|
|
140
|
+
])].sort() : [];
|
|
141
|
+
return {
|
|
142
|
+
envName: environment.envName, providerRef: null, secrets, missingSecrets: [], offers: { promptInjection: false, outputModeration: false },
|
|
143
|
+
...(declaredButMissing.length > 0 ? { declaredButMissing } : {}), ...remote, ...unguarded,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
const declared = input.catalogue.get(providerRef)?.providerCapabilities ?? [];
|
|
147
|
+
const offers = {
|
|
148
|
+
promptInjection: declared.includes(BUILTIN_PROVIDER_CAPABILITY.PROMPT_INJECTION_SCREENING),
|
|
149
|
+
outputModeration: declared.includes(BUILTIN_PROVIDER_CAPABILITY.OUTPUT_MODERATION),
|
|
150
|
+
};
|
|
119
151
|
const required = (input.catalogue.get(providerRef)?.secrets ?? []).filter((secret) => secret.required).map((secret) => secret.envVarName);
|
|
120
152
|
const missingSecrets = secrets.kind === EnvironmentProviderEnvReadingKind.READ
|
|
121
153
|
? required.filter((name) => typeof secrets.providerEnv[name] !== 'string' || secrets.providerEnv[name] === '').sort()
|
|
122
154
|
: [];
|
|
123
|
-
return { envName: environment.envName, providerRef, secrets, missingSecrets, ...remote };
|
|
155
|
+
return { envName: environment.envName, providerRef, secrets, missingSecrets, offers, ...remote, ...unguarded };
|
|
124
156
|
});
|
|
125
157
|
}
|
|
126
158
|
const quoted = (names) => names.map((name) => `\`${name}\``).join(', ');
|
|
127
|
-
|
|
128
|
-
|
|
159
|
+
const GUARDRAIL_NAME = {
|
|
160
|
+
promptInjection: 'contentGuardrails.promptInjection',
|
|
161
|
+
outputModeration: 'contentGuardrails.outputModeration',
|
|
162
|
+
};
|
|
163
|
+
/** Each environment, sorted into what can be said of it, for the guardrails the agents need. */
|
|
164
|
+
function classify(readings, needs) {
|
|
129
165
|
const unserved = [];
|
|
166
|
+
const unguarded = [];
|
|
130
167
|
const notProbed = [];
|
|
131
168
|
const served = [];
|
|
132
169
|
for (const reading of readings) {
|
|
133
170
|
if ('unreadable' in reading) {
|
|
134
171
|
unserved.push(`${reading.envName}: its infrastructure configuration could not be read (${reading.unreadable})`);
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
// Per guardrail: one the provider (or no provider) does not offer refuses, unless the environment runs it unguarded.
|
|
175
|
+
const notOffered = Object.keys(GUARDRAIL_NAME).filter((guardrail) => needs[guardrail] && !reading.offers[guardrail]);
|
|
176
|
+
if (reading.providerRef === null && reading.declaredButMissing !== undefined && notOffered.length > 0) {
|
|
177
|
+
// Declared and not there: the runtime refuses it, under any declaration of the environment.
|
|
178
|
+
unserved.push(`${reading.envName}: ${quoted(reading.declaredButMissing)} ${reading.declaredButMissing.length === 1 ? 'is' : 'are'} declared for ${CAPABILITY} (scoped or selected) and cannot serve it here (not installed, or not in the backend scope with it)`);
|
|
179
|
+
continue;
|
|
135
180
|
}
|
|
136
|
-
|
|
137
|
-
|
|
181
|
+
if (notOffered.length > 0) {
|
|
182
|
+
const what = reading.providerRef === null
|
|
183
|
+
? `no provider serves ${CAPABILITY}`
|
|
184
|
+
: `\`${reading.providerRef}\` does not offer ${notOffered.map((guardrail) => GUARDRAIL_NAME[guardrail]).join(' or ')}`;
|
|
185
|
+
if (reading.runsUnguardedBecause !== undefined) {
|
|
186
|
+
unguarded.push(`${reading.envName} (${what}; agentContentGuardrails: "${reading.runsUnguardedBecause}")`);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
unserved.push(`${reading.envName}: ${what}`);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
if (reading.providerRef === null || notOffered.length === Object.keys(GUARDRAIL_NAME).filter((guardrail) => needs[guardrail]).length) {
|
|
193
|
+
continue;
|
|
138
194
|
}
|
|
139
195
|
else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.UNREADABLE) {
|
|
140
196
|
unserved.push(`${reading.envName}: its secrets file ${reading.secrets.path} could not be read (${reading.secrets.reason}), so \`${reading.providerRef}\`'s secrets are unknown`);
|
|
@@ -142,6 +198,12 @@ function classify(readings) {
|
|
|
142
198
|
else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.ABSENT) {
|
|
143
199
|
notProbed.push(`${reading.envName} (\`${reading.providerRef}\`; no secrets.json for it on this machine)`);
|
|
144
200
|
}
|
|
201
|
+
else if (reading.missingSecrets.length > 0 && reading.runsUnguardedBecause !== undefined) {
|
|
202
|
+
// Its credentials are not authored here, and the environment declares it runs unguarded: absent, as the runtime reads it.
|
|
203
|
+
unguarded.push(reading.remote
|
|
204
|
+
? `${reading.envName} (\`${reading.providerRef}\` has no ${quoted(reading.missingSecrets)} in this machine's copy of its secrets.json; its deployed secrets come from its CI environment, so it may be guarded there; agentContentGuardrails: "${reading.runsUnguardedBecause}")`
|
|
205
|
+
: `${reading.envName} (\`${reading.providerRef}\` has no ${quoted(reading.missingSecrets)} here; agentContentGuardrails: "${reading.runsUnguardedBecause}")`);
|
|
206
|
+
}
|
|
145
207
|
else if (reading.missingSecrets.length > 0) {
|
|
146
208
|
unserved.push(reading.remote
|
|
147
209
|
? `${reading.envName}: \`${reading.providerRef}\` has no ${quoted(reading.missingSecrets)} in this machine's copy of its secrets.json → providerEnv (its deployed secrets come from its CI environment: check them there)`
|
|
@@ -151,11 +213,12 @@ function classify(readings) {
|
|
|
151
213
|
served.push(`${reading.envName} (\`${reading.providerRef}\`)`);
|
|
152
214
|
}
|
|
153
215
|
}
|
|
154
|
-
return { unserved, notProbed, served };
|
|
216
|
+
return { unserved, unguarded, notProbed, served };
|
|
155
217
|
}
|
|
156
218
|
const FIX = `In each environment named, make a provider serve ${CAPABILITY} (enable the capability and list the provider in the backend scope with it; `
|
|
157
219
|
+ '`providerSelection` in its wildo.infra.<env>.config.ts only chooses among those) and author its required secrets in that environment\'s '
|
|
158
|
-
+ 'secrets.json → providerEnv; or remove the guardrail declaration from the agent
|
|
220
|
+
+ 'secrets.json → providerEnv; or remove the guardrail declaration from the agent; or, deliberately, declare in that environment\'s infra config '
|
|
221
|
+
+ '`agentContentGuardrails: { withoutClassifier: RUN_UNGUARDED, reason }` to run the agent unguarded there. The backend also warns at startup, one line per agent it cannot serve.';
|
|
159
222
|
/**
|
|
160
223
|
* The doctor line. WARN when a guarded agent was read and an environment cannot serve it (or could not be read); PASS
|
|
161
224
|
* otherwise, saying which environments were probed and served, which were not probed, and, when the agents could not be
|
|
@@ -167,9 +230,10 @@ export function contentGuardrailClassifierCheck(input) {
|
|
|
167
230
|
if (input.guardedAgents !== undefined && input.guardedAgents.length === 0) {
|
|
168
231
|
return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no active agent declares contentGuardrails.promptInjection or contentGuardrails.outputModeration' };
|
|
169
232
|
}
|
|
170
|
-
const { unserved, notProbed, served } = classify(input.readings);
|
|
233
|
+
const { unserved, unguarded, notProbed, served } = classify(input.readings, input.guardrailsNeeded ?? { promptInjection: true, outputModeration: true });
|
|
171
234
|
const tail = [
|
|
172
235
|
served.length > 0 ? `Served (probed): ${served.join(', ')}.` : '',
|
|
236
|
+
unguarded.length > 0 ? `Runs guarded agents UNGUARDED, as the environment declares: ${unguarded.join(', ')}.` : '',
|
|
173
237
|
notProbed.length > 0 ? `Not probed for secrets: ${notProbed.join(', ')}.` : '',
|
|
174
238
|
].filter(Boolean).join(' ');
|
|
175
239
|
if (input.guardedAgents === undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-guardrail-classifier.service.js","sourceRoot":"","sources":["../../../../../../src/services/application/content-guardrail-classifier.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,wCAAwC,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAGxJ,OAAO,EAAE,iCAAiC,EAAsC,MAAM,kDAAkD,CAAC;AAEzI,OAAO,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAKhH,MAAM,CAAC,MAAM,uCAAuC,GAAG,8BAA8B,CAAC;AAEtF,MAAM,UAAU,GAAG,gBAAgB,CAAC,iBAAiB,CAAC;AAEtD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iCAOX;AAPD,WAAY,iCAAiC;IAC3C,+EAA+E;IAC/E,kDAAa,CAAA;IACb,8DAA8D;IAC9D,sDAAiB,CAAA;IACjB,uGAAuG;IACvG,8DAAyB,CAAA;AAC3B,CAAC,EAPW,iCAAiC,KAAjC,iCAAiC,QAO5C;AAOD;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,IAAY,EAAE,KAA4E;IACnI,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC;CAC3C;IACC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;QAAE,OAAO,EAAE,IAAI,EAAE,iCAAiC,CAAC,MAAM,EAAE,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AE,wBAAwB,OAAO,0DAA0D,WAAW,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE;SAC9H,CAAC;IACJ,CAAC;IAED,MAAM,GAAG,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC;QAC1C,CAAC,CAAC,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY;QAC/C,CAAC,CAAC,UAAU,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC;IACnD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,+CAA+C,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;IACjK,CAAC;IACD,OAAO;QACL,IAAI;QACJ,MAAM,EAAE,4BAA4B,CAAC,IAAI;QACzC,MAAM,EAAE,GAAG,GAAG,6CAA6C,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,IAAI,EAAE;QACrJ,GAAG,EAAE,GAAG;KACT,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Which of an application's environments can serve its agents' classifier-backed content guardrails (#2292) — the\n * `wildo local doctor` line.\n *\n * An agent declaring `contentGuardrails.promptInjection` or `contentGuardrails.outputModeration` needs a classifier, a\n * provider for `EngineCapability.AI_CONTENT_SAFETY`, and REFUSES EVERY TURN in an environment where none can serve it.\n * The backend's boot report says so for the environment it boots in (`reportUnservableAgentContentGuardrails`); this\n * says it for EVERY authored environment, offline, before anything is deployed, since the environment that cannot serve\n * is usually not the one on the developer's machine.\n *\n * ## The same rules as the backend, fed from the files\n *\n * Which provider serves the capability in an environment is the provider registry's own ordering rule\n * (`orderProvidersForEngineCapability`) over the engine's own enablement rule (`isEngineCapabilityEnabled`), not a copy\n * of either: a selection only REORDERS the providers in scope, so \"no `providerSelection` for this environment\" is not\n * \"no classifier\" (a provider in the backend scope still serves). Fed what the registry reads: the capability's\n * enablement, the backend provider scope, the configured providers, the providers the CLI can see (engine tier plus the\n * application's discovered packages), and the environment's selection.\n *\n * The provider asked first then needs its REQUIRED secrets (its API key, and its host when it reads one from the\n * environment) in that environment's `secrets.json → providerEnv`: the backend refuses a guarded agent's turn when\n * either is unset. Only the `providerEnv` keys are read, so an older-shape file that no longer validates still answers.\n *\n * ## What it says, and what it cannot see\n *\n * \"Served\" is said of an environment only when it was PROBED: its provider found and every required secret present.\n * An environment whose secrets are not on this machine is named as not probed, never as served. A REMOTE environment's\n * secrets are rebuilt from its CI environment at deploy, so a local copy missing a secret is reported as such.\n *\n * The agents are application code, read from the running dev companion (the same read as the AI-use line). Without\n * them the line is a PASS that says the agent half was not probed, and lists the environments that could not serve a\n * guarded agent as information, as the AI-use line does. An organization's agent policy can switch a guardrail on for\n * one tenant; that is a database row, and the backend's boot report counts those.\n */\nimport { existsSync, readFileSync } from 'node:fs';\n\nimport { EngineCapability, FlowsActors_Agent_Status, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, isEngineCapabilityEnabled } from '@wildo-ai/saas-models';\nimport type { AgentAiUseDeclaration } from '@wildo-ai/saas-models';\nimport type { WildoSaasConfig } from '@wildo-ai/platform-config-lib';\nimport { orderProvidersForEngineCapability, type EngineCapabilityProviderScope } from '@wildo-ai/saas-backend-lib/assurance-derivations';\n\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { LocalPreconditionCheckResult } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { ProviderSecretsCatalogueEntry } from '~wildo-cli/services/credentials/composed-provider-catalogue';\nimport type { SettledAuthoredInfraEnvConfig } from '~wildo-cli/services/environment/authored-infra-config.utils';\n\nexport const CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME = 'content-guardrail classifier';\n\nconst CAPABILITY = EngineCapability.AI_CONTENT_SAFETY;\n\n/** What an environment's `secrets.json` said about `providerEnv`. */\nexport enum EnvironmentProviderEnvReadingKind {\n /** The file exists and its `providerEnv` (absent counts as empty) was read. */\n READ = 'read',\n /** No `secrets.json` for that environment on this machine. */\n ABSENT = 'absent',\n /** The file exists and could not be read as JSON, or its `providerEnv` is not an object of strings. */\n UNREADABLE = 'unreadable',\n}\n\nexport type EnvironmentProviderEnvReading =\n | { readonly kind: EnvironmentProviderEnvReadingKind.READ; readonly providerEnv: Readonly<Record<string, unknown>> }\n | { readonly kind: EnvironmentProviderEnvReadingKind.ABSENT }\n | { readonly kind: EnvironmentProviderEnvReadingKind.UNREADABLE; readonly path: string; readonly reason: string };\n\n/**\n * The `providerEnv` of the `secrets.json` at `path`, read WITHOUT validating the rest of the file: the question is only\n * which keys are present, and a file in an older shape (missing a block a later release added) answers it as well as a\n * current one. Values are never returned to a caller that prints them.\n */\nexport function readEnvironmentProviderEnv(path: string, fs: { exists: (path: string) => boolean; read: (path: string) => string } = {\n exists: existsSync,\n read: (file) => readFileSync(file, 'utf8'),\n}): EnvironmentProviderEnvReading {\n if (!fs.exists(path)) return { kind: EnvironmentProviderEnvReadingKind.ABSENT };\n let parsed: unknown;\n try {\n parsed = JSON.parse(fs.read(path));\n } catch (error) {\n return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason: error instanceof Error ? error.message : String(error) };\n }\n const providerEnv = (parsed as { providerEnv?: unknown } | null)?.providerEnv;\n if (providerEnv === undefined) return { kind: EnvironmentProviderEnvReadingKind.READ, providerEnv: {} };\n if (providerEnv === null || typeof providerEnv !== 'object' || Array.isArray(providerEnv)) {\n return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason: '`providerEnv` is not an object' };\n }\n return { kind: EnvironmentProviderEnvReadingKind.READ, providerEnv: providerEnv as Record<string, unknown> };\n}\n\n/** One environment's answer: which provider would screen there, and whether its secrets were seen. */\nexport type EnvironmentClassifierReading =\n | { readonly envName: string; readonly unreadable: string }\n | {\n readonly envName: string;\n /** The provider the backend would ask first, `null` when none serves the capability there. */\n readonly providerRef: string | null;\n /** The environment's `providerEnv` as read. */\n readonly secrets: EnvironmentProviderEnvReading;\n /** Of the serving provider's required secrets, those absent from `providerEnv` (empty unless `secrets` was READ). */\n readonly missingSecrets: readonly string[];\n /**\n * A REMOTE environment (its authored file is `wildo.infra.remote.config.ts`): its deployed secrets are rebuilt from its\n * CI environment, so the `secrets.json` on this machine is a copy that may not be the whole of them.\n */\n readonly remote?: true;\n };\n\n/**\n * The agents that can be refused for want of a classifier, by ref, or `undefined` when the projection cannot say (it\n * predates the guardrail fields, so absence there means NOT READ). An agent is left out when it is known not to run\n * guardrails: inactive (never invoked), or not a language-model agent (guardrails apply to language-model agents only).\n */\nexport function guardedAgentRefs(agents: readonly AgentAiUseDeclaration[]): string[] | undefined {\n if (agents.some((agent) => agent.promptInjectionScreening === undefined && agent.outputModeration === undefined)) return undefined;\n return agents\n .filter((agent) => agent.status == null || agent.status === FlowsActors_Agent_Status.ACTIVE)\n .filter((agent) => agent.capability === EngineCapability.AI_LLM)\n .filter((agent) => agent.promptInjectionScreening != null || agent.outputModeration != null)\n .map((agent) => agent.ref)\n .sort();\n}\n\n/** Each authored environment's classifier reading. Pure: every file is read by the caller. */\nexport function readEnvironmentClassifiers(input: {\n readonly saasConfig: Pick<WildoSaasConfig, 'engineCapabilities' | 'providers' | 'providerConfigurations'>;\n readonly environments: readonly SettledAuthoredInfraEnvConfig[];\n /** Every provider the CLI can see (the composed catalogue, after discovery). */\n readonly catalogue: ReadonlyMap<string, ProviderSecretsCatalogueEntry>;\n /** The environment's `secrets.json → providerEnv`, as {@link readEnvironmentProviderEnv} reads it. */\n readonly providerEnvOf: (envName: string) => EnvironmentProviderEnvReading;\n}): EnvironmentClassifierReading[] {\n const capabilityEnabled = isEngineCapabilityEnabled(input.saasConfig.engineCapabilities as Parameters<typeof isEngineCapabilityEnabled>[0], CAPABILITY);\n // The backend's provider scope: the runtime a guarded agent runs in.\n const runtimeScope = (input.saasConfig.providers as { scopes?: Record<string, EngineCapabilityProviderScope | undefined> } | undefined)?.scopes?.backend;\n const configuredProviderRefs = new Set(Object.entries(input.saasConfig.providerConfigurations ?? {}).filter(([, value]) => Boolean(value)).map(([ref]) => ref));\n const registeredProviders = [...input.catalogue.values()].map((entry) => ({\n providerRef: entry.providerRef,\n engineCapabilities: [...new Set(entry.providerCapabilities\n .map((capability) => PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY[capability as keyof typeof PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY])\n .filter((capability): capability is EngineCapability => capability !== undefined))],\n }));\n\n return input.environments.map((environment): EnvironmentClassifierReading => {\n if ('error' in environment) {\n return { envName: environment.envName, unreadable: environment.error instanceof Error ? environment.error.message : String(environment.error) };\n }\n const remote = environment.path.endsWith('wildo.infra.remote.config.ts') ? { remote: true as const } : {};\n const selectionOverride = environment.config.providerSelection?.[CAPABILITY];\n const [providerRef] = orderProvidersForEngineCapability({\n capability: CAPABILITY,\n registeredProviders,\n configuration: { capabilityEnabled, runtimeScope, configuredProviderRefs },\n ...(selectionOverride ? { selectionOverride } : {}),\n });\n const secrets = input.providerEnvOf(environment.envName);\n if (providerRef === undefined) return { envName: environment.envName, providerRef: null, secrets, missingSecrets: [], ...remote };\n const required = (input.catalogue.get(providerRef)?.secrets ?? []).filter((secret) => secret.required).map((secret) => secret.envVarName);\n const missingSecrets = secrets.kind === EnvironmentProviderEnvReadingKind.READ\n ? required.filter((name) => typeof secrets.providerEnv[name] !== 'string' || secrets.providerEnv[name] === '').sort()\n : [];\n return { envName: environment.envName, providerRef, secrets, missingSecrets, ...remote };\n });\n}\n\nconst quoted = (names: readonly string[]): string => names.map((name) => `\\`${name}\\``).join(', ');\n\n/** Each environment, sorted into what can be said of it. */\nfunction classify(readings: readonly EnvironmentClassifierReading[]) {\n const unserved: string[] = [];\n const notProbed: string[] = [];\n const served: string[] = [];\n for (const reading of readings) {\n if ('unreadable' in reading) {\n unserved.push(`${reading.envName}: its infrastructure configuration could not be read (${reading.unreadable})`);\n } else if (reading.providerRef === null) {\n unserved.push(`${reading.envName}: no provider serves ${CAPABILITY}`);\n } else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.UNREADABLE) {\n unserved.push(`${reading.envName}: its secrets file ${reading.secrets.path} could not be read (${reading.secrets.reason}), so \\`${reading.providerRef}\\`'s secrets are unknown`);\n } else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.ABSENT) {\n notProbed.push(`${reading.envName} (\\`${reading.providerRef}\\`; no secrets.json for it on this machine)`);\n } else if (reading.missingSecrets.length > 0) {\n unserved.push(reading.remote\n ? `${reading.envName}: \\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} in this machine's copy of its secrets.json → providerEnv (its deployed secrets come from its CI environment: check them there)`\n : `${reading.envName}: \\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} in secrets.json → providerEnv`);\n } else {\n served.push(`${reading.envName} (\\`${reading.providerRef}\\`)`);\n }\n }\n return { unserved, notProbed, served };\n}\n\nconst FIX = `In each environment named, make a provider serve ${CAPABILITY} (enable the capability and list the provider in the backend scope with it; `\n + '`providerSelection` in its wildo.infra.<env>.config.ts only chooses among those) and author its required secrets in that environment\\'s '\n + 'secrets.json → providerEnv; or remove the guardrail declaration from the agent. The backend also warns at startup, one line per agent it cannot serve.';\n\n/**\n * The doctor line. WARN when a guarded agent was read and an environment cannot serve it (or could not be read); PASS\n * otherwise, saying which environments were probed and served, which were not probed, and, when the agents could not be\n * read, that the agent half was not probed. Never a FAIL: the runtime refuses the guarded agent's turns, the rest of the\n * application runs, and the remedy is a configuration edit.\n */\nexport function contentGuardrailClassifierCheck(input: {\n readonly readings: readonly EnvironmentClassifierReading[];\n /** The guarded agents, or `undefined` when the agents could not be read. */\n readonly guardedAgents: readonly string[] | undefined;\n readonly agentsNotReadBecause?: string;\n}): LocalPreconditionCheckResult {\n const name = CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME;\n if (input.guardedAgents !== undefined && input.guardedAgents.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no active agent declares contentGuardrails.promptInjection or contentGuardrails.outputModeration' };\n }\n const { unserved, notProbed, served } = classify(input.readings);\n const tail = [\n served.length > 0 ? `Served (probed): ${served.join(', ')}.` : '',\n notProbed.length > 0 ? `Not probed for secrets: ${notProbed.join(', ')}.` : '',\n ].filter(Boolean).join(' ');\n\n if (input.guardedAgents === undefined) {\n const because = input.agentsNotReadBecause ? ` (${input.agentsNotReadBecause})` : '';\n const information = unserved.length > 0\n ? ` An agent declaring contentGuardrails.promptInjection or .outputModeration would refuse every turn in: ${unserved.join('; ')}.`\n : '';\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `Not probed for agents${because}: run \\`wildo local doctor\\` with the dev companion up.${information} ${tail}`.trim(),\n };\n }\n\n const who = input.guardedAgents.length === 1\n ? `agent \\`${input.guardedAgents[0]}\\` REFUSES`\n : `agents ${quoted(input.guardedAgents)} REFUSE`;\n if (unserved.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${quoted(input.guardedAgents)}: no probed environment lacks a classifier. ${tail}`.trim() };\n }\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${who} EVERY TURN where no classifier can serve ${input.guardedAgents.length === 1 ? 'it' : 'them'}: ${unserved.join('; ')}. ${tail}`.trim(),\n fix: FIX,\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"content-guardrail-classifier.service.js","sourceRoot":"","sources":["../../../../src/services/application/content-guardrail-classifier.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnD,OAAO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CAAC;QACrF,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC;YACrC,CAAC,CAAC,0GAA0G,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;YAClI,CAAC,CAAC,EAAE,CAAC;QACP,OAAO;YACL,IAAI;YACJ,MAAM,EAAE,4BAA4B,CAAC,IAAI;YACzC,MAAM,EAAE,wBAAwB,OAAO,0DAA0D,WAAW,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE;SAC9H,CAAC;IACJ,CAAC;IAED,MAAM,GAAG,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC;QAC1C,CAAC,CAAC,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY;QAC/C,CAAC,CAAC,UAAU,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC;IACnD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,+CAA+C,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;IACjK,CAAC;IACD,OAAO;QACL,IAAI;QACJ,MAAM,EAAE,4BAA4B,CAAC,IAAI;QACzC,MAAM,EAAE,GAAG,GAAG,6CAA6C,KAAK,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,IAAI,EAAE;QACrJ,GAAG,EAAE,GAAG;KACT,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Which of an application's environments can serve its agents' classifier-backed content guardrails (#2292) — the\n * `wildo local doctor` line.\n *\n * An agent declaring `contentGuardrails.promptInjection` or `contentGuardrails.outputModeration` needs a classifier, a\n * provider for `EngineCapability.AI_CONTENT_SAFETY`, and REFUSES EVERY TURN in an environment where none can serve it.\n * The backend's boot report says so for the environment it boots in (`reportUnservableAgentContentGuardrails`); this\n * says it for EVERY authored environment, offline, before anything is deployed, since the environment that cannot serve\n * is usually not the one on the developer's machine.\n *\n * ## The same rules as the backend, fed from the files\n *\n * Which provider serves the capability in an environment is the provider registry's own ordering rule\n * (`orderProvidersForEngineCapability`) over the engine's own enablement rule (`isEngineCapabilityEnabled`), not a copy\n * of either: a selection only REORDERS the providers in scope, so \"no `providerSelection` for this environment\" is not\n * \"no classifier\" (a provider in the backend scope still serves). Fed what the registry reads: the capability's\n * enablement, the backend provider scope, the configured providers, the providers the CLI can see (engine tier plus the\n * application's discovered packages), and the environment's selection.\n *\n * The provider asked first then needs its REQUIRED secrets (its API key, and its host when it reads one from the\n * environment) in that environment's `secrets.json → providerEnv`: the backend refuses a guarded agent's turn when\n * either is unset. Only the `providerEnv` keys are read, so an older-shape file that no longer validates still answers.\n *\n * ## What it says, and what it cannot see\n *\n * \"Served\" is said of an environment only when it was PROBED: its provider found and every required secret present.\n * An environment whose secrets are not on this machine is named as not probed, never as served. A REMOTE environment's\n * secrets are rebuilt from its CI environment at deploy, so a local copy missing a secret is reported as such.\n *\n * A provider can serve one guardrail and not the other (`openai-moderation` moderates output and does not screen), so\n * whether it serves is answered PER GUARDRAIL the agents declare, from the provider's declared capabilities. And an\n * environment may declare that it runs its agents unguarded where no classifier offers a guardrail\n * (`agentContentGuardrails: { withoutClassifier: RUN_UNGUARDED, reason }`): such an environment is reported as running\n * them UNGUARDED, with its reason, never as refusing, because that is what the backend does there.\n *\n * The agents are application code, read from the running dev companion (the same read as the AI-use line). Without\n * them the line is a PASS that says the agent half was not probed, and lists the environments that could not serve a\n * guarded agent as information, as the AI-use line does. An organization's agent policy can switch a guardrail on for\n * one tenant; that is a database row, and the backend's boot report counts those.\n */\nimport { existsSync, readFileSync } from 'node:fs';\n\nimport {\n AgentContentGuardrailsWithoutClassifier,\n BUILTIN_PROVIDER_CAPABILITY,\n EngineCapability,\n FlowsActors_Agent_Status,\n PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY,\n isEngineCapabilityEnabled,\n describeCaughtError,\n} from '@wildo-ai/saas-models';\nimport type { AgentAiUseDeclaration } from '@wildo-ai/saas-models';\nimport type { WildoSaasConfig } from '@wildo-ai/platform-config-lib';\nimport { orderProvidersForEngineCapability, type EngineCapabilityProviderScope } from '@wildo-ai/saas-backend-lib/assurance-derivations';\n\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { LocalPreconditionCheckResult } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { ProviderSecretsCatalogueEntry } from '~wildo-cli/services/credentials/composed-provider-catalogue';\nimport type { SettledAuthoredInfraEnvConfig } from '~wildo-cli/services/environment/authored-infra-config.utils';\n\nexport const CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME = 'content-guardrail classifier';\n\nconst CAPABILITY = EngineCapability.AI_CONTENT_SAFETY;\n\n/** What an environment's `secrets.json` said about `providerEnv`. */\nexport enum EnvironmentProviderEnvReadingKind {\n /** The file exists and its `providerEnv` (absent counts as empty) was read. */\n READ = 'read',\n /** No `secrets.json` for that environment on this machine. */\n ABSENT = 'absent',\n /** The file exists and could not be read as JSON, or its `providerEnv` is not an object of strings. */\n UNREADABLE = 'unreadable',\n}\n\nexport type EnvironmentProviderEnvReading =\n | { readonly kind: EnvironmentProviderEnvReadingKind.READ; readonly providerEnv: Readonly<Record<string, unknown>> }\n | { readonly kind: EnvironmentProviderEnvReadingKind.ABSENT }\n | { readonly kind: EnvironmentProviderEnvReadingKind.UNREADABLE; readonly path: string; readonly reason: string };\n\n/**\n * The `providerEnv` of the `secrets.json` at `path`, read WITHOUT validating the rest of the file: the question is only\n * which keys are present, and a file in an older shape (missing a block a later release added) answers it as well as a\n * current one. Values are never returned to a caller that prints them.\n */\nexport function readEnvironmentProviderEnv(path: string, fs: { exists: (path: string) => boolean; read: (path: string) => string } = {\n exists: existsSync,\n read: (file) => readFileSync(file, 'utf8'),\n}): EnvironmentProviderEnvReading {\n if (!fs.exists(path)) return { kind: EnvironmentProviderEnvReadingKind.ABSENT };\n let parsed: unknown;\n try {\n parsed = JSON.parse(fs.read(path));\n } catch (error) {\n return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason: describeCaughtError(error) };\n }\n const providerEnv = (parsed as { providerEnv?: unknown } | null)?.providerEnv;\n if (providerEnv === undefined) return { kind: EnvironmentProviderEnvReadingKind.READ, providerEnv: {} };\n if (providerEnv === null || typeof providerEnv !== 'object' || Array.isArray(providerEnv)) {\n return { kind: EnvironmentProviderEnvReadingKind.UNREADABLE, path, reason: '`providerEnv` is not an object' };\n }\n return { kind: EnvironmentProviderEnvReadingKind.READ, providerEnv: providerEnv as Record<string, unknown> };\n}\n\n/** One environment's answer: which provider would screen there, and whether its secrets were seen. */\nexport type EnvironmentClassifierReading =\n | { readonly envName: string; readonly unreadable: string }\n | {\n readonly envName: string;\n /** The provider the backend would ask first, `null` when none serves the capability there. */\n readonly providerRef: string | null;\n /** The environment's `providerEnv` as read. */\n readonly secrets: EnvironmentProviderEnvReading;\n /** Of the serving provider's required secrets, those absent from `providerEnv` (empty unless `secrets` was READ). */\n readonly missingSecrets: readonly string[];\n /** Which guardrail the provider asked first offers, by its declared capabilities (both false when there is none). */\n readonly offers: GuardrailsOffered;\n /** The environment's reason, when it declares that its agents run unguarded where no classifier offers a guardrail. */\n readonly runsUnguardedBecause?: string;\n /**\n * With no provider found: the providers the backend scope or a selection DECLARE for the capability although none can\n * serve (not installed, or selected and not scoped with it). The runtime refuses such a declared classifier and never\n * waives it.\n */\n readonly declaredButMissing?: readonly string[];\n /**\n * A REMOTE environment (its authored file is `wildo.infra.remote.config.ts`): its deployed secrets are rebuilt from its\n * CI environment, so the `secrets.json` on this machine is a copy that may not be the whole of them.\n */\n readonly remote?: true;\n };\n\n/** Which classifier-backed guardrail something offers, or needs. */\nexport interface GuardrailsOffered {\n readonly promptInjection: boolean;\n readonly outputModeration: boolean;\n}\n\n/** The guardrails the guarded agents declare, between them. `undefined` when the agents could not be read. */\nexport function guardrailsDeclaredBy(agents: readonly AgentAiUseDeclaration[]): GuardrailsOffered | undefined {\n if (agents.some((agent) => agent.promptInjectionScreening === undefined && agent.outputModeration === undefined)) return undefined;\n const guarded = agents.filter((agent) => (agent.status == null || agent.status === FlowsActors_Agent_Status.ACTIVE) && agent.capability === EngineCapability.AI_LLM);\n return {\n promptInjection: guarded.some((agent) => agent.promptInjectionScreening != null),\n outputModeration: guarded.some((agent) => agent.outputModeration != null),\n };\n}\n\n/**\n * The agents that can be refused for want of a classifier, by ref, or `undefined` when the projection cannot say (it\n * predates the guardrail fields, so absence there means NOT READ). An agent is left out when it is known not to run\n * guardrails: inactive (never invoked), or not a language-model agent (guardrails apply to language-model agents only).\n */\nexport function guardedAgentRefs(agents: readonly AgentAiUseDeclaration[]): string[] | undefined {\n if (agents.some((agent) => agent.promptInjectionScreening === undefined && agent.outputModeration === undefined)) return undefined;\n return agents\n .filter((agent) => agent.status == null || agent.status === FlowsActors_Agent_Status.ACTIVE)\n .filter((agent) => agent.capability === EngineCapability.AI_LLM)\n .filter((agent) => agent.promptInjectionScreening != null || agent.outputModeration != null)\n .map((agent) => agent.ref)\n .sort();\n}\n\n/** Each authored environment's classifier reading. Pure: every file is read by the caller. */\nexport function readEnvironmentClassifiers(input: {\n readonly saasConfig: Pick<WildoSaasConfig, 'engineCapabilities' | 'providers' | 'providerConfigurations'>;\n readonly environments: readonly SettledAuthoredInfraEnvConfig[];\n /** Every provider the CLI can see (the composed catalogue, after discovery). */\n readonly catalogue: ReadonlyMap<string, ProviderSecretsCatalogueEntry>;\n /** The environment's `secrets.json → providerEnv`, as {@link readEnvironmentProviderEnv} reads it. */\n readonly providerEnvOf: (envName: string) => EnvironmentProviderEnvReading;\n}): EnvironmentClassifierReading[] {\n const capabilityEnabled = isEngineCapabilityEnabled(input.saasConfig.engineCapabilities as Parameters<typeof isEngineCapabilityEnabled>[0], CAPABILITY);\n // The backend's provider scope: the runtime a guarded agent runs in.\n const runtimeScope = (input.saasConfig.providers as { scopes?: Record<string, EngineCapabilityProviderScope | undefined> } | undefined)?.scopes?.backend;\n const configuredProviderRefs = new Set(Object.entries(input.saasConfig.providerConfigurations ?? {}).filter(([, value]) => Boolean(value)).map(([ref]) => ref));\n const registeredProviders = [...input.catalogue.values()].map((entry) => ({\n providerRef: entry.providerRef,\n engineCapabilities: [...new Set(entry.providerCapabilities\n .map((capability) => PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY[capability as keyof typeof PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY])\n .filter((capability): capability is EngineCapability => capability !== undefined))],\n }));\n\n return input.environments.map((environment): EnvironmentClassifierReading => {\n if ('error' in environment) {\n return { envName: environment.envName, unreadable: environment.error instanceof Error ? environment.error.message : String(environment.error) };\n }\n const remote = environment.path.endsWith('wildo.infra.remote.config.ts') ? { remote: true as const } : {};\n const declaration = environment.config.agentContentGuardrails;\n const unguarded = declaration?.withoutClassifier === AgentContentGuardrailsWithoutClassifier.RUN_UNGUARDED ? { runsUnguardedBecause: declaration.reason } : {};\n const selectionOverride = environment.config.providerSelection?.[CAPABILITY];\n const [providerRef] = orderProvidersForEngineCapability({\n capability: CAPABILITY,\n registeredProviders,\n configuration: { capabilityEnabled, runtimeScope, configuredProviderRefs },\n ...(selectionOverride ? { selectionOverride } : {}),\n });\n const secrets = input.providerEnvOf(environment.envName);\n if (providerRef === undefined) {\n // As the runtime reads it (`declaresProviderForEngineCapability`): enabled, and the scope lists one or a selection names one.\n const declaredButMissing = capabilityEnabled ? [...new Set([\n ...Object.entries(runtimeScope?.providers ?? {}).filter(([, entry]) => (entry?.engineCapabilities ?? []).includes(CAPABILITY)).map(([ref]) => ref),\n ...[selectionOverride?.primary, runtimeScope?.selection?.[CAPABILITY]?.primary].filter((ref): ref is string => typeof ref === 'string'),\n ])].sort() : [];\n return {\n envName: environment.envName, providerRef: null, secrets, missingSecrets: [], offers: { promptInjection: false, outputModeration: false },\n ...(declaredButMissing.length > 0 ? { declaredButMissing } : {}), ...remote, ...unguarded,\n };\n }\n const declared = input.catalogue.get(providerRef)?.providerCapabilities ?? [];\n const offers = {\n promptInjection: declared.includes(BUILTIN_PROVIDER_CAPABILITY.PROMPT_INJECTION_SCREENING),\n outputModeration: declared.includes(BUILTIN_PROVIDER_CAPABILITY.OUTPUT_MODERATION),\n };\n const required = (input.catalogue.get(providerRef)?.secrets ?? []).filter((secret) => secret.required).map((secret) => secret.envVarName);\n const missingSecrets = secrets.kind === EnvironmentProviderEnvReadingKind.READ\n ? required.filter((name) => typeof secrets.providerEnv[name] !== 'string' || secrets.providerEnv[name] === '').sort()\n : [];\n return { envName: environment.envName, providerRef, secrets, missingSecrets, offers, ...remote, ...unguarded };\n });\n}\n\nconst quoted = (names: readonly string[]): string => names.map((name) => `\\`${name}\\``).join(', ');\n\nconst GUARDRAIL_NAME: Readonly<Record<keyof GuardrailsOffered, string>> = {\n promptInjection: 'contentGuardrails.promptInjection',\n outputModeration: 'contentGuardrails.outputModeration',\n};\n\n/** Each environment, sorted into what can be said of it, for the guardrails the agents need. */\nfunction classify(readings: readonly EnvironmentClassifierReading[], needs: GuardrailsOffered) {\n const unserved: string[] = [];\n const unguarded: string[] = [];\n const notProbed: string[] = [];\n const served: string[] = [];\n for (const reading of readings) {\n if ('unreadable' in reading) {\n unserved.push(`${reading.envName}: its infrastructure configuration could not be read (${reading.unreadable})`);\n continue;\n }\n // Per guardrail: one the provider (or no provider) does not offer refuses, unless the environment runs it unguarded.\n const notOffered = (Object.keys(GUARDRAIL_NAME) as (keyof GuardrailsOffered)[]).filter((guardrail) => needs[guardrail] && !reading.offers[guardrail]);\n if (reading.providerRef === null && reading.declaredButMissing !== undefined && notOffered.length > 0) {\n // Declared and not there: the runtime refuses it, under any declaration of the environment.\n unserved.push(`${reading.envName}: ${quoted(reading.declaredButMissing)} ${reading.declaredButMissing.length === 1 ? 'is' : 'are'} declared for ${CAPABILITY} (scoped or selected) and cannot serve it here (not installed, or not in the backend scope with it)`);\n continue;\n }\n if (notOffered.length > 0) {\n const what = reading.providerRef === null\n ? `no provider serves ${CAPABILITY}`\n : `\\`${reading.providerRef}\\` does not offer ${notOffered.map((guardrail) => GUARDRAIL_NAME[guardrail]).join(' or ')}`;\n if (reading.runsUnguardedBecause !== undefined) {\n unguarded.push(`${reading.envName} (${what}; agentContentGuardrails: \"${reading.runsUnguardedBecause}\")`);\n } else {\n unserved.push(`${reading.envName}: ${what}`);\n }\n }\n if (reading.providerRef === null || notOffered.length === (Object.keys(GUARDRAIL_NAME) as (keyof GuardrailsOffered)[]).filter((guardrail) => needs[guardrail]).length) {\n continue;\n } else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.UNREADABLE) {\n unserved.push(`${reading.envName}: its secrets file ${reading.secrets.path} could not be read (${reading.secrets.reason}), so \\`${reading.providerRef}\\`'s secrets are unknown`);\n } else if (reading.secrets.kind === EnvironmentProviderEnvReadingKind.ABSENT) {\n notProbed.push(`${reading.envName} (\\`${reading.providerRef}\\`; no secrets.json for it on this machine)`);\n } else if (reading.missingSecrets.length > 0 && reading.runsUnguardedBecause !== undefined) {\n // Its credentials are not authored here, and the environment declares it runs unguarded: absent, as the runtime reads it.\n unguarded.push(reading.remote\n ? `${reading.envName} (\\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} in this machine's copy of its secrets.json; its deployed secrets come from its CI environment, so it may be guarded there; agentContentGuardrails: \"${reading.runsUnguardedBecause}\")`\n : `${reading.envName} (\\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} here; agentContentGuardrails: \"${reading.runsUnguardedBecause}\")`);\n } else if (reading.missingSecrets.length > 0) {\n unserved.push(reading.remote\n ? `${reading.envName}: \\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} in this machine's copy of its secrets.json → providerEnv (its deployed secrets come from its CI environment: check them there)`\n : `${reading.envName}: \\`${reading.providerRef}\\` has no ${quoted(reading.missingSecrets)} in secrets.json → providerEnv`);\n } else {\n served.push(`${reading.envName} (\\`${reading.providerRef}\\`)`);\n }\n }\n return { unserved, unguarded, notProbed, served };\n}\n\nconst FIX = `In each environment named, make a provider serve ${CAPABILITY} (enable the capability and list the provider in the backend scope with it; `\n + '`providerSelection` in its wildo.infra.<env>.config.ts only chooses among those) and author its required secrets in that environment\\'s '\n + 'secrets.json → providerEnv; or remove the guardrail declaration from the agent; or, deliberately, declare in that environment\\'s infra config '\n + '`agentContentGuardrails: { withoutClassifier: RUN_UNGUARDED, reason }` to run the agent unguarded there. The backend also warns at startup, one line per agent it cannot serve.';\n\n/**\n * The doctor line. WARN when a guarded agent was read and an environment cannot serve it (or could not be read); PASS\n * otherwise, saying which environments were probed and served, which were not probed, and, when the agents could not be\n * read, that the agent half was not probed. Never a FAIL: the runtime refuses the guarded agent's turns, the rest of the\n * application runs, and the remedy is a configuration edit.\n */\nexport function contentGuardrailClassifierCheck(input: {\n readonly readings: readonly EnvironmentClassifierReading[];\n /** The guarded agents, or `undefined` when the agents could not be read. */\n readonly guardedAgents: readonly string[] | undefined;\n /** The guardrails they declare between them ({@link guardrailsDeclaredBy}); both when absent or unknown. */\n readonly guardrailsNeeded?: GuardrailsOffered;\n readonly agentsNotReadBecause?: string;\n}): LocalPreconditionCheckResult {\n const name = CONTENT_GUARDRAIL_CLASSIFIER_CHECK_NAME;\n if (input.guardedAgents !== undefined && input.guardedAgents.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'no active agent declares contentGuardrails.promptInjection or contentGuardrails.outputModeration' };\n }\n const { unserved, unguarded, notProbed, served } = classify(input.readings, input.guardrailsNeeded ?? { promptInjection: true, outputModeration: true });\n const tail = [\n served.length > 0 ? `Served (probed): ${served.join(', ')}.` : '',\n unguarded.length > 0 ? `Runs guarded agents UNGUARDED, as the environment declares: ${unguarded.join(', ')}.` : '',\n notProbed.length > 0 ? `Not probed for secrets: ${notProbed.join(', ')}.` : '',\n ].filter(Boolean).join(' ');\n\n if (input.guardedAgents === undefined) {\n const because = input.agentsNotReadBecause ? ` (${input.agentsNotReadBecause})` : '';\n const information = unserved.length > 0\n ? ` An agent declaring contentGuardrails.promptInjection or .outputModeration would refuse every turn in: ${unserved.join('; ')}.`\n : '';\n return {\n name,\n status: LocalPreconditionCheckStatus.PASS,\n detail: `Not probed for agents${because}: run \\`wildo local doctor\\` with the dev companion up.${information} ${tail}`.trim(),\n };\n }\n\n const who = input.guardedAgents.length === 1\n ? `agent \\`${input.guardedAgents[0]}\\` REFUSES`\n : `agents ${quoted(input.guardedAgents)} REFUSE`;\n if (unserved.length === 0) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${quoted(input.guardedAgents)}: no probed environment lacks a classifier. ${tail}`.trim() };\n }\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${who} EVERY TURN where no classifier can serve ${input.guardedAgents.length === 1 ? 'it' : 'them'}: ${unserved.join('; ')}. ${tail}`.trim(),\n fix: FIX,\n };\n}\n"]}
|
|
@@ -27,8 +27,20 @@ export interface HostProbe {
|
|
|
27
27
|
readonly processes: () => readonly HostProcess[] | null;
|
|
28
28
|
readonly readFile: (path: string) => string | null;
|
|
29
29
|
readonly now: () => number;
|
|
30
|
+
/** Where `name` resolves on this process's PATH, as `spawn(name)` would find it, or `null`. */
|
|
31
|
+
readonly commandOnPath: (name: string) => string | null;
|
|
30
32
|
}
|
|
31
33
|
export declare const DEFAULT_HOST_PROBE: HostProbe;
|
|
34
|
+
/**
|
|
35
|
+
* The `wildo` CLI resolves on PATH, because the companion runs it BY NAME (#3204): a build task's checks (the resources
|
|
36
|
+
* registry init, the labels and documentation steps) spawn `wildo`, and the spawn fails `ENOENT` when it is not there.
|
|
37
|
+
*
|
|
38
|
+
* Measured on reference run 42202387917: the runner called the CLI as `node …/wildo.js`, every coding task's
|
|
39
|
+
* `check:resources-registry-init` failed with "the `wildo` CLI could not be executed (spawn wildo ENOENT)", and each
|
|
40
|
+
* task was retried five times at about $2.50 an attempt before the run was stopped. A FAIL, not a WARN: no build task
|
|
41
|
+
* can land without it.
|
|
42
|
+
*/
|
|
43
|
+
export declare function checkWildoOnPath(probe?: HostProbe): LocalPreconditionCheckResult;
|
|
32
44
|
/**
|
|
33
45
|
* WARN when the 1-minute load average exceeds the core count, naming the processes using the most CPU.
|
|
34
46
|
*
|
|
@@ -52,7 +64,7 @@ export declare function checkMachineLoad(probe?: HostProbe): LocalPreconditionCh
|
|
|
52
64
|
* No framework checkout (an application installed from published packages) has nothing to report.
|
|
53
65
|
*/
|
|
54
66
|
export declare function checkFrameworkWatchers(frameworkRoot: string | null | undefined, probe?: HostProbe, applicationRoot?: string | null): LocalPreconditionCheckResult;
|
|
55
|
-
/**
|
|
67
|
+
/** The three host checks, in the order an operator reads them. */
|
|
56
68
|
export declare function collectCreationHostChecks(input: {
|
|
57
69
|
frameworkRoot: string | null | undefined;
|
|
58
70
|
applicationRoot?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-host-readiness.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-host-readiness.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/creation-host-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAQH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAGrH,+CAA+C;AAC/C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IACnC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,MAAM,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,SAAS,WAAW,EAAE,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC;IAC3B,+FAA+F;IAC/F,QAAQ,CAAC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CACzD;AAmDD,eAAO,MAAM,kBAAkB,EAAE,SAchC,CAAC;AAWF;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,GAAE,SAA8B,GAAG,4BAA4B,CAUpG;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,GAAE,SAA8B,GAAG,4BAA4B,CA4BpG;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACxC,KAAK,GAAE,SAA8B,EACrC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAC9B,4BAA4B,CA2C9B;AAED,kEAAkE;AAClE,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,GAAG,4BAA4B,EAAE,CAMjC"}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* are conditions an operator may legitimately choose to live with. A WARN reports; it must not stop a run.
|
|
9
9
|
*/
|
|
10
10
|
import { execFileSync } from 'child_process';
|
|
11
|
-
import { readFileSync } from 'fs';
|
|
11
|
+
import { accessSync, constants as fsConstants, readFileSync } from 'fs';
|
|
12
12
|
import { availableParallelism, cpus, loadavg } from 'os';
|
|
13
|
-
import { join } from 'path';
|
|
13
|
+
import { delimiter, join } from 'path';
|
|
14
14
|
import { LocalPreconditionCheckStatus } from '../../services/deployment/local-precondition-checks.schemas.js';
|
|
15
15
|
import { DEV_COMPILE_STATUS_RELATIVE } from '../../services/framework/dev-compile-status.paths.js';
|
|
16
16
|
/** How many processes the load warning names: enough to find the culprit, short enough to read. */
|
|
@@ -29,6 +29,23 @@ const COMPILE_STATUS_HEARTBEAT_FRESH_MS = 30_000;
|
|
|
29
29
|
* framework root (`examples/…`), so the root alone would count their own `wildo local dev` watchers too.
|
|
30
30
|
*/
|
|
31
31
|
const FRAMEWORK_WATCHER_COMMAND_MARKERS = ['tsc-watch', 'wildo-compiler-runner'];
|
|
32
|
+
/** The first executable `name` on PATH (with the Windows command suffixes), as a spawn by bare name resolves it. */
|
|
33
|
+
function resolveCommandOnPath(name) {
|
|
34
|
+
const suffixes = process.platform === 'win32' ? (process.env.PATHEXT ?? '.EXE;.CMD;.BAT').split(';') : [''];
|
|
35
|
+
for (const directory of (process.env.PATH ?? '').split(delimiter).filter(Boolean)) {
|
|
36
|
+
for (const suffix of suffixes) {
|
|
37
|
+
const candidate = join(directory, `${name}${suffix}`);
|
|
38
|
+
try {
|
|
39
|
+
accessSync(candidate, fsConstants.X_OK);
|
|
40
|
+
return candidate;
|
|
41
|
+
}
|
|
42
|
+
catch {
|
|
43
|
+
// not here
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
32
49
|
function readProcessTable() {
|
|
33
50
|
try {
|
|
34
51
|
// `-A` every process, `=` suppresses headers; `args` keeps the full command line, which the watcher check needs.
|
|
@@ -56,6 +73,7 @@ export const DEFAULT_HOST_PROBE = {
|
|
|
56
73
|
}
|
|
57
74
|
},
|
|
58
75
|
now: () => Date.now(),
|
|
76
|
+
commandOnPath: (name) => resolveCommandOnPath(name),
|
|
59
77
|
};
|
|
60
78
|
/** The executable a command line starts with, shortened to its basename, for a line an operator reads. */
|
|
61
79
|
function describeCommand(command) {
|
|
@@ -65,6 +83,27 @@ function describeCommand(command) {
|
|
|
65
83
|
const shortRest = rest.length > 60 ? `${rest.slice(0, 57)}...` : rest;
|
|
66
84
|
return shortRest.length > 0 ? `${basename} ${shortRest}` : basename;
|
|
67
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* The `wildo` CLI resolves on PATH, because the companion runs it BY NAME (#3204): a build task's checks (the resources
|
|
88
|
+
* registry init, the labels and documentation steps) spawn `wildo`, and the spawn fails `ENOENT` when it is not there.
|
|
89
|
+
*
|
|
90
|
+
* Measured on reference run 42202387917: the runner called the CLI as `node …/wildo.js`, every coding task's
|
|
91
|
+
* `check:resources-registry-init` failed with "the `wildo` CLI could not be executed (spawn wildo ENOENT)", and each
|
|
92
|
+
* task was retried five times at about $2.50 an attempt before the run was stopped. A FAIL, not a WARN: no build task
|
|
93
|
+
* can land without it.
|
|
94
|
+
*/
|
|
95
|
+
export function checkWildoOnPath(probe = DEFAULT_HOST_PROBE) {
|
|
96
|
+
const name = 'creation host: wildo CLI on PATH';
|
|
97
|
+
const resolved = probe.commandOnPath('wildo');
|
|
98
|
+
if (resolved !== null)
|
|
99
|
+
return { name, status: LocalPreconditionCheckStatus.PASS, detail: `\`wildo\` resolves to ${resolved}.` };
|
|
100
|
+
return {
|
|
101
|
+
name,
|
|
102
|
+
status: LocalPreconditionCheckStatus.FAIL,
|
|
103
|
+
detail: 'No `wildo` on PATH. The companion runs the CLI by name for every build task\'s checks, so each task would fail its verification.',
|
|
104
|
+
fix: 'Install the CLI (`platform/factory/scripts/install.sh`), or put a `wildo` that runs it on PATH before starting the stack.',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
68
107
|
/**
|
|
69
108
|
* WARN when the 1-minute load average exceeds the core count, naming the processes using the most CPU.
|
|
70
109
|
*
|
|
@@ -156,12 +195,12 @@ export function checkFrameworkWatchers(frameworkRoot, probe = DEFAULT_HOST_PROBE
|
|
|
156
195
|
+ 'will interrupt the application while the run is using it.',
|
|
157
196
|
};
|
|
158
197
|
}
|
|
159
|
-
/**
|
|
198
|
+
/** The three host checks, in the order an operator reads them. */
|
|
160
199
|
export function collectCreationHostChecks(input) {
|
|
161
200
|
const base = input.probe ?? DEFAULT_HOST_PROBE;
|
|
162
|
-
//
|
|
201
|
+
// The first two read the process table; one `ps` serves both, so their lines describe the same instant.
|
|
163
202
|
let table;
|
|
164
203
|
const probe = { ...base, processes: () => (table ??= { value: base.processes() }).value };
|
|
165
|
-
return [checkMachineLoad(probe), checkFrameworkWatchers(input.frameworkRoot, probe, input.applicationRoot)];
|
|
204
|
+
return [checkMachineLoad(probe), checkFrameworkWatchers(input.frameworkRoot, probe, input.applicationRoot), checkWildoOnPath(probe)];
|
|
166
205
|
}
|
|
167
206
|
//# sourceMappingURL=creation-host-readiness.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-host-readiness.service.js","sourceRoot":"","sources":["../../../../../../src/services/application/creation-host-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAEhH,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAwBrG,mGAAmG;AACnG,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,iCAAiC,GAAG,MAAM,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,iCAAiC,GAAsB,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAEpG,SAAS,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,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,IAAI,kBAAkB,CAAC;IAC/C,wGAAwG;IACxG,IAAI,KAAoE,CAAC;IACzE,MAAM,KAAK,GAAc,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;IACrG,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC9G,CAAC","sourcesContent":["/**\n * Is THIS MACHINE in a state to carry a creation run — the half of the creation preflight that reads the host\n * rather than the application (#2229).\n *\n * Both checks WARN and never FAIL. Neither mirrors a refusal: nothing in the runtime refuses to start on a busy\n * machine or beside a framework watcher. They are here because run 004 lost time to both — a machine overloaded by\n * other processes, and framework watchers whose rebuilds respawned the application's processes mid-run — and both\n * are conditions an operator may legitimately choose to live with. A WARN reports; it must not stop a run.\n */\n\nimport { execFileSync } from 'child_process';\nimport { readFileSync } from 'fs';\nimport { availableParallelism, cpus, loadavg } from 'os';\nimport { join } from 'path';\n\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { LocalPreconditionCheckResult } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport { DEV_COMPILE_STATUS_RELATIVE } from '~wildo-cli/services/framework/dev-compile-status.paths';\n\n/** One running process, as `ps` reports it. */\nexport interface HostProcess {\n readonly pid: number;\n readonly cpuPercent: number;\n readonly command: string;\n}\n\n/**\n * The host facts these checks read, injectable so a test never probes the machine it runs on.\n *\n * `processes` is `null` when the process table could not be read (no `ps`, or Windows); the checks then say so\n * rather than reporting an empty table as \"nothing is running\".\n */\nexport interface HostProbe {\n readonly platform: NodeJS.Platform;\n readonly loadAverageOneMinute: () => number;\n readonly coreCount: () => number;\n readonly processes: () => readonly HostProcess[] | null;\n readonly readFile: (path: string) => string | null;\n readonly now: () => number;\n}\n\n/** How many processes the load warning names: enough to find the culprit, short enough to read. */\nconst TOP_PROCESS_COUNT = 5;\n\n/**\n * How old the compile-status heartbeat may be and still mean an orchestrator is running.\n *\n * `dev-compile-status.mjs` rewrites it every 5 s; a file whose heartbeat is minutes old is the record of a session\n * that ended without cleaning up, and reporting it as live watchers would send the operator after nothing.\n */\nconst COMPILE_STATUS_HEARTBEAT_FRESH_MS = 30_000;\n\n/**\n * Command-line fragments that identify a compile watcher. `tsc-watch` drives every package's watcher, and\n * `wildo-compiler-runner` is the lane wrapper it runs. A match counts as a FRAMEWORK watcher only when its command\n * names the framework root and does not name the application's root: the dogfood applications live INSIDE the\n * framework root (`examples/…`), so the root alone would count their own `wildo local dev` watchers too.\n */\nconst FRAMEWORK_WATCHER_COMMAND_MARKERS: readonly string[] = ['tsc-watch', 'wildo-compiler-runner'];\n\nfunction readProcessTable(): readonly HostProcess[] | null {\n try {\n // `-A` every process, `=` suppresses headers; `args` keeps the full command line, which the watcher check needs.\n const output = execFileSync('ps', ['-Ao', 'pid=,pcpu=,args='], { encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 });\n return output.split('\\n').flatMap((line) => {\n const match = /^\\s*(\\d+)\\s+([\\d.]+)\\s+(.*)$/.exec(line);\n return match ? [{ pid: Number(match[1]), cpuPercent: Number(match[2]), command: match[3] }] : [];\n });\n } catch {\n return null;\n }\n}\n\nexport const DEFAULT_HOST_PROBE: HostProbe = {\n platform: process.platform,\n loadAverageOneMinute: () => loadavg()[0],\n coreCount: () => (typeof availableParallelism === 'function' ? availableParallelism() : cpus().length),\n processes: () => (process.platform === 'win32' ? null : readProcessTable()),\n readFile: (path) => {\n try {\n return readFileSync(path, 'utf8');\n } catch {\n return null;\n }\n },\n now: () => Date.now(),\n};\n\n/** The executable a command line starts with, shortened to its basename, for a line an operator reads. */\nfunction describeCommand(command: string): string {\n const executable = command.split(/\\s+/)[0] ?? command;\n const basename = executable.split('/').pop() ?? executable;\n const rest = command.slice(executable.length).trim();\n const shortRest = rest.length > 60 ? `${rest.slice(0, 57)}...` : rest;\n return shortRest.length > 0 ? `${basename} ${shortRest}` : basename;\n}\n\n/**\n * WARN when the 1-minute load average exceeds the core count, naming the processes using the most CPU.\n *\n * Load above the core count means runnable work is queueing, which is what makes a model call's client or a coding\n * agent's subprocess miss its own deadline. Naming the processes is the point: \"the machine is busy\" sends the\n * operator to Activity Monitor, the names send them to the process.\n *\n * Windows reports a load average of 0 always (Node documents it), so there the check says it measured nothing\n * rather than passing a machine it cannot see.\n */\nexport function checkMachineLoad(probe: HostProbe = DEFAULT_HOST_PROBE): LocalPreconditionCheckResult {\n const name = 'creation host: machine load';\n if (probe.platform === 'win32') {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'Not measured: Windows reports no load average.' };\n }\n const load = probe.loadAverageOneMinute();\n const cores = probe.coreCount();\n const summary = `1-minute load ${load.toFixed(2)} on ${cores} core(s)`;\n if (load <= cores) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${summary}.` };\n }\n\n const processes = probe.processes();\n const top = processes === null\n ? 'the process table could not be read'\n : [...processes]\n .filter((entry) => entry.cpuPercent > 0)\n .sort((left, right) => right.cpuPercent - left.cpuPercent)\n .slice(0, TOP_PROCESS_COUNT)\n .map((entry) => `${describeCommand(entry.command)} (pid ${entry.pid}, ${entry.cpuPercent.toFixed(0)}%)`)\n .join('; ') || 'no single process stands out';\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${summary} — runnable work is queueing. Top CPU: ${top}.`,\n fix: 'Stop or wait for the processes named above before starting a run; model calls and coding agents on a '\n + 'saturated machine run slower and miss their deadlines.',\n };\n}\n\n/**\n * WARN when framework-development watchers run beside an application run.\n *\n * Two signals, because each misses a case the other sees: the compile-status heartbeat says a framework dev\n * orchestrator is alive (and is written only by one), and the process table finds `tsc-watch` processes under the\n * framework root even when the orchestrator that started them is gone. An application built from this checkout\n * consumes the engine through `file:` links, so a framework rebuild lands in its injected packages and its\n * supervised processes restart — mid-run.\n *\n * No framework checkout (an application installed from published packages) has nothing to report.\n */\nexport function checkFrameworkWatchers(\n frameworkRoot: string | null | undefined,\n probe: HostProbe = DEFAULT_HOST_PROBE,\n applicationRoot?: string | null,\n): LocalPreconditionCheckResult {\n const name = 'creation host: framework watchers';\n if (!frameworkRoot) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'No framework checkout is configured on this machine.' };\n }\n\n const statusText = probe.readFile(join(frameworkRoot, DEV_COMPILE_STATUS_RELATIVE));\n let heartbeatAgeMs: number | null = null;\n let orchestratorPid: number | null = null;\n if (statusText !== null) {\n try {\n const status = JSON.parse(statusText) as { heartbeatAt?: string; orchestratorPid?: number };\n const heartbeatMs = Date.parse(status.heartbeatAt ?? '');\n if (Number.isFinite(heartbeatMs)) heartbeatAgeMs = probe.now() - heartbeatMs;\n orchestratorPid = typeof status.orchestratorPid === 'number' ? status.orchestratorPid : null;\n } catch {\n heartbeatAgeMs = null;\n }\n }\n const orchestratorLive = heartbeatAgeMs !== null && heartbeatAgeMs <= COMPILE_STATUS_HEARTBEAT_FRESH_MS;\n\n const processes = probe.processes();\n const applicationPrefix = applicationRoot ? `${applicationRoot.replace(/\\/+$/u, '')}/` : null;\n const watchers = (processes ?? []).filter((entry) => entry.command.includes(frameworkRoot)\n && !(applicationPrefix !== null && entry.command.includes(applicationPrefix))\n && FRAMEWORK_WATCHER_COMMAND_MARKERS.some((marker) => entry.command.includes(marker)));\n\n if (!orchestratorLive && watchers.length === 0) {\n const tableNote = processes === null ? ' (the process table could not be read, so only the heartbeat was asked)' : '';\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `No framework watchers are running${tableNote}.` };\n }\n\n const signals = [\n ...(orchestratorLive ? [`the framework dev orchestrator${orchestratorPid === null ? '' : ` (pid ${orchestratorPid})`} heartbeat is ${Math.round((heartbeatAgeMs ?? 0) / 1000)} s old`] : []),\n ...(watchers.length > 0 ? [`${watchers.length} tsc-watch process(es) run under ${frameworkRoot}`] : []),\n ];\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${signals.join('; ')}. A framework rebuild reaches this application's injected packages and restarts its processes mid-run.`,\n fix: 'Stop the framework dev session before a long run — or keep it, knowing a framework edit by another session '\n + 'will interrupt the application while the run is using it.',\n };\n}\n\n/** Both host checks, in the order an operator reads them. */\nexport function collectCreationHostChecks(input: {\n frameworkRoot: string | null | undefined;\n applicationRoot?: string | null;\n probe?: HostProbe;\n}): LocalPreconditionCheckResult[] {\n const base = input.probe ?? DEFAULT_HOST_PROBE;\n // Both checks read the process table; one `ps` serves both, so the two lines describe the same instant.\n let table: { readonly value: readonly HostProcess[] | null } | undefined;\n const probe: HostProbe = { ...base, processes: () => (table ??= { value: base.processes() }).value };\n return [checkMachineLoad(probe), checkFrameworkWatchers(input.frameworkRoot, probe, input.applicationRoot)];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"creation-host-readiness.service.js","sourceRoot":"","sources":["../../../../src/services/application/creation-host-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,WAAW,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAEhH,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AA0BrG,mGAAmG;AACnG,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,iCAAiC,GAAG,MAAM,CAAC;AAEjD;;;;;GAKG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,CAAC,wGAAwG;QACrI,GAAG,EAAE,6GAA6G;cAC9G,2DAA2D;KAChE,CAAC;AACJ,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,yBAAyB,CAAC,KAIzC;IACC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,IAAI,kBAAkB,CAAC;IAC/C,wGAAwG;IACxG,IAAI,KAAoE,CAAC;IACzE,MAAM,KAAK,GAAc,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;IACrG,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;AACvI,CAAC","sourcesContent":["/**\n * Is THIS MACHINE in a state to carry a creation run — the half of the creation preflight that reads the host\n * rather than the application (#2229).\n *\n * Both checks WARN and never FAIL. Neither mirrors a refusal: nothing in the runtime refuses to start on a busy\n * machine or beside a framework watcher. They are here because run 004 lost time to both — a machine overloaded by\n * other processes, and framework watchers whose rebuilds respawned the application's processes mid-run — and both\n * are conditions an operator may legitimately choose to live with. A WARN reports; it must not stop a run.\n */\n\nimport { execFileSync } from 'child_process';\nimport { accessSync, constants as fsConstants, readFileSync } from 'fs';\nimport { availableParallelism, cpus, loadavg } from 'os';\nimport { delimiter, join } from 'path';\n\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { LocalPreconditionCheckResult } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport { DEV_COMPILE_STATUS_RELATIVE } from '~wildo-cli/services/framework/dev-compile-status.paths';\n\n/** One running process, as `ps` reports it. */\nexport interface HostProcess {\n readonly pid: number;\n readonly cpuPercent: number;\n readonly command: string;\n}\n\n/**\n * The host facts these checks read, injectable so a test never probes the machine it runs on.\n *\n * `processes` is `null` when the process table could not be read (no `ps`, or Windows); the checks then say so\n * rather than reporting an empty table as \"nothing is running\".\n */\nexport interface HostProbe {\n readonly platform: NodeJS.Platform;\n readonly loadAverageOneMinute: () => number;\n readonly coreCount: () => number;\n readonly processes: () => readonly HostProcess[] | null;\n readonly readFile: (path: string) => string | null;\n readonly now: () => number;\n /** Where `name` resolves on this process's PATH, as `spawn(name)` would find it, or `null`. */\n readonly commandOnPath: (name: string) => string | null;\n}\n\n/** How many processes the load warning names: enough to find the culprit, short enough to read. */\nconst TOP_PROCESS_COUNT = 5;\n\n/**\n * How old the compile-status heartbeat may be and still mean an orchestrator is running.\n *\n * `dev-compile-status.mjs` rewrites it every 5 s; a file whose heartbeat is minutes old is the record of a session\n * that ended without cleaning up, and reporting it as live watchers would send the operator after nothing.\n */\nconst COMPILE_STATUS_HEARTBEAT_FRESH_MS = 30_000;\n\n/**\n * Command-line fragments that identify a compile watcher. `tsc-watch` drives every package's watcher, and\n * `wildo-compiler-runner` is the lane wrapper it runs. A match counts as a FRAMEWORK watcher only when its command\n * names the framework root and does not name the application's root: the dogfood applications live INSIDE the\n * framework root (`examples/…`), so the root alone would count their own `wildo local dev` watchers too.\n */\nconst FRAMEWORK_WATCHER_COMMAND_MARKERS: readonly string[] = ['tsc-watch', 'wildo-compiler-runner'];\n\n/** The first executable `name` on PATH (with the Windows command suffixes), as a spawn by bare name resolves it. */\nfunction resolveCommandOnPath(name: string): string | null {\n const suffixes = process.platform === 'win32' ? (process.env.PATHEXT ?? '.EXE;.CMD;.BAT').split(';') : [''];\n for (const directory of (process.env.PATH ?? '').split(delimiter).filter(Boolean)) {\n for (const suffix of suffixes) {\n const candidate = join(directory, `${name}${suffix}`);\n try {\n accessSync(candidate, fsConstants.X_OK);\n return candidate;\n } catch {\n // not here\n }\n }\n }\n return null;\n}\n\nfunction readProcessTable(): readonly HostProcess[] | null {\n try {\n // `-A` every process, `=` suppresses headers; `args` keeps the full command line, which the watcher check needs.\n const output = execFileSync('ps', ['-Ao', 'pid=,pcpu=,args='], { encoding: 'utf8', maxBuffer: 16 * 1024 * 1024 });\n return output.split('\\n').flatMap((line) => {\n const match = /^\\s*(\\d+)\\s+([\\d.]+)\\s+(.*)$/.exec(line);\n return match ? [{ pid: Number(match[1]), cpuPercent: Number(match[2]), command: match[3] }] : [];\n });\n } catch {\n return null;\n }\n}\n\nexport const DEFAULT_HOST_PROBE: HostProbe = {\n platform: process.platform,\n loadAverageOneMinute: () => loadavg()[0],\n coreCount: () => (typeof availableParallelism === 'function' ? availableParallelism() : cpus().length),\n processes: () => (process.platform === 'win32' ? null : readProcessTable()),\n readFile: (path) => {\n try {\n return readFileSync(path, 'utf8');\n } catch {\n return null;\n }\n },\n now: () => Date.now(),\n commandOnPath: (name) => resolveCommandOnPath(name),\n};\n\n/** The executable a command line starts with, shortened to its basename, for a line an operator reads. */\nfunction describeCommand(command: string): string {\n const executable = command.split(/\\s+/)[0] ?? command;\n const basename = executable.split('/').pop() ?? executable;\n const rest = command.slice(executable.length).trim();\n const shortRest = rest.length > 60 ? `${rest.slice(0, 57)}...` : rest;\n return shortRest.length > 0 ? `${basename} ${shortRest}` : basename;\n}\n\n/**\n * The `wildo` CLI resolves on PATH, because the companion runs it BY NAME (#3204): a build task's checks (the resources\n * registry init, the labels and documentation steps) spawn `wildo`, and the spawn fails `ENOENT` when it is not there.\n *\n * Measured on reference run 42202387917: the runner called the CLI as `node …/wildo.js`, every coding task's\n * `check:resources-registry-init` failed with \"the `wildo` CLI could not be executed (spawn wildo ENOENT)\", and each\n * task was retried five times at about $2.50 an attempt before the run was stopped. A FAIL, not a WARN: no build task\n * can land without it.\n */\nexport function checkWildoOnPath(probe: HostProbe = DEFAULT_HOST_PROBE): LocalPreconditionCheckResult {\n const name = 'creation host: wildo CLI on PATH';\n const resolved = probe.commandOnPath('wildo');\n if (resolved !== null) return { name, status: LocalPreconditionCheckStatus.PASS, detail: `\\`wildo\\` resolves to ${resolved}.` };\n return {\n name,\n status: LocalPreconditionCheckStatus.FAIL,\n detail: 'No `wildo` on PATH. The companion runs the CLI by name for every build task\\'s checks, so each task would fail its verification.',\n fix: 'Install the CLI (`platform/factory/scripts/install.sh`), or put a `wildo` that runs it on PATH before starting the stack.',\n };\n}\n\n/**\n * WARN when the 1-minute load average exceeds the core count, naming the processes using the most CPU.\n *\n * Load above the core count means runnable work is queueing, which is what makes a model call's client or a coding\n * agent's subprocess miss its own deadline. Naming the processes is the point: \"the machine is busy\" sends the\n * operator to Activity Monitor, the names send them to the process.\n *\n * Windows reports a load average of 0 always (Node documents it), so there the check says it measured nothing\n * rather than passing a machine it cannot see.\n */\nexport function checkMachineLoad(probe: HostProbe = DEFAULT_HOST_PROBE): LocalPreconditionCheckResult {\n const name = 'creation host: machine load';\n if (probe.platform === 'win32') {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'Not measured: Windows reports no load average.' };\n }\n const load = probe.loadAverageOneMinute();\n const cores = probe.coreCount();\n const summary = `1-minute load ${load.toFixed(2)} on ${cores} core(s)`;\n if (load <= cores) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `${summary}.` };\n }\n\n const processes = probe.processes();\n const top = processes === null\n ? 'the process table could not be read'\n : [...processes]\n .filter((entry) => entry.cpuPercent > 0)\n .sort((left, right) => right.cpuPercent - left.cpuPercent)\n .slice(0, TOP_PROCESS_COUNT)\n .map((entry) => `${describeCommand(entry.command)} (pid ${entry.pid}, ${entry.cpuPercent.toFixed(0)}%)`)\n .join('; ') || 'no single process stands out';\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${summary} — runnable work is queueing. Top CPU: ${top}.`,\n fix: 'Stop or wait for the processes named above before starting a run; model calls and coding agents on a '\n + 'saturated machine run slower and miss their deadlines.',\n };\n}\n\n/**\n * WARN when framework-development watchers run beside an application run.\n *\n * Two signals, because each misses a case the other sees: the compile-status heartbeat says a framework dev\n * orchestrator is alive (and is written only by one), and the process table finds `tsc-watch` processes under the\n * framework root even when the orchestrator that started them is gone. An application built from this checkout\n * consumes the engine through `file:` links, so a framework rebuild lands in its injected packages and its\n * supervised processes restart — mid-run.\n *\n * No framework checkout (an application installed from published packages) has nothing to report.\n */\nexport function checkFrameworkWatchers(\n frameworkRoot: string | null | undefined,\n probe: HostProbe = DEFAULT_HOST_PROBE,\n applicationRoot?: string | null,\n): LocalPreconditionCheckResult {\n const name = 'creation host: framework watchers';\n if (!frameworkRoot) {\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: 'No framework checkout is configured on this machine.' };\n }\n\n const statusText = probe.readFile(join(frameworkRoot, DEV_COMPILE_STATUS_RELATIVE));\n let heartbeatAgeMs: number | null = null;\n let orchestratorPid: number | null = null;\n if (statusText !== null) {\n try {\n const status = JSON.parse(statusText) as { heartbeatAt?: string; orchestratorPid?: number };\n const heartbeatMs = Date.parse(status.heartbeatAt ?? '');\n if (Number.isFinite(heartbeatMs)) heartbeatAgeMs = probe.now() - heartbeatMs;\n orchestratorPid = typeof status.orchestratorPid === 'number' ? status.orchestratorPid : null;\n } catch {\n heartbeatAgeMs = null;\n }\n }\n const orchestratorLive = heartbeatAgeMs !== null && heartbeatAgeMs <= COMPILE_STATUS_HEARTBEAT_FRESH_MS;\n\n const processes = probe.processes();\n const applicationPrefix = applicationRoot ? `${applicationRoot.replace(/\\/+$/u, '')}/` : null;\n const watchers = (processes ?? []).filter((entry) => entry.command.includes(frameworkRoot)\n && !(applicationPrefix !== null && entry.command.includes(applicationPrefix))\n && FRAMEWORK_WATCHER_COMMAND_MARKERS.some((marker) => entry.command.includes(marker)));\n\n if (!orchestratorLive && watchers.length === 0) {\n const tableNote = processes === null ? ' (the process table could not be read, so only the heartbeat was asked)' : '';\n return { name, status: LocalPreconditionCheckStatus.PASS, detail: `No framework watchers are running${tableNote}.` };\n }\n\n const signals = [\n ...(orchestratorLive ? [`the framework dev orchestrator${orchestratorPid === null ? '' : ` (pid ${orchestratorPid})`} heartbeat is ${Math.round((heartbeatAgeMs ?? 0) / 1000)} s old`] : []),\n ...(watchers.length > 0 ? [`${watchers.length} tsc-watch process(es) run under ${frameworkRoot}`] : []),\n ];\n return {\n name,\n status: LocalPreconditionCheckStatus.WARN,\n detail: `${signals.join('; ')}. A framework rebuild reaches this application's injected packages and restarts its processes mid-run.`,\n fix: 'Stop the framework dev session before a long run — or keep it, knowing a framework edit by another session '\n + 'will interrupt the application while the run is using it.',\n };\n}\n\n/** The three host checks, in the order an operator reads them. */\nexport function collectCreationHostChecks(input: {\n frameworkRoot: string | null | undefined;\n applicationRoot?: string | null;\n probe?: HostProbe;\n}): LocalPreconditionCheckResult[] {\n const base = input.probe ?? DEFAULT_HOST_PROBE;\n // The first two read the process table; one `ps` serves both, so their lines describe the same instant.\n let table: { readonly value: readonly HostProcess[] | null } | undefined;\n const probe: HostProbe = { ...base, processes: () => (table ??= { value: base.processes() }).value };\n return [checkMachineLoad(probe), checkFrameworkWatchers(input.frameworkRoot, probe, input.applicationRoot), checkWildoOnPath(probe)];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-preflight.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-preflight.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/creation-preflight.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAGrH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iEAAiE,CAAC;AACjG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,wBAAsB,8BAA8B,CAAC,KAAK,EAAE;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAK1C;AAED,qFAAqF;AACrF,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,8BAA8B,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,CA0B/H;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,SAAS,4BAA4B,EAAE,GAAG,OAAO,CAE7F;AAQD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,SAAS,4BAA4B,EAAE,GAAG,MAAM,EAAE,CAK/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creation-preflight.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"creation-preflight.service.js","sourceRoot":"","sources":["../../../../src/services/application/creation-preflight.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAEhH,OAAO,EAAE,yCAAyC,EAAE,MAAM,wEAAwE,CAAC;AACnI,OAAO,EAAE,yBAAyB,EAAE,MAAM,iEAAiE,CAAC;AAI5G,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,KAKpD;IACC,OAAO;QACL,GAAG,MAAM,yCAAyC,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;QACxG,GAAG,yBAAyB,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;KAC9H,CAAC;AACJ,CAAC;AAED,qFAAqF;AACrF,MAAM,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AACL,CAAC","sourcesContent":["/**\n * The creation preflight (#2229): can a creation run that starts now FINISH — one function, read by every surface\n * that asks.\n *\n * | surface | what it does with the result |\n * |---|---|\n * | `wildo creation preflight` | prints it, exits non-zero on a FAIL |\n * | `wildo local doctor` | prints it beside the stack checks |\n * | `wildo creation run`, `wildo creation loop`, `wildo build run` | refuses BEFORE contacting the companion on a FAIL, so nothing is spent |\n *\n * One collector is what keeps them from drifting: a check added here is asked by every one of them, and none of them can\n * hold a private list. The checks themselves live in two families by what they read — the application's declared\n * configuration (`application-creation-readiness.service.ts`, each mirroring a runtime refusal and able to FAIL)\n * and the host (`creation-host-readiness.service.ts`, advisory and only ever WARN).\n */\n\nimport chalk from 'chalk';\n\nimport { LocalPreconditionCheckStatus } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport type { LocalPreconditionCheckResult } from '~wildo-cli/services/deployment/local-precondition-checks.schemas';\nimport { collectApplicationCreationReadinessChecks } from '~wildo-cli/services/application/application-creation-readiness.service';\nimport { collectCreationHostChecks } from '~wildo-cli/services/application/creation-host-readiness.service';\nimport type { HostProbe } from '~wildo-cli/services/application/creation-host-readiness.service';\nimport type { CommandContext } from '~wildo-cli/kernel/types';\n\nexport async function collectCreationPreflightChecks(input: {\n saasRoot: string;\n envName: string;\n frameworkRoot: string | null | undefined;\n hostProbe?: HostProbe;\n}): Promise<LocalPreconditionCheckResult[]> {\n return [\n ...await collectApplicationCreationReadinessChecks({ saasRoot: input.saasRoot, envName: input.envName }),\n ...collectCreationHostChecks({ frameworkRoot: input.frameworkRoot, applicationRoot: input.saasRoot, probe: input.hostProbe }),\n ];\n}\n\n/** The flag that lets an operator past a FAIL, on the two verbs that start a run. */\nexport const SKIP_PREFLIGHT_FLAG = 'skip-preflight';\n\n/**\n * Run the preflight before a verb that STARTS a creation run, and say whether the run may start.\n *\n * Called before the verb contacts the companion, so a refusal spends nothing: no brief is composed, no model is\n * called. A WARN never stops a run — it is printed and the run goes on.\n *\n * The refusal has a door, `--skip-preflight`, for the case the preflight cannot see: a key held somewhere it does\n * not look, or a run that deliberately exercises one step whose providers are fine while another step's are not.\n * The door is explicit and per invocation, and the run it lets through is still refused by the runtime at the step\n * that genuinely lacks its provider — skipping the preflight moves the refusal, it never removes it.\n */\nexport async function admitCreationRunAfterPreflight(ctx: CommandContext, verb: string, hostProbe?: HostProbe): Promise<boolean> {\n if (ctx.flags[SKIP_PREFLIGHT_FLAG] === true) {\n ctx.log.warn(`Creation preflight skipped (--${SKIP_PREFLIGHT_FLAG}); a missing provider will be refused at the step that needs it.`);\n return true;\n }\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const envName = ctx.activeEnv?.name;\n if (!saasRoot || !envName) {\n ctx.log.error(`${verb} needs an application with an active environment to check before it starts. Run \\`wildo init\\` first.`);\n return false;\n }\n const results = await collectCreationPreflightChecks({\n saasRoot,\n envName,\n frameworkRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n hostProbe,\n });\n const blocking = results.filter((result) => result.status !== LocalPreconditionCheckStatus.PASS);\n if (!hasPreflightFailure(results)) {\n for (const line of renderPreflightLines(blocking)) ctx.log.warn(line);\n return true;\n }\n ctx.log.error(`${verb} refused before starting: the creation preflight found what would stop this run.`);\n for (const line of renderPreflightLines(blocking)) ctx.log.info(line);\n ctx.log.info(chalk.dim(` Fix the FAIL lines, or pass --${SKIP_PREFLIGHT_FLAG} to start anyway. Full report: wildo creation preflight`));\n return false;\n}\n\nexport function hasPreflightFailure(results: readonly LocalPreconditionCheckResult[]): boolean {\n return results.some((result) => result.status === LocalPreconditionCheckStatus.FAIL);\n}\n\nconst STATUS_LABEL: Readonly<Record<LocalPreconditionCheckStatus, string>> = {\n [LocalPreconditionCheckStatus.PASS]: chalk.green('PASS'),\n [LocalPreconditionCheckStatus.WARN]: chalk.yellow('WARN'),\n [LocalPreconditionCheckStatus.FAIL]: chalk.red('FAIL'),\n};\n\n/**\n * One line per check — `PASS|WARN|FAIL name — detail` — and the remedy under every line that is not a PASS.\n *\n * Lines, not a table: the remedy is a sentence, and a table column wide enough for it is unreadable at 80 columns.\n */\nexport function renderPreflightLines(results: readonly LocalPreconditionCheckResult[]): string[] {\n return results.flatMap((result) => [\n `${STATUS_LABEL[result.status]} ${result.name}${result.detail ? ` — ${result.detail}` : ''}`,\n ...(result.status !== LocalPreconditionCheckStatus.PASS && result.fix ? [chalk.dim(` → ${result.fix}`)] : []),\n ]);\n}\n"]}
|
package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"degraded-registration-declaration-convergence.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"degraded-registration-declaration-convergence.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/degraded-registration-declaration-convergence.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAIH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAE5G;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,EAAE,WAAW,CAAC,MAAM,CAAmC,CAAC;AAEzG,MAAM,WAAW,+CAA+C;IAC9D,GAAG,EAAE,gCAAgC,CAAC;IACtC,WAAW,EAAE,sBAAsB,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,EAAE,0BAA0B,CAAC;IAC/C,GAAG,EAAE,MAAM,CAAC;CACb;AAED,qBAAa,iDAAiD;IAC5D;;;;;;OAMG;WACU,QAAQ,CAAC,KAAK,EAAE,+CAA+C,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAgDhG;;;;OAIG;mBACkB,QAAQ;CAU9B"}
|