@wildo-ai/wildo-cli 1.1.13 → 1.1.15
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/src/commands/build/approve.command.d.ts +4 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -1
- package/dist/src/commands/build/approve.command.js +14 -3
- package/dist/src/commands/build/approve.command.js.map +1 -1
- package/dist/src/commands/build/close.command.d.ts +4 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -1
- package/dist/src/commands/build/close.command.js +17 -3
- package/dist/src/commands/build/close.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +21 -1
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +6 -3
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +57 -3
- 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 +16 -1
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.js +78 -3
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts +2 -0
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +5 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +14 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +36 -5
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +4 -0
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +6 -0
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +72 -0
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/jobs-command.utils.d.ts +24 -0
- package/dist/src/commands/local/jobs-command.utils.d.ts.map +1 -0
- package/dist/src/commands/local/jobs-command.utils.js +44 -0
- package/dist/src/commands/local/jobs-command.utils.js.map +1 -0
- package/dist/src/commands/local/jobs-run.command.d.ts +7 -0
- package/dist/src/commands/local/jobs-run.command.d.ts.map +1 -0
- package/dist/src/commands/local/jobs-run.command.js +92 -0
- package/dist/src/commands/local/jobs-run.command.js.map +1 -0
- package/dist/src/commands/local/jobs.command.d.ts +7 -0
- package/dist/src/commands/local/jobs.command.d.ts.map +1 -0
- package/dist/src/commands/local/jobs.command.js +59 -0
- package/dist/src/commands/local/jobs.command.js.map +1 -0
- package/dist/src/commands/local/tunnel.command.d.ts +84 -0
- package/dist/src/commands/local/tunnel.command.d.ts.map +1 -0
- package/dist/src/commands/local/tunnel.command.js +274 -0
- package/dist/src/commands/local/tunnel.command.js.map +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
- package/dist/src/commands/registry/repair-lockfile.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 +1 -0
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/seal/verify.command.d.ts +18 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/verify.command.js +62 -1
- package/dist/src/commands/seal/verify.command.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +41 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +49 -3
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.js +9 -1
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +20 -0
- 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 -2
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/local-tunnel.service.d.ts +153 -0
- package/dist/src/services/application/local-tunnel.service.d.ts.map +1 -0
- package/dist/src/services/application/local-tunnel.service.js +294 -0
- package/dist/src/services/application/local-tunnel.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 +29 -1
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +7 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +26 -2
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +7 -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 +6 -3
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +39 -2
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +54 -4
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +6 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +14 -2
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-drive.service.js +5 -2
- package/dist/src/services/companion/creation-drive.service.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts +6 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +1 -1
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
- package/dist/src/services/credentials/composed-provider-catalogue.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 +3 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js +17 -1
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts +11 -2
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.js +12 -3
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
- package/dist/src/services/deployment/application-runtime-environment.js +3 -13
- package/dist/src/services/deployment/application-runtime-environment.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 +3 -3
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +3 -3
- 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 +24 -14
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts +6 -0
- package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -1
- package/dist/src/services/deployment/framework-pod-network-membership.js +12 -3
- package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +4 -1
- 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 +20 -8
- 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 +7 -0
- 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-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +15 -9
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts +43 -0
- package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js +12 -0
- package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js.map +1 -0
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +3 -1
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -1
- package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts +124 -0
- package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-late-workspace-members.service.js +249 -0
- package/dist/src/services/deployment/local-dev-late-workspace-members.service.js.map +1 -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 +4 -2
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.js +20 -1
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +6 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -1
- package/dist/src/services/environment/container-host-gateway-listen-host.js +6 -0
- package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +12 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +45 -8
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +2 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +47 -32
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +7 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +14 -18
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +17 -6
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +4 -3
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +0 -1
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +129 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +271 -19
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
- package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
- package/dist/src/services/framework/github-actions-annotation.js +25 -0
- package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +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 +2 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js +9 -1
- package/dist/src/services/registry/installed-file-state.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 +1 -0
- package/dist/src/services/registry/module-install.service.js.map +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 +4 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +21 -2
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +3 -3
- package/package.json +23 -23
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +1 -1
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +31 -9
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -0
- package/templates/infra/registry-host/docker-compose.yml +9 -2
- package/templates/infra/registry-host/upgrade-image.sh +108 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
- 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_APPROVAL_SEAL.en.ts +40 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -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/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
- package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
- package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
- package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
- package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
- package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
- package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
- package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
- package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
- package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
- package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
- package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
- package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
- package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
- package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
- package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
- package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
- package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
- package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
- package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
- package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
- package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
- package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
- package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
- package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
- package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
- package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
- package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
- package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +18 -4
- package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
- package/templates/saas/skeleton/frontend/Dockerfile +4 -1
- package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +4 -4
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +2 -0
- package/wildo-framework.info.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deregister.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/deregister.command.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAM1F,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAcxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"deregister.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/deregister.command.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAM1F,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAcxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA6EtD;;;;;;;;;;;OAWG;YACW,aAAa;CA2C5B"}
|
|
@@ -97,6 +97,10 @@ export default class LocalDeregisterCommand extends BaseCommand {
|
|
|
97
97
|
for (const entry of result.revokedCredentials) {
|
|
98
98
|
ctx.log.info(` - ${entry.principalKey}${entry.service ? ` / ${entry.service}` : ''}`);
|
|
99
99
|
}
|
|
100
|
+
// #2303 slice D: credentials on a broker the platform no longer runs. Not revoked, and not a failure: named.
|
|
101
|
+
for (const entry of result.unreachableCredentials ?? []) {
|
|
102
|
+
ctx.log.warn(` Not revoked: ${entry.principalKey}${entry.service ? ` / ${entry.service}` : ''}: ${entry.reason}`);
|
|
103
|
+
}
|
|
100
104
|
ctx.log.info(chalk.dim(' Its database, broker vhost and cache namespace are untouched.\n'
|
|
101
105
|
+ ' `wildo local restore` re-mints its credentials and returns it to service; its next boot re-establishes the schedule.\n'));
|
|
102
106
|
return { success: true };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deregister.command.js","sourceRoot":"","sources":["../../../../src/commands/local/deregister.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,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AAC,iBAAiB,EAAE,CAAC,CAAC;YACxE,CAAC;iBAAM,IAAI,MAAM,CAAC,WAAW,KAAK,KAAK,EAAE,CAAC;gBACxC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,6BAA6B,MAAM,CAAC,KAAK,oBAAoB,CAAC,CAAC;YAC9E,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,MAAM,CAAC,KAAK,OAAO,MAAM,CAAC,UAAU,cAAc,MAAM,CAAC,cAAc,yBAAyB,CAAC,CAAC;YACrI,CAAC;YAED,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,oCAAoC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YACjG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,sBAAsB,OAAO,MAAM,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC1F,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo local deregister` — withdraw this application from the platform (#1556).\n *\n * ## What it is for\n *\n * Registering an application has been a ONE-WAY DOOR. Its backend syncs a cron schedule at every\n * boot and nothing ever withdrew one, so an application that stops existing keeps being scheduled\n * forever. Measured on a live platform 2026-09-24: three dead scratch applications held 46 active\n * schedules, dispatched 2,100 executions a day at backends that were not listening, and had\n * accumulated 1,870 messages in queues nobody would ever drain.\n *\n * ## What it revokes (#1307)\n *\n * Every credential the platform minted for the application: the backend's and each minion's Redis ACL\n * user, RabbitMQ user, MongoDB user (self-hosted or Atlas, whichever the application declares) and\n * PostgreSQL login. Afterwards those servers refuse them. A withdrawal that cannot revoke one fails and\n * names what still authenticates; running it again retries.\n *\n * ## Why it needs no confirmation and no environment gate\n *\n * **It destroys no data.** The application's database, broker vhost, cache namespace and blobs are\n * exactly as they were — the backend's PostgreSQL role is disabled, not dropped, because it owns the\n * database. What goes is the SCHEDULE, derived state the application rebuilds from its own code at its\n * next boot, and the ability to authenticate. `wildo local restore` clears the mark and re-mints the\n * credentials with their recorded values; starting the application restores the schedule.\n *\n * Destroying an application's data is a different verb with different protection, and it is\n * deliberately parked (#1562). Nothing here may grow into it.\n */\nimport chalk from 'chalk';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\n\nexport default class LocalDeregisterCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local deregister',\n description:\n 'Withdraw this application from the platform: removes its cron schedule, revokes its credentials and marks it. Destroys no data.',\n category: CommandCategory.Local,\n flags: {\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },\n reason: { type: 'string', description: 'Why it is being withdrawn — recorded in the platform log', default: undefined },\n check: {\n type: 'boolean',\n description: 'Report what the platform still holds for this application and change nothing',\n default: false,\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('`wildo local deregister` requires a targeted app root with wildo.saas.config.ts.');\n return { success: false };\n }\n\n const envName = ctx.activeEnv?.name;\n if (!envName) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n\n const env = EnvironmentRegistry.get(envName);\n if (!env) {\n ctx.log.error(`Environment '${envName}' not found. Run 'wildo init' first.`);\n return { success: false };\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return { success: false };\n }\n\n const requestedAppSlug = ctx.flags.app as string | undefined;\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug });\n if (!runtimeTarget) {\n ctx.log.error(\n requestedAppSlug\n ? `Application '${requestedAppSlug}' not found under ${saasRoot}.`\n : `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.`,\n );\n return { success: false };\n }\n\n const appSlug = runtimeTarget.appSlug;\n\n if (ctx.flags.check === true) {\n return await this.reportResidue(ctx, env, credentials, appSlug);\n }\n\n ctx.log.info(chalk.cyan(`\\n Withdrawing '${appSlug}' from the '${envName}' platform (no data is destroyed)...\\n`));\n\n try {\n const result = await AppBootstrapService.deregisterApplication(env, credentials, {\n appSlug,\n reason: ctx.flags.reason as string | undefined,\n });\n\n if (result.alreadyDeregistered) {\n ctx.log.info(` '${appSlug}' was already withdrawn; its schedule was re-checked.`);\n }\n ctx.log.success(\n ` Withdrew ${result.withdrawnJobs} schedule(s) and ${result.deletedExecutions} execution record(s) for '${appSlug}'.`,\n );\n ctx.log.success(` Revoked ${result.revokedCredentials.length} credential(s):`);\n for (const entry of result.revokedCredentials) {\n ctx.log.info(` - ${entry.principalKey}${entry.service ? ` / ${entry.service}` : ''}`);\n }\n ctx.log.info(\n chalk.dim(\n ' Its database, broker vhost and cache namespace are untouched.\\n'\n + ' `wildo local restore` re-mints its credentials and returns it to service; its next boot re-establishes the schedule.\\n',\n ),\n );\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to withdraw '${appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n\n /**\n * `--check`: what the platform still holds for this application, changing nothing (#1556).\n *\n * It is a dry run BEFORE a withdrawal and the residue probe AFTER one, which is why it lives on\n * this verb rather than in a command of its own.\n *\n * Every number is printed beside the reason it can be believed. Two empty results nearly passed\n * for success while this lane was built — `rabbitmqctl list_queues` defaults to vhost `/`, so it\n * shows nothing for an application whose queues live in its own vhost, and a Valkey scan was\n * answering `NOAUTH` rather than \"no keys\". So \"could not ask\" is rendered as its own outcome and\n * never as a zero, and the stores this probe does not inspect are NAMED rather than omitted.\n */\n private async reportResidue(\n ctx: CommandContext,\n env: Parameters<typeof AppBootstrapService.inspectApplicationResidue>[0],\n credentials: Parameters<typeof AppBootstrapService.inspectApplicationResidue>[1],\n appSlug: string,\n ): Promise<CommandResult> {\n try {\n const report = await AppBootstrapService.inspectApplicationResidue(env, credentials, { appSlug });\n\n ctx.log.info(chalk.cyan(`\\n What the platform still holds for '${appSlug}'\\n`));\n ctx.log.info(` status: ${report.status}${report.deregisteredAt ? ` (withdrawn ${report.deregisteredAt})` : ''}`);\n\n const schedule = report.schedule;\n if (schedule.unavailableReason) {\n ctx.log.warn(` schedules: COULD NOT ASK — ${schedule.unavailableReason}`);\n } else {\n ctx.log.info(\n ` schedules: ${schedule.scheduledForApplication} for this application`\n + ` (platform total ${schedule.platformScheduledTotal}, scheduler ${schedule.schedulerRunning ? 'running' : 'NOT running'})`,\n );\n if (schedule.schedulerRunning === false) {\n // Without this the reader takes a zero as proof. A standby replica arms nothing and would\n // report zero for every application on the platform.\n ctx.log.warn(' the scheduler is not arming jobs, so a count of 0 proves nothing here');\n }\n }\n\n const broker = report.broker;\n if (broker.unavailableReason) {\n ctx.log.warn(` broker: COULD NOT ASK — ${broker.unavailableReason}`);\n } else if (broker.vhostExists === false) {\n ctx.log.info(` broker: no vhost named '${broker.vhost}' — nothing queued`);\n } else {\n ctx.log.info(` broker: vhost '${broker.vhost}' — ${broker.queueCount} queue(s), ${broker.queuedMessages} undelivered message(s)`);\n }\n\n ctx.log.info(chalk.dim(`\\n Not inspected by this probe: ${report.notInspected.join(', ')}.\\n`));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to inspect '${appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deregister.command.js","sourceRoot":"","sources":["../../../../src/commands/local/deregister.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAEvG,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IACpD,IAAI,GAAgB;QAC3B,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,iIAAiI;QACnI,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,KAAK,EAAE;YACL,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wDAAwD,EAAE,OAAO,EAAE,SAAS,EAAE;YAClH,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,0DAA0D,EAAE,OAAO,EAAE,SAAS,EAAE;YACvH,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,8EAA8E;gBAC3F,OAAO,EAAE,KAAK;aACf;SACF;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa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IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YACjG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,sBAAsB,OAAO,MAAM,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC1F,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * `wildo local deregister` — withdraw this application from the platform (#1556).\n *\n * ## What it is for\n *\n * Registering an application has been a ONE-WAY DOOR. Its backend syncs a cron schedule at every\n * boot and nothing ever withdrew one, so an application that stops existing keeps being scheduled\n * forever. Measured on a live platform 2026-09-24: three dead scratch applications held 46 active\n * schedules, dispatched 2,100 executions a day at backends that were not listening, and had\n * accumulated 1,870 messages in queues nobody would ever drain.\n *\n * ## What it revokes (#1307)\n *\n * Every credential the platform minted for the application: the backend's and each minion's Redis ACL\n * user, RabbitMQ user, MongoDB user (self-hosted or Atlas, whichever the application declares) and\n * PostgreSQL login. Afterwards those servers refuse them. A withdrawal that cannot revoke one fails and\n * names what still authenticates; running it again retries.\n *\n * ## Why it needs no confirmation and no environment gate\n *\n * **It destroys no data.** The application's database, broker vhost, cache namespace and blobs are\n * exactly as they were — the backend's PostgreSQL role is disabled, not dropped, because it owns the\n * database. What goes is the SCHEDULE, derived state the application rebuilds from its own code at its\n * next boot, and the ability to authenticate. `wildo local restore` clears the mark and re-mints the\n * credentials with their recorded values; starting the application restores the schedule.\n *\n * Destroying an application's data is a different verb with different protection, and it is\n * deliberately parked (#1562). Nothing here may grow into it.\n */\nimport chalk from 'chalk';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { AppBootstrapService } from '~wildo-cli/services/application/app-bootstrap.service';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\n\nexport default class LocalDeregisterCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'local deregister',\n description:\n 'Withdraw this application from the platform: removes its cron schedule, revokes its credentials and marks it. Destroys no data.',\n category: CommandCategory.Local,\n flags: {\n app: { type: 'string', description: 'Application slug (defaults to the single resolved app)', default: undefined },\n reason: { type: 'string', description: 'Why it is being withdrawn — recorded in the platform log', default: undefined },\n check: {\n type: 'boolean',\n description: 'Report what the platform still holds for this application and change nothing',\n default: false,\n },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('`wildo local deregister` requires a targeted app root with wildo.saas.config.ts.');\n return { success: false };\n }\n\n const envName = ctx.activeEnv?.name;\n if (!envName) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return { success: false };\n }\n\n const env = EnvironmentRegistry.get(envName);\n if (!env) {\n ctx.log.error(`Environment '${envName}' not found. Run 'wildo init' first.`);\n return { success: false };\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return { success: false };\n }\n\n const requestedAppSlug = ctx.flags.app as string | undefined;\n const runtimeTarget = await AppRuntimeTargetsService.resolve(saasRoot, { environmentName: envName, requestedAppSlug });\n if (!runtimeTarget) {\n ctx.log.error(\n requestedAppSlug\n ? `Application '${requestedAppSlug}' not found under ${saasRoot}.`\n : `No application could be resolved from ${saasRoot}. Pass --app <slug> to disambiguate.`,\n );\n return { success: false };\n }\n\n const appSlug = runtimeTarget.appSlug;\n\n if (ctx.flags.check === true) {\n return await this.reportResidue(ctx, env, credentials, appSlug);\n }\n\n ctx.log.info(chalk.cyan(`\\n Withdrawing '${appSlug}' from the '${envName}' platform (no data is destroyed)...\\n`));\n\n try {\n const result = await AppBootstrapService.deregisterApplication(env, credentials, {\n appSlug,\n reason: ctx.flags.reason as string | undefined,\n });\n\n if (result.alreadyDeregistered) {\n ctx.log.info(` '${appSlug}' was already withdrawn; its schedule was re-checked.`);\n }\n ctx.log.success(\n ` Withdrew ${result.withdrawnJobs} schedule(s) and ${result.deletedExecutions} execution record(s) for '${appSlug}'.`,\n );\n ctx.log.success(` Revoked ${result.revokedCredentials.length} credential(s):`);\n for (const entry of result.revokedCredentials) {\n ctx.log.info(` - ${entry.principalKey}${entry.service ? ` / ${entry.service}` : ''}`);\n }\n // #2303 slice D: credentials on a broker the platform no longer runs. Not revoked, and not a failure: named.\n for (const entry of result.unreachableCredentials ?? []) {\n ctx.log.warn(` Not revoked: ${entry.principalKey}${entry.service ? ` / ${entry.service}` : ''}: ${entry.reason}`);\n }\n ctx.log.info(\n chalk.dim(\n ' Its database, broker vhost and cache namespace are untouched.\\n'\n + ' `wildo local restore` re-mints its credentials and returns it to service; its next boot re-establishes the schedule.\\n',\n ),\n );\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to withdraw '${appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n\n /**\n * `--check`: what the platform still holds for this application, changing nothing (#1556).\n *\n * It is a dry run BEFORE a withdrawal and the residue probe AFTER one, which is why it lives on\n * this verb rather than in a command of its own.\n *\n * Every number is printed beside the reason it can be believed. Two empty results nearly passed\n * for success while this lane was built — `rabbitmqctl list_queues` defaults to vhost `/`, so it\n * shows nothing for an application whose queues live in its own vhost, and a Valkey scan was\n * answering `NOAUTH` rather than \"no keys\". So \"could not ask\" is rendered as its own outcome and\n * never as a zero, and the stores this probe does not inspect are NAMED rather than omitted.\n */\n private async reportResidue(\n ctx: CommandContext,\n env: Parameters<typeof AppBootstrapService.inspectApplicationResidue>[0],\n credentials: Parameters<typeof AppBootstrapService.inspectApplicationResidue>[1],\n appSlug: string,\n ): Promise<CommandResult> {\n try {\n const report = await AppBootstrapService.inspectApplicationResidue(env, credentials, { appSlug });\n\n ctx.log.info(chalk.cyan(`\\n What the platform still holds for '${appSlug}'\\n`));\n ctx.log.info(` status: ${report.status}${report.deregisteredAt ? ` (withdrawn ${report.deregisteredAt})` : ''}`);\n\n const schedule = report.schedule;\n if (schedule.unavailableReason) {\n ctx.log.warn(` schedules: COULD NOT ASK — ${schedule.unavailableReason}`);\n } else {\n ctx.log.info(\n ` schedules: ${schedule.scheduledForApplication} for this application`\n + ` (platform total ${schedule.platformScheduledTotal}, scheduler ${schedule.schedulerRunning ? 'running' : 'NOT running'})`,\n );\n if (schedule.schedulerRunning === false) {\n // Without this the reader takes a zero as proof. A standby replica arms nothing and would\n // report zero for every application on the platform.\n ctx.log.warn(' the scheduler is not arming jobs, so a count of 0 proves nothing here');\n }\n }\n\n const broker = report.broker;\n if (broker.unavailableReason) {\n ctx.log.warn(` broker: COULD NOT ASK — ${broker.unavailableReason}`);\n } else if (broker.vhostExists === false) {\n ctx.log.info(` broker: no vhost named '${broker.vhost}' — nothing queued`);\n } else {\n ctx.log.info(` broker: vhost '${broker.vhost}' — ${broker.queueCount} queue(s), ${broker.queuedMessages} undelivered message(s)`);\n }\n\n ctx.log.info(chalk.dim(`\\n Not inspected by this probe: ${report.notInspected.join(', ')}.\\n`));\n return { success: true };\n } catch (error) {\n ctx.log.error(`Failed to inspect '${appSlug}': ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false };\n }\n }\n}\n"]}
|
|
@@ -214,6 +214,12 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
214
214
|
*/
|
|
215
215
|
private interactiveFrontendPaths;
|
|
216
216
|
private spawnTree;
|
|
217
|
+
/**
|
|
218
|
+
* The dev process of a workspace member that joined while the stack runs (#3986), as `pnpm -r run dev` would have
|
|
219
|
+
* started it. It does not decide the stack's lifetime: a member whose `dev` exits is reported by the diagnostics, like
|
|
220
|
+
* any other one under `--no-bail`, and the rest keeps running.
|
|
221
|
+
*/
|
|
222
|
+
private spawnLateWorkspaceMember;
|
|
217
223
|
private spawnDiagnosticsObserver;
|
|
218
224
|
/**
|
|
219
225
|
* Keep every local double the environment's `providerEnv` points a provider at served for as long as this stack runs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/dev.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"dev.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/dev.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AA4E1F,uGAAuG;AACvG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CAClC;AAED,8GAA8G;AAC9G,eAAO,MAAM,wBAAwB,EAAE,mBAAwD,CAAC;AAEhG;;;GAGG;AACH,oBAAY,cAAc;IACxB,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AC,YAAY;IA+EpB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,oBAAoB;CAqB7B"}
|
|
@@ -139,6 +139,7 @@ import { createLocalDevObserverLifecycle } from '../../services/deployment/local
|
|
|
139
139
|
import { isLoopbackPortAnswering, LocalProviderDoubleEvent, planLocalProviderDoubles, resolveLocalProviderDoubleLaunch, superviseLocalProviderDouble, } from '../../services/application/local-provider-doubles.service.js';
|
|
140
140
|
import { EnvironmentProviderEnvReadingKind, readEnvironmentProviderEnv } from '../../services/application/content-guardrail-classifier.service.js';
|
|
141
141
|
import { LOCAL_DEV_LOG_RETENTION_DAYS, retainLocalDevLogs } from '../../services/deployment/local-dev-log-retention.service.js';
|
|
142
|
+
import { LATE_WORKSPACE_MEMBER_POLL_MS, createWorkspaceReconciler, initialDeclarationState, initialLateWorkspaceMemberState, syncProviderRuntimeArtifactsInChild, } from '../../services/deployment/local-dev-late-workspace-members.service.js';
|
|
142
143
|
import { LocalDevOutputFlowController, LocalDevOutputBoundary, LocalDevOutputSink, LocalDevOutputStream, resolveLocalDevConsoleRendering, } from '../../services/deployment/local-dev-output-boundary.js';
|
|
143
144
|
/**
|
|
144
145
|
* Shared prefix for the two shutdown causes raised by a lost session lease —
|
|
@@ -304,6 +305,8 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
304
305
|
// its interval would otherwise outlive an early return and hold the
|
|
305
306
|
// event loop open.
|
|
306
307
|
let backingServiceHealthWatch = null;
|
|
308
|
+
// Starts the dev process of a workspace member that joins while the stack runs (#3986).
|
|
309
|
+
let lateWorkspaceMemberWatch = null;
|
|
307
310
|
let sigintHandler = null;
|
|
308
311
|
let sigtermHandler = null;
|
|
309
312
|
if (!killOnly) {
|
|
@@ -604,6 +607,8 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
604
607
|
for (const supervisor of providerDoubleSupervisors)
|
|
605
608
|
supervisor.stop();
|
|
606
609
|
backingServiceHealthWatch?.stop();
|
|
610
|
+
if (lateWorkspaceMemberWatch !== null)
|
|
611
|
+
clearInterval(lateWorkspaceMemberWatch);
|
|
607
612
|
// Name the TRIGGER, not the signal forwarded to the children. Every
|
|
608
613
|
// teardown used to announce itself as "Received SIGTERM", so a stack
|
|
609
614
|
// that stopped itself was indistinguishable from one another process
|
|
@@ -819,6 +824,57 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
819
824
|
ctx.log.info(chalk.cyan(` Starting app stack from ${chalk.dim(saasRoot)}...\n`));
|
|
820
825
|
}
|
|
821
826
|
children.push(this.spawnTree('app', saasRoot, appTreeCommand, logStream, chalk.green, consoleRendering));
|
|
827
|
+
if (appTreeCommand === DEVELOPMENT_TREE_COMMAND) {
|
|
828
|
+
/*
|
|
829
|
+
* The workspace and the declared topology as they change WHILE the stack runs (#3985, #3986). `pnpm dev` starts each
|
|
830
|
+
* member's `dev` script once, and every runtime's `.env` was written once, above. An install that adds a member
|
|
831
|
+
* (`wildo registry add`, a composed website or minion) or an edit that declares a service would otherwise reach no
|
|
832
|
+
* process until the stack restarts, and the next runtime to start refuses the configuration. One ordered pass per
|
|
833
|
+
* tick, never two at once, and nothing while an install is running: first the env files, then the new members, so a
|
|
834
|
+
* member that is also a service starts on a `.env` that knows it.
|
|
835
|
+
*/
|
|
836
|
+
const reconciler = createWorkspaceReconciler({
|
|
837
|
+
appRoot: saasRoot,
|
|
838
|
+
canRegenerate: Boolean(frameworkPath),
|
|
839
|
+
regenerate: async () => {
|
|
840
|
+
if (!frameworkPath)
|
|
841
|
+
return;
|
|
842
|
+
ctx.log.info(chalk.cyan(' wildo.saas.config.ts changed; regenerating the provider runtime artifacts and every runtime\'s env files...'));
|
|
843
|
+
// The provider artifacts first (they are what a runtime's providers are read from), in a child process that
|
|
844
|
+
// reads the declaration as it is now, then the env files through the startup bootstrap.
|
|
845
|
+
await syncProviderRuntimeArtifactsInChild(saasRoot, env.name);
|
|
846
|
+
const credentials = EnvironmentUtils.loadSecretsJson(env.name);
|
|
847
|
+
if (!credentials)
|
|
848
|
+
throw new Error(`No secrets for '${env.name}'. Run 'wildo setup' first.`);
|
|
849
|
+
await ApplicationRuntimeBootstrapService.initialize({ env, credentials, frameworkPath, saasRoot, isFrameworkDeveloper, log: ctx.log });
|
|
850
|
+
},
|
|
851
|
+
startMember: (member) => {
|
|
852
|
+
ctx.log.info(chalk.cyan(` ${member.name} joined the workspace (${member.directory}); starting its dev process.`));
|
|
853
|
+
const tree = this.spawnLateWorkspaceMember(saasRoot, member, logStream, consoleRendering);
|
|
854
|
+
children.push(tree);
|
|
855
|
+
// An exited member leaves the list, so shutdown never signals a reused pid.
|
|
856
|
+
void tree.exit.then(() => {
|
|
857
|
+
const index = children.indexOf(tree);
|
|
858
|
+
if (index >= 0)
|
|
859
|
+
children.splice(index, 1);
|
|
860
|
+
});
|
|
861
|
+
},
|
|
862
|
+
isStopping: () => shuttingDown,
|
|
863
|
+
reportRegenerationFailure: (error) => ctx.log.warn(` Could not regenerate the runtimes' env files: ${ErrorUtils.extractErrorMessage(error)}. No member that joined starts `
|
|
864
|
+
+ 'until they are; retrying in a minute. Restarting `wildo local dev` also regenerates them.'),
|
|
865
|
+
initial: { declaration: await initialDeclarationState(saasRoot), members: initialLateWorkspaceMemberState(saasRoot) },
|
|
866
|
+
});
|
|
867
|
+
const reconcileWorkspace = async () => {
|
|
868
|
+
try {
|
|
869
|
+
await reconciler.reconcile();
|
|
870
|
+
}
|
|
871
|
+
catch (error) {
|
|
872
|
+
ctx.log.warn(` Could not reconcile the workspace with the running stack: ${ErrorUtils.extractErrorMessage(error)}`);
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
lateWorkspaceMemberWatch = setInterval(() => void reconcileWorkspace(), LATE_WORKSPACE_MEMBER_POLL_MS);
|
|
876
|
+
lateWorkspaceMemberWatch.unref();
|
|
877
|
+
}
|
|
822
878
|
// ─── Step 8: wait for any child to exit, then propagate exit ──────
|
|
823
879
|
const exitCode = await Promise.race(children.filter((tree) => tree.affectsStackLifetime).map((tree) => tree.exit));
|
|
824
880
|
await shutdown('SIGTERM', {
|
|
@@ -836,6 +892,8 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
836
892
|
// event loop open and `wildo local dev` would hang instead of exiting.
|
|
837
893
|
// `stop()` is idempotent, so both firing is free.
|
|
838
894
|
backingServiceHealthWatch?.stop();
|
|
895
|
+
if (lateWorkspaceMemberWatch !== null)
|
|
896
|
+
clearInterval(lateWorkspaceMemberWatch);
|
|
839
897
|
if (sigintHandler)
|
|
840
898
|
process.removeListener('SIGINT', sigintHandler);
|
|
841
899
|
if (sigtermHandler)
|
|
@@ -1003,6 +1061,20 @@ export default class LocalDevCommand extends BaseCommand {
|
|
|
1003
1061
|
affectsStackLifetime: true,
|
|
1004
1062
|
});
|
|
1005
1063
|
}
|
|
1064
|
+
/**
|
|
1065
|
+
* The dev process of a workspace member that joined while the stack runs (#3986), as `pnpm -r run dev` would have
|
|
1066
|
+
* started it. It does not decide the stack's lifetime: a member whose `dev` exits is reported by the diagnostics, like
|
|
1067
|
+
* any other one under `--no-bail`, and the rest keeps running.
|
|
1068
|
+
*/
|
|
1069
|
+
spawnLateWorkspaceMember(saasRoot, member, logStream, consoleRendering) {
|
|
1070
|
+
const child = spawn('pnpm', ['--filter', member.name, 'run', 'dev'], {
|
|
1071
|
+
cwd: saasRoot,
|
|
1072
|
+
env: { ...process.env, FORCE_COLOR: '1' },
|
|
1073
|
+
stdio: ['ignore', 'pipe', 'pipe'],
|
|
1074
|
+
detached: SpawnUtils.shouldUseProcessGroups(),
|
|
1075
|
+
});
|
|
1076
|
+
return this.observeChild({ label: `app:${member.directory}`, child, logStream, color: chalk.green, consoleRendering, affectsStackLifetime: false });
|
|
1077
|
+
}
|
|
1006
1078
|
spawnDiagnosticsObserver(frameworkRoot, appRoot, logStream, consoleRendering) {
|
|
1007
1079
|
const scriptPath = join(frameworkRoot, 'scripts/dev-orchestrator/local-dev-status.mjs');
|
|
1008
1080
|
if (!existsSync(scriptPath)) {
|