@wildo-ai/wildo-cli 1.1.12 → 1.1.14

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 (548) 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 +22 -1
  11. package/dist/src/commands/config/sync.command.js.map +1 -1
  12. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  13. package/dist/src/commands/context/journey.command.js +8 -0
  14. package/dist/src/commands/context/journey.command.js.map +1 -1
  15. package/dist/src/commands/creation/drive.command.d.ts.map +1 -1
  16. package/dist/src/commands/creation/drive.command.js +2 -0
  17. package/dist/src/commands/creation/drive.command.js.map +1 -1
  18. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  19. package/dist/src/commands/creation/feed.command.js +6 -3
  20. package/dist/src/commands/creation/feed.command.js.map +1 -1
  21. package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
  22. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  23. package/dist/src/commands/fwk/publish-all.command.js +64 -2
  24. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  25. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  26. package/dist/src/commands/fwk/publish-docker.command.js +16 -1
  27. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  28. package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
  29. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
  30. package/dist/src/commands/fwk/registry-host.command.js +78 -3
  31. package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
  32. package/dist/src/commands/init.command.d.ts +14 -0
  33. package/dist/src/commands/init.command.d.ts.map +1 -1
  34. package/dist/src/commands/init.command.js +29 -3
  35. package/dist/src/commands/init.command.js.map +1 -1
  36. package/dist/src/commands/local/dev.command.d.ts +68 -0
  37. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  38. package/dist/src/commands/local/dev.command.js +216 -8
  39. package/dist/src/commands/local/dev.command.js.map +1 -1
  40. package/dist/src/commands/local/doctor.command.d.ts +22 -9
  41. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  42. package/dist/src/commands/local/doctor.command.js +45 -42
  43. package/dist/src/commands/local/doctor.command.js.map +1 -1
  44. package/dist/src/commands/providers/connect.command.d.ts.map +1 -1
  45. package/dist/src/commands/providers/connect.command.js +11 -1
  46. package/dist/src/commands/providers/connect.command.js.map +1 -1
  47. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  48. package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
  49. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  50. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  51. package/dist/src/commands/registry/update.command.js +1 -0
  52. package/dist/src/commands/registry/update.command.js.map +1 -1
  53. package/dist/src/commands/seal/currency.command.d.ts +13 -0
  54. package/dist/src/commands/seal/currency.command.d.ts.map +1 -0
  55. package/dist/src/commands/seal/currency.command.js +52 -0
  56. package/dist/src/commands/seal/currency.command.js.map +1 -0
  57. package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -1
  58. package/dist/src/commands/seal/seal-admin-door.utils.js +2 -0
  59. package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -1
  60. package/dist/src/commands/seal/verify.command.d.ts +23 -0
  61. package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
  62. package/dist/src/commands/seal/verify.command.js +88 -3
  63. package/dist/src/commands/seal/verify.command.js.map +1 -1
  64. package/dist/src/services/application/content-guardrail-classifier.service.d.ts +19 -0
  65. package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -1
  66. package/dist/src/services/application/content-guardrail-classifier.service.js +75 -11
  67. package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -1
  68. package/dist/src/services/application/local-provider-doubles.service.d.ts +98 -0
  69. package/dist/src/services/application/local-provider-doubles.service.d.ts.map +1 -0
  70. package/dist/src/services/application/local-provider-doubles.service.js +214 -0
  71. package/dist/src/services/application/local-provider-doubles.service.js.map +1 -0
  72. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  73. package/dist/src/services/application/provider-runtime-sync.service.js +26 -1
  74. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  75. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  76. package/dist/src/services/application/saas-skeleton.service.js +24 -2
  77. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  78. package/dist/src/services/application/system-of-record-simulators.service.d.ts +21 -2
  79. package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -1
  80. package/dist/src/services/application/system-of-record-simulators.service.js +21 -12
  81. package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -1
  82. package/dist/src/services/companion/build-console.service.d.ts +39 -2
  83. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  84. package/dist/src/services/companion/build-console.service.js +54 -4
  85. package/dist/src/services/companion/build-console.service.js.map +1 -1
  86. package/dist/src/services/companion/creation-console.service.d.ts +6 -1
  87. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  88. package/dist/src/services/companion/creation-console.service.js +14 -2
  89. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  90. package/dist/src/services/companion/creation-drive.service.d.ts +32 -2
  91. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
  92. package/dist/src/services/companion/creation-drive.service.js +66 -6
  93. package/dist/src/services/companion/creation-drive.service.js.map +1 -1
  94. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  95. package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
  96. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  97. package/dist/src/services/credentials/credentials.schemas.d.ts +6 -0
  98. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  99. package/dist/src/services/credentials/credentials.schemas.js +7 -1
  100. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  101. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  102. package/dist/src/services/credentials/provider-env-vars.utils.js +11 -3
  103. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  104. package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
  105. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  106. package/dist/src/services/credentials/secret-requirements.service.js +17 -1
  107. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  108. package/dist/src/services/data-services/data-services.schemas.d.ts +9 -0
  109. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  110. package/dist/src/services/data-services/data-services.schemas.js +9 -0
  111. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  112. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
  113. package/dist/src/services/deployment/application-runtime-environment.js +3 -13
  114. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -1
  115. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  116. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +15 -4
  117. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  118. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
  119. package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
  120. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  121. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  122. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +3 -1
  123. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  124. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  125. package/dist/src/services/deployment/local-dev-session-lease.service.js +22 -1
  126. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  127. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  128. package/dist/src/services/deployment/local-precondition-checks.service.js +4 -2
  129. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  130. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  131. package/dist/src/services/environment/authored-infra-config.utils.js +1 -0
  132. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  133. package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -1
  134. package/dist/src/services/environment/authored-infra-member-authority.js +5 -0
  135. package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -1
  136. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  137. package/dist/src/services/environment/env-configuration-generator.service.js +14 -6
  138. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  139. package/dist/src/services/environment/env-vars-builder.service.d.ts +6 -0
  140. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  141. package/dist/src/services/environment/env-vars-builder.service.js +24 -1
  142. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  143. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  144. package/dist/src/services/environment/environment-hydration.utils.js +1 -0
  145. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  146. package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
  147. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
  148. package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
  149. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
  150. package/dist/src/services/environment/environment.schemas.d.ts +7 -1
  151. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  152. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  153. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +2 -0
  154. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  155. package/dist/src/services/environment/runtime-bootstrap.service.js +4 -0
  156. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  157. package/dist/src/services/framework/framework-docker-publish.service.d.ts +102 -0
  158. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  159. package/dist/src/services/framework/framework-docker-publish.service.js +204 -25
  160. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  161. package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
  162. package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
  163. package/dist/src/services/framework/github-actions-annotation.js +25 -0
  164. package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
  165. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
  166. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
  167. package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
  168. package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
  169. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +1 -1
  170. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
  171. package/dist/src/services/framework/registry-host/registry-host.service.js +2 -0
  172. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
  173. package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
  174. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  175. package/dist/src/services/registry/installed-file-state.utils.js +9 -1
  176. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  177. package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
  178. package/dist/src/services/registry/module-install.service.js +1 -0
  179. package/dist/src/services/registry/module-install.service.js.map +1 -1
  180. package/dist/src/services/registry/provider-connect.service.d.ts +57 -1
  181. package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -1
  182. package/dist/src/services/registry/provider-connect.service.js +63 -2
  183. package/dist/src/services/registry/provider-connect.service.js.map +1 -1
  184. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
  185. package/dist/src/services/registry/provider-module-scaffold.service.js +4 -0
  186. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
  187. package/dist/tsconfig.build.tsbuildinfo +1 -1
  188. package/framework-root-package.json +3 -3
  189. package/package.json +22 -22
  190. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +2 -2
  191. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +17 -2
  192. package/templates/infra/registry-host/docker-compose.yml +9 -2
  193. package/templates/infra/registry-host/upgrade-image.sh +108 -0
  194. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
  195. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
  196. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
  197. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
  198. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
  199. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
  200. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
  201. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
  202. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
  203. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
  204. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.en.ts +40 -0
  205. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
  206. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
  207. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
  208. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
  209. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
  210. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
  211. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
  212. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
  213. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -1
  214. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
  215. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
  216. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
  217. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
  218. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
  219. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
  220. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
  221. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
  222. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
  223. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
  224. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
  225. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
  226. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
  227. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
  228. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
  229. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
  230. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
  231. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
  232. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
  233. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
  234. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
  235. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
  236. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
  237. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
  238. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
  239. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
  240. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
  241. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
  242. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
  243. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
  244. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
  245. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
  246. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
  247. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
  248. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
  249. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
  250. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
  251. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
  252. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
  253. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
  254. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
  255. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
  256. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
  257. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
  258. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
  259. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
  260. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
  261. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
  262. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
  263. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
  264. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
  265. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
  266. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
  267. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
  268. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
  269. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
  270. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
  271. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
  272. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
  273. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
  274. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
  275. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
  276. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
  277. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
  278. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
  279. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
  280. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
  281. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
  282. package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
  283. package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
  284. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
  285. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
  286. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
  287. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
  288. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
  289. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
  290. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
  291. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
  292. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
  293. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
  294. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
  295. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
  296. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
  297. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
  298. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
  299. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
  300. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
  301. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
  302. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
  303. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
  304. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
  305. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
  306. package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
  307. package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
  308. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
  309. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
  310. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
  311. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
  312. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
  313. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
  314. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
  315. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
  316. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
  317. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
  318. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
  319. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
  320. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
  321. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
  322. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
  323. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
  324. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
  325. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
  326. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
  327. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
  328. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
  329. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
  330. package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
  331. package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
  332. package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
  333. package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
  334. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
  335. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
  336. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
  337. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
  338. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
  339. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
  340. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
  341. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
  342. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
  343. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
  344. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
  345. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
  346. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
  347. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
  348. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
  349. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
  350. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
  351. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
  352. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
  353. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
  354. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
  355. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
  356. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
  357. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
  358. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
  359. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
  360. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
  361. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
  362. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
  363. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
  364. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
  365. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
  366. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
  367. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
  368. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
  369. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
  370. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
  371. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
  372. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
  373. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
  374. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
  375. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
  376. package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
  377. package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
  378. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
  379. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
  380. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
  381. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
  382. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
  383. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
  384. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
  385. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
  386. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
  387. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
  388. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
  389. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
  390. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
  391. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
  392. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
  393. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
  394. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
  395. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
  396. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
  397. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
  398. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
  399. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
  400. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
  401. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
  402. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
  403. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
  404. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
  405. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
  406. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
  407. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
  408. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
  409. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
  410. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
  411. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
  412. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
  413. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
  414. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
  415. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
  416. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
  417. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
  418. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
  419. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
  420. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
  421. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
  422. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
  423. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
  424. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
  425. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
  426. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
  427. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
  428. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
  429. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
  430. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
  431. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
  432. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
  433. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
  434. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
  435. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
  436. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
  437. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
  438. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
  439. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
  440. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
  441. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
  442. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
  443. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
  444. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
  445. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
  446. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
  447. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
  448. package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
  449. package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
  450. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
  451. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
  452. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
  453. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
  454. package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
  455. package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
  456. package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
  457. package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
  458. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
  459. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
  460. package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
  461. package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
  462. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
  463. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
  464. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
  465. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
  466. package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
  467. package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
  468. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
  469. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
  470. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
  471. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
  472. package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
  473. package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
  474. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
  475. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
  476. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
  477. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
  478. package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
  479. package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
  480. package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
  481. package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
  482. package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
  483. package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
  484. package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
  485. package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
  486. package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
  487. package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
  488. package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
  489. package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
  490. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
  491. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
  492. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
  493. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
  494. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
  495. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
  496. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
  497. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
  498. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
  499. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
  500. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
  501. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
  502. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
  503. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
  504. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
  505. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
  506. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
  507. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
  508. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
  509. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
  510. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
  511. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
  512. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
  513. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
  514. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
  515. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
  516. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
  517. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
  518. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
  519. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
  520. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
  521. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
  522. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
  523. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
  524. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
  525. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
  526. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
  527. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
  528. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
  529. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
  530. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
  531. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
  532. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
  533. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
  534. package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
  535. package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
  536. package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
  537. package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
  538. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
  539. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
  540. package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
  541. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
  542. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
  543. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
  544. package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
  545. package/templates/saas/skeleton/frontend/Dockerfile +4 -1
  546. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
  547. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
  548. package/wildo-framework.info.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"data-services.schemas.js","sourceRoot":"","sources":["../../../../src/services/data-services/data-services.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE;;;GAGG;AACH,MAAM,CAAN,IAAY,oBA+BX;AA/BD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,qDAA6B,CAAA;IAC7B,yCAAiB,CAAA;IACjB,6CAAqB,CAAA;IACrB,uCAAe,CAAA;IACf,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;IACzB,oEAAoE;IACpE,yEAAyE;IACzE,yEAAyE;IACzE,qEAAqE;IACrE,yCAAiB,CAAA;IACjB,yEAAyE;IACzE,gFAAgF;IAChF,0EAA0E;IAC1E,yCAAiB,CAAA;IACjB,8EAA8E;IAC9E,wEAAwE;IACxE,+EAA+E;IAC/E,gFAAgF;IAChF,iFAAiF;IACjF,mFAAmF;IACnF,8EAA8E;IAC9E,2DAA2D;IAC3D,yCAAiB,CAAA;IACjB,gHAAgH;IAChH,gHAAgH;IAChH,kHAAkH;IAClH,qBAAqB;IACrB,2CAAmB,CAAA;AACrB,CAAC,EA/BW,oBAAoB,KAApB,oBAAoB,QA+B/B;AAED,+EAA+E;AAC/E,6CAA6C;AAC7C,+EAA+E;AAE/E;;;GAGG;AACH,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,8CAAuB,CAAA;AACzB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAED,gFAA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C9C;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,iBAAiB;QAC3B;;;;WAIG;QACH,IAAI,EAAE,aAAa;QACnB;;;;;;WAMG;QACH,SAAS,EAAE,kBAAkB;QAC7B;;;;;WAKG;QACH,gBAAgB,EAAE,yBAAyB;KAC5C;CACO,CAAC;AAEX;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,mCAAmC,CAAC;AAEpF,+EAA+E;AAC/E,8CAA8C;AAC9C,+EAA+E;AAE/E,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACN,CAAC;AAIX,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,QAAQ,EAAE,gBAAgB;IAC1B,QAAQ,EAAE,SAAS;CACX,CAAC;AAGX,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,oBAAoB,EAAE,UAAU;IAChC,oBAAoB,EAAE,0CAA0C;CACxD,CAAC;AAEX,+EAA+E;AAC/E,kCAAkC;AAClC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,OAAO;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;IACnC,MAAM,EAAE,gBAAgB,CAAC,MAAM;CACvB,CAAC","sourcesContent":["import type { BackingServiceSource, DatabaseEngine } from '@wildo-ai/platform-config-lib';\nimport { STORAGE_DEFAULTS } from '@wildo-ai/platform-config-lib';\n\n/**\n * Platform data services that support the platform.\n * Deployed via Docker Compose (local) or K8s manifests (cluster).\n */\nexport enum PlatformDataServices {\n MONGODB = 'mongodb',\n MONGODB_INIT = 'mongodb-init',\n VALKEY = 'valkey',\n RABBITMQ = 'rabbitmq',\n MINIO = 'minio',\n MINIO_INIT = 'minio-init',\n POSTGRESQL = 'postgresql',\n // Slice 4 (4.8) — ClamAV is now a first-class self-deployable infra\n // service (was previously hand-rolled in the static docker-compose.yml).\n // STATEFUL because it must persist its ~500 MB virus signature DB across\n // restarts; otherwise every `up` triggers a full freshclam download.\n CLAMAV = 'clamav',\n // Audit Phase 2 — immudb is the self-deployable tamper-evident audit-log\n // store (the COMPLIANCE_AUDIT_TRAIL provider backend). STATEFUL: an append-only\n // DB whose history MUST persist across restarts, in both Compose and K8s.\n IMMUDB = 'immudb',\n // Issue #74 — `mongot` is the separate MongoDB Search / Vector Search process\n // that MongoDB 8.2 Community requires beside `mongod` for `$search` and\n // `$vectorSearch`. It is NOT an author-configurable backing service: it has no\n // `BackingServiceKind`, no managed variant, and no independent source. It is an\n // ATTACHMENT to a self-hosted mongod, deployed exactly when one is, which is why\n // both lanes gate it on the same `needsLocalMongoDB(env)` predicate rather than on\n // a second author switch. STATEFUL: mongot keeps its Lucene index on disk and\n // rebuilding it means re-reading every indexed collection.\n MONGOT = 'mongot',\n // #2933 — the self-hosted OpenBao (MPL-2.0 Vault) holding the PLATFORM's custodied keys. Not a backing service:\n // no application runtime dials it and nothing is minted per application in it; apps-manager is its only client.\n // Deployed exactly when the environment declares `platformKeyManagement.vault.source === SELF`. STATEFUL, and its\n // state IS the keys.\n OPENBAO = 'openbao',\n}\n\n// ============================================================================\n// Infrastructure service deployment metadata\n// ============================================================================\n\n/**\n * Whether a service requires persistent storage.\n * Runtime-agnostic: Docker Compose uses named volumes, K8s uses StatefulSets + PVCs.\n */\nexport enum InfraDeploymentType {\n STATEFUL = 'stateful',\n STATELESS = 'stateless',\n}\n\n// Infrastructure service catalog (with deployment type, ports, container names)\n// is defined in service-catalog.schemas.ts — the single source of truth.\n// STATEFUL_INFRA_SERVICES and ALL_SERVICE_CONTAINER_NAMES are derived there.\n\n// ============================================================================\n// Infra service container env var keys\n// ============================================================================\n// These are the env var names each container image reads for its own credentials.\n// Runtime-agnostic: injected via Docker Compose env_file or K8s Secret.\n\n/**\n * MongoDB container env var keys.\n *\n * - `MONGO_INITDB_ROOT_USERNAME` / `MONGO_INITDB_ROOT_PASSWORD` are the\n * well-known names the official `mongo:8.2` entrypoint reads to seed the\n * root user on first boot (re-verified 2026-08-27 on `mongo:8.2` — its\n * `docker-entrypoint.sh` still reads exactly these two, and a probe container\n * authenticated with the seeded root user). We deliberately export the long form (not\n * the legacy `MONGO_ROOT_USER` shorthand used by the Compose env file)\n * because the K8s secret is consumed directly by the StatefulSet —\n * there is no env-file translation layer.\n * - The Compose template still reads `MONGO_ROOT_USER` / `MONGO_ROOT_PASSWORD`\n * from `mongo.env` then injects them into `MONGO_INITDB_ROOT_*` at\n * container start; the K8s path skips that hop and binds the secret keys\n * directly to the env vars the image reads.\n */\nexport const MONGODB_CREDENTIAL_ENV_KEYS = {\n ROOT_USER: 'MONGO_INITDB_ROOT_USERNAME',\n ROOT_PASSWORD: 'MONGO_INITDB_ROOT_PASSWORD',\n} as const;\n\n/**\n * `mongot` sync-source identity — issue #74.\n *\n * mongot reads NO environment variables for its credential. It is configured entirely\n * from a file (`/mongot-community/config.default.yml`) whose `syncSource.replicaSet.scramAuth`\n * block names a username, an `authSource`, and a **passwordFile path** — never a password.\n * That is why this constant block has no `*_ENV_KEYS` sibling: the shape of the contract is\n * a file, not an env var, and pretending otherwise would put the password in a process\n * environment where every `docker inspect` reader can see it.\n *\n * Two facts here are load-bearing and were both measured, not read:\n *\n * - **`PASSWORD_FILE_MODE` is `0400` and mongot ENFORCES it.** A more permissive file is\n * refused at startup with `Secret file /passwordFile permissions are too permissive (must\n * only be readable by owner)` and the process exits 1 — so a 0644 file (the mode the\n * immudb signing key deliberately uses, because that container's UID differs) would make\n * the sidecar crash-loop. mongot's image runs as root, so root reads the file whoever owns\n * it; the mode is the only thing that matters, and it is checked.\n * - **`searchCoordinator` is a BUILT-IN role on 8.2** (`db.createUser({roles:['searchCoordinator']})`\n * succeeded against `mongo:8.2` / 8.2.12), so nothing needs to define it.\n *\n * The username is a framework-owned service identity, so it is a constant rather than an\n * authored value — exactly like the other internal service usernames.\n */\nexport const MONGOT_SYNC_SOURCE = {\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n USERNAME: 'wildoMongotSyncSource',\n /** SCRAM auth database for that user. */\n AUTH_SOURCE: 'admin',\n /** Absolute in-container path both lanes mount the password file at. */\n PASSWORD_FILE_PATH: '/mongot-password',\n /** Owner-read-only. mongot refuses anything more permissive — see above. */\n PASSWORD_FILE_MODE: 0o400,\n /**\n * The mode the generator widens an EXISTING password file to just before rewriting it.\n *\n * `PASSWORD_FILE_MODE` is owner-READ-only, and `writeFileSync` opens for WRITE — so re-rendering\n * over a file the generator itself wrote fails `EACCES`. This is the transient mode held only\n * across the rewrite, never the mode mongot sees: the generator re-narrows to\n * `PASSWORD_FILE_MODE` immediately afterwards, and mongot exits 1 on anything more permissive.\n */\n PASSWORD_FILE_REWRITE_MODE: 0o600,\n /** In-container path of mongot's own configuration file (fixed by the image's CMD). */\n CONFIG_FILE_PATH: '/mongot-community/config.default.yml',\n /** In-container path of mongot's Lucene index storage (`storage.dataPath`). */\n DATA_PATH: '/data/mongot',\n} as const;\n\nexport const VALKEY_CREDENTIAL_ENV_KEYS = {\n PASSWORD: 'VALKEY_PASSWORD',\n} as const;\n\nexport const RABBITMQ_CREDENTIAL_ENV_KEYS = {\n DEFAULT_USER: 'RABBITMQ_DEFAULT_USER',\n DEFAULT_PASS: 'RABBITMQ_DEFAULT_PASS',\n ERLANG_COOKIE: 'RABBITMQ_ERLANG_COOKIE',\n} as const;\n\nexport const MINIO_CREDENTIAL_ENV_KEYS = {\n ROOT_USER: 'MINIO_ROOT_USER',\n ROOT_PASSWORD: 'MINIO_ROOT_PASSWORD',\n} as const;\n\nexport const POSTGRESQL_CREDENTIAL_ENV_KEYS = {\n ADMIN_USER: 'POSTGRES_ADMIN_USER',\n ADMIN_PASSWORD: 'POSTGRES_ADMIN_PASSWORD',\n ADMIN_DATABASE: 'POSTGRES_ADMIN_DATABASE',\n} as const;\n\n/**\n * Env-var keys for the self-hosted immudb audit store (Audit Phase 2, #1696).\n *\n * A SELF-hosted immudb's credentials are MINTED, never authored (#1696). The server's built-in `immudb` sysadmin\n * password is framework-managed platform material (`credentials.immudb.adminPassword`); apps-manager alone holds it\n * and uses it to give each application its OWN database and its OWN `READ_WRITE` user, which reach the application\n * in its platform secrets (`database.immudb.*`) and win over anything in `providerEnv`.\n *\n * Until #1696 the server's admin password was COPIED from `providerEnv.IMMUDB_PASSWORD`, the credential every\n * application's audit sink connected with — one shared sysadmin over every application's audit data. The operator\n * keys (`IMMUDB_USER` / `IMMUDB_PASSWORD` / `IMMUDB_DATABASE`) now matter only for a MANAGED immudb.\n *\n * - `SERVER.ADMIN_PASSWORD` — the immudb SERVER env var that sets the built-in `immudb` sysadmin's initial password\n * on a fresh data dir. The K8s `immudb-secret` binds this key; the StatefulSet reads it via `secretKeyRef`\n * (optional); the compose service renders it from the same material.\n * - `PROVIDER.PASSWORD` — the audit-sink provider's operator-authored connection password inside\n * `credentials.providerEnv` (a MANAGED immudb's credential). Mirrors the immudb backend provider's\n * `secretsContract.password.envVarName` in `external-connectors-private`.\n */\nexport const IMMUDB_CREDENTIAL_ENV_KEYS = {\n SERVER: {\n ADMIN_PASSWORD: 'IMMUDB_ADMIN_PASSWORD',\n /**\n * SEC1 EC PRIVATE KEY PEM the SELF-hosted immudb server signs its state with\n * (`--signingKey`). Rides the k8s `immudb-secret` (mounted as a file) / the compose\n * local-data key file. SERVER-side ONLY — the whole-server-substitution defense collapses\n * if this ever reaches an app pod, so it is NEVER placed in `providerEnv`.\n */\n STATE_SIGNING_KEY: 'IMMUDB_STATE_SIGNING_KEY',\n },\n PROVIDER: {\n PASSWORD: 'IMMUDB_PASSWORD',\n /**\n * The audit-sink provider's immudb host. Its presence in `credentials.providerEnv` is the\n * signal that the immudb audit provider is configured for this env — used to gate injection\n * of the generated `STATE_PUBLIC_KEY` (don't emit pinning material for an unused provider).\n */\n HOST: 'IMMUDB_HOST',\n /**\n * Durable trust-anchor directory the audit client persists its last-verified immudb state root\n * in (`external-connectors-private` immudb provider `secretsContract.stateDir`). Its VALUE is\n * runtime-topology, not a secret: LOCAL uses a host `local_data` path (env-configuration-generator),\n * while REMOTE containers use the fixed in-container mount path below, backed by a durable volume\n * (a PVC in k8s, a named volume in compose — provisioned by the manifest generators).\n */\n STATE_DIR: 'IMMUDB_STATE_DIR',\n /**\n * Pinned immudb state-signing PUBLIC key (SPKI PEM). Injected into every backend runtime's\n * `providerEnv` from the generated `credentials.immudb.stateSigningPublicKey`; the audit\n * client (`external-connectors-private` immudb provider `secretsContract.statePublicKeyPem`)\n * verifies the server's signed state against it. Public material — safe in every app pod.\n */\n STATE_PUBLIC_KEY: 'IMMUDB_STATE_PUBLIC_KEY',\n },\n} as const;\n\n/**\n * Fixed in-CONTAINER mount path for the immudb audit trust anchor in REMOTE deployments (k8s + compose).\n *\n * The anchor is the audit client's cross-restart tamper-evidence store; it MUST live on a durable,\n * access-protected volume (a PVC in k8s, a named volume in compose), never the pod/container's ephemeral\n * filesystem — otherwise a cross-restart rollback of the tamper-evident ledger is silently re-adopted, and\n * state-signature pinning does NOT catch it (immudb re-signs its current state; only the anchor remembers\n * tx N). Both remote runtimes mount their durable volume AT this path and set `IMMUDB_STATE_DIR` to it, so\n * the value is shared here to keep the env and the mount in lockstep. LOCAL uses a host `local_data` path\n * instead (a container mount path is meaningless without a container).\n */\nexport const IMMUDB_AUDIT_STATE_CONTAINER_DIR = '/var/lib/wildo/immudb-audit-state';\n\n// ============================================================================\n// Platform data services provider identifiers\n// ============================================================================\n\nexport const PLATFORM_DATA_SERVICES_PROVIDER = {\n SELF_MANAGED: 'self-managed',\n VALKEY_SELF: 'valkey-self',\n MINIO: 'minio',\n ATLAS: 'atlas',\n} as const;\n\n\n\nexport const DEFAULT_PLATFORM_POSTGRESQL_CONFIGURATION = {\n DATABASE: 'wildo_platform',\n SSL_MODE: 'disable',\n} as const;\n\n\n// ============================================================================\n// Atlas defaults\n// ============================================================================\n\nexport const DEFAULT_PLATFORM_ATLAS_CONFIGURATION = {\n DEFAULT_CLUSTER_NAME: 'Cluster0',\n DEFAULT_API_BASE_URL: 'https://cloud.mongodb.com/api/atlas/v1.0',\n} as const;\n\n// ============================================================================\n// MongoDB connection URL template\n// ============================================================================\n\nexport const DEFAULT_PLATFORM_MONGO_CONNECTION_URL_TEMPLATE = {\n SCHEME: 'mongodb://',\n SRV_SCHEME: 'mongodb+srv://',\n REPLICA_SET: 'rs0',\n AUTH_SOURCE: 'admin',\n} as const;\n\n\nexport const DEFAULT_PLATFORM_FILE_STORAGE_CONFIGURATION = {\n PROVIDER: STORAGE_DEFAULTS.PROVIDER,\n BUCKET: STORAGE_DEFAULTS.BUCKET,\n} as const;\n\n\n/**\n * Database structural choice stored in environments.json.\n * Contains NO credentials — just which engine, source, and (for\n * managed sources, post-Slice-4.B.0) brand.\n */\nexport interface PlatformDatabaseChoice {\n engine: DatabaseEngine;\n source?: BackingServiceSource | undefined;\n /**\n * Managed-brand identifier when `source === MANAGED`. For Mongo\n * this is `'atlas'`; for Postgres one of `'aws-rds' |\n * 'gcp-cloud-sql' | 'azure-database' | 'supabase' | 'neon' |\n * 'render'`. Slice 4.B.0 (2026-05-07) generalized the source/brand\n * split — pre-reshape Atlas was a `source` value, now it's a\n * `provider` brand under `source: MANAGED`.\n */\n provider?: string;\n}\n\nexport interface DatabaseInitializationInput {\n database: PlatformDatabaseChoice;\n atlasConnectionUrl?: string;\n atlasProjectId?: string;\n atlasApiPublicKey?: string;\n atlasApiPrivateKey?: string;\n atlasClusterName?: string;\n atlasApiBaseUrl?: string;\n}\n\n"]}
1
+ {"version":3,"file":"data-services.schemas.js","sourceRoot":"","sources":["../../../../src/services/data-services/data-services.schemas.ts"],"names":[],"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AAC;AAEtE,+EAA+E;AAC/E,8CAA8C;AAC9C,+EAA+E;AAE/E,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACN,CAAC;AAIX,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,QAAQ,EAAE,gBAAgB;IAC1B,QAAQ,EAAE,SAAS;CACX,CAAC;AAGX,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,oBAAoB,EAAE,UAAU;IAChC,oBAAoB,EAAE,0CAA0C;CACxD,CAAC;AAEX,+EAA+E;AAC/E,kCAAkC;AAClC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,OAAO;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;IACnC,MAAM,EAAE,gBAAgB,CAAC,MAAM;CACvB,CAAC","sourcesContent":["import type { BackingServiceSource, DatabaseEngine } from '@wildo-ai/platform-config-lib';\nimport { STORAGE_DEFAULTS } from '@wildo-ai/platform-config-lib';\n\n/**\n * Platform data services that support the platform.\n * Deployed via Docker Compose (local) or K8s manifests (cluster).\n */\nexport enum PlatformDataServices {\n MONGODB = 'mongodb',\n MONGODB_INIT = 'mongodb-init',\n VALKEY = 'valkey',\n RABBITMQ = 'rabbitmq',\n MINIO = 'minio',\n MINIO_INIT = 'minio-init',\n POSTGRESQL = 'postgresql',\n // Slice 4 (4.8) — ClamAV is now a first-class self-deployable infra\n // service (was previously hand-rolled in the static docker-compose.yml).\n // STATEFUL because it must persist its ~500 MB virus signature DB across\n // restarts; otherwise every `up` triggers a full freshclam download.\n CLAMAV = 'clamav',\n // Audit Phase 2 — immudb is the self-deployable tamper-evident audit-log\n // store (the COMPLIANCE_AUDIT_TRAIL provider backend). STATEFUL: an append-only\n // DB whose history MUST persist across restarts, in both Compose and K8s.\n IMMUDB = 'immudb',\n // Issue #74 — `mongot` is the separate MongoDB Search / Vector Search process\n // that MongoDB 8.2 Community requires beside `mongod` for `$search` and\n // `$vectorSearch`. It is NOT an author-configurable backing service: it has no\n // `BackingServiceKind`, no managed variant, and no independent source. It is an\n // ATTACHMENT to a self-hosted mongod, deployed exactly when one is, which is why\n // both lanes gate it on the same `needsLocalMongoDB(env)` predicate rather than on\n // a second author switch. STATEFUL: mongot keeps its Lucene index on disk and\n // rebuilding it means re-reading every indexed collection.\n MONGOT = 'mongot',\n // #2933 — the self-hosted OpenBao (MPL-2.0 Vault) holding the PLATFORM's custodied keys. Not a backing service:\n // no application runtime dials it and nothing is minted per application in it; apps-manager is its only client.\n // Deployed exactly when the environment declares `platformKeyManagement.vault.source === SELF`. STATEFUL, and its\n // state IS the keys.\n OPENBAO = 'openbao',\n}\n\n// ============================================================================\n// Infrastructure service deployment metadata\n// ============================================================================\n\n/**\n * Whether a service requires persistent storage.\n * Runtime-agnostic: Docker Compose uses named volumes, K8s uses StatefulSets + PVCs.\n */\nexport enum InfraDeploymentType {\n STATEFUL = 'stateful',\n STATELESS = 'stateless',\n}\n\n// Infrastructure service catalog (with deployment type, ports, container names)\n// is defined in service-catalog.schemas.ts — the single source of truth.\n// STATEFUL_INFRA_SERVICES and ALL_SERVICE_CONTAINER_NAMES are derived there.\n\n// ============================================================================\n// Infra service container env var keys\n// ============================================================================\n// These are the env var names each container image reads for its own credentials.\n// Runtime-agnostic: injected via Docker Compose env_file or K8s Secret.\n\n/**\n * MongoDB container env var keys.\n *\n * - `MONGO_INITDB_ROOT_USERNAME` / `MONGO_INITDB_ROOT_PASSWORD` are the\n * well-known names the official `mongo:8.2` entrypoint reads to seed the\n * root user on first boot (re-verified 2026-08-27 on `mongo:8.2` — its\n * `docker-entrypoint.sh` still reads exactly these two, and a probe container\n * authenticated with the seeded root user). We deliberately export the long form (not\n * the legacy `MONGO_ROOT_USER` shorthand used by the Compose env file)\n * because the K8s secret is consumed directly by the StatefulSet —\n * there is no env-file translation layer.\n * - The Compose template still reads `MONGO_ROOT_USER` / `MONGO_ROOT_PASSWORD`\n * from `mongo.env` then injects them into `MONGO_INITDB_ROOT_*` at\n * container start; the K8s path skips that hop and binds the secret keys\n * directly to the env vars the image reads.\n */\nexport const MONGODB_CREDENTIAL_ENV_KEYS = {\n ROOT_USER: 'MONGO_INITDB_ROOT_USERNAME',\n ROOT_PASSWORD: 'MONGO_INITDB_ROOT_PASSWORD',\n} as const;\n\n/**\n * `mongot` sync-source identity — issue #74.\n *\n * mongot reads NO environment variables for its credential. It is configured entirely\n * from a file (`/mongot-community/config.default.yml`) whose `syncSource.replicaSet.scramAuth`\n * block names a username, an `authSource`, and a **passwordFile path** — never a password.\n * That is why this constant block has no `*_ENV_KEYS` sibling: the shape of the contract is\n * a file, not an env var, and pretending otherwise would put the password in a process\n * environment where every `docker inspect` reader can see it.\n *\n * Two facts here are load-bearing and were both measured, not read:\n *\n * - **`PASSWORD_FILE_MODE` is `0400` and mongot ENFORCES it.** A more permissive file is\n * refused at startup with `Secret file /passwordFile permissions are too permissive (must\n * only be readable by owner)` and the process exits 1 — so a 0644 file (the mode the\n * immudb signing key deliberately uses, because that container's UID differs) would make\n * the sidecar crash-loop. mongot's image runs as root, so root reads the file whoever owns\n * it; the mode is the only thing that matters, and it is checked.\n * - **`searchCoordinator` is a BUILT-IN role on 8.2** (`db.createUser({roles:['searchCoordinator']})`\n * succeeded against `mongo:8.2` / 8.2.12), so nothing needs to define it.\n *\n * The username is a framework-owned service identity, so it is a constant rather than an\n * authored value — exactly like the other internal service usernames.\n */\nexport const MONGOT_SYNC_SOURCE = {\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n USERNAME: 'wildoMongotSyncSource',\n /** SCRAM auth database for that user. */\n AUTH_SOURCE: 'admin',\n /** Absolute in-container path both lanes mount the password file at. */\n PASSWORD_FILE_PATH: '/mongot-password',\n /** Owner-read-only. mongot refuses anything more permissive — see above. */\n PASSWORD_FILE_MODE: 0o400,\n /**\n * The mode the generator widens an EXISTING password file to just before rewriting it.\n *\n * `PASSWORD_FILE_MODE` is owner-READ-only, and `writeFileSync` opens for WRITE — so re-rendering\n * over a file the generator itself wrote fails `EACCES`. This is the transient mode held only\n * across the rewrite, never the mode mongot sees: the generator re-narrows to\n * `PASSWORD_FILE_MODE` immediately afterwards, and mongot exits 1 on anything more permissive.\n */\n PASSWORD_FILE_REWRITE_MODE: 0o600,\n /** In-container path of mongot's own configuration file (fixed by the image's CMD). */\n CONFIG_FILE_PATH: '/mongot-community/config.default.yml',\n /** In-container path of mongot's Lucene index storage (`storage.dataPath`). */\n DATA_PATH: '/data/mongot',\n} as const;\n\nexport const VALKEY_CREDENTIAL_ENV_KEYS = {\n PASSWORD: 'VALKEY_PASSWORD',\n} as const;\n\nexport const RABBITMQ_CREDENTIAL_ENV_KEYS = {\n DEFAULT_USER: 'RABBITMQ_DEFAULT_USER',\n DEFAULT_PASS: 'RABBITMQ_DEFAULT_PASS',\n ERLANG_COOKIE: 'RABBITMQ_ERLANG_COOKIE',\n} as const;\n\nexport const MINIO_CREDENTIAL_ENV_KEYS = {\n ROOT_USER: 'MINIO_ROOT_USER',\n ROOT_PASSWORD: 'MINIO_ROOT_PASSWORD',\n} as const;\n\nexport const POSTGRESQL_CREDENTIAL_ENV_KEYS = {\n ADMIN_USER: 'POSTGRES_ADMIN_USER',\n ADMIN_PASSWORD: 'POSTGRES_ADMIN_PASSWORD',\n ADMIN_DATABASE: 'POSTGRES_ADMIN_DATABASE',\n} as const;\n\n/**\n * Env-var keys for the self-hosted immudb audit store (Audit Phase 2, #1696).\n *\n * A SELF-hosted immudb's credentials are MINTED, never authored (#1696). The server's built-in `immudb` sysadmin\n * password is framework-managed platform material (`credentials.immudb.adminPassword`); apps-manager alone holds it\n * and uses it to give each application its OWN database and its OWN `READ_WRITE` user, which reach the application\n * in its platform secrets (`database.immudb.*`) and win over anything in `providerEnv`.\n *\n * Until #1696 the server's admin password was COPIED from `providerEnv.IMMUDB_PASSWORD`, the credential every\n * application's audit sink connected with — one shared sysadmin over every application's audit data. The operator\n * keys (`IMMUDB_USER` / `IMMUDB_PASSWORD` / `IMMUDB_DATABASE`) now matter only for a MANAGED immudb.\n *\n * - `SERVER.ADMIN_PASSWORD` — the immudb SERVER env var that sets the built-in `immudb` sysadmin's initial password\n * on a fresh data dir. The K8s `immudb-secret` binds this key; the StatefulSet reads it via `secretKeyRef`\n * (optional); the compose service renders it from the same material.\n * - `PROVIDER.PASSWORD` — the audit-sink provider's operator-authored connection password inside\n * `credentials.providerEnv` (a MANAGED immudb's credential). Mirrors the immudb backend provider's\n * `secretsContract.password.envVarName` in `external-connectors-private`.\n */\nexport const IMMUDB_CREDENTIAL_ENV_KEYS = {\n SERVER: {\n ADMIN_PASSWORD: 'IMMUDB_ADMIN_PASSWORD',\n /**\n * SEC1 EC PRIVATE KEY PEM the SELF-hosted immudb server signs its state with\n * (`--signingKey`). Rides the k8s `immudb-secret` (mounted as a file) / the compose\n * local-data key file. SERVER-side ONLY — the whole-server-substitution defense collapses\n * if this ever reaches an app pod, so it is NEVER placed in `providerEnv`.\n */\n STATE_SIGNING_KEY: 'IMMUDB_STATE_SIGNING_KEY',\n },\n PROVIDER: {\n PASSWORD: 'IMMUDB_PASSWORD',\n /**\n * The audit-sink provider's immudb host. Its presence in `credentials.providerEnv` is the\n * signal that the immudb audit provider is configured for this env — used to gate injection\n * of the generated `STATE_PUBLIC_KEY` (don't emit pinning material for an unused provider).\n */\n HOST: 'IMMUDB_HOST',\n /**\n * Durable trust-anchor directory the audit client persists its last-verified immudb state root\n * in (`external-connectors-private` immudb provider `secretsContract.stateDir`). Its VALUE is\n * runtime-topology, not a secret: LOCAL uses a host `local_data` path (env-configuration-generator),\n * while REMOTE containers use the fixed in-container mount path below, backed by a durable volume\n * (a PVC in k8s, a named volume in compose — provisioned by the manifest generators).\n */\n STATE_DIR: 'IMMUDB_STATE_DIR',\n /**\n * Pinned immudb state-signing PUBLIC key (SPKI PEM). Injected into every backend runtime's\n * `providerEnv` from the generated `credentials.immudb.stateSigningPublicKey`; the audit\n * client (`external-connectors-private` immudb provider `secretsContract.statePublicKeyPem`)\n * verifies the server's signed state against it. Public material — safe in every app pod.\n */\n STATE_PUBLIC_KEY: 'IMMUDB_STATE_PUBLIC_KEY',\n },\n} as const;\n\n/**\n * Fixed in-CONTAINER mount path for the immudb audit trust anchor in REMOTE deployments (k8s + compose).\n *\n * The anchor is the audit client's cross-restart tamper-evidence store; it MUST live on a durable,\n * access-protected volume (a PVC in k8s, a named volume in compose), never the pod/container's ephemeral\n * filesystem — otherwise a cross-restart rollback of the tamper-evident ledger is silently re-adopted, and\n * state-signature pinning does NOT catch it (immudb re-signs its current state; only the anchor remembers\n * tx N). Both remote runtimes mount their durable volume AT this path and set `IMMUDB_STATE_DIR` to it, so\n * the value is shared here to keep the env and the mount in lockstep. LOCAL uses a host `local_data` path\n * instead (a container mount path is meaningless without a container).\n */\nexport const IMMUDB_AUDIT_STATE_CONTAINER_DIR = '/var/lib/wildo/immudb-audit-state';\n\n/**\n * The LOCAL counterpart: the `local_data` subdirectory holding the immudb audit trust anchor on the developer's host.\n * `IMMUDB_STATE_DIR` points at it (`env-configuration-generator.service.ts`), and `wildo local reset` wipes it together\n * with the local immudb's own data (`wipeLocalDataServiceDirsForCompose`): an anchor must never outlive the ledger it\n * anchors. The state-signing key is pinned for a self-hosted immudb, and under a pin a fresh ledger below an old anchor\n * is a PROVEN tamper, not a re-bootstrap. A reset that wiped the ledger and kept the anchor raised that critical alert on\n * the next stack after every reset (the QA VM resets before each e2e run: run 43234451120, #3775).\n */\nexport const IMMUDB_AUDIT_STATE_LOCAL_DATA_DIR = 'immudb-audit-state';\n\n// ============================================================================\n// Platform data services provider identifiers\n// ============================================================================\n\nexport const PLATFORM_DATA_SERVICES_PROVIDER = {\n SELF_MANAGED: 'self-managed',\n VALKEY_SELF: 'valkey-self',\n MINIO: 'minio',\n ATLAS: 'atlas',\n} as const;\n\n\n\nexport const DEFAULT_PLATFORM_POSTGRESQL_CONFIGURATION = {\n DATABASE: 'wildo_platform',\n SSL_MODE: 'disable',\n} as const;\n\n\n// ============================================================================\n// Atlas defaults\n// ============================================================================\n\nexport const DEFAULT_PLATFORM_ATLAS_CONFIGURATION = {\n DEFAULT_CLUSTER_NAME: 'Cluster0',\n DEFAULT_API_BASE_URL: 'https://cloud.mongodb.com/api/atlas/v1.0',\n} as const;\n\n// ============================================================================\n// MongoDB connection URL template\n// ============================================================================\n\nexport const DEFAULT_PLATFORM_MONGO_CONNECTION_URL_TEMPLATE = {\n SCHEME: 'mongodb://',\n SRV_SCHEME: 'mongodb+srv://',\n REPLICA_SET: 'rs0',\n AUTH_SOURCE: 'admin',\n} as const;\n\n\nexport const DEFAULT_PLATFORM_FILE_STORAGE_CONFIGURATION = {\n PROVIDER: STORAGE_DEFAULTS.PROVIDER,\n BUCKET: STORAGE_DEFAULTS.BUCKET,\n} as const;\n\n\n/**\n * Database structural choice stored in environments.json.\n * Contains NO credentials — just which engine, source, and (for\n * managed sources, post-Slice-4.B.0) brand.\n */\nexport interface PlatformDatabaseChoice {\n engine: DatabaseEngine;\n source?: BackingServiceSource | undefined;\n /**\n * Managed-brand identifier when `source === MANAGED`. For Mongo\n * this is `'atlas'`; for Postgres one of `'aws-rds' |\n * 'gcp-cloud-sql' | 'azure-database' | 'supabase' | 'neon' |\n * 'render'`. Slice 4.B.0 (2026-05-07) generalized the source/brand\n * split — pre-reshape Atlas was a `source` value, now it's a\n * `provider` brand under `source: MANAGED`.\n */\n provider?: string;\n}\n\nexport interface DatabaseInitializationInput {\n database: PlatformDatabaseChoice;\n atlasConnectionUrl?: string;\n atlasProjectId?: string;\n atlasApiPublicKey?: string;\n atlasApiPrivateKey?: string;\n atlasClusterName?: string;\n atlasApiBaseUrl?: string;\n}\n\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"application-runtime-environment.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/application-runtime-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAEzH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAC;AAEtG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAC5G,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,qEAAqE,CAAC;AAK7E;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,uGAAuG;IACvG,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,gCAAgC,CAAC;IACvD;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7C;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,EACjF,OAAO,EAAE,MAAM,EACf,mBAAmB,EAAE,MAAM,GAAG,IAAI,EAClC,kBAAkB,EAAE,MAAM,GACzB,MAAM,CAAC,MAAM,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAyBxE;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,oBAAoB,EAAE;QAAE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAAG,MAAM,CAIhK;AAED,0FAA0F;AAC1F,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,oCAAoC,GAC5C;IAAE,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CA6B/E;AAED,0FAA0F;AAC1F,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,oCAAoC,GAC5C;IAAE,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAuB/E"}
1
+ {"version":3,"file":"application-runtime-environment.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/application-runtime-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAEzH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAC;AAEtG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAC5G,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,qEAAqE,CAAC;AAK7E;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,uGAAuG;IACvG,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,qB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C,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAuB/E"}
@@ -1,10 +1,8 @@
1
1
  import { declaredProviderScope } from '../../services/credentials/provider-env-vars.utils.js';
2
2
  import { PlatformEnvVarsBuilder } from '../../services/environment/env-vars-builder.service.js';
3
- import { WildoLocationType } from '@wildo-ai/platform-config-lib';
3
+ import { LOOPBACK_HOSTNAMES, toHostGatewayUrl, WildoLocationType } from '@wildo-ai/platform-config-lib';
4
4
  import { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';
5
5
  import { devCompanionRuntimeEndpointKey } from '../../services/environment/platform-runtime.schemas.js';
6
- /** Loopback hostnames a host process advertises; inside a container each names the container itself. */
7
- const LOOPBACK_HOSTNAMES = new Set(['localhost', '127.0.0.1', '[::1]', '::1']);
8
6
  /**
9
7
  * An application's runtime endpoints as a container of one lane sees them (#3382, #3390). The ONE derivation both
10
8
  * container lanes run, inside {@link buildContainerisedMinionEnvironment} and {@link buildContainerisedWorkerEnvironment},
@@ -51,16 +49,8 @@ export function toContainerRuntimeEndpoints(endpoints, appSlug, hostGatewayHostn
51
49
  + 'runs on the host: on a LOCAL Kubernetes target the backend, its minions and its workers all run there '
52
50
  + '(`wildo dev start`), and no Kubernetes lane deploys them as pods.');
53
51
  }
54
- // Rebuilt from the PARSED parts, never by searching the original string for the host: `URL` normalizes the host
55
- // (case, default port), so a search can miss. A bare `/` path is dropped when the advertised URL had none, so
56
- // `http://localhost:4241` becomes `http://host.docker.internal:4241`, not `…:4241/`.
57
- const hadPath = /^[a-z][a-z0-9+.-]*:\/\/[^/?#]*[/]/i.test(urls.internalUrl);
58
- const path = internal.pathname === '/' && !hadPath ? '' : internal.pathname;
59
- const port = internal.port === '' ? '' : `:${internal.port}`;
60
- return [key, {
61
- publicUrl: urls.publicUrl,
62
- internalUrl: `${internal.protocol}//${hostGatewayHostname}${port}${path}${internal.search}${internal.hash}`,
63
- }];
52
+ // The shared derivation (`toHostGatewayUrl`), which the platform scheduler also runs to reach a host-run backend.
53
+ return [key, { publicUrl: urls.publicUrl, internalUrl: toHostGatewayUrl(urls.internalUrl, hostGatewayHostname) }];
64
54
  }));
65
55
  }
66
56
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"application-runtime-environment.js","sourceRoot":"","sources":["../../../../src/services/deployment/application-runtime-environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAEhG,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAMlG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AA8B1G,wGAAwG;AACxG,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;AAEpG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,UAAU,2BAA2B,CACzC,SAAiF,EACjF,OAAe,EACf,mBAAkC,EAClC,kBAA0B;IAE1B,IAAI,SAAS,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC9C,MAAM,eAAe,GAAG,8BAA8B,CAAC,OAAO,CAAC,CAAC;IAChE,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE;QACjH,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC3C,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ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AAoB,EAC3B,MAAM,CAAC,UAAU,EACjB,MAAM,CAAC,WAAW,EAClB,WAAW,EACX,MAAM,EACN,WAAW,CAAC,IAAI,EAChB,qBAAqB,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAChD;YACE,oGAAoG;YACpG,gEAAgE;YAChE,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,gBAAgB,EAAE,2BAA2B,CAAC,MAAM,CAAC,gBAAgB,EAAE,OAAO,EAAE,OAAO,CAAC,mBAAmB,EAAE,kBAAkB,CAAC;YAChI,8EAA8E;YAC9E,SAAS;SACV,CACF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { ResolvedAddresses } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport type {\n ApplicationMinionEnvTarget,\n ApplicationWorkerEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { devCompanionRuntimeEndpointKey } from '~wildo-cli/services/environment/platform-runtime.schemas';\n\n/**\n * The CONTAINERISED environment of one application minion or worker: what its pod or container is started with,\n * built by the one derivation both container lanes use (#2955).\n *\n * The Kubernetes lane mounts it as the runtime's `<runtimeServiceName>-secret`, and the local compose `app-runtimes`\n * profile mounts it as `<runtimeServiceName>.runtime.env`. Each lane used to describe the runtime on its own. The\n * compose lane interpolated `${PLATFORM_APPLICATION_PRIMARY_SECRET}` from `.env.wildo-platform`, which carries the\n * PLATFORM's primary secret in an app-creator install and nothing at all in a framework-developer one. So a minion\n * or worker container presented another principal's secret, or none, and apps-manager refused it. Built here once,\n * the runtime's identity, its own principal secret and its scoped environment cannot differ between the two lanes.\n *\n * The native lane (`wildo local dev`, a host process reading the package's `.env`) calls the same builders with\n * the HOST-facing addresses and a runtime-signals home, both of which belong only to a host process.\n */\nexport interface ApplicationRuntimeEnvironmentContext {\n readonly credentials: PlatformEnvSecretsJson;\n /** CONTAINER_INTERNAL addresses: cluster DNS for Kubernetes, the compose service names for compose. */\n readonly addresses: ResolvedAddresses;\n readonly config: PlatformEnvConfigJson;\n readonly environment: PlatformEnvironmentConfiguration;\n /**\n * The name this lane's containers reach a process on the HOST by, or `null` when the lane has none (#3382, #3390).\n * Required, so each lane states its answer: {@link toContainerRuntimeEndpoints} reads it to re-point a loopback\n * runtime endpoint, and refuses one when it is `null`.\n */\n readonly hostGatewayHostname: string | null;\n}\n\n/** Loopback hostnames a host process advertises; inside a container each names the container itself. */\nconst LOOPBACK_HOSTNAMES: ReadonlySet<string> = new Set(['localhost', '127.0.0.1', '[::1]', '::1']);\n\n/**\n * An application's runtime endpoints as a container of one lane sees them (#3382, #3390). The ONE derivation both\n * container lanes run, inside {@link buildContainerisedMinionEnvironment} and {@link buildContainerisedWorkerEnvironment},\n * so a lane cannot hand its containers the host-facing set by forgetting a step.\n *\n * Where the backend runs decides the answer, and the target's endpoints already say it:\n * - **In a container or the cluster** (a REMOTE target): the `internalUrl` is the compose service name or the cluster\n * DNS name of the backend's Service, already reachable, kept as it is.\n * - **On the host** (a LOCAL target, whose endpoints are `http://localhost:<port>` from\n * `buildLocalhostApplicationRuntimeEndpoints`): inside a container `localhost` is the container. Each loopback\n * `internalUrl` is re-pointed at the lane's host gateway, keeping scheme, port, path, query and fragment. Each\n * `publicUrl` is kept: a BROWSER on the host opens it, so a link a runtime puts in an email must still say `localhost`.\n *\n * When the lane has NO host gateway (`hostGatewayHostname: null`, the Kubernetes lane) a loopback endpoint is REFUSED.\n * Handing a pod `localhost` would point it at itself, and inventing a host name would ship an address that may not\n * resolve; a refusal at render names the problem where it can still be fixed.\n *\n * What is REACHABLE through the compose gateway, per key, measured 2026-11-06 on Docker Desktop: a host listener on\n * `127.0.0.1` or `0.0.0.0` answers, one on `::1` refuses.\n * - The application backends: reachable, because the native lane binds them to `127.0.0.1`\n * (`LOCAL_APPLICATION_BACKEND_LISTEN_HOST`). This is the address a runtime dials. On Docker Engine for Linux the\n * gateway is the bridge address instead, and the backend also listens there (`CONTAINER_HOST_GATEWAY_LISTEN_HOST`,\n * #3387).\n * - The frontends, the website and the documentation site: whatever their dev server binds (several bind `[::1]`), so\n * their `internalUrl` may refuse. No runtime dials them; what a runtime uses from them is the `publicUrl` for links.\n * - The dev companion: REMOVED ({@link devCompanionRuntimeEndpointKey}). No minion or worker talks to it, and an\n * authored `127.0.0.1` companion would otherwise be reachable from every container, browser paths without a token\n * included. Dropped first, so the refusal never fires on a key no container receives.\n *\n * Derived from the endpoints the target already carries, never written per site, so it follows the ports the\n * application declares.\n */\nexport function toContainerRuntimeEndpoints(\n endpoints: Record<string, { publicUrl: string; internalUrl: string }> | undefined,\n appSlug: string,\n hostGatewayHostname: string | null,\n runtimeServiceName: string,\n): Record<string, { publicUrl: string; internalUrl: string }> | undefined {\n if (endpoints === undefined) return undefined;\n const devCompanionKey = devCompanionRuntimeEndpointKey(appSlug);\n return Object.fromEntries(Object.entries(endpoints).filter(([key]) => key !== devCompanionKey).map(([key, urls]) => {\n const internal = new URL(urls.internalUrl);\n if (!LOOPBACK_HOSTNAMES.has(internal.hostname)) return [key, urls];\n if (hostGatewayHostname === null) {\n throw new Error(\n `Runtime '${runtimeServiceName}' would be handed the runtime endpoint '${key}' as ${urls.internalUrl}, which inside its `\n + 'pod names the pod itself, and this lane has no route to the host (#3390). A loopback endpoint means the backend '\n + 'runs on the host: on a LOCAL Kubernetes target the backend, its minions and its workers all run there '\n + '(`wildo dev start`), and no Kubernetes lane deploys them as pods.',\n );\n }\n // Rebuilt from the PARSED parts, never by searching the original string for the host: `URL` normalizes the host\n // (case, default port), so a search can miss. A bare `/` path is dropped when the advertised URL had none, so\n // `http://localhost:4241` becomes `http://host.docker.internal:4241`, not `…:4241/`.\n const hadPath = /^[a-z][a-z0-9+.-]*:\\/\\/[^/?#]*[/]/i.test(urls.internalUrl);\n const path = internal.pathname === '/' && !hadPath ? '' : internal.pathname;\n const port = internal.port === '' ? '' : `:${internal.port}`;\n return [key, {\n publicUrl: urls.publicUrl,\n internalUrl: `${internal.protocol}//${hostGatewayHostname}${port}${path}${internal.search}${internal.hash}`,\n }];\n }));\n}\n\n/**\n * The slug of the application a runtime target belongs to: its REMOTE deploy name when it has one, else the slug its\n * own bootstrap credentials carry. A LOCAL target has no `appName` (that field is REMOTE deploy context), so a lane\n * keyed only on it names nothing locally. Throws rather than skipping: a runtime with no name would get no\n * environment and start with none.\n */\nexport function resolveRuntimeTargetAppSlug(target: { readonly appName?: string; readonly bootstrapCredentials: { readonly APPLICATION_SLUG?: string } }): string {\n const slug = target.appName ?? target.bootstrapCredentials.APPLICATION_SLUG;\n if (!slug) throw new Error('An application runtime target names no application slug (no appName, no APPLICATION_SLUG in its bootstrap credentials).');\n return slug;\n}\n\n/** One minion's containerised environment, and the runtime service name it belongs to. */\nexport function buildContainerisedMinionEnvironment(\n minion: ApplicationMinionEnvTarget,\n appSlug: string,\n context: ApplicationRuntimeEnvironmentContext,\n): { readonly runtimeServiceName: string; readonly env: Record<string, string> } {\n const { credentials, addresses, config, environment } = context;\n const runtimeServiceName = buildMinionServiceName(appSlug, minion.minionName);\n return {\n runtimeServiceName,\n env: PlatformEnvVarsBuilder.buildApplicationMinionEnv(\n minion.bootstrapCredentials,\n minion.serviceName,\n credentials,\n addresses,\n config,\n environment.name,\n declaredProviderScope(minion.scopedProviderRefs),\n // Forwarded verbatim, absence included: the builder withholds a backing service's topology from a runtime\n // that declared no access to it, and defaulting it here would decide that at a site that knows nothing about\n // the minion.\n minion.accessDeclaration,\n {\n appDatabaseName: minion.appDatabaseName,\n redisKeyPrefix: minion.redisKeyPrefix,\n storageBucketPrefix: minion.storageBucketPrefix,\n deploymentLocationType: environment.locationType,\n // No runtime-signals home: it is a developer-machine path, which no container can write. A direct Mongo\n // connection is the single-node LOCAL topology (compose, a local cluster), not a remote replica set.\n mongodbDirectConnection: environment.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: toContainerRuntimeEndpoints(minion.runtimeEndpoints, appSlug, context.hostGatewayHostname, runtimeServiceName),\n },\n ),\n };\n}\n\n/** One worker's containerised environment, and the runtime service name it belongs to. */\nexport function buildContainerisedWorkerEnvironment(\n worker: ApplicationWorkerEnvTarget,\n appSlug: string,\n context: ApplicationRuntimeEnvironmentContext,\n): { readonly runtimeServiceName: string; readonly env: Record<string, string> } {\n const { credentials, addresses, config, environment } = context;\n const runtimeServiceName = buildWorkerServiceName(appSlug, worker.workerName);\n return {\n runtimeServiceName,\n env: PlatformEnvVarsBuilder.buildApplicationWorkerEnv(\n worker.bootstrapCredentials,\n worker.workerName,\n worker.serviceName,\n credentials,\n config,\n environment.name,\n declaredProviderScope(worker.scopedProviderRefs),\n {\n // The authored inbound surface, so the worker binds the port and probe paths its container port and\n // probes were rendered from: one authored value, two renderers.\n http: worker.http,\n runtimeEndpoints: toContainerRuntimeEndpoints(worker.runtimeEndpoints, appSlug, context.hostGatewayHostname, runtimeServiceName),\n // The container's own view of apps-manager, never the bootstrap echo (#2955).\n addresses,\n },\n ),\n };\n}\n"]}
1
+ {"version":3,"file":"application-runtime-environment.js","sourceRoot":"","sources":["../../../../src/services/deployment/application-runtime-environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAEhG,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAMlG,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACxG,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAA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,CAAC;IAChE,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;IAC9E,OAAO;QACL,kBAAkB;QAClB,GAAG,EAAE,sBAAsB,CAAC,yBAAyB,CACnD,MAAM,CAAC,oBAAoB,EAC3B,MAAM,CAAC,UAAU,EACjB,MAAM,CAAC,WAAW,EAClB,WAAW,EACX,MAAM,EACN,WAAW,CAAC,IAAI,EAChB,qBAAqB,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAChD;YACE,oGAAoG;YACpG,gEAAgE;YAChE,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,gBAAgB,EAAE,2BAA2B,CAAC,MAAM,CAAC,gBAAgB,EAAE,OAAO,EAAE,OAAO,CAAC,mBAAmB,EAAE,kBAAkB,CAAC;YAChI,8EAA8E;YAC9E,SAAS;SACV,CACF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { ResolvedAddresses } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport type {\n ApplicationMinionEnvTarget,\n ApplicationWorkerEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { LOOPBACK_HOSTNAMES, toHostGatewayUrl, WildoLocationType } from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { devCompanionRuntimeEndpointKey } from '~wildo-cli/services/environment/platform-runtime.schemas';\n\n/**\n * The CONTAINERISED environment of one application minion or worker: what its pod or container is started with,\n * built by the one derivation both container lanes use (#2955).\n *\n * The Kubernetes lane mounts it as the runtime's `<runtimeServiceName>-secret`, and the local compose `app-runtimes`\n * profile mounts it as `<runtimeServiceName>.runtime.env`. Each lane used to describe the runtime on its own. The\n * compose lane interpolated `${PLATFORM_APPLICATION_PRIMARY_SECRET}` from `.env.wildo-platform`, which carries the\n * PLATFORM's primary secret in an app-creator install and nothing at all in a framework-developer one. So a minion\n * or worker container presented another principal's secret, or none, and apps-manager refused it. Built here once,\n * the runtime's identity, its own principal secret and its scoped environment cannot differ between the two lanes.\n *\n * The native lane (`wildo local dev`, a host process reading the package's `.env`) calls the same builders with\n * the HOST-facing addresses and a runtime-signals home, both of which belong only to a host process.\n */\nexport interface ApplicationRuntimeEnvironmentContext {\n readonly credentials: PlatformEnvSecretsJson;\n /** CONTAINER_INTERNAL addresses: cluster DNS for Kubernetes, the compose service names for compose. */\n readonly addresses: ResolvedAddresses;\n readonly config: PlatformEnvConfigJson;\n readonly environment: PlatformEnvironmentConfiguration;\n /**\n * The name this lane's containers reach a process on the HOST by, or `null` when the lane has none (#3382, #3390).\n * Required, so each lane states its answer: {@link toContainerRuntimeEndpoints} reads it to re-point a loopback\n * runtime endpoint, and refuses one when it is `null`.\n */\n readonly hostGatewayHostname: string | null;\n}\n\n/**\n * An application's runtime endpoints as a container of one lane sees them (#3382, #3390). The ONE derivation both\n * container lanes run, inside {@link buildContainerisedMinionEnvironment} and {@link buildContainerisedWorkerEnvironment},\n * so a lane cannot hand its containers the host-facing set by forgetting a step.\n *\n * Where the backend runs decides the answer, and the target's endpoints already say it:\n * - **In a container or the cluster** (a REMOTE target): the `internalUrl` is the compose service name or the cluster\n * DNS name of the backend's Service, already reachable, kept as it is.\n * - **On the host** (a LOCAL target, whose endpoints are `http://localhost:<port>` from\n * `buildLocalhostApplicationRuntimeEndpoints`): inside a container `localhost` is the container. Each loopback\n * `internalUrl` is re-pointed at the lane's host gateway, keeping scheme, port, path, query and fragment. Each\n * `publicUrl` is kept: a BROWSER on the host opens it, so a link a runtime puts in an email must still say `localhost`.\n *\n * When the lane has NO host gateway (`hostGatewayHostname: null`, the Kubernetes lane) a loopback endpoint is REFUSED.\n * Handing a pod `localhost` would point it at itself, and inventing a host name would ship an address that may not\n * resolve; a refusal at render names the problem where it can still be fixed.\n *\n * What is REACHABLE through the compose gateway, per key, measured 2026-11-06 on Docker Desktop: a host listener on\n * `127.0.0.1` or `0.0.0.0` answers, one on `::1` refuses.\n * - The application backends: reachable, because the native lane binds them to `127.0.0.1`\n * (`LOCAL_APPLICATION_BACKEND_LISTEN_HOST`). This is the address a runtime dials. On Docker Engine for Linux the\n * gateway is the bridge address instead, and the backend also listens there (`CONTAINER_HOST_GATEWAY_LISTEN_HOST`,\n * #3387).\n * - The frontends, the website and the documentation site: whatever their dev server binds (several bind `[::1]`), so\n * their `internalUrl` may refuse. No runtime dials them; what a runtime uses from them is the `publicUrl` for links.\n * - The dev companion: REMOVED ({@link devCompanionRuntimeEndpointKey}). No minion or worker talks to it, and an\n * authored `127.0.0.1` companion would otherwise be reachable from every container, browser paths without a token\n * included. Dropped first, so the refusal never fires on a key no container receives.\n *\n * Derived from the endpoints the target already carries, never written per site, so it follows the ports the\n * application declares.\n */\nexport function toContainerRuntimeEndpoints(\n endpoints: Record<string, { publicUrl: string; internalUrl: string }> | undefined,\n appSlug: string,\n hostGatewayHostname: string | null,\n runtimeServiceName: string,\n): Record<string, { publicUrl: string; internalUrl: string }> | undefined {\n if (endpoints === undefined) return undefined;\n const devCompanionKey = devCompanionRuntimeEndpointKey(appSlug);\n return Object.fromEntries(Object.entries(endpoints).filter(([key]) => key !== devCompanionKey).map(([key, urls]) => {\n const internal = new URL(urls.internalUrl);\n if (!LOOPBACK_HOSTNAMES.has(internal.hostname)) return [key, urls];\n if (hostGatewayHostname === null) {\n throw new Error(\n `Runtime '${runtimeServiceName}' would be handed the runtime endpoint '${key}' as ${urls.internalUrl}, which inside its `\n + 'pod names the pod itself, and this lane has no route to the host (#3390). A loopback endpoint means the backend '\n + 'runs on the host: on a LOCAL Kubernetes target the backend, its minions and its workers all run there '\n + '(`wildo dev start`), and no Kubernetes lane deploys them as pods.',\n );\n }\n // The shared derivation (`toHostGatewayUrl`), which the platform scheduler also runs to reach a host-run backend.\n return [key, { publicUrl: urls.publicUrl, internalUrl: toHostGatewayUrl(urls.internalUrl, hostGatewayHostname) }];\n }));\n}\n\n/**\n * The slug of the application a runtime target belongs to: its REMOTE deploy name when it has one, else the slug its\n * own bootstrap credentials carry. A LOCAL target has no `appName` (that field is REMOTE deploy context), so a lane\n * keyed only on it names nothing locally. Throws rather than skipping: a runtime with no name would get no\n * environment and start with none.\n */\nexport function resolveRuntimeTargetAppSlug(target: { readonly appName?: string; readonly bootstrapCredentials: { readonly APPLICATION_SLUG?: string } }): string {\n const slug = target.appName ?? target.bootstrapCredentials.APPLICATION_SLUG;\n if (!slug) throw new Error('An application runtime target names no application slug (no appName, no APPLICATION_SLUG in its bootstrap credentials).');\n return slug;\n}\n\n/** One minion's containerised environment, and the runtime service name it belongs to. */\nexport function buildContainerisedMinionEnvironment(\n minion: ApplicationMinionEnvTarget,\n appSlug: string,\n context: ApplicationRuntimeEnvironmentContext,\n): { readonly runtimeServiceName: string; readonly env: Record<string, string> } {\n const { credentials, addresses, config, environment } = context;\n const runtimeServiceName = buildMinionServiceName(appSlug, minion.minionName);\n return {\n runtimeServiceName,\n env: PlatformEnvVarsBuilder.buildApplicationMinionEnv(\n minion.bootstrapCredentials,\n minion.serviceName,\n credentials,\n addresses,\n config,\n environment.name,\n declaredProviderScope(minion.scopedProviderRefs),\n // Forwarded verbatim, absence included: the builder withholds a backing service's topology from a runtime\n // that declared no access to it, and defaulting it here would decide that at a site that knows nothing about\n // the minion.\n minion.accessDeclaration,\n {\n appDatabaseName: minion.appDatabaseName,\n redisKeyPrefix: minion.redisKeyPrefix,\n storageBucketPrefix: minion.storageBucketPrefix,\n deploymentLocationType: environment.locationType,\n // No runtime-signals home: it is a developer-machine path, which no container can write. A direct Mongo\n // connection is the single-node LOCAL topology (compose, a local cluster), not a remote replica set.\n mongodbDirectConnection: environment.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: toContainerRuntimeEndpoints(minion.runtimeEndpoints, appSlug, context.hostGatewayHostname, runtimeServiceName),\n },\n ),\n };\n}\n\n/** One worker's containerised environment, and the runtime service name it belongs to. */\nexport function buildContainerisedWorkerEnvironment(\n worker: ApplicationWorkerEnvTarget,\n appSlug: string,\n context: ApplicationRuntimeEnvironmentContext,\n): { readonly runtimeServiceName: string; readonly env: Record<string, string> } {\n const { credentials, addresses, config, environment } = context;\n const runtimeServiceName = buildWorkerServiceName(appSlug, worker.workerName);\n return {\n runtimeServiceName,\n env: PlatformEnvVarsBuilder.buildApplicationWorkerEnv(\n worker.bootstrapCredentials,\n worker.workerName,\n worker.serviceName,\n credentials,\n config,\n environment.name,\n declaredProviderScope(worker.scopedProviderRefs),\n {\n // The authored inbound surface, so the worker binds the port and probe paths its container port and\n // probes were rendered from: one authored value, two renderers.\n http: worker.http,\n runtimeEndpoints: toContainerRuntimeEndpoints(worker.runtimeEndpoints, appSlug, context.hostGatewayHostname, runtimeServiceName),\n // The container's own view of apps-manager, never the bootstrap echo (#2955).\n addresses,\n },\n ),\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AACzH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAW5G,OAAO,EAaL,qBAAqB,EAWrB,KAAK,cAAc,EAKnB,KAAK,cAAc,EAEpB,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAkD,KAAK,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAOxJ,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,qEAAqE,CAAC;AAoIlJ,wGAAwG;AACxG,MAAM,WAA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9D,2GAA2G;AAC3G,wBAAgB,yBAAyB,CAAC,eAAe,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAErG;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,gCAAgC,EACrC,WAAW,EAAE,sBAAsB,EACnC,OAAO,EAAE,SAAS,0BAA0B,EAAE,GAAG,SAAS,EAC1D,OAAO,EAAE,SAAS,0BAA0B,EAAE,GAAG,SAAS;AAC1D,yHAAyH;AACzH,OAAO,GAAE;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,CAAA;CAAO,GACxD,MAAM,EAAE,CA6BV;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,yBAAyB,CAAC;AACpE,eAAO,MAAM,+BAA+B,sCAAkD,CAAC;AAE/F,wHAAwH;AACxH,wBAAgB,0BAA0B,CACxC,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE,SAAS,0BAA0B,EAAE,GAAG,SAAS,EAC1D,OAAO,EAAE,SAAS,0BAA0B,EAAE,GAAG,SAAS,GACzD,MAAM,EAAE,CAKV;AAED;;;;;GAKG;AACH,wBAAgB,qCAAqC,CAAC,eAAe,EAAE,MAAM,EAAE,2BAA2B,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAOrI;AAeD;;;;;;;;;GASG;AACH,wBAAsB,2BAA2B,CAC/C,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CAAC,OAAO,CAAC,CAwalB"}
1
+ {"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AACzH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD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AO,GAC5B,OAAO,CAAC,OAAO,CAAC,CA8alB"}
@@ -3,7 +3,7 @@ import { chmodSync, existsSync, mkdirSync, readFileSync, readdirSync, rmdirSync,
3
3
  import { basename, join, posix, relative } from 'path';
4
4
  import { DockerUtils } from '../../../services/deployment/docker/docker.service.js';
5
5
  import { EnvironmentUtils } from '../../../services/environment/environment.service.js';
6
- import { assertProfileRunsItsDatabaseFamilies, includesMongoSearchSidecar, selfHostsOptionalServiceAllowedByProfile, } from '../../../services/environment/environment-service-profile.utils.js';
6
+ import { assertProfileRunsDeclaredMinions, assertProfileRunsItsDatabaseFamilies, includesMongoSearchSidecar, selfHostsOptionalServiceAllowedByProfile, } from '../../../services/environment/environment-service-profile.utils.js';
7
7
  import { EnvironmentPaths } from '../../../services/environment/environment-paths.service.js';
8
8
  import { EnvironmentRegistry } from '../../../services/environment/environment-registry.service.js';
9
9
  import { InfrastructureHost, SharedInfrastructureAction } from '../../../services/environment/infrastructure-host.service.js';
@@ -17,7 +17,7 @@ import { PLATFORM_INIT_MEMORY, PLATFORM_SERVICE_CATALOG } from '../../../service
17
17
  import { PlatformEnvVarsBuilder } from '../../../services/environment/env-vars-builder.service.js';
18
18
  import { loadInfraHydratedConfig } from '../../../services/environment/env-configuration-generator.service.js';
19
19
  import { SecretsReader } from '../../../services/credentials/secrets-reader.service.js';
20
- import { MONGOT_SYNC_SOURCE } from '../../../services/data-services/data-services.schemas.js';
20
+ import { IMMUDB_AUDIT_STATE_LOCAL_DATA_DIR, MONGOT_SYNC_SOURCE } from '../../../services/data-services/data-services.schemas.js';
21
21
  import { PLATFORM_KEY_VAULT_SERVER, renderPlatformKeyVaultServerConfig } from '../../../services/data-services/platform-key-vault.server-config.js';
22
22
  import { TemplateProcessor } from '../../../infrastructure/io/template-processor.js';
23
23
  import { buildContainerisedMinionEnvironment, buildContainerisedWorkerEnvironment, resolveRuntimeTargetAppSlug } from '../../../services/deployment/application-runtime-environment.js';
@@ -210,7 +210,12 @@ export function wipeLocalDataServiceDirsForCompose(env) {
210
210
  if (!saasRoot) {
211
211
  throw new Error('Cannot wipe local_data subdirs: no targeted SaaS app root detected.');
212
212
  }
213
- const services = getDockerComposeLocalDataServices(env);
213
+ // The immudb audit trust anchor goes with the ledger it anchors, and only then: a reset leaves a managed immudb's
214
+ // ledger in place, so its anchor must stay too (see `IMMUDB_AUDIT_STATE_LOCAL_DATA_DIR`).
215
+ const services = [
216
+ ...getDockerComposeLocalDataServices(env),
217
+ ...(resolveIncludeLocalImmudb(env) ? [IMMUDB_AUDIT_STATE_LOCAL_DATA_DIR] : []),
218
+ ];
214
219
  EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);
215
220
  }
216
221
  /**
@@ -999,6 +1004,10 @@ export async function renderDockerComposeTemplate(env, frameworkPath, isFramewor
999
1004
  applicationDatabaseEngine: resolveApplicationDatabaseEngine(config.applicationDatabase),
1000
1005
  })
1001
1006
  : [];
1007
+ // #2303: a profile whose queue cannot confine its minions (the DATABASE queue on MongoDB) refuses them here, before any
1008
+ // file is written. A framework developer's render builds no app runtime (`saasConfigForRuntimes` is null), so for them
1009
+ // the env generator and the application's boot carry the same refusal.
1010
+ assertProfileRunsDeclaredMinions(env, appMinions.length, resolveApplicationDatabaseEngine(config.applicationDatabase));
1002
1011
  // The runtimes this render declares are the only ones whose env file may remain (#2955). Total over the
1003
1012
  // configuration, so pruning here can never remove a declared runtime's file.
1004
1013
  pruneUndeclaredComposeRuntimeEnvFiles(env.name, new Set([
@@ -1265,8 +1274,10 @@ export async function renderDockerComposeTemplate(env, frameworkPath, isFramewor
1265
1274
  /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */
1266
1275
  appMinions,
1267
1276
  appWorkers,
1268
- // The minion and worker services' `extra_hosts` entry (#3382), from the constant their endpoints are derived with.
1277
+ // The minion, worker and scheduler services' `extra_hosts` entry (#3382), from the constant their endpoints are derived with.
1269
1278
  hostGatewayExtraHost: COMPOSE_HOST_GATEWAY_EXTRA_HOST,
1279
+ // The name the scheduler re-points a host-run backend's loopback delivery URL at (#2303).
1280
+ hostGatewayHostname: COMPOSE_HOST_GATEWAY_HOSTNAME,
1270
1281
  /** Slug used to disambiguate compose service names across coexisting apps on the same host. */
1271
1282
  saasSlug: saasConfigForRuntimes?.slug ?? '',
1272
1283
  /**