@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.
Files changed (589) hide show
  1. package/dist/src/commands/build/approve.command.d.ts +4 -0
  2. package/dist/src/commands/build/approve.command.d.ts.map +1 -1
  3. package/dist/src/commands/build/approve.command.js +14 -3
  4. package/dist/src/commands/build/approve.command.js.map +1 -1
  5. package/dist/src/commands/build/close.command.d.ts +4 -0
  6. package/dist/src/commands/build/close.command.d.ts.map +1 -1
  7. package/dist/src/commands/build/close.command.js +17 -3
  8. package/dist/src/commands/build/close.command.js.map +1 -1
  9. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  10. package/dist/src/commands/config/sync.command.js +21 -1
  11. package/dist/src/commands/config/sync.command.js.map +1 -1
  12. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  13. package/dist/src/commands/creation/feed.command.js +6 -3
  14. package/dist/src/commands/creation/feed.command.js.map +1 -1
  15. package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
  16. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  17. package/dist/src/commands/fwk/publish-all.command.js +57 -3
  18. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  19. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  20. package/dist/src/commands/fwk/publish-docker.command.js +16 -1
  21. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  22. package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
  23. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
  24. package/dist/src/commands/fwk/registry-host.command.js +78 -3
  25. package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
  26. package/dist/src/commands/generate/email-command.utils.d.ts +2 -0
  27. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  28. package/dist/src/commands/generate/email-command.utils.js +5 -0
  29. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  30. package/dist/src/commands/init.command.d.ts +14 -0
  31. package/dist/src/commands/init.command.d.ts.map +1 -1
  32. package/dist/src/commands/init.command.js +36 -5
  33. package/dist/src/commands/init.command.js.map +1 -1
  34. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  35. package/dist/src/commands/local/deregister.command.js +4 -0
  36. package/dist/src/commands/local/deregister.command.js.map +1 -1
  37. package/dist/src/commands/local/dev.command.d.ts +6 -0
  38. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  39. package/dist/src/commands/local/dev.command.js +72 -0
  40. package/dist/src/commands/local/dev.command.js.map +1 -1
  41. package/dist/src/commands/local/jobs-command.utils.d.ts +24 -0
  42. package/dist/src/commands/local/jobs-command.utils.d.ts.map +1 -0
  43. package/dist/src/commands/local/jobs-command.utils.js +44 -0
  44. package/dist/src/commands/local/jobs-command.utils.js.map +1 -0
  45. package/dist/src/commands/local/jobs-run.command.d.ts +7 -0
  46. package/dist/src/commands/local/jobs-run.command.d.ts.map +1 -0
  47. package/dist/src/commands/local/jobs-run.command.js +92 -0
  48. package/dist/src/commands/local/jobs-run.command.js.map +1 -0
  49. package/dist/src/commands/local/jobs.command.d.ts +7 -0
  50. package/dist/src/commands/local/jobs.command.d.ts.map +1 -0
  51. package/dist/src/commands/local/jobs.command.js +59 -0
  52. package/dist/src/commands/local/jobs.command.js.map +1 -0
  53. package/dist/src/commands/local/tunnel.command.d.ts +84 -0
  54. package/dist/src/commands/local/tunnel.command.d.ts.map +1 -0
  55. package/dist/src/commands/local/tunnel.command.js +274 -0
  56. package/dist/src/commands/local/tunnel.command.js.map +1 -0
  57. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  58. package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
  59. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  60. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  61. package/dist/src/commands/registry/update.command.js +1 -0
  62. package/dist/src/commands/registry/update.command.js.map +1 -1
  63. package/dist/src/commands/seal/verify.command.d.ts +18 -0
  64. package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
  65. package/dist/src/commands/seal/verify.command.js +62 -1
  66. package/dist/src/commands/seal/verify.command.js.map +1 -1
  67. package/dist/src/services/application/app-bootstrap.service.d.ts +41 -1
  68. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  69. package/dist/src/services/application/app-bootstrap.service.js +49 -3
  70. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  71. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  72. package/dist/src/services/application/app-runtime-targets.service.js +9 -1
  73. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  74. package/dist/src/services/application/application-dependency-alignment.service.d.ts +20 -0
  75. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  76. package/dist/src/services/application/application-dependency-alignment.service.js +32 -2
  77. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  78. package/dist/src/services/application/local-tunnel.service.d.ts +153 -0
  79. package/dist/src/services/application/local-tunnel.service.d.ts.map +1 -0
  80. package/dist/src/services/application/local-tunnel.service.js +294 -0
  81. package/dist/src/services/application/local-tunnel.service.js.map +1 -0
  82. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  83. package/dist/src/services/application/provider-runtime-sync.service.js +29 -1
  84. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  85. package/dist/src/services/application/saas-skeleton.service.d.ts +7 -0
  86. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  87. package/dist/src/services/application/saas-skeleton.service.js +26 -2
  88. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  89. package/dist/src/services/catalog/service-address-resolver.service.d.ts +7 -1
  90. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  91. package/dist/src/services/catalog/service-address-resolver.service.js +6 -3
  92. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  93. package/dist/src/services/companion/build-console.service.d.ts +39 -2
  94. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  95. package/dist/src/services/companion/build-console.service.js +54 -4
  96. package/dist/src/services/companion/build-console.service.js.map +1 -1
  97. package/dist/src/services/companion/creation-console.service.d.ts +6 -1
  98. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  99. package/dist/src/services/companion/creation-console.service.js +14 -2
  100. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  101. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
  102. package/dist/src/services/companion/creation-drive.service.js +5 -2
  103. package/dist/src/services/companion/creation-drive.service.js.map +1 -1
  104. package/dist/src/services/credentials/application-secrets.service.d.ts +6 -0
  105. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  106. package/dist/src/services/credentials/application-secrets.service.js +1 -1
  107. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  108. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  109. package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
  110. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  111. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  112. package/dist/src/services/credentials/provider-env-vars.utils.js +3 -1
  113. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  114. package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
  115. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  116. package/dist/src/services/credentials/secret-requirements.service.js +17 -1
  117. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  118. package/dist/src/services/credentials/secrets-writer.service.d.ts +11 -2
  119. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  120. package/dist/src/services/credentials/secrets-writer.service.js +12 -3
  121. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  122. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
  123. package/dist/src/services/deployment/application-runtime-environment.js +3 -13
  124. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -1
  125. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  126. package/dist/src/services/deployment/ci-deploy-generator.service.js +3 -3
  127. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  128. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +3 -3
  129. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  130. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +24 -14
  131. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  132. package/dist/src/services/deployment/framework-pod-network-membership.d.ts +6 -0
  133. package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -1
  134. package/dist/src/services/deployment/framework-pod-network-membership.js +12 -3
  135. package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -1
  136. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
  137. package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
  138. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  139. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +4 -1
  140. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  141. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +20 -8
  142. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  143. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +7 -0
  144. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  145. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  146. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  147. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +15 -9
  148. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  149. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts +43 -0
  150. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts.map +1 -0
  151. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js +12 -0
  152. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js.map +1 -0
  153. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +3 -1
  154. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -1
  155. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -1
  156. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts +124 -0
  157. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts.map +1 -0
  158. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js +249 -0
  159. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js.map +1 -0
  160. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  161. package/dist/src/services/deployment/local-precondition-checks.service.js +4 -2
  162. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  163. package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -0
  164. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  165. package/dist/src/services/environment/authored-infra-config.utils.js +20 -1
  166. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  167. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +6 -0
  168. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -1
  169. package/dist/src/services/environment/container-host-gateway-listen-host.js +6 -0
  170. package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -1
  171. package/dist/src/services/environment/env-configuration-generator.service.d.ts +12 -0
  172. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  173. package/dist/src/services/environment/env-configuration-generator.service.js +45 -8
  174. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  175. package/dist/src/services/environment/env-vars-builder.service.d.ts +2 -1
  176. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  177. package/dist/src/services/environment/env-vars-builder.service.js +47 -32
  178. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  179. package/dist/src/services/environment/environment-lifecycle.service.d.ts +7 -4
  180. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  181. package/dist/src/services/environment/environment-lifecycle.service.js +14 -18
  182. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  183. package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
  184. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
  185. package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
  186. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
  187. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  188. package/dist/src/services/environment/environment-setup.service.js +17 -6
  189. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  190. package/dist/src/services/environment/environment.service.d.ts +4 -3
  191. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  192. package/dist/src/services/environment/environment.service.js +0 -1
  193. package/dist/src/services/environment/environment.service.js.map +1 -1
  194. package/dist/src/services/framework/framework-docker-publish.service.d.ts +129 -0
  195. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  196. package/dist/src/services/framework/framework-docker-publish.service.js +271 -19
  197. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  198. package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
  199. package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
  200. package/dist/src/services/framework/github-actions-annotation.js +25 -0
  201. package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
  202. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
  203. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
  204. package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
  205. package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
  206. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +1 -1
  207. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
  208. package/dist/src/services/framework/registry-host/registry-host.service.js +2 -0
  209. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
  210. package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
  211. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  212. package/dist/src/services/registry/installed-file-state.utils.js +9 -1
  213. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  214. package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
  215. package/dist/src/services/registry/module-install.service.js +1 -0
  216. package/dist/src/services/registry/module-install.service.js.map +1 -1
  217. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
  218. package/dist/src/services/registry/provider-module-scaffold.service.js +4 -0
  219. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
  220. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  221. package/dist/src/services/security/csp-sync.service.js +21 -2
  222. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  223. package/dist/tsconfig.build.tsbuildinfo +1 -1
  224. package/framework-root-package.json +3 -3
  225. package/package.json +23 -23
  226. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +1 -1
  227. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +31 -9
  228. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -0
  229. package/templates/infra/registry-host/docker-compose.yml +9 -2
  230. package/templates/infra/registry-host/upgrade-image.sh +108 -0
  231. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
  232. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
  233. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
  234. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
  235. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
  236. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
  237. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
  238. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
  239. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
  240. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
  241. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.en.ts +40 -0
  242. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
  243. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
  244. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
  245. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
  246. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
  247. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
  248. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
  249. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
  250. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -1
  251. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
  252. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
  253. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
  254. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
  255. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
  256. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
  257. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
  258. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
  259. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
  260. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
  261. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
  262. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
  263. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
  264. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
  265. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
  266. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
  267. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
  268. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
  269. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
  270. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
  271. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
  272. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
  273. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
  274. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
  275. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
  276. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
  277. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
  278. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
  279. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
  280. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
  281. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
  282. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
  283. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
  284. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
  285. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
  286. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
  287. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
  288. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
  289. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
  290. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
  291. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
  292. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
  293. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
  294. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
  295. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
  296. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
  297. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
  298. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
  299. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
  300. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
  301. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
  302. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
  303. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
  304. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
  305. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
  306. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
  307. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
  308. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
  309. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
  310. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
  311. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
  312. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
  313. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
  314. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
  315. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
  316. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
  317. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
  318. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
  319. package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
  320. package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
  321. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
  322. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
  323. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
  324. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
  325. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
  326. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
  327. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
  328. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
  329. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
  330. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
  331. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
  332. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
  333. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
  334. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
  335. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
  336. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
  337. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
  338. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
  339. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
  340. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
  341. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
  342. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
  343. package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
  344. package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
  345. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
  346. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
  347. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
  348. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
  349. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
  350. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
  351. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
  352. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
  353. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
  354. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
  355. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
  356. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
  357. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
  358. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
  359. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
  360. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
  361. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
  362. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
  363. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
  364. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
  365. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
  366. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
  367. package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
  368. package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
  369. package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
  370. package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
  371. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
  372. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
  373. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
  374. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
  375. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
  376. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
  377. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
  378. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
  379. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
  380. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
  381. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
  382. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
  383. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
  384. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
  385. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
  386. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
  387. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
  388. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
  389. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
  390. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
  391. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
  392. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
  393. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
  394. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
  395. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
  396. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
  397. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
  398. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
  399. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
  400. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
  401. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
  402. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
  403. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
  404. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
  405. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
  406. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
  407. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
  408. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
  409. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
  410. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
  411. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
  412. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
  413. package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
  414. package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
  415. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
  416. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
  417. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
  418. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
  419. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
  420. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
  421. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
  422. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
  423. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
  424. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
  425. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
  426. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
  427. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
  428. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
  429. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
  430. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
  431. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
  432. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
  433. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
  434. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
  435. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
  436. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
  437. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
  438. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
  439. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
  440. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
  441. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
  442. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
  443. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
  444. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
  445. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
  446. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
  447. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
  448. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
  449. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
  450. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
  451. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
  452. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
  453. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
  454. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
  455. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
  456. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
  457. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
  458. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
  459. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
  460. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
  461. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
  462. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
  463. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
  464. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
  465. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
  466. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
  467. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
  468. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
  469. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
  470. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
  471. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
  472. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
  473. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
  474. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
  475. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
  476. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
  477. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
  478. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
  479. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
  480. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
  481. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
  482. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
  483. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
  484. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
  485. package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
  486. package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
  487. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
  488. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
  489. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
  490. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
  491. package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
  492. package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
  493. package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
  494. package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
  495. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
  496. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
  497. package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
  498. package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
  499. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
  500. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
  501. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
  502. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
  503. package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
  504. package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
  505. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
  506. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
  507. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
  508. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
  509. package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
  510. package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
  511. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
  512. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
  513. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
  514. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
  515. package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
  516. package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
  517. package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
  518. package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
  519. package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
  520. package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
  521. package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
  522. package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
  523. package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
  524. package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
  525. package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
  526. package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
  527. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
  528. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
  529. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
  530. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
  531. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
  532. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
  533. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
  534. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
  535. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
  536. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
  537. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
  538. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
  539. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
  540. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
  541. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
  542. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
  543. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
  544. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
  545. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
  546. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
  547. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
  548. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
  549. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
  550. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
  551. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
  552. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
  553. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
  554. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
  555. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
  556. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
  557. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
  558. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
  559. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
  560. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
  561. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
  562. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
  563. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
  564. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
  565. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
  566. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
  567. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
  568. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
  569. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
  570. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
  571. package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
  572. package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
  573. package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
  574. package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
  575. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
  576. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
  577. package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
  578. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
  579. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
  580. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
  581. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +18 -4
  582. package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
  583. package/templates/saas/skeleton/frontend/Dockerfile +4 -1
  584. package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +1 -1
  585. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +4 -4
  586. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
  587. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
  588. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +2 -0
  589. package/wildo-framework.info.json +1 -1
@@ -0,0 +1,124 @@
1
+ /** A workspace member that runs a `dev` script, as `pnpm -r run dev` would start it. */
2
+ export interface WorkspaceDevMember {
3
+ /** Its package name: what `pnpm --filter` selects. */
4
+ readonly name: string;
5
+ /** Its directory, application-relative. */
6
+ readonly directory: string;
7
+ }
8
+ /**
9
+ * Every workspace member (the root excluded) whose `package.json` declares a `dev` script: the set `pnpm -r run dev`
10
+ * starts. A member whose manifest does not parse, or that has no name, is left out, as pnpm cannot select it either.
11
+ */
12
+ export declare function listWorkspaceDevMembers(appRoot: string): WorkspaceDevMember[];
13
+ /** What the stack knows between two looks: the members it runs, and the install it last acted on. */
14
+ export interface LateWorkspaceMemberState {
15
+ readonly started: ReadonlySet<string>;
16
+ /** When pnpm last finished an install in the application, as last seen (`node_modules/.modules.yaml`). */
17
+ readonly installedAtMs: number | null;
18
+ }
19
+ /**
20
+ * The members to start now, and the state to keep. Pure but for the reads, which a test replaces.
21
+ *
22
+ * Nothing starts while an install is IN FLIGHT (the member's dependencies are not there yet), and nothing is looked for
23
+ * until pnpm has finished an install since the last look: a member is added by an install, and listing the workspace on
24
+ * every tick would read every manifest every few seconds for nothing.
25
+ */
26
+ export declare function decideLateWorkspaceMembers(appRoot: string, state: LateWorkspaceMemberState, reads?: {
27
+ readonly installedAtMs: (root: string) => number | null;
28
+ readonly installInFlight: (root: string) => boolean;
29
+ readonly members: (root: string) => readonly WorkspaceDevMember[];
30
+ }): {
31
+ readonly toStart: readonly WorkspaceDevMember[];
32
+ readonly state: LateWorkspaceMemberState;
33
+ };
34
+ /** Whether a dependency install is running in the application right now (the stack-event record, #3552). */
35
+ export declare function isDependencyInstallInFlight(appRoot: string): boolean;
36
+ /** The state at the stack's start: every member `pnpm -r run dev` is starting, and the install already on disk. */
37
+ export declare function initialLateWorkspaceMemberState(appRoot: string): LateWorkspaceMemberState;
38
+ /** How often the stack looks for a finished install. */
39
+ export declare const LATE_WORKSPACE_MEMBER_POLL_MS = 5000;
40
+ /**
41
+ * What the runtimes' env files are written from, out of a `wildo.saas.config.ts` (#3985): the WHOLE declaration. The
42
+ * runtime topology is the case measured — services, minions and workers become `APPLICATION_RUNTIME_ENDPOINTS`, and on
43
+ * reference run 43876218697 `add-website` declared a website at 14:51, the companion restarted at 16:52 and crash-looped on
44
+ * `frontendServices.<x> is declared but runtime.endPoints.<x> is missing` until the run ended. But the env writer also
45
+ * derives from providers, systems of record, data services and key management, so a hand-picked subset of fields would be
46
+ * a second list of what the writer reads, the kind that rots. Any change to the declaration therefore owes a regeneration,
47
+ * which is what restarting `wildo local dev` would do.
48
+ *
49
+ * A canonical string: keys sorted at every depth (an edit that only reorders is not a change), functions and cycles named
50
+ * rather than followed. It sees what is enumerable: a `Map`, a `Set` or a value kept on non-enumerable properties (a Zod
51
+ * schema) serialises without its contents, so a change held only there is not seen. A declaration is plain data today.
52
+ */
53
+ export declare function declarationFingerprint(config: unknown): string;
54
+ /** The declaration the runtimes' env files were last written from, and the config file's state when it was read. */
55
+ export interface DeclarationState {
56
+ /** `null` when the starting read failed: the first declaration read later is then owed a regeneration. */
57
+ readonly fingerprint: string | null;
58
+ /** The config file's modification time at that read: an unchanged file is never re-read. */
59
+ readonly configModifiedAtMs: number | null;
60
+ }
61
+ /** The reads the reconcile pass makes, replaceable by a test. */
62
+ export interface WorkspaceReconcileReads {
63
+ readonly installInFlight: (root: string) => boolean;
64
+ readonly configModifiedAtMs: (root: string) => number | null;
65
+ readonly loadFingerprint: (root: string) => Promise<string | null>;
66
+ readonly installedAtMs: (root: string) => number | null;
67
+ readonly members: (root: string) => readonly WorkspaceDevMember[];
68
+ readonly now: () => number;
69
+ }
70
+ /** After a failed regeneration, how long before the next attempt. */
71
+ export declare const ENV_REGENERATION_RETRY_MS = 60000;
72
+ export declare const DEFAULT_WORKSPACE_RECONCILE_READS: WorkspaceReconcileReads;
73
+ /**
74
+ * One reconcile of the running stack with the workspace and the declaration (#3985, #3986), as `wildo local dev` runs it
75
+ * every few seconds. Single-flight; nothing at all while an install runs. In ORDER, because a member that is also a
76
+ * declared service needs a `.env` that knows it:
77
+ *
78
+ * 1. The declaration: when the config file changed and its fingerprint differs from what the env files were written from
79
+ * (or that is unknown), the env files are OWED, and `regenerate` (the startup bootstrap) runs. A failure keeps them
80
+ * owed and retries after {@link ENV_REGENERATION_RETRY_MS}. A declaration that does not load (an edit in progress)
81
+ * owes nothing yet and is read again on the next change.
82
+ * 2. The members: only when no regeneration is owed. Each member a finished install brought gets its dev process, once.
83
+ * Accepted cost, recorded on #3986: a regeneration that KEEPS failing holds back every new member, a provider package
84
+ * included (which reads no runtime `.env`). It is reported every minute, and restarting `wildo local dev` clears it;
85
+ * telling the members that need a `.env` from those that do not would take a second reading of the declaration.
86
+ */
87
+ export declare function createWorkspaceReconciler(input: {
88
+ readonly appRoot: string;
89
+ /** Whether the env files can be regenerated at all (startup regenerates only with a framework path). */
90
+ readonly canRegenerate: boolean;
91
+ readonly regenerate: () => Promise<void>;
92
+ readonly startMember: (member: WorkspaceDevMember) => void;
93
+ readonly isStopping: () => boolean;
94
+ readonly reportRegenerationFailure: (error: unknown) => void;
95
+ readonly initial: {
96
+ readonly declaration: DeclarationState;
97
+ readonly members: LateWorkspaceMemberState;
98
+ };
99
+ readonly reads?: WorkspaceReconcileReads;
100
+ }): {
101
+ readonly reconcile: () => Promise<void>;
102
+ readonly regenerationOwed: () => boolean;
103
+ };
104
+ /** The declaration the stack started from: what its env files were written from moments ago. */
105
+ export declare function initialDeclarationState(appRoot: string, reads?: WorkspaceReconcileReads): Promise<DeclarationState>;
106
+ /**
107
+ * Regenerate the application's provider runtime artifacts after a declaration change (#3985), as `wildo config sync
108
+ * --domain config` writes them: the per-runtime provider lists, the generated provider modules, the CSP.
109
+ *
110
+ * The env files are not the only thing a declaration change leaves behind. Measured on reference run 43937787170: the
111
+ * foundation declared `email-preview` and `stripe` at 20:31, the backend's provider artifact still listed none (written by
112
+ * `wildo init` at 19:23), and the backend refused six times with "Required engine capabilities resolve no active provider:
113
+ * [BILLING, EMAIL_TRANSACTIONAL]" and paused, with the build about to start. The same class as Wonder Procurement's on
114
+ * 2026-10-07 (`findProviderRuntimeArtifactsBehindDeclaration`), which a restart repairs and a running stack never did.
115
+ *
116
+ * Run as a CHILD of this CLI: in this long-lived process the configuration loader's module cache still holds the
117
+ * declaration the stack started with, and a sync reading it would regenerate the very artifacts that are behind. Rejects
118
+ * when the child fails, so the reconcile keeps the regeneration owed and retries.
119
+ */
120
+ export declare function syncProviderRuntimeArtifactsInChild(saasRoot: string, envName: string, run?: (file: string, args: readonly string[], options: {
121
+ cwd: string;
122
+ timeout: number;
123
+ }) => Promise<unknown>): Promise<void>;
124
+ //# sourceMappingURL=local-dev-late-workspace-members.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-dev-late-workspace-members.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-late-workspace-members.service.ts"],"names":[],"mappings":"AA6BA,wFAAwF;AACxF,MAAM,WAAW,kBAAkB;IACjC,sDAAsD;IACtD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAiB7E;AAED,qGAAqG;AACrG,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,0GAA0G;IAC1G,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,wBAAwB,EAC/B,KAAK,GAAE;IACL,QAAQ,CAAC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IACpD,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,kBAAkB,EAAE,CAAC;CACvC,GAC5B;IAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAA;CAAE,CAS/F;AAED,4GAA4G;AAC5G,wBAAgB,2BAA2B,CAAC,OAAO,E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AAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,UAAU,EAAE,MAAM,OAAO,CAAC;IACnC,QAAQ,CAAC,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,WAAW,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAA;KAAE,CAAC;IACzG,QAAQ,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAC;CAC1C,GAAG;IAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,OAAO,CAAA;CAAE,CA6CxF;AAED,gGAAgG;AAChG,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,uBAA2D,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAS5J;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,mCAAmC,CACvD,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,OAAO,CAAmB,GAC5H,OAAO,CAAC,IAAI,CAAC,CAOf"}
@@ -0,0 +1,249 @@
1
+ /**
2
+ * The workspace members that JOIN an application while `wildo local dev` runs, and the dev process each one is owed (#3986).
3
+ *
4
+ * The development tree is `pnpm dev`, which runs `pnpm -r run dev`: one `dev` process for every workspace member that
5
+ * has the script, enumerated ONCE, when the stack starts. A member added later never gets one. The members that arrive
6
+ * that way are real and routine: `wildo registry add` installs a provider as `providers/<ref>/backend`, and `wildo compose`
7
+ * adds a website, a documentation site, a minion or a worker. Measured on reference run 43876218697: a coding run
8
+ * installed the Brevo provider at 16:41, its package was never compiled, and the backend, which depends on it, sat paused
9
+ * on `dependency-output-not-ready` for the rest of the run. A person routes around it by restarting `wildo local dev`; an
10
+ * unattended creation cannot.
11
+ *
12
+ * So the stack watches for a FINISHED INSTALL (a new member is usable only once its dependencies are), and starts the dev
13
+ * script of every member with one that it has not started yet. A member that is also a declared SERVICE needs its `.env`
14
+ * first: {@link decideRuntimeTopologyRegeneration} says when the declared topology changed, and the command rewrites
15
+ * every runtime's env files BEFORE it starts the new members (#3985). The decision is pure and lives here; the spawning stays in
16
+ * the command. A member that LEAVES is not stopped: its process exits on its own when its files go, and a restart of the
17
+ * stack reads the workspace afresh.
18
+ */
19
+ import { execFile } from 'node:child_process';
20
+ import { existsSync, readFileSync, statSync } from 'node:fs';
21
+ import { join } from 'node:path';
22
+ import { promisify } from 'node:util';
23
+ import { loadSaasConfig } from '@wildo-ai/platform-config-lib';
24
+ import { LocalDevDependencyInstallPhase } from '@wildo-ai/platform-core-shared';
25
+ import { classifyDependencyInstall, readDependencyInstallRecord, readNodeModulesInstalledAtMs } from '@wildo-ai/platform-core-shared/dev-runtime';
26
+ import { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '../../services/application/application-dependency-alignment.service.js';
27
+ /**
28
+ * Every workspace member (the root excluded) whose `package.json` declares a `dev` script: the set `pnpm -r run dev`
29
+ * starts. A member whose manifest does not parse, or that has no name, is left out, as pnpm cannot select it either.
30
+ */
31
+ export function listWorkspaceDevMembers(appRoot) {
32
+ const { members } = expandWorkspaceMemberPatterns(appRoot, readWorkspacePackagePatterns(join(appRoot, 'pnpm-workspace.yaml')));
33
+ const found = [];
34
+ for (const directory of members) {
35
+ if (directory === '.')
36
+ continue;
37
+ const manifestPath = join(appRoot, directory, 'package.json');
38
+ if (!existsSync(manifestPath))
39
+ continue;
40
+ try {
41
+ const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
42
+ if (typeof manifest.name === 'string' && manifest.name.length > 0 && typeof manifest.scripts?.dev === 'string') {
43
+ found.push({ name: manifest.name, directory });
44
+ }
45
+ }
46
+ catch {
47
+ // An unreadable manifest is one pnpm cannot run either.
48
+ }
49
+ }
50
+ return found;
51
+ }
52
+ /**
53
+ * The members to start now, and the state to keep. Pure but for the reads, which a test replaces.
54
+ *
55
+ * Nothing starts while an install is IN FLIGHT (the member's dependencies are not there yet), and nothing is looked for
56
+ * until pnpm has finished an install since the last look: a member is added by an install, and listing the workspace on
57
+ * every tick would read every manifest every few seconds for nothing.
58
+ */
59
+ export function decideLateWorkspaceMembers(appRoot, state, reads = DEFAULT_LATE_MEMBER_READS) {
60
+ if (reads.installInFlight(appRoot))
61
+ return { toStart: [], state };
62
+ const installedAtMs = reads.installedAtMs(appRoot);
63
+ if (installedAtMs === null || (state.installedAtMs !== null && installedAtMs <= state.installedAtMs))
64
+ return { toStart: [], state };
65
+ const toStart = reads.members(appRoot).filter((member) => !state.started.has(member.name));
66
+ return {
67
+ toStart,
68
+ state: { started: new Set([...state.started, ...toStart.map((member) => member.name)]), installedAtMs },
69
+ };
70
+ }
71
+ /** Whether a dependency install is running in the application right now (the stack-event record, #3552). */
72
+ export function isDependencyInstallInFlight(appRoot) {
73
+ return classifyDependencyInstall(readDependencyInstallRecord(appRoot), Date.now()).phase === LocalDevDependencyInstallPhase.IN_FLIGHT;
74
+ }
75
+ const DEFAULT_LATE_MEMBER_READS = {
76
+ installedAtMs: readNodeModulesInstalledAtMs,
77
+ installInFlight: isDependencyInstallInFlight,
78
+ members: listWorkspaceDevMembers,
79
+ };
80
+ /** The state at the stack's start: every member `pnpm -r run dev` is starting, and the install already on disk. */
81
+ export function initialLateWorkspaceMemberState(appRoot) {
82
+ return {
83
+ started: new Set(listWorkspaceDevMembers(appRoot).map((member) => member.name)),
84
+ installedAtMs: readNodeModulesInstalledAtMs(appRoot),
85
+ };
86
+ }
87
+ /** How often the stack looks for a finished install. */
88
+ export const LATE_WORKSPACE_MEMBER_POLL_MS = 5_000;
89
+ /**
90
+ * What the runtimes' env files are written from, out of a `wildo.saas.config.ts` (#3985): the WHOLE declaration. The
91
+ * runtime topology is the case measured — services, minions and workers become `APPLICATION_RUNTIME_ENDPOINTS`, and on
92
+ * reference run 43876218697 `add-website` declared a website at 14:51, the companion restarted at 16:52 and crash-looped on
93
+ * `frontendServices.<x> is declared but runtime.endPoints.<x> is missing` until the run ended. But the env writer also
94
+ * derives from providers, systems of record, data services and key management, so a hand-picked subset of fields would be
95
+ * a second list of what the writer reads, the kind that rots. Any change to the declaration therefore owes a regeneration,
96
+ * which is what restarting `wildo local dev` would do.
97
+ *
98
+ * A canonical string: keys sorted at every depth (an edit that only reorders is not a change), functions and cycles named
99
+ * rather than followed. It sees what is enumerable: a `Map`, a `Set` or a value kept on non-enumerable properties (a Zod
100
+ * schema) serialises without its contents, so a change held only there is not seen. A declaration is plain data today.
101
+ */
102
+ export function declarationFingerprint(config) {
103
+ const seen = new WeakSet();
104
+ const canonical = (value) => {
105
+ if (typeof value === 'function')
106
+ return '[function]';
107
+ if (typeof value === 'bigint')
108
+ return value.toString();
109
+ if (value === null || typeof value !== 'object')
110
+ return value;
111
+ if (seen.has(value))
112
+ return '[circular]';
113
+ seen.add(value);
114
+ const result = Array.isArray(value)
115
+ ? value.map(canonical)
116
+ : Object.fromEntries(Object.keys(value).sort().map((key) => [key, canonical(value[key])]));
117
+ seen.delete(value);
118
+ return result;
119
+ };
120
+ return JSON.stringify(canonical(config));
121
+ }
122
+ const SAAS_CONFIG_FILE = 'wildo.saas.config.ts';
123
+ /** After a failed regeneration, how long before the next attempt. */
124
+ export const ENV_REGENERATION_RETRY_MS = 60_000;
125
+ export const DEFAULT_WORKSPACE_RECONCILE_READS = {
126
+ installInFlight: isDependencyInstallInFlight,
127
+ configModifiedAtMs: (root) => {
128
+ try {
129
+ return statSync(join(root, SAAS_CONFIG_FILE)).mtimeMs;
130
+ }
131
+ catch {
132
+ return null;
133
+ }
134
+ },
135
+ // Fresh: jiti's module cache is process-wide, and this process would otherwise read the declaration it started with.
136
+ loadFingerprint: async (root) => {
137
+ const config = await loadSaasConfig(join(root, SAAS_CONFIG_FILE), { freshModuleCache: true });
138
+ return config === null ? null : declarationFingerprint(config);
139
+ },
140
+ installedAtMs: readNodeModulesInstalledAtMs,
141
+ members: listWorkspaceDevMembers,
142
+ now: () => Date.now(),
143
+ };
144
+ /**
145
+ * One reconcile of the running stack with the workspace and the declaration (#3985, #3986), as `wildo local dev` runs it
146
+ * every few seconds. Single-flight; nothing at all while an install runs. In ORDER, because a member that is also a
147
+ * declared service needs a `.env` that knows it:
148
+ *
149
+ * 1. The declaration: when the config file changed and its fingerprint differs from what the env files were written from
150
+ * (or that is unknown), the env files are OWED, and `regenerate` (the startup bootstrap) runs. A failure keeps them
151
+ * owed and retries after {@link ENV_REGENERATION_RETRY_MS}. A declaration that does not load (an edit in progress)
152
+ * owes nothing yet and is read again on the next change.
153
+ * 2. The members: only when no regeneration is owed. Each member a finished install brought gets its dev process, once.
154
+ * Accepted cost, recorded on #3986: a regeneration that KEEPS failing holds back every new member, a provider package
155
+ * included (which reads no runtime `.env`). It is reported every minute, and restarting `wildo local dev` clears it;
156
+ * telling the members that need a `.env` from those that do not would take a second reading of the declaration.
157
+ */
158
+ export function createWorkspaceReconciler(input) {
159
+ const reads = input.reads ?? DEFAULT_WORKSPACE_RECONCILE_READS;
160
+ let declaration = input.initial.declaration;
161
+ let members = input.initial.members;
162
+ let owed = null; // the fingerprint whose env files are owed
163
+ let retryAtMs = 0;
164
+ let running = false;
165
+ const reconcile = async () => {
166
+ if (running || input.isStopping() || reads.installInFlight(input.appRoot))
167
+ return;
168
+ running = true;
169
+ try {
170
+ if (input.canRegenerate) {
171
+ const modifiedAtMs = reads.configModifiedAtMs(input.appRoot);
172
+ if (modifiedAtMs !== null && modifiedAtMs !== declaration.configModifiedAtMs) {
173
+ let fingerprint = null;
174
+ try {
175
+ fingerprint = await reads.loadFingerprint(input.appRoot);
176
+ }
177
+ catch {
178
+ fingerprint = null;
179
+ }
180
+ if (fingerprint !== null) {
181
+ if (fingerprint !== declaration.fingerprint)
182
+ owed = fingerprint;
183
+ declaration = { fingerprint, configModifiedAtMs: modifiedAtMs };
184
+ }
185
+ }
186
+ if (owed !== null && reads.now() >= retryAtMs) {
187
+ try {
188
+ await input.regenerate();
189
+ owed = null;
190
+ }
191
+ catch (error) {
192
+ retryAtMs = reads.now() + ENV_REGENERATION_RETRY_MS;
193
+ input.reportRegenerationFailure(error);
194
+ }
195
+ }
196
+ // The env files first: a member started now would read a `.env` that may not know it.
197
+ if (owed !== null || input.isStopping())
198
+ return;
199
+ }
200
+ const decision = decideLateWorkspaceMembers(input.appRoot, members, reads);
201
+ members = decision.state;
202
+ for (const member of decision.toStart)
203
+ input.startMember(member);
204
+ }
205
+ finally {
206
+ running = false;
207
+ }
208
+ };
209
+ return { reconcile, regenerationOwed: () => owed !== null };
210
+ }
211
+ /** The declaration the stack started from: what its env files were written from moments ago. */
212
+ export async function initialDeclarationState(appRoot, reads = DEFAULT_WORKSPACE_RECONCILE_READS) {
213
+ const configModifiedAtMs = reads.configModifiedAtMs(appRoot);
214
+ try {
215
+ const fingerprint = await reads.loadFingerprint(appRoot);
216
+ return fingerprint === null ? { fingerprint: null, configModifiedAtMs: null } : { fingerprint, configModifiedAtMs };
217
+ }
218
+ catch {
219
+ // Unknown: the first declaration read later is owed a regeneration rather than taken as the baseline.
220
+ return { fingerprint: null, configModifiedAtMs: null };
221
+ }
222
+ }
223
+ /** Bound on the provider-artifact sync: it reads configuration and writes generated files, and must not hold the reconcile. */
224
+ const PROVIDER_ARTIFACT_SYNC_TIMEOUT_MS = 5 * 60 * 1000;
225
+ /**
226
+ * Regenerate the application's provider runtime artifacts after a declaration change (#3985), as `wildo config sync
227
+ * --domain config` writes them: the per-runtime provider lists, the generated provider modules, the CSP.
228
+ *
229
+ * The env files are not the only thing a declaration change leaves behind. Measured on reference run 43937787170: the
230
+ * foundation declared `email-preview` and `stripe` at 20:31, the backend's provider artifact still listed none (written by
231
+ * `wildo init` at 19:23), and the backend refused six times with "Required engine capabilities resolve no active provider:
232
+ * [BILLING, EMAIL_TRANSACTIONAL]" and paused, with the build about to start. The same class as Wonder Procurement's on
233
+ * 2026-10-07 (`findProviderRuntimeArtifactsBehindDeclaration`), which a restart repairs and a running stack never did.
234
+ *
235
+ * Run as a CHILD of this CLI: in this long-lived process the configuration loader's module cache still holds the
236
+ * declaration the stack started with, and a sync reading it would regenerate the very artifacts that are behind. Rejects
237
+ * when the child fails, so the reconcile keeps the regeneration owed and retries.
238
+ */
239
+ export async function syncProviderRuntimeArtifactsInChild(saasRoot, envName, run = defaultRunChild) {
240
+ const cliEntry = process.argv[1];
241
+ if (cliEntry === undefined)
242
+ throw new Error('The wildo CLI entry point is unknown, so the provider artifacts cannot be regenerated.');
243
+ await run(process.execPath, [cliEntry, 'config', 'sync', '--domain', 'config', '--env', envName, '--non-interactive'], {
244
+ cwd: saasRoot,
245
+ timeout: PROVIDER_ARTIFACT_SYNC_TIMEOUT_MS,
246
+ });
247
+ }
248
+ const defaultRunChild = (file, args, options) => promisify(execFile)(file, [...args], { ...options, maxBuffer: 16 * 1024 * 1024 });
249
+ //# sourceMappingURL=local-dev-late-workspace-members.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-dev-late-workspace-members.service.js","sourceRoot":"","sources":["../../../../src/services/deployment/local-dev-late-workspace-members.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,WAA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;;;;;;;;;;GAaG;AACH,MAAM,CAAC,KAAK,UAAU,mCAAmC,CACvD,QAAgB,EAChB,OAAe,EACf,MAA8G,eAAe;IAE7H,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,QAAQ,KAAK,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,wFAAwF,CAAC,CAAC;IACtI,MAAM,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE;QACrH,GAAG,EAAE,QAAQ;QACb,OAAO,EAAE,iCAAiC;KAC3C,CAAC,CAAC;AACL,CAAC;AAED,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,IAAuB,EAAE,OAAyC,EAAoB,EAAE,CAC7H,SAAS,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC,CAAC","sourcesContent":["/**\n * The workspace members that JOIN an application while `wildo local dev` runs, and the dev process each one is owed (#3986).\n *\n * The development tree is `pnpm dev`, which runs `pnpm -r run dev`: one `dev` process for every workspace member that\n * has the script, enumerated ONCE, when the stack starts. A member added later never gets one. The members that arrive\n * that way are real and routine: `wildo registry add` installs a provider as `providers/<ref>/backend`, and `wildo compose`\n * adds a website, a documentation site, a minion or a worker. Measured on reference run 43876218697: a coding run\n * installed the Brevo provider at 16:41, its package was never compiled, and the backend, which depends on it, sat paused\n * on `dependency-output-not-ready` for the rest of the run. A person routes around it by restarting `wildo local dev`; an\n * unattended creation cannot.\n *\n * So the stack watches for a FINISHED INSTALL (a new member is usable only once its dependencies are), and starts the dev\n * script of every member with one that it has not started yet. A member that is also a declared SERVICE needs its `.env`\n * first: {@link decideRuntimeTopologyRegeneration} says when the declared topology changed, and the command rewrites\n * every runtime's env files BEFORE it starts the new members (#3985). The decision is pure and lives here; the spawning stays in\n * the command. A member that LEAVES is not stopped: its process exits on its own when its files go, and a restart of the\n * stack reads the workspace afresh.\n */\nimport { execFile } from 'node:child_process';\nimport { existsSync, readFileSync, statSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { promisify } from 'node:util';\n\nimport { loadSaasConfig } from '@wildo-ai/platform-config-lib';\nimport { LocalDevDependencyInstallPhase } from '@wildo-ai/platform-core-shared';\nimport { classifyDependencyInstall, readDependencyInstallRecord, readNodeModulesInstalledAtMs } from '@wildo-ai/platform-core-shared/dev-runtime';\n\nimport { expandWorkspaceMemberPatterns, readWorkspacePackagePatterns } from '~wildo-cli/services/application/application-dependency-alignment.service';\n\n/** A workspace member that runs a `dev` script, as `pnpm -r run dev` would start it. */\nexport interface WorkspaceDevMember {\n /** Its package name: what `pnpm --filter` selects. */\n readonly name: string;\n /** Its directory, application-relative. */\n readonly directory: string;\n}\n\n/**\n * Every workspace member (the root excluded) whose `package.json` declares a `dev` script: the set `pnpm -r run dev`\n * starts. A member whose manifest does not parse, or that has no name, is left out, as pnpm cannot select it either.\n */\nexport function listWorkspaceDevMembers(appRoot: string): WorkspaceDevMember[] {\n const { members } = expandWorkspaceMemberPatterns(appRoot, readWorkspacePackagePatterns(join(appRoot, 'pnpm-workspace.yaml')));\n const found: WorkspaceDevMember[] = [];\n for (const directory of members) {\n if (directory === '.') continue;\n const manifestPath = join(appRoot, directory, 'package.json');\n if (!existsSync(manifestPath)) continue;\n try {\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { readonly name?: unknown; readonly scripts?: Record<string, unknown> };\n if (typeof manifest.name === 'string' && manifest.name.length > 0 && typeof manifest.scripts?.dev === 'string') {\n found.push({ name: manifest.name, directory });\n }\n } catch {\n // An unreadable manifest is one pnpm cannot run either.\n }\n }\n return found;\n}\n\n/** What the stack knows between two looks: the members it runs, and the install it last acted on. */\nexport interface LateWorkspaceMemberState {\n readonly started: ReadonlySet<string>;\n /** When pnpm last finished an install in the application, as last seen (`node_modules/.modules.yaml`). */\n readonly installedAtMs: number | null;\n}\n\n/**\n * The members to start now, and the state to keep. Pure but for the reads, which a test replaces.\n *\n * Nothing starts while an install is IN FLIGHT (the member's dependencies are not there yet), and nothing is looked for\n * until pnpm has finished an install since the last look: a member is added by an install, and listing the workspace on\n * every tick would read every manifest every few seconds for nothing.\n */\nexport function decideLateWorkspaceMembers(\n appRoot: string,\n state: LateWorkspaceMemberState,\n reads: {\n readonly installedAtMs: (root: string) => number | null;\n readonly installInFlight: (root: string) => boolean;\n readonly members: (root: string) => readonly WorkspaceDevMember[];\n } = DEFAULT_LATE_MEMBER_READS,\n): { readonly toStart: readonly WorkspaceDevMember[]; readonly state: LateWorkspaceMemberState } {\n if (reads.installInFlight(appRoot)) return { toStart: [], state };\n const installedAtMs = reads.installedAtMs(appRoot);\n if (installedAtMs === null || (state.installedAtMs !== null && installedAtMs <= state.installedAtMs)) return { toStart: [], state };\n const toStart = reads.members(appRoot).filter((member) => !state.started.has(member.name));\n return {\n toStart,\n state: { started: new Set([...state.started, ...toStart.map((member) => member.name)]), installedAtMs },\n };\n}\n\n/** Whether a dependency install is running in the application right now (the stack-event record, #3552). */\nexport function isDependencyInstallInFlight(appRoot: string): boolean {\n return classifyDependencyInstall(readDependencyInstallRecord(appRoot), Date.now()).phase === LocalDevDependencyInstallPhase.IN_FLIGHT;\n}\n\nconst DEFAULT_LATE_MEMBER_READS = {\n installedAtMs: readNodeModulesInstalledAtMs,\n installInFlight: isDependencyInstallInFlight,\n members: listWorkspaceDevMembers,\n} as const;\n\n/** The state at the stack's start: every member `pnpm -r run dev` is starting, and the install already on disk. */\nexport function initialLateWorkspaceMemberState(appRoot: string): LateWorkspaceMemberState {\n return {\n started: new Set(listWorkspaceDevMembers(appRoot).map((member) => member.name)),\n installedAtMs: readNodeModulesInstalledAtMs(appRoot),\n };\n}\n\n/** How often the stack looks for a finished install. */\nexport const LATE_WORKSPACE_MEMBER_POLL_MS = 5_000;\n\n/**\n * What the runtimes' env files are written from, out of a `wildo.saas.config.ts` (#3985): the WHOLE declaration. The\n * runtime topology is the case measured — services, minions and workers become `APPLICATION_RUNTIME_ENDPOINTS`, and on\n * reference run 43876218697 `add-website` declared a website at 14:51, the companion restarted at 16:52 and crash-looped on\n * `frontendServices.<x> is declared but runtime.endPoints.<x> is missing` until the run ended. But the env writer also\n * derives from providers, systems of record, data services and key management, so a hand-picked subset of fields would be\n * a second list of what the writer reads, the kind that rots. Any change to the declaration therefore owes a regeneration,\n * which is what restarting `wildo local dev` would do.\n *\n * A canonical string: keys sorted at every depth (an edit that only reorders is not a change), functions and cycles named\n * rather than followed. It sees what is enumerable: a `Map`, a `Set` or a value kept on non-enumerable properties (a Zod\n * schema) serialises without its contents, so a change held only there is not seen. A declaration is plain data today.\n */\nexport function declarationFingerprint(config: unknown): string {\n const seen = new WeakSet<object>();\n const canonical = (value: unknown): unknown => {\n if (typeof value === 'function') return '[function]';\n if (typeof value === 'bigint') return value.toString();\n if (value === null || typeof value !== 'object') return value;\n if (seen.has(value)) return '[circular]';\n seen.add(value);\n const result = Array.isArray(value)\n ? value.map(canonical)\n : Object.fromEntries(Object.keys(value as Record<string, unknown>).sort().map((key) => [key, canonical((value as Record<string, unknown>)[key])]));\n seen.delete(value);\n return result;\n };\n return JSON.stringify(canonical(config));\n}\n\n/** The declaration the runtimes' env files were last written from, and the config file's state when it was read. */\nexport interface DeclarationState {\n /** `null` when the starting read failed: the first declaration read later is then owed a regeneration. */\n readonly fingerprint: string | null;\n /** The config file's modification time at that read: an unchanged file is never re-read. */\n readonly configModifiedAtMs: number | null;\n}\n\n/** The reads the reconcile pass makes, replaceable by a test. */\nexport interface WorkspaceReconcileReads {\n readonly installInFlight: (root: string) => boolean;\n readonly configModifiedAtMs: (root: string) => number | null;\n readonly loadFingerprint: (root: string) => Promise<string | null>;\n readonly installedAtMs: (root: string) => number | null;\n readonly members: (root: string) => readonly WorkspaceDevMember[];\n readonly now: () => number;\n}\n\nconst SAAS_CONFIG_FILE = 'wildo.saas.config.ts';\n\n/** After a failed regeneration, how long before the next attempt. */\nexport const ENV_REGENERATION_RETRY_MS = 60_000;\n\nexport const DEFAULT_WORKSPACE_RECONCILE_READS: WorkspaceReconcileReads = {\n installInFlight: isDependencyInstallInFlight,\n configModifiedAtMs: (root) => {\n try {\n return statSync(join(root, SAAS_CONFIG_FILE)).mtimeMs;\n } catch {\n return null;\n }\n },\n // Fresh: jiti's module cache is process-wide, and this process would otherwise read the declaration it started with.\n loadFingerprint: async (root) => {\n const config = await loadSaasConfig(join(root, SAAS_CONFIG_FILE), { freshModuleCache: true });\n return config === null ? null : declarationFingerprint(config);\n },\n installedAtMs: readNodeModulesInstalledAtMs,\n members: listWorkspaceDevMembers,\n now: () => Date.now(),\n};\n\n/**\n * One reconcile of the running stack with the workspace and the declaration (#3985, #3986), as `wildo local dev` runs it\n * every few seconds. Single-flight; nothing at all while an install runs. In ORDER, because a member that is also a\n * declared service needs a `.env` that knows it:\n *\n * 1. The declaration: when the config file changed and its fingerprint differs from what the env files were written from\n * (or that is unknown), the env files are OWED, and `regenerate` (the startup bootstrap) runs. A failure keeps them\n * owed and retries after {@link ENV_REGENERATION_RETRY_MS}. A declaration that does not load (an edit in progress)\n * owes nothing yet and is read again on the next change.\n * 2. The members: only when no regeneration is owed. Each member a finished install brought gets its dev process, once.\n * Accepted cost, recorded on #3986: a regeneration that KEEPS failing holds back every new member, a provider package\n * included (which reads no runtime `.env`). It is reported every minute, and restarting `wildo local dev` clears it;\n * telling the members that need a `.env` from those that do not would take a second reading of the declaration.\n */\nexport function createWorkspaceReconciler(input: {\n readonly appRoot: string;\n /** Whether the env files can be regenerated at all (startup regenerates only with a framework path). */\n readonly canRegenerate: boolean;\n readonly regenerate: () => Promise<void>;\n readonly startMember: (member: WorkspaceDevMember) => void;\n readonly isStopping: () => boolean;\n readonly reportRegenerationFailure: (error: unknown) => void;\n readonly initial: { readonly declaration: DeclarationState; readonly members: LateWorkspaceMemberState };\n readonly reads?: WorkspaceReconcileReads;\n}): { readonly reconcile: () => Promise<void>; readonly regenerationOwed: () => boolean } {\n const reads = input.reads ?? DEFAULT_WORKSPACE_RECONCILE_READS;\n let declaration = input.initial.declaration;\n let members = input.initial.members;\n let owed: string | null = null; // the fingerprint whose env files are owed\n let retryAtMs = 0;\n let running = false;\n const reconcile = async (): Promise<void> => {\n if (running || input.isStopping() || reads.installInFlight(input.appRoot)) return;\n running = true;\n try {\n if (input.canRegenerate) {\n const modifiedAtMs = reads.configModifiedAtMs(input.appRoot);\n if (modifiedAtMs !== null && modifiedAtMs !== declaration.configModifiedAtMs) {\n let fingerprint: string | null = null;\n try {\n fingerprint = await reads.loadFingerprint(input.appRoot);\n } catch {\n fingerprint = null;\n }\n if (fingerprint !== null) {\n if (fingerprint !== declaration.fingerprint) owed = fingerprint;\n declaration = { fingerprint, configModifiedAtMs: modifiedAtMs };\n }\n }\n if (owed !== null && reads.now() >= retryAtMs) {\n try {\n await input.regenerate();\n owed = null;\n } catch (error) {\n retryAtMs = reads.now() + ENV_REGENERATION_RETRY_MS;\n input.reportRegenerationFailure(error);\n }\n }\n // The env files first: a member started now would read a `.env` that may not know it.\n if (owed !== null || input.isStopping()) return;\n }\n const decision = decideLateWorkspaceMembers(input.appRoot, members, reads);\n members = decision.state;\n for (const member of decision.toStart) input.startMember(member);\n } finally {\n running = false;\n }\n };\n return { reconcile, regenerationOwed: () => owed !== null };\n}\n\n/** The declaration the stack started from: what its env files were written from moments ago. */\nexport async function initialDeclarationState(appRoot: string, reads: WorkspaceReconcileReads = DEFAULT_WORKSPACE_RECONCILE_READS): Promise<DeclarationState> {\n const configModifiedAtMs = reads.configModifiedAtMs(appRoot);\n try {\n const fingerprint = await reads.loadFingerprint(appRoot);\n return fingerprint === null ? { fingerprint: null, configModifiedAtMs: null } : { fingerprint, configModifiedAtMs };\n } catch {\n // Unknown: the first declaration read later is owed a regeneration rather than taken as the baseline.\n return { fingerprint: null, configModifiedAtMs: null };\n }\n}\n\n/** Bound on the provider-artifact sync: it reads configuration and writes generated files, and must not hold the reconcile. */\nconst PROVIDER_ARTIFACT_SYNC_TIMEOUT_MS = 5 * 60 * 1000;\n\n/**\n * Regenerate the application's provider runtime artifacts after a declaration change (#3985), as `wildo config sync\n * --domain config` writes them: the per-runtime provider lists, the generated provider modules, the CSP.\n *\n * The env files are not the only thing a declaration change leaves behind. Measured on reference run 43937787170: the\n * foundation declared `email-preview` and `stripe` at 20:31, the backend's provider artifact still listed none (written by\n * `wildo init` at 19:23), and the backend refused six times with \"Required engine capabilities resolve no active provider:\n * [BILLING, EMAIL_TRANSACTIONAL]\" and paused, with the build about to start. The same class as Wonder Procurement's on\n * 2026-10-07 (`findProviderRuntimeArtifactsBehindDeclaration`), which a restart repairs and a running stack never did.\n *\n * Run as a CHILD of this CLI: in this long-lived process the configuration loader's module cache still holds the\n * declaration the stack started with, and a sync reading it would regenerate the very artifacts that are behind. Rejects\n * when the child fails, so the reconcile keeps the regeneration owed and retries.\n */\nexport async function syncProviderRuntimeArtifactsInChild(\n saasRoot: string,\n envName: string,\n run: (file: string, args: readonly string[], options: { cwd: string; timeout: number }) => Promise<unknown> = defaultRunChild,\n): Promise<void> {\n const cliEntry = process.argv[1];\n if (cliEntry === undefined) throw new Error('The wildo CLI entry point is unknown, so the provider artifacts cannot be regenerated.');\n await run(process.execPath, [cliEntry, 'config', 'sync', '--domain', 'config', '--env', envName, '--non-interactive'], {\n cwd: saasRoot,\n timeout: PROVIDER_ARTIFACT_SYNC_TIMEOUT_MS,\n });\n}\n\nconst defaultRunChild = (file: string, args: readonly string[], options: { cwd: string; timeout: number }): Promise<unknown> =>\n promisify(execFile)(file, [...args], { ...options, maxBuffer: 16 * 1024 * 1024 });\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"local-precondition-checks.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-precondition-checks.service.ts"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,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC;AAExC;;;;GAIG;AACH,wBAAsB,sCAAsC,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAmBhI;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,yBAAyB,GAAG,4BAA4B,CAiCxG;AAED,wBAAsB,8BAA8B,CAAC,KAAK,EAAE;IAC1D,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;;;;;OASG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;;;;;;;;;OAaG;IACH,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAsD1C"}
1
+ {"version":3,"file":"local-precondition-checks.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/local-precondition-checks.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAeH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAMlG,OAAO,EASL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAIL,KAAK,8BAA8B,EACpC,MAAM,+DAA+D,CAAC;AAUvE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kEAAkE,CAAC;AAC1E,OAAO,KAAK,EAAE,kCAAkC,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAGnI,OAAO,KAAK,EAAE,sBAAsB,EA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C,CAAC,EAAE,OAAO,CAAC;IAC9C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,GAAG,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAsD1C"}
@@ -74,8 +74,10 @@ export const PROVIDER_RUNTIME_SYNC_REMEDIATION = 'Materialize the generated runt
74
74
  export const ORPHANED_DEV_WATCHER_REMEDIATION = 'Reap them: `wildo dev force-stop`';
75
75
  export const NODE_UPGRADE_REMEDIATION = `Install Node ${SUPPORTED_NODE_MAJOR_VERSION}: \`nvm install ${SUPPORTED_NODE_MAJOR_VERSION} && nvm use ${SUPPORTED_NODE_MAJOR_VERSION}\``
76
76
  + ` (or \`fnm use ${SUPPORTED_NODE_MAJOR_VERSION}\`, or download it from https://nodejs.org/). Then re-run \`wildo local doctor\`.`;
77
- export const PNPM_REPAIR_REMEDIATION = 'Reinstall pnpm: `corepack enable && corepack prepare pnpm@latest --activate`'
78
- + ' — or `npm install -g pnpm`. If a `packageManager` self-switch left a partial download,'
77
+ // Not corepack: Node 26 no longer ships it, so `corepack enable` is "command not found" on the supported Node (#3934).
78
+ // Any pnpm 10 is enough: it switches itself to the application's `packageManager` pin.
79
+ export const PNPM_REPAIR_REMEDIATION = 'Install pnpm: re-run the installer (`curl -fsSL https://get.wildo.ai/install.sh | sh`), which installs the release\'s pinned pnpm,'
80
+ + ' or `npm install -g pnpm@10`. If a `packageManager` self-switch left a partial download,'
79
81
  + ' clear its cache first: `rm -rf ~/Library/pnpm/.tools` (macOS) / `rm -rf ~/.local/share/pnpm/.tools` (Linux).';
80
82
  export const CXX20_TOOLCHAIN_REMEDIATION = 'Reinstall the Command Line Tools — this needs YOUR password, so run it yourself:'
81
83
  + ' `sudo rm -rf /Library/Developer/CommandLineTools && sudo xcode-select --install`.'