@wildo-ai/wildo-cli 1.1.3 → 1.1.5

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 (2141) hide show
  1. package/dist/bin/wildo.d.ts.map +1 -1
  2. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
  3. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +2 -0
  4. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +1 -0
  5. package/dist/src/commands/__tests__/compose-dependency-preview.test.js +271 -0
  6. package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +1 -0
  7. package/dist/src/commands/__tests__/init-application-repository.test.d.ts +2 -0
  8. package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +1 -0
  9. package/dist/src/commands/__tests__/init-application-repository.test.js +125 -0
  10. package/dist/src/commands/__tests__/init-application-repository.test.js.map +1 -0
  11. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +2 -0
  12. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +1 -0
  13. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +51 -0
  14. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +1 -0
  15. package/dist/src/commands/__tests__/update.command.test.d.ts +2 -0
  16. package/dist/src/commands/__tests__/update.command.test.d.ts.map +1 -0
  17. package/dist/src/commands/__tests__/update.command.test.js +235 -0
  18. package/dist/src/commands/__tests__/update.command.test.js.map +1 -0
  19. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +2 -0
  20. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +1 -0
  21. package/dist/src/commands/acp/__tests__/probe.command.test.js +36 -0
  22. package/dist/src/commands/acp/__tests__/probe.command.test.js.map +1 -0
  23. package/dist/src/commands/acp/probe.command.d.ts +6 -5
  24. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  25. package/dist/src/commands/acp/probe.command.js +25 -6
  26. package/dist/src/commands/acp/probe.command.js.map +1 -1
  27. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  28. package/dist/src/commands/align-deps.command.js +3 -0
  29. package/dist/src/commands/align-deps.command.js.map +1 -1
  30. package/dist/src/commands/assets/sync.command.d.ts +7 -10
  31. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  32. package/dist/src/commands/assets/sync.command.js +14 -12
  33. package/dist/src/commands/assets/sync.command.js.map +1 -1
  34. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  35. package/dist/src/commands/compose.command.d.ts.map +1 -1
  36. package/dist/src/commands/compose.command.js +6 -18
  37. package/dist/src/commands/compose.command.js.map +1 -1
  38. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
  39. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
  40. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
  41. package/dist/src/commands/config/__tests__/sync.command.test.js +35 -9
  42. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
  43. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +2 -0
  44. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +1 -0
  45. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +134 -0
  46. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +1 -0
  47. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +2 -0
  48. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +1 -0
  49. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +106 -0
  50. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +1 -0
  51. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
  52. package/dist/src/commands/config/__tests__/validate.command.test.js +580 -0
  53. package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
  54. package/dist/src/commands/config/document-releases.command.d.ts +20 -0
  55. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -0
  56. package/dist/src/commands/config/document-releases.command.js +74 -0
  57. package/dist/src/commands/config/document-releases.command.js.map +1 -0
  58. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  59. package/dist/src/commands/config/mutate.command.js +2 -1
  60. package/dist/src/commands/config/mutate.command.js.map +1 -1
  61. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  62. package/dist/src/commands/config/reapply-declaration.command.js +1 -1
  63. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  64. package/dist/src/commands/config/service-consent.command.d.ts +18 -0
  65. package/dist/src/commands/config/service-consent.command.d.ts.map +1 -0
  66. package/dist/src/commands/config/service-consent.command.js +59 -0
  67. package/dist/src/commands/config/service-consent.command.js.map +1 -0
  68. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  69. package/dist/src/commands/config/sync.command.js +166 -31
  70. package/dist/src/commands/config/sync.command.js.map +1 -1
  71. package/dist/src/commands/config/validate.command.d.ts +110 -2
  72. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  73. package/dist/src/commands/config/validate.command.js +483 -15
  74. package/dist/src/commands/config/validate.command.js.map +1 -1
  75. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +2 -0
  76. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -0
  77. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +63 -0
  78. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -0
  79. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +2 -0
  80. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +1 -0
  81. package/dist/src/commands/context/__tests__/default-service-key.test.js +103 -0
  82. package/dist/src/commands/context/__tests__/default-service-key.test.js.map +1 -0
  83. package/dist/src/commands/context/__tests__/elements.command.test.d.ts +2 -0
  84. package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +1 -0
  85. package/dist/src/commands/context/__tests__/elements.command.test.js +81 -0
  86. package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -0
  87. package/dist/src/commands/context/__tests__/info.command.test.d.ts +2 -0
  88. package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +1 -0
  89. package/dist/src/commands/context/__tests__/info.command.test.js +320 -0
  90. package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -0
  91. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -1
  92. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -1
  93. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +2 -0
  94. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +1 -0
  95. package/dist/src/commands/context/__tests__/workspace.command.test.js +60 -0
  96. package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -0
  97. package/dist/src/commands/context/assurance-basis.command.d.ts +61 -0
  98. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -0
  99. package/dist/src/commands/context/assurance-basis.command.js +166 -0
  100. package/dist/src/commands/context/assurance-basis.command.js.map +1 -0
  101. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  102. package/dist/src/commands/context/coherence.command.js +1 -1
  103. package/dist/src/commands/context/coherence.command.js.map +1 -1
  104. package/dist/src/commands/context/context-command.utils.d.ts +44 -2
  105. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  106. package/dist/src/commands/context/context-command.utils.js +130 -7
  107. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  108. package/dist/src/commands/context/elements.command.d.ts +22 -0
  109. package/dist/src/commands/context/elements.command.d.ts.map +1 -0
  110. package/dist/src/commands/context/elements.command.js +77 -0
  111. package/dist/src/commands/context/elements.command.js.map +1 -0
  112. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  113. package/dist/src/commands/context/info.command.d.ts +2 -1
  114. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  115. package/dist/src/commands/context/info.command.js +16 -35
  116. package/dist/src/commands/context/info.command.js.map +1 -1
  117. package/dist/src/commands/context/journey.command.d.ts +8 -10
  118. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  119. package/dist/src/commands/context/journey.command.js +464 -11
  120. package/dist/src/commands/context/journey.command.js.map +1 -1
  121. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
  122. package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
  123. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  124. package/dist/src/commands/context/list.command.js +5 -1
  125. package/dist/src/commands/context/list.command.js.map +1 -1
  126. package/dist/src/commands/context/workspace.command.d.ts +25 -0
  127. package/dist/src/commands/context/workspace.command.d.ts.map +1 -0
  128. package/dist/src/commands/context/workspace.command.js +78 -0
  129. package/dist/src/commands/context/workspace.command.js.map +1 -0
  130. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +2 -0
  131. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +1 -0
  132. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +99 -0
  133. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +1 -0
  134. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +2 -0
  135. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +1 -0
  136. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +68 -0
  137. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +1 -0
  138. package/dist/src/commands/db/db-schema-plan.utils.d.ts +77 -0
  139. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  140. package/dist/src/commands/db/db-schema-plan.utils.js +184 -2
  141. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  142. package/dist/src/commands/db/diff.command.d.ts +4 -3
  143. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  144. package/dist/src/commands/db/diff.command.js +8 -6
  145. package/dist/src/commands/db/diff.command.js.map +1 -1
  146. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  147. package/dist/src/commands/db/generate.command.js +12 -21
  148. package/dist/src/commands/db/generate.command.js.map +1 -1
  149. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  150. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  151. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
  152. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +2 -0
  153. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +1 -0
  154. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +69 -0
  155. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +1 -0
  156. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
  157. package/dist/src/commands/dev/__tests__/start.command.test.js +8 -1
  158. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  159. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +2 -0
  160. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +1 -0
  161. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +132 -0
  162. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +1 -0
  163. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +2 -0
  164. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +1 -0
  165. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +88 -0
  166. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +1 -0
  167. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
  168. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
  169. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +9 -1
  170. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  171. package/dist/src/commands/dev/charts-audit.command.d.ts +5 -3
  172. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  173. package/dist/src/commands/dev/charts-audit.command.js +35 -6
  174. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  175. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  176. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  177. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  178. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  179. package/dist/src/commands/dev/force-stop.command.js +22 -1
  180. package/dist/src/commands/dev/force-stop.command.js.map +1 -1
  181. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  182. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  183. package/dist/src/commands/dev/start.command.js +56 -7
  184. package/dist/src/commands/dev/start.command.js.map +1 -1
  185. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  186. package/dist/src/commands/dev/stop-all.command.js +22 -0
  187. package/dist/src/commands/dev/stop-all.command.js.map +1 -1
  188. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  189. package/dist/src/commands/dev/sync-csp.command.js +14 -2
  190. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  191. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -1
  192. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
  193. package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
  194. package/dist/src/commands/docs/publish.command.js.map +1 -1
  195. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +2 -0
  196. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +1 -0
  197. package/dist/src/commands/frontend/__tests__/publish.command.test.js +66 -0
  198. package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -0
  199. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  200. package/dist/src/commands/frontend/publish.command.js +11 -1
  201. package/dist/src/commands/frontend/publish.command.js.map +1 -1
  202. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
  203. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
  204. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  205. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +2 -0
  206. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +1 -0
  207. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +215 -0
  208. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -0
  209. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  210. package/dist/src/commands/fwk/dev-skills.command.d.ts +29 -3
  211. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  212. package/dist/src/commands/fwk/dev-skills.command.js +29 -3
  213. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  214. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  215. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
  216. package/dist/src/commands/fwk/generate-providers.command.js +273 -19
  217. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  218. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  219. package/dist/src/commands/fwk/publish-all.command.d.ts +42 -0
  220. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  221. package/dist/src/commands/fwk/publish-all.command.js +304 -31
  222. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  223. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  224. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  225. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  226. package/dist/src/commands/fwk/version-bump.command.js +5 -6
  227. package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
  228. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  229. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  230. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  231. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  232. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  233. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  234. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  235. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  236. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  237. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
  238. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -0
  239. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  240. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +2 -0
  241. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +1 -0
  242. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +46 -0
  243. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +1 -0
  244. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +2 -0
  245. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +1 -0
  246. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +33 -0
  247. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +1 -0
  248. package/dist/src/commands/generate/email-command.utils.d.ts +5 -0
  249. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  250. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  251. package/dist/src/commands/generate/email-preview.command.d.ts +8 -0
  252. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  253. package/dist/src/commands/generate/email-preview.command.js +57 -0
  254. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  255. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  256. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  257. package/dist/src/commands/generate/email-test-send.command.js +26 -6
  258. package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
  259. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  260. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  261. package/dist/src/commands/generate/labelling-command.utils.d.ts +40 -0
  262. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  263. package/dist/src/commands/generate/labelling-command.utils.js +43 -0
  264. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  265. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  266. package/dist/src/commands/generate/labels-plan.command.js +4 -1
  267. package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
  268. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  269. package/dist/src/commands/generate/labels.command.js +3 -2
  270. package/dist/src/commands/generate/labels.command.js.map +1 -1
  271. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  272. package/dist/src/commands/generate/translate.command.js +5 -2
  273. package/dist/src/commands/generate/translate.command.js.map +1 -1
  274. package/dist/src/commands/help.command.d.ts.map +1 -1
  275. package/dist/src/commands/help.command.js.map +1 -1
  276. package/dist/src/commands/init.command.d.ts +76 -0
  277. package/dist/src/commands/init.command.d.ts.map +1 -1
  278. package/dist/src/commands/init.command.js +443 -29
  279. package/dist/src/commands/init.command.js.map +1 -1
  280. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
  281. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
  282. package/dist/src/commands/local/__tests__/dev.command.test.js +8 -0
  283. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
  284. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +2 -0
  285. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +1 -0
  286. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +164 -0
  287. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +1 -0
  288. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
  289. package/dist/src/commands/local/__tests__/doctor.command.test.js +11 -0
  290. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
  291. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +2 -0
  292. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +1 -0
  293. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +111 -0
  294. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +1 -0
  295. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +2 -0
  296. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +1 -0
  297. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +136 -0
  298. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +1 -0
  299. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
  300. package/dist/src/commands/local/__tests__/init.command.test.js +3 -3
  301. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
  302. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
  303. package/dist/src/commands/local/__tests__/reinit.command.test.js +9 -0
  304. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -1
  305. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
  306. package/dist/src/commands/local/__tests__/reset.command.test.js +43 -1
  307. package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -1
  308. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
  309. package/dist/src/commands/local/__tests__/up.command.test.js +11 -0
  310. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
  311. package/dist/src/commands/local/deregister.command.d.ts +20 -0
  312. package/dist/src/commands/local/deregister.command.d.ts.map +1 -0
  313. package/dist/src/commands/local/deregister.command.js +146 -0
  314. package/dist/src/commands/local/deregister.command.js.map +1 -0
  315. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  316. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  317. package/dist/src/commands/local/dev.command.js +99 -13
  318. package/dist/src/commands/local/dev.command.js.map +1 -1
  319. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  320. package/dist/src/commands/local/doctor.command.js +64 -1
  321. package/dist/src/commands/local/doctor.command.js.map +1 -1
  322. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  323. package/dist/src/commands/local/down.command.js +53 -10
  324. package/dist/src/commands/local/down.command.js.map +1 -1
  325. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  326. package/dist/src/commands/local/init.command.js.map +1 -1
  327. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  328. package/dist/src/commands/local/reinit.command.d.ts +2 -1
  329. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  330. package/dist/src/commands/local/reinit.command.js +34 -7
  331. package/dist/src/commands/local/reinit.command.js.map +1 -1
  332. package/dist/src/commands/local/reset.command.d.ts +17 -13
  333. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  334. package/dist/src/commands/local/reset.command.js +89 -23
  335. package/dist/src/commands/local/reset.command.js.map +1 -1
  336. package/dist/src/commands/local/restore.command.d.ts +7 -0
  337. package/dist/src/commands/local/restore.command.d.ts.map +1 -0
  338. package/dist/src/commands/local/restore.command.js +72 -0
  339. package/dist/src/commands/local/restore.command.js.map +1 -0
  340. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  341. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  342. package/dist/src/commands/local/up.command.js +148 -10
  343. package/dist/src/commands/local/up.command.js.map +1 -1
  344. package/dist/src/commands/local-defaults/capture.command.d.ts +7 -0
  345. package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -0
  346. package/dist/src/commands/local-defaults/capture.command.js +118 -0
  347. package/dist/src/commands/local-defaults/capture.command.js.map +1 -0
  348. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
  349. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
  350. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  351. package/dist/src/commands/lock/check.command.js +3 -2
  352. package/dist/src/commands/lock/check.command.js.map +1 -1
  353. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
  354. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
  355. package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -0
  356. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  357. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  358. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  359. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  360. package/dist/src/commands/prefs/set.command.d.ts +17 -0
  361. package/dist/src/commands/prefs/set.command.d.ts.map +1 -0
  362. package/dist/src/commands/prefs/set.command.js +178 -0
  363. package/dist/src/commands/prefs/set.command.js.map +1 -0
  364. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -1
  365. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -1
  366. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  367. package/dist/src/commands/providers/show.command.js +2 -1
  368. package/dist/src/commands/providers/show.command.js.map +1 -1
  369. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +2 -0
  370. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +1 -0
  371. package/dist/src/commands/registry/__tests__/repair-contract.test.js +141 -0
  372. package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -0
  373. package/dist/src/commands/registry/__tests__/requirements.test.d.ts +2 -0
  374. package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +1 -0
  375. package/dist/src/commands/registry/__tests__/requirements.test.js +119 -0
  376. package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -0
  377. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +2 -0
  378. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +1 -0
  379. package/dist/src/commands/registry/__tests__/version-resolution.test.js +82 -0
  380. package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -0
  381. package/dist/src/commands/registry/add.command.d.ts +6 -10
  382. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  383. package/dist/src/commands/registry/add.command.js +9 -10
  384. package/dist/src/commands/registry/add.command.js.map +1 -1
  385. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  386. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  387. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  388. package/dist/src/commands/registry/login.command.js +2 -0
  389. package/dist/src/commands/registry/login.command.js.map +1 -1
  390. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  391. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  392. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  393. package/dist/src/commands/registry/publish.command.js +2 -0
  394. package/dist/src/commands/registry/publish.command.js.map +1 -1
  395. package/dist/src/commands/registry/registry-transport.constants.d.ts +33 -0
  396. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -0
  397. package/dist/src/commands/registry/registry-transport.constants.js +33 -0
  398. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -0
  399. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  400. package/dist/src/commands/registry/repair-lockfile.command.d.ts +4 -8
  401. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  402. package/dist/src/commands/registry/repair-lockfile.command.js +19 -20
  403. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  404. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  405. package/dist/src/commands/registry/update.command.d.ts +4 -1
  406. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  407. package/dist/src/commands/registry/update.command.js +8 -3
  408. package/dist/src/commands/registry/update.command.js.map +1 -1
  409. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  410. package/dist/src/commands/registry/whoami.command.js +2 -0
  411. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  412. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
  413. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  414. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  415. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  416. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  417. package/dist/src/commands/setup.command.d.ts.map +1 -1
  418. package/dist/src/commands/setup.command.js +55 -0
  419. package/dist/src/commands/setup.command.js.map +1 -1
  420. package/dist/src/commands/update.command.d.ts +7 -0
  421. package/dist/src/commands/update.command.d.ts.map +1 -0
  422. package/dist/src/commands/update.command.js +297 -0
  423. package/dist/src/commands/update.command.js.map +1 -0
  424. package/dist/src/commands/version.command.d.ts.map +1 -1
  425. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
  426. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  427. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +2 -0
  428. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +1 -0
  429. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +51 -0
  430. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +1 -0
  431. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
  432. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  433. package/dist/src/commands/workbench/open.command.js +2 -1
  434. package/dist/src/commands/workbench/open.command.js.map +1 -1
  435. package/dist/src/commands/workbench/parallelism.command.d.ts +17 -0
  436. package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -0
  437. package/dist/src/commands/workbench/parallelism.command.js +48 -0
  438. package/dist/src/commands/workbench/parallelism.command.js.map +1 -0
  439. package/dist/src/commands/workbench/rearm-task.command.d.ts +16 -0
  440. package/dist/src/commands/workbench/rearm-task.command.d.ts.map +1 -0
  441. package/dist/src/commands/workbench/rearm-task.command.js +61 -0
  442. package/dist/src/commands/workbench/rearm-task.command.js.map +1 -0
  443. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  444. package/dist/src/commands/workbench/status.command.js +16 -2
  445. package/dist/src/commands/workbench/status.command.js.map +1 -1
  446. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  447. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  448. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  449. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  450. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  451. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
  452. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  453. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  454. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  455. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  456. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  457. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  458. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  459. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
  460. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
  461. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
  462. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
  463. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
  464. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
  465. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
  466. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +2 -0
  467. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +1 -0
  468. package/dist/src/kernel/__tests__/machine-preference-answers.test.js +118 -0
  469. package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +1 -0
  470. package/dist/src/kernel/base-command.d.ts +4 -3
  471. package/dist/src/kernel/base-command.d.ts.map +1 -1
  472. package/dist/src/kernel/base-command.js +19 -3
  473. package/dist/src/kernel/base-command.js.map +1 -1
  474. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  475. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  476. package/dist/src/kernel/command-registry.js.map +1 -1
  477. package/dist/src/kernel/command-runner.d.ts +7 -0
  478. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  479. package/dist/src/kernel/command-runner.js +14 -0
  480. package/dist/src/kernel/command-runner.js.map +1 -1
  481. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  482. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  483. package/dist/src/kernel/hooks.d.ts.map +1 -1
  484. package/dist/src/kernel/logger.d.ts.map +1 -1
  485. package/dist/src/kernel/types.d.ts +18 -1
  486. package/dist/src/kernel/types.d.ts.map +1 -1
  487. package/dist/src/kernel/types.js.map +1 -1
  488. package/dist/src/main.d.ts.map +1 -1
  489. package/dist/src/main.js +39 -1
  490. package/dist/src/main.js.map +1 -1
  491. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
  492. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +2 -0
  493. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -0
  494. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +154 -0
  495. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -0
  496. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
  497. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
  498. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  499. package/dist/src/modules/domain/credentials/approver-user.module.d.ts +83 -0
  500. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -0
  501. package/dist/src/modules/domain/credentials/approver-user.module.js +95 -0
  502. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -0
  503. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  504. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
  505. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
  506. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
  507. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  508. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  509. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  510. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  511. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  512. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  513. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +2 -0
  514. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -0
  515. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +112 -0
  516. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -0
  517. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +2 -0
  518. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +1 -0
  519. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +68 -0
  520. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -0
  521. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
  522. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +14 -3
  523. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -1
  524. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
  525. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
  526. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +2 -0
  527. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
  528. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
  529. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +29 -7
  530. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  531. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
  532. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +16 -0
  533. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  534. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
  535. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +21 -2
  536. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
  537. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +2 -0
  538. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +1 -0
  539. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +51 -0
  540. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +1 -0
  541. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
  542. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +45 -6
  543. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  544. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +2 -0
  545. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +1 -0
  546. package/dist/src/services/application/__tests__/application-creation-readiness.test.js +152 -0
  547. package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +1 -0
  548. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
  549. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +6 -2
  550. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
  551. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +2 -0
  552. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +1 -0
  553. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +29 -0
  554. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +1 -0
  555. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
  556. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
  557. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +6 -0
  558. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -1
  559. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
  560. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
  561. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
  562. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
  563. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
  564. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +15 -1
  565. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -1
  566. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +2 -0
  567. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +1 -0
  568. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +60 -0
  569. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +1 -0
  570. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
  571. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +8 -1
  572. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
  573. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +2 -0
  574. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +1 -0
  575. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +118 -0
  576. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +1 -0
  577. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +2 -0
  578. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +1 -0
  579. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +82 -0
  580. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +1 -0
  581. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
  582. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +41 -13
  583. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
  584. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
  585. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +2 -0
  586. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +1 -0
  587. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +119 -0
  588. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -0
  589. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
  590. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
  591. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -1
  592. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +68 -0
  593. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
  594. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
  595. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +80 -10
  596. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  597. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
  598. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +17 -1
  599. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
  600. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
  601. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
  602. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +441 -5
  603. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  604. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +2 -0
  605. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +1 -0
  606. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +180 -0
  607. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +1 -0
  608. package/dist/src/services/application/app-bootstrap.service.d.ts +83 -1
  609. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  610. package/dist/src/services/application/app-bootstrap.service.js +101 -16
  611. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  612. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  613. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  614. package/dist/src/services/application/app-runtime-targets.service.d.ts +13 -1
  615. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  616. package/dist/src/services/application/app-runtime-targets.service.js +31 -7
  617. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  618. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  619. package/dist/src/services/application/app-schema-bootstrap.service.js +28 -5
  620. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
  621. package/dist/src/services/application/application-assets-delivery.service.d.ts +10 -1
  622. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  623. package/dist/src/services/application/application-assets-delivery.service.js +10 -4
  624. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  625. package/dist/src/services/application/application-creation-readiness.service.d.ts +39 -0
  626. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -0
  627. package/dist/src/services/application/application-creation-readiness.service.js +186 -0
  628. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -0
  629. package/dist/src/services/application/application-dependency-alignment.service.d.ts +12 -0
  630. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  631. package/dist/src/services/application/application-dependency-alignment.service.js +21 -0
  632. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  633. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  634. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  635. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  636. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +6 -0
  637. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  638. package/dist/src/services/application/application-runtime-bootstrap.service.js +54 -0
  639. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  640. package/dist/src/services/application/composition-provider-plan.service.d.ts +18 -0
  641. package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -0
  642. package/dist/src/services/application/composition-provider-plan.service.js +66 -0
  643. package/dist/src/services/application/composition-provider-plan.service.js.map +1 -0
  644. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  645. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  646. package/dist/src/services/application/dev-schema-drift.service.js +5 -49
  647. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  648. package/dist/src/services/application/environment-provider-configurations.service.d.ts +29 -0
  649. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -0
  650. package/dist/src/services/application/environment-provider-configurations.service.js +70 -0
  651. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -0
  652. package/dist/src/services/application/existing-app-bootstrap.service.d.ts +9 -1
  653. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  654. package/dist/src/services/application/existing-app-bootstrap.service.js +16 -10
  655. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
  656. package/dist/src/services/application/frontend-provider-source.service.d.ts +16 -0
  657. package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -0
  658. package/dist/src/services/application/frontend-provider-source.service.js +182 -0
  659. package/dist/src/services/application/frontend-provider-source.service.js.map +1 -0
  660. package/dist/src/services/application/local-app-reinit.service.d.ts +1 -1
  661. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  662. package/dist/src/services/application/local-app-reinit.service.js +18 -8
  663. package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
  664. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  665. package/dist/src/services/application/local-application-initialization.service.js +22 -2
  666. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  667. package/dist/src/services/application/provider-package-links.service.d.ts +44 -5
  668. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  669. package/dist/src/services/application/provider-package-links.service.js +67 -26
  670. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  671. package/dist/src/services/application/provider-runtime-sync.service.d.ts +53 -2
  672. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  673. package/dist/src/services/application/provider-runtime-sync.service.js +94 -8
  674. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  675. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  676. package/dist/src/services/application/saas-scaffold.service.js +12 -0
  677. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  678. package/dist/src/services/application/saas-skeleton.service.d.ts +115 -0
  679. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  680. package/dist/src/services/application/saas-skeleton.service.js +247 -92
  681. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  682. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
  683. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
  684. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
  685. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
  686. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
  687. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
  688. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
  689. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
  690. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
  691. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
  692. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -1
  693. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -1
  694. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +2 -0
  695. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +1 -0
  696. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +89 -0
  697. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +1 -0
  698. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
  699. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  700. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
  701. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
  702. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  703. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  704. package/dist/src/services/catalog/service-catalog.schemas.d.ts +63 -0
  705. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  706. package/dist/src/services/catalog/service-catalog.schemas.js +79 -0
  707. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  708. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -1
  709. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
  710. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  711. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  712. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
  713. package/dist/src/services/companion/__tests__/companion-client.service.test.js +28 -1
  714. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  715. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
  716. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
  717. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
  718. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  719. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  720. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  721. package/dist/src/services/companion/companion-client.service.js +70 -2
  722. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  723. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  724. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  725. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  726. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  727. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  728. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  729. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  730. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  731. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  732. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  733. package/dist/src/services/companion/workbench-cli.service.js +10 -1
  734. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  735. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +2 -0
  736. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +1 -0
  737. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +85 -0
  738. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +1 -0
  739. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +2 -0
  740. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +1 -0
  741. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +289 -0
  742. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +1 -0
  743. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +2 -0
  744. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +1 -0
  745. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +78 -0
  746. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +1 -0
  747. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +2 -0
  748. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +1 -0
  749. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +67 -0
  750. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +1 -0
  751. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +65 -0
  752. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -0
  753. package/dist/src/services/compliance/generated-compliance-module-wiring.js +88 -0
  754. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -0
  755. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +156 -0
  756. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -0
  757. package/dist/src/services/compliance/governed-document-releases.generator.js +392 -0
  758. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -0
  759. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts +51 -0
  760. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -0
  761. package/dist/src/services/compliance/service-consent-requirement.generator.js +124 -0
  762. package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -0
  763. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +2 -0
  764. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +1 -0
  765. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +54 -0
  766. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +1 -0
  767. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
  768. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
  769. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
  770. package/dist/src/services/context/context-manager.service.d.ts +20 -1
  771. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  772. package/dist/src/services/context/context-manager.service.js +69 -2
  773. package/dist/src/services/context/context-manager.service.js.map +1 -1
  774. package/dist/src/services/context/context.schemas.d.ts +46 -1
  775. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  776. package/dist/src/services/context/context.schemas.js.map +1 -1
  777. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  778. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -1
  779. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
  780. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -1
  781. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +1 -0
  782. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -1
  783. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +2 -0
  784. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +1 -0
  785. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +52 -0
  786. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +1 -0
  787. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +2 -0
  788. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +1 -0
  789. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +89 -0
  790. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +1 -0
  791. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
  792. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +2 -2
  793. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
  794. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +2 -0
  795. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -0
  796. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +94 -0
  797. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -0
  798. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
  799. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +2 -2
  800. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -1
  801. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +2 -0
  802. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +1 -0
  803. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +54 -0
  804. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +1 -0
  805. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +2 -0
  806. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +1 -0
  807. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +60 -0
  808. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -0
  809. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +5 -0
  810. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  811. package/dist/src/services/credentials/ci-secrets-adapter.service.js +39 -0
  812. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  813. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +34 -0
  814. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  815. package/dist/src/services/credentials/composed-provider-catalogue.js +35 -0
  816. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  817. package/dist/src/services/credentials/credentials.schemas.d.ts +117 -5
  818. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  819. package/dist/src/services/credentials/credentials.schemas.js +217 -8
  820. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  821. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  822. package/dist/src/services/credentials/credentials.service.js +13 -1
  823. package/dist/src/services/credentials/credentials.service.js.map +1 -1
  824. package/dist/src/services/credentials/framework-managed-secrets.d.ts +26 -5
  825. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  826. package/dist/src/services/credentials/framework-managed-secrets.js +117 -12
  827. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  828. package/dist/src/services/credentials/local-defaults.service.d.ts +141 -0
  829. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -0
  830. package/dist/src/services/credentials/local-defaults.service.js +296 -0
  831. package/dist/src/services/credentials/local-defaults.service.js.map +1 -0
  832. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  833. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  834. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  835. package/dist/src/services/credentials/secrets-provisioning.service.js +12 -2
  836. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
  837. package/dist/src/services/credentials/secrets-reader.service.d.ts +17 -0
  838. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  839. package/dist/src/services/credentials/secrets-reader.service.js +17 -0
  840. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  841. package/dist/src/services/credentials/secrets-rotation.service.d.ts +3 -1
  842. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  843. package/dist/src/services/credentials/secrets-rotation.service.js +6 -3
  844. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  845. package/dist/src/services/credentials/secrets-writer.service.d.ts +12 -2
  846. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  847. package/dist/src/services/credentials/secrets-writer.service.js +44 -7
  848. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  849. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  850. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  851. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  852. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
  853. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +2 -0
  854. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +1 -0
  855. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +90 -0
  856. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +1 -0
  857. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
  858. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +135 -3
  859. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
  860. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +2 -0
  861. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +1 -0
  862. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +47 -0
  863. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -0
  864. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
  865. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +65 -1
  866. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
  867. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
  868. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +484 -33
  869. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  870. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
  871. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
  872. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +2 -0
  873. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +1 -0
  874. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +83 -0
  875. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +1 -0
  876. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
  877. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +2 -0
  878. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +1 -0
  879. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +68 -0
  880. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +1 -0
  881. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
  882. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
  883. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
  884. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +114 -1
  885. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -1
  886. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
  887. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +2 -0
  888. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +1 -0
  889. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +79 -0
  890. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +1 -0
  891. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
  892. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
  893. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
  894. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
  895. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
  896. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +2 -0
  897. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +1 -0
  898. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +100 -0
  899. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +1 -0
  900. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
  901. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
  902. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  903. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  904. package/dist/src/services/deployment/ci-deploy-generator.service.js +42 -14
  905. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  906. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +88 -1
  907. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  908. package/dist/src/services/deployment/ci-workflow-generator.service.js +92 -8
  909. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  910. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +2 -0
  911. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +1 -0
  912. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +269 -0
  913. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -0
  914. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
  915. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
  916. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +2 -0
  917. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +1 -0
  918. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +151 -0
  919. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +1 -0
  920. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
  921. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +224 -2
  922. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  923. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
  924. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +79 -0
  925. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -1
  926. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +2 -0
  927. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +1 -0
  928. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +177 -0
  929. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -0
  930. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts +0 -0
  931. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
  932. package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
  933. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
  934. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
  935. package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
  936. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +55 -0
  937. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -0
  938. package/dist/src/services/deployment/docker/backing-service-health-watch.js +181 -0
  939. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -0
  940. package/dist/src/services/deployment/docker/compose-service-health.d.ts +70 -0
  941. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -0
  942. package/dist/src/services/deployment/docker/compose-service-health.js +79 -0
  943. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -0
  944. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +133 -1
  945. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  946. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +252 -4
  947. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  948. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +52 -0
  949. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  950. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +97 -4
  951. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  952. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  953. package/dist/src/services/deployment/docker/docker.service.d.ts +103 -0
  954. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  955. package/dist/src/services/deployment/docker/docker.service.js +141 -0
  956. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  957. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +40 -0
  958. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -0
  959. package/dist/src/services/deployment/docker/local-data-adoption.service.js +182 -0
  960. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -0
  961. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  962. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  963. package/dist/src/services/deployment/infra-writer.service.js +40 -11
  964. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  965. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +2 -0
  966. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +1 -0
  967. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +62 -0
  968. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +1 -0
  969. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
  970. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +75 -45
  971. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -1
  972. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +2 -0
  973. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +1 -0
  974. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +77 -0
  975. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +1 -0
  976. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
  977. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +20 -1
  978. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  979. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
  980. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -1
  981. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +9 -0
  982. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -1
  983. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +2 -0
  984. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +1 -0
  985. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +71 -0
  986. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +1 -0
  987. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
  988. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +3 -3
  989. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  990. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
  991. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
  992. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +23 -0
  993. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  994. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +72 -67
  995. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  996. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  997. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +11 -8
  998. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  999. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +46 -15
  1000. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  1001. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +10 -0
  1002. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  1003. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  1004. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  1005. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +18 -1
  1006. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  1007. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +45 -14
  1008. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  1009. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  1010. package/dist/src/services/deployment/k8s/kind.service.d.ts +0 -1
  1011. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  1012. package/dist/src/services/deployment/k8s/kind.service.js +0 -11
  1013. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  1014. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  1015. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  1016. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  1017. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +74 -0
  1018. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  1019. package/dist/src/services/deployment/local-dev-session-lease.service.js +102 -0
  1020. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  1021. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +3 -2
  1022. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  1023. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +3 -2
  1024. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
  1025. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  1026. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +2 -0
  1027. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  1028. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  1029. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  1030. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  1031. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  1032. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +2 -1
  1033. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  1034. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  1035. package/dist/src/services/deployment/platform-lifecycle.service.js +5 -0
  1036. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
  1037. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  1038. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  1039. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  1040. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  1041. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  1042. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  1043. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  1044. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  1045. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  1046. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +2 -0
  1047. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +1 -0
  1048. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +52 -0
  1049. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +1 -0
  1050. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
  1051. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +22 -3
  1052. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -1
  1053. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
  1054. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +2 -0
  1055. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +1 -0
  1056. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +86 -0
  1057. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +1 -0
  1058. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
  1059. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
  1060. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +2 -0
  1061. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +1 -0
  1062. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +80 -0
  1063. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +1 -0
  1064. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
  1065. package/dist/src/services/environment/__tests__/env-sync.service.test.js +86 -15
  1066. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
  1067. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
  1068. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +128 -11
  1069. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  1070. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
  1071. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +11 -1
  1072. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -1
  1073. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
  1074. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
  1075. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -1
  1076. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
  1077. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
  1078. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +2 -0
  1079. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +1 -0
  1080. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +220 -0
  1081. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +1 -0
  1082. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
  1083. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +1 -1
  1084. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -1
  1085. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
  1086. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +130 -8
  1087. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  1088. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +2 -0
  1089. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +1 -0
  1090. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +83 -0
  1091. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +1 -0
  1092. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +2 -0
  1093. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +1 -0
  1094. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +162 -0
  1095. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +1 -0
  1096. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
  1097. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
  1098. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +94 -15
  1099. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
  1100. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
  1101. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
  1102. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
  1103. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +29 -0
  1104. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -1
  1105. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +2 -0
  1106. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +1 -0
  1107. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +79 -0
  1108. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +1 -0
  1109. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +2 -0
  1110. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +1 -0
  1111. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +108 -0
  1112. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +1 -0
  1113. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +25 -0
  1114. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -0
  1115. package/dist/src/services/environment/application-backing-service-addressing.utils.js +30 -0
  1116. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -0
  1117. package/dist/src/services/environment/authored-infra-config.utils.d.ts +6 -0
  1118. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  1119. package/dist/src/services/environment/authored-infra-config.utils.js +26 -30
  1120. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  1121. package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -0
  1122. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  1123. package/dist/src/services/environment/env-configuration-generator.service.js +7 -1
  1124. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  1125. package/dist/src/services/environment/env-sync.service.d.ts +36 -1
  1126. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  1127. package/dist/src/services/environment/env-sync.service.js +52 -13
  1128. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  1129. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  1130. package/dist/src/services/environment/env-vars-builder.service.js +260 -27
  1131. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  1132. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  1133. package/dist/src/services/environment/environment-hydration.utils.js +20 -6
  1134. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  1135. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  1136. package/dist/src/services/environment/environment-lifecycle.service.js +8 -0
  1137. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  1138. package/dist/src/services/environment/environment-paths.service.d.ts +1 -2
  1139. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  1140. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  1141. package/dist/src/services/environment/environment-registry.service.d.ts +32 -0
  1142. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  1143. package/dist/src/services/environment/environment-registry.service.js +77 -2
  1144. package/dist/src/services/environment/environment-registry.service.js.map +1 -1
  1145. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  1146. package/dist/src/services/environment/environment-setup.service.js +138 -38
  1147. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  1148. package/dist/src/services/environment/environment.schemas.d.ts +42 -1
  1149. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  1150. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  1151. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  1152. package/dist/src/services/environment/environment.service.js.map +1 -1
  1153. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts +43 -0
  1154. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -0
  1155. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js +139 -0
  1156. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -0
  1157. package/dist/src/services/environment/infrastructure-host.service.d.ts +111 -0
  1158. package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -0
  1159. package/dist/src/services/environment/infrastructure-host.service.js +205 -0
  1160. package/dist/src/services/environment/infrastructure-host.service.js.map +1 -0
  1161. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  1162. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  1163. package/dist/src/services/environment/platform-runtime.schemas.d.ts +57 -28
  1164. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  1165. package/dist/src/services/environment/platform-runtime.schemas.js +56 -30
  1166. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  1167. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +2 -2
  1168. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  1169. package/dist/src/services/environment/runtime-bootstrap.service.js +42 -8
  1170. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  1171. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -1
  1172. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -1
  1173. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -1
  1174. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +11 -0
  1175. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -1
  1176. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
  1177. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
  1178. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
  1179. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
  1180. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
  1181. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
  1182. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
  1183. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +91 -4
  1184. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
  1185. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
  1186. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +16 -0
  1187. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -1
  1188. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
  1189. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +40 -2
  1190. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
  1191. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
  1192. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +310 -2
  1193. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  1194. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
  1195. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +47 -2
  1196. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  1197. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
  1198. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +282 -3
  1199. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
  1200. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
  1201. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  1202. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
  1203. package/dist/src/services/framework/__tests__/framework-release.service.test.js +21 -0
  1204. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
  1205. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
  1206. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +2 -0
  1207. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +1 -0
  1208. package/dist/src/services/framework/__tests__/framework-update.service.test.js +325 -0
  1209. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -0
  1210. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
  1211. package/dist/src/services/framework/__tests__/framework-version.service.test.js +5 -5
  1212. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
  1213. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +2 -0
  1214. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +1 -0
  1215. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +200 -0
  1216. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +1 -0
  1217. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
  1218. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +2 -0
  1219. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +1 -0
  1220. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +28 -0
  1221. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +1 -0
  1222. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +2 -0
  1223. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +1 -0
  1224. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +60 -0
  1225. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +1 -0
  1226. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  1227. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  1228. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  1229. package/dist/src/services/framework/framework-development-skills-sync.service.js +2 -1
  1230. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  1231. package/dist/src/services/framework/framework-docker-publish.service.d.ts +38 -0
  1232. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  1233. package/dist/src/services/framework/framework-docker-publish.service.js +77 -3
  1234. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  1235. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  1236. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +167 -2
  1237. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  1238. package/dist/src/services/framework/framework-knowledge-audit.service.js +469 -20
  1239. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  1240. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +10 -0
  1241. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  1242. package/dist/src/services/framework/framework-knowledge-generation.service.js +74 -11
  1243. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  1244. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
  1245. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  1246. package/dist/src/services/framework/framework-knowledge-scan.constants.js +8 -0
  1247. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  1248. package/dist/src/services/framework/framework-npm-publish.service.d.ts +74 -5
  1249. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  1250. package/dist/src/services/framework/framework-npm-publish.service.js +319 -6
  1251. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  1252. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  1253. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  1254. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  1255. package/dist/src/services/framework/framework-update.service.d.ts +310 -0
  1256. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -0
  1257. package/dist/src/services/framework/framework-update.service.js +571 -0
  1258. package/dist/src/services/framework/framework-update.service.js.map +1 -0
  1259. package/dist/src/services/framework/framework-version.service.d.ts +10 -1
  1260. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  1261. package/dist/src/services/framework/framework-version.service.js +16 -3
  1262. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  1263. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts +114 -0
  1264. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -0
  1265. package/dist/src/services/framework/frontend-component-catalog.generator.js +521 -0
  1266. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -0
  1267. package/dist/src/services/framework/frontend-library-root-exports.d.ts +10 -0
  1268. package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -0
  1269. package/dist/src/services/framework/frontend-library-root-exports.js +101 -0
  1270. package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -0
  1271. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  1272. package/dist/src/services/framework/npm-registry-output.d.ts +10 -0
  1273. package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -0
  1274. package/dist/src/services/framework/npm-registry-output.js +12 -0
  1275. package/dist/src/services/framework/npm-registry-output.js.map +1 -0
  1276. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +2 -0
  1277. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +1 -0
  1278. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +57 -0
  1279. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +1 -0
  1280. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +2 -0
  1281. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -0
  1282. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +100 -0
  1283. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -0
  1284. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -1
  1285. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -1
  1286. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -1
  1287. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -1
  1288. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +2 -0
  1289. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +1 -0
  1290. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +905 -0
  1291. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +1 -0
  1292. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +2 -0
  1293. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +1 -0
  1294. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +228 -0
  1295. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +1 -0
  1296. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +2 -0
  1297. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +1 -0
  1298. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +308 -0
  1299. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -0
  1300. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +2 -0
  1301. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +1 -0
  1302. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +343 -0
  1303. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -0
  1304. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +2 -0
  1305. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +1 -0
  1306. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +363 -0
  1307. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +1 -0
  1308. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -1
  1309. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +55 -2
  1310. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
  1311. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -1
  1312. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +27 -0
  1313. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -1
  1314. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +2 -0
  1315. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +1 -0
  1316. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +177 -0
  1317. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +1 -0
  1318. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -1
  1319. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +33 -9
  1320. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -1
  1321. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +9 -0
  1322. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +1 -0
  1323. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +77 -0
  1324. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +1 -0
  1325. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  1326. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +824 -36
  1327. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  1328. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts +44 -0
  1329. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -0
  1330. package/dist/src/services/framework/provider-transposition/api-version-settlement.js +42 -0
  1331. package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -0
  1332. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts +41 -0
  1333. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -0
  1334. package/dist/src/services/framework/provider-transposition/base-url-settlement.js +52 -0
  1335. package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -0
  1336. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +119 -4
  1337. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
  1338. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +203 -39
  1339. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  1340. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +145 -11
  1341. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
  1342. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +222 -39
  1343. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
  1344. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +288 -1
  1345. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  1346. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +156 -8
  1347. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  1348. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +7 -1
  1349. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  1350. package/dist/src/services/framework/provider-transposition/provider-merge.js +50 -14
  1351. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  1352. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +189 -4
  1353. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  1354. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1064 -57
  1355. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  1356. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +240 -0
  1357. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -0
  1358. package/dist/src/services/framework/provider-transposition/request-helper-url.js +826 -0
  1359. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -0
  1360. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
  1361. package/dist/src/services/framework/provider-transposition/sim-source.reader.js +21 -14
  1362. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
  1363. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +76 -0
  1364. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -0
  1365. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +468 -0
  1366. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -0
  1367. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +143 -0
  1368. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  1369. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +43 -0
  1370. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  1371. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +79 -2
  1372. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  1373. package/dist/src/services/framework/provider-transposition/url-template.extractor.js +312 -27
  1374. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  1375. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
  1376. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +6 -5
  1377. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -1
  1378. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
  1379. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
  1380. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +6 -0
  1381. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -1
  1382. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  1383. package/dist/src/services/frontend/cloudflare-cdn.service.js +33 -2
  1384. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  1385. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  1386. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  1387. package/dist/src/services/frontend/frontend-publish.service.js +10 -4
  1388. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  1389. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  1390. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  1391. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  1392. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  1393. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  1394. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +2 -0
  1395. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +1 -0
  1396. package/dist/src/services/registry/__tests__/module-requirements.service.test.js +138 -0
  1397. package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +1 -0
  1398. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  1399. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  1400. package/dist/src/services/registry/index.d.ts.map +1 -1
  1401. package/dist/src/services/registry/module-requirements.service.d.ts +22 -0
  1402. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -0
  1403. package/dist/src/services/registry/module-requirements.service.js +144 -0
  1404. package/dist/src/services/registry/module-requirements.service.js.map +1 -0
  1405. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  1406. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  1407. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  1408. package/dist/src/services/registry/registry-credentials.service.js +3 -4
  1409. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  1410. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  1411. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -1
  1412. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +19 -2
  1413. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -1
  1414. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
  1415. package/dist/src/services/security/__tests__/csp-boundary.test.js +11 -7
  1416. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -1
  1417. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
  1418. package/dist/src/services/security/__tests__/csp-sync.service.test.js +12 -1
  1419. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  1420. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  1421. package/dist/src/services/security/csp-sync.service.js +13 -7
  1422. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  1423. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  1424. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -1
  1425. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
  1426. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  1427. package/dist/src/services/website/website-structured-data-audit.service.js +2 -1
  1428. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  1429. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +21 -0
  1430. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +1 -0
  1431. package/dist/src/test-utils/certificate-fixtures.test.utils.js +57 -0
  1432. package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +1 -0
  1433. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
  1434. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1435. package/dist/tsconfig.tsbuildinfo +1 -1
  1436. package/framework-root-package.json +22 -28
  1437. package/package.json +45 -53
  1438. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +172 -425
  1439. package/templates/infra/ci/deploy-docker-compose.yml.hbs +59 -3
  1440. package/templates/infra/ci/deploy-k8s.yml.hbs +55 -2
  1441. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +16 -0
  1442. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +156 -42
  1443. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +1 -1
  1444. package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +2 -2
  1445. package/templates/infra/k8s/ingress/traefik/local/values.yaml +2 -3
  1446. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -1
  1447. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +1 -1
  1448. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -1
  1449. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -1
  1450. package/templates/saas/engine-peer-closure.json +23 -408
  1451. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +53 -2
  1452. package/templates/saas/i18n/email/system/security-alert/template.tsx +37 -13
  1453. package/templates/saas/i18n/engine/README.md +94 -0
  1454. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.ts +12 -0
  1455. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.ts +12 -0
  1456. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +39 -0
  1457. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +39 -0
  1458. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.en.ts +22 -0
  1459. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.ts +22 -0
  1460. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.en.ts +13 -0
  1461. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.fr.ts +13 -0
  1462. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.ts +11 -0
  1463. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.ts +11 -0
  1464. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +26 -0
  1465. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +34 -0
  1466. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.ts +14 -0
  1467. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.ts +14 -0
  1468. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.ts +16 -0
  1469. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.ts +16 -0
  1470. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +24 -0
  1471. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +23 -0
  1472. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +19 -0
  1473. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +19 -0
  1474. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.en.ts +12 -0
  1475. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.fr.ts +12 -0
  1476. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +21 -0
  1477. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +21 -0
  1478. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +14 -0
  1479. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +14 -0
  1480. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +16 -0
  1481. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +16 -0
  1482. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +20 -0
  1483. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +20 -0
  1484. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +42 -0
  1485. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +42 -0
  1486. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.en.ts +25 -0
  1487. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.fr.ts +25 -0
  1488. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +17 -0
  1489. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +17 -0
  1490. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.en.ts +19 -0
  1491. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.ts +19 -0
  1492. package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.en.ts +12 -0
  1493. package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.fr.ts +12 -0
  1494. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +22 -0
  1495. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +22 -0
  1496. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +13 -0
  1497. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +13 -0
  1498. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.ts +40 -0
  1499. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.ts +40 -0
  1500. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +77 -0
  1501. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +77 -0
  1502. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +13 -0
  1503. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +12 -0
  1504. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.ts +16 -0
  1505. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.ts +15 -0
  1506. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.en.ts +25 -0
  1507. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.fr.ts +25 -0
  1508. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.ts +12 -0
  1509. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.ts +12 -0
  1510. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.en.ts +13 -0
  1511. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.ts +13 -0
  1512. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +26 -0
  1513. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +26 -0
  1514. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.ts +18 -0
  1515. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.ts +18 -0
  1516. package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.en.ts +11 -0
  1517. package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.fr.ts +11 -0
  1518. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +43 -0
  1519. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +43 -0
  1520. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +83 -0
  1521. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +83 -0
  1522. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +50 -0
  1523. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +50 -0
  1524. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.en.ts +15 -0
  1525. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.fr.ts +15 -0
  1526. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +33 -0
  1527. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +33 -0
  1528. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.ts +11 -0
  1529. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.ts +11 -0
  1530. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.en.ts +11 -0
  1531. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.fr.ts +11 -0
  1532. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.en.ts +20 -0
  1533. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.fr.ts +20 -0
  1534. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.en.ts +16 -0
  1535. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.fr.ts +16 -0
  1536. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +14 -0
  1537. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +14 -0
  1538. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +20 -0
  1539. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +20 -0
  1540. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +20 -0
  1541. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +20 -0
  1542. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +20 -0
  1543. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +20 -0
  1544. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.ts +13 -0
  1545. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.ts +13 -0
  1546. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +21 -0
  1547. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +21 -0
  1548. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +25 -0
  1549. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +25 -0
  1550. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.en.ts +13 -0
  1551. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.fr.ts +13 -0
  1552. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.en.ts +16 -0
  1553. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.fr.ts +16 -0
  1554. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.ts +11 -0
  1555. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.ts +11 -0
  1556. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.ts +11 -0
  1557. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.ts +11 -0
  1558. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.en.ts +11 -0
  1559. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.fr.ts +11 -0
  1560. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.en.ts +13 -0
  1561. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.ts +13 -0
  1562. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +64 -0
  1563. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +64 -0
  1564. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.en.ts +30 -0
  1565. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.fr.ts +30 -0
  1566. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.en.ts +18 -0
  1567. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.fr.ts +18 -0
  1568. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.en.ts +11 -0
  1569. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.ts +11 -0
  1570. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.ts +20 -0
  1571. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.ts +20 -0
  1572. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +24 -0
  1573. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +24 -0
  1574. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.ts +13 -0
  1575. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.ts +13 -0
  1576. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +31 -0
  1577. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +31 -0
  1578. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.ts +24 -0
  1579. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.ts +24 -0
  1580. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +23 -0
  1581. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +23 -0
  1582. package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.en.ts +12 -0
  1583. package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.fr.ts +12 -0
  1584. package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.en.ts +14 -0
  1585. package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.fr.ts +14 -0
  1586. package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.en.ts +12 -0
  1587. package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.fr.ts +12 -0
  1588. package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.ts +12 -0
  1589. package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.ts +12 -0
  1590. package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.en.ts +16 -0
  1591. package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.fr.ts +16 -0
  1592. package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.en.ts +12 -0
  1593. package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.fr.ts +12 -0
  1594. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +27 -0
  1595. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +27 -0
  1596. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +14 -0
  1597. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +14 -0
  1598. package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.en.ts +12 -0
  1599. package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.fr.ts +12 -0
  1600. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.ts +11 -0
  1601. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.ts +11 -0
  1602. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.ts +11 -0
  1603. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.ts +11 -0
  1604. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.ts +20 -0
  1605. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.ts +20 -0
  1606. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.ts +11 -0
  1607. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.ts +11 -0
  1608. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.ts +11 -0
  1609. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.ts +11 -0
  1610. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +21 -0
  1611. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +20 -0
  1612. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.ts +13 -0
  1613. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.ts +13 -0
  1614. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +16 -0
  1615. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +16 -0
  1616. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +15 -0
  1617. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +15 -0
  1618. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.ts +14 -0
  1619. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.ts +14 -0
  1620. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.ts +13 -0
  1621. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.ts +13 -0
  1622. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.ts +11 -0
  1623. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.ts +11 -0
  1624. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.ts +11 -0
  1625. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.ts +11 -0
  1626. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.ts +11 -0
  1627. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.ts +11 -0
  1628. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.ts +11 -0
  1629. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.ts +11 -0
  1630. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.ts +11 -0
  1631. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.ts +11 -0
  1632. package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.en.ts +11 -0
  1633. package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.fr.ts +11 -0
  1634. package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.en.ts +13 -0
  1635. package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.fr.ts +13 -0
  1636. package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.en.ts +22 -0
  1637. package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.fr.ts +22 -0
  1638. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.ts +12 -0
  1639. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.ts +12 -0
  1640. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +29 -0
  1641. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +29 -0
  1642. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +15 -0
  1643. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +15 -0
  1644. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +38 -0
  1645. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +37 -0
  1646. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +19 -0
  1647. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +19 -0
  1648. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.ts +20 -0
  1649. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.ts +20 -0
  1650. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +11 -0
  1651. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +11 -0
  1652. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +58 -0
  1653. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +58 -0
  1654. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.en.ts +11 -0
  1655. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.ts +11 -0
  1656. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +14 -0
  1657. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +14 -0
  1658. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +42 -0
  1659. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +42 -0
  1660. package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.en.ts +18 -0
  1661. package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.fr.ts +18 -0
  1662. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.en.ts +11 -0
  1663. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.fr.ts +11 -0
  1664. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.en.ts +11 -0
  1665. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.fr.ts +11 -0
  1666. package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.ts +15 -0
  1667. package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.ts +15 -0
  1668. package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.en.ts +16 -0
  1669. package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.ts +16 -0
  1670. package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.en.ts +14 -0
  1671. package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.fr.ts +14 -0
  1672. package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.en.ts +12 -0
  1673. package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.fr.ts +12 -0
  1674. package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.en.ts +12 -0
  1675. package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.fr.ts +12 -0
  1676. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +12 -0
  1677. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +12 -0
  1678. package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.en.ts +12 -0
  1679. package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.fr.ts +12 -0
  1680. package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.en.ts +13 -0
  1681. package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.fr.ts +13 -0
  1682. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +14 -0
  1683. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +14 -0
  1684. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.ts +18 -0
  1685. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.ts +18 -0
  1686. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.ts +44 -0
  1687. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.ts +43 -0
  1688. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.ts +38 -0
  1689. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.ts +38 -0
  1690. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.ts +16 -0
  1691. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.ts +16 -0
  1692. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +44 -0
  1693. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +44 -0
  1694. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.ts +21 -0
  1695. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.ts +21 -0
  1696. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.ts +13 -0
  1697. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.ts +13 -0
  1698. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.ts +15 -0
  1699. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.ts +15 -0
  1700. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.ts +16 -0
  1701. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.ts +16 -0
  1702. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.ts +23 -0
  1703. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.ts +23 -0
  1704. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +17 -0
  1705. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +17 -0
  1706. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +49 -0
  1707. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +48 -0
  1708. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.ts +31 -0
  1709. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.ts +31 -0
  1710. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +46 -0
  1711. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +45 -0
  1712. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +37 -0
  1713. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +36 -0
  1714. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +59 -0
  1715. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +58 -0
  1716. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +15 -0
  1717. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +15 -0
  1718. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +14 -0
  1719. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +14 -0
  1720. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.ts +14 -0
  1721. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.ts +13 -0
  1722. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +60 -0
  1723. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +59 -0
  1724. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.ts +14 -0
  1725. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.ts +14 -0
  1726. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +21 -0
  1727. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +21 -0
  1728. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.en.ts +12 -0
  1729. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.fr.ts +12 -0
  1730. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +37 -0
  1731. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +37 -0
  1732. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +11 -0
  1733. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +11 -0
  1734. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +28 -0
  1735. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +27 -0
  1736. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.en.ts +16 -0
  1737. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.fr.ts +16 -0
  1738. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.en.ts +23 -0
  1739. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.fr.ts +23 -0
  1740. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +15 -0
  1741. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +15 -0
  1742. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.en.ts +12 -0
  1743. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.fr.ts +12 -0
  1744. package/templates/saas/i18n/engine/components/guidance_announcement.en.ts +11 -0
  1745. package/templates/saas/i18n/engine/components/guidance_announcement.fr.ts +11 -0
  1746. package/templates/saas/i18n/engine/components/guidance_banner.en.ts +12 -0
  1747. package/templates/saas/i18n/engine/components/guidance_banner.fr.ts +12 -0
  1748. package/templates/saas/i18n/engine/components/guidance_card.en.ts +11 -0
  1749. package/templates/saas/i18n/engine/components/guidance_card.fr.ts +11 -0
  1750. package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +15 -0
  1751. package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +15 -0
  1752. package/templates/saas/i18n/engine/components/guidance_checklist_item.en.ts +13 -0
  1753. package/templates/saas/i18n/engine/components/guidance_checklist_item.fr.ts +13 -0
  1754. package/templates/saas/i18n/engine/components/guidance_modal.en.ts +14 -0
  1755. package/templates/saas/i18n/engine/components/guidance_modal.fr.ts +14 -0
  1756. package/templates/saas/i18n/engine/components/guidance_onboarding_view.en.ts +17 -0
  1757. package/templates/saas/i18n/engine/components/guidance_onboarding_view.fr.ts +17 -0
  1758. package/templates/saas/i18n/engine/components/guidance_survey.en.ts +18 -0
  1759. package/templates/saas/i18n/engine/components/guidance_survey.fr.ts +18 -0
  1760. package/templates/saas/i18n/engine/components/guidance_tooltip.en.ts +12 -0
  1761. package/templates/saas/i18n/engine/components/guidance_tooltip.fr.ts +12 -0
  1762. package/templates/saas/i18n/engine/components/guidance_tour.en.ts +16 -0
  1763. package/templates/saas/i18n/engine/components/guidance_tour.fr.ts +16 -0
  1764. package/templates/saas/i18n/engine/components/progression_achievement_badge.en.ts +13 -0
  1765. package/templates/saas/i18n/engine/components/progression_achievement_badge.fr.ts +13 -0
  1766. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +22 -0
  1767. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +21 -0
  1768. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +330 -0
  1769. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +330 -0
  1770. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +558 -0
  1771. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +558 -0
  1772. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +196 -0
  1773. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +196 -0
  1774. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +254 -0
  1775. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +254 -0
  1776. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +717 -0
  1777. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +717 -0
  1778. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +490 -0
  1779. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +490 -0
  1780. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +325 -0
  1781. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +325 -0
  1782. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +355 -0
  1783. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +355 -0
  1784. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +487 -0
  1785. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +487 -0
  1786. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +567 -0
  1787. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +567 -0
  1788. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +110 -0
  1789. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +110 -0
  1790. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +729 -0
  1791. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +729 -0
  1792. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +246 -0
  1793. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +246 -0
  1794. package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +240 -0
  1795. package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +345 -0
  1796. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +270 -0
  1797. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +270 -0
  1798. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +203 -0
  1799. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +203 -0
  1800. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +327 -0
  1801. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +327 -0
  1802. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +598 -0
  1803. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +446 -0
  1804. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +1017 -0
  1805. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1017 -0
  1806. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +339 -0
  1807. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +339 -0
  1808. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +287 -0
  1809. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +287 -0
  1810. package/templates/saas/i18n/engine/resources/applications.en.ts +4026 -0
  1811. package/templates/saas/i18n/engine/resources/applications.fr.ts +4026 -0
  1812. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +678 -0
  1813. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +678 -0
  1814. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +148 -0
  1815. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +148 -0
  1816. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +69 -0
  1817. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +69 -0
  1818. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +89 -0
  1819. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +89 -0
  1820. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +377 -0
  1821. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +377 -0
  1822. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +324 -0
  1823. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +324 -0
  1824. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +2200 -0
  1825. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +2200 -0
  1826. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +225 -0
  1827. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +225 -0
  1828. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +101 -0
  1829. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +101 -0
  1830. package/templates/saas/i18n/engine/resources/files.en.ts +375 -0
  1831. package/templates/saas/i18n/engine/resources/files.fr.ts +373 -0
  1832. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +327 -0
  1833. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +327 -0
  1834. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +1666 -0
  1835. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +1666 -0
  1836. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +414 -0
  1837. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +414 -0
  1838. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +207 -0
  1839. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +207 -0
  1840. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +558 -0
  1841. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +558 -0
  1842. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +196 -0
  1843. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +196 -0
  1844. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +799 -0
  1845. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +799 -0
  1846. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +1744 -0
  1847. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +1744 -0
  1848. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +210 -0
  1849. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +210 -0
  1850. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +391 -0
  1851. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +390 -0
  1852. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +355 -0
  1853. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +355 -0
  1854. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +487 -0
  1855. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +487 -0
  1856. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +190 -0
  1857. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +190 -0
  1858. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +316 -0
  1859. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +316 -0
  1860. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +323 -0
  1861. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +323 -0
  1862. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +567 -0
  1863. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +567 -0
  1864. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +594 -0
  1865. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +592 -0
  1866. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +163 -0
  1867. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +163 -0
  1868. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +162 -0
  1869. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +162 -0
  1870. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +801 -0
  1871. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +801 -0
  1872. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +108 -0
  1873. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +108 -0
  1874. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +232 -0
  1875. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +231 -0
  1876. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +399 -0
  1877. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +398 -0
  1878. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +232 -0
  1879. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +232 -0
  1880. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +278 -0
  1881. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +278 -0
  1882. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +272 -0
  1883. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +271 -0
  1884. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +295 -0
  1885. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +294 -0
  1886. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +270 -0
  1887. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +270 -0
  1888. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +203 -0
  1889. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +203 -0
  1890. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +352 -0
  1891. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +352 -0
  1892. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +624 -0
  1893. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +471 -0
  1894. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +1043 -0
  1895. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +1042 -0
  1896. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +584 -0
  1897. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +584 -0
  1898. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +225 -0
  1899. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +225 -0
  1900. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +480 -0
  1901. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +480 -0
  1902. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +333 -0
  1903. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +333 -0
  1904. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +313 -0
  1905. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +312 -0
  1906. package/templates/saas/i18n/engine/resources/organizations.en.ts +1924 -0
  1907. package/templates/saas/i18n/engine/resources/organizations.fr.ts +1924 -0
  1908. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +324 -0
  1909. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +324 -0
  1910. package/templates/saas/i18n/engine/resources/prices.en.ts +409 -0
  1911. package/templates/saas/i18n/engine/resources/prices.fr.ts +409 -0
  1912. package/templates/saas/i18n/engine/resources/products.en.ts +540 -0
  1913. package/templates/saas/i18n/engine/resources/products.fr.ts +540 -0
  1914. package/templates/saas/i18n/engine/resources/promotions.en.ts +383 -0
  1915. package/templates/saas/i18n/engine/resources/promotions.fr.ts +383 -0
  1916. package/templates/saas/i18n/engine/resources/referrals.en.ts +337 -0
  1917. package/templates/saas/i18n/engine/resources/referrals.fr.ts +337 -0
  1918. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +558 -0
  1919. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +558 -0
  1920. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +196 -0
  1921. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +196 -0
  1922. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +1728 -0
  1923. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +1728 -0
  1924. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +365 -0
  1925. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +365 -0
  1926. package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +210 -0
  1927. package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +210 -0
  1928. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +265 -0
  1929. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +265 -0
  1930. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +355 -0
  1931. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +355 -0
  1932. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +487 -0
  1933. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +487 -0
  1934. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +198 -0
  1935. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +198 -0
  1936. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +234 -0
  1937. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +234 -0
  1938. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +273 -0
  1939. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +273 -0
  1940. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +300 -0
  1941. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +300 -0
  1942. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +359 -0
  1943. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +359 -0
  1944. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +202 -0
  1945. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +202 -0
  1946. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +399 -0
  1947. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +399 -0
  1948. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +662 -0
  1949. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +662 -0
  1950. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +262 -0
  1951. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +262 -0
  1952. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +270 -0
  1953. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +270 -0
  1954. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +391 -0
  1955. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +391 -0
  1956. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +481 -0
  1957. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +481 -0
  1958. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +568 -0
  1959. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +568 -0
  1960. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +317 -0
  1961. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +317 -0
  1962. package/templates/saas/i18n/engine/resources/user_self.en.ts +720 -0
  1963. package/templates/saas/i18n/engine/resources/user_self.fr.ts +719 -0
  1964. package/templates/saas/i18n/engine/resources/users.en.ts +1166 -0
  1965. package/templates/saas/i18n/engine/resources/users.fr.ts +1166 -0
  1966. package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +590 -0
  1967. package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +574 -0
  1968. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +293 -0
  1969. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +293 -0
  1970. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +150 -0
  1971. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +150 -0
  1972. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +198 -0
  1973. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +198 -0
  1974. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +150 -0
  1975. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +150 -0
  1976. package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +150 -0
  1977. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +150 -0
  1978. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +150 -0
  1979. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +150 -0
  1980. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +214 -0
  1981. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +214 -0
  1982. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +198 -0
  1983. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +190 -0
  1984. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +182 -0
  1985. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +182 -0
  1986. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +478 -0
  1987. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +478 -0
  1988. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +214 -0
  1989. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +206 -0
  1990. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +150 -0
  1991. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +150 -0
  1992. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +150 -0
  1993. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +150 -0
  1994. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +150 -0
  1995. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +150 -0
  1996. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +150 -0
  1997. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +150 -0
  1998. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +150 -0
  1999. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +150 -0
  2000. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +150 -0
  2001. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +150 -0
  2002. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +150 -0
  2003. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +150 -0
  2004. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +150 -0
  2005. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +150 -0
  2006. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +542 -0
  2007. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +542 -0
  2008. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +190 -0
  2009. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +190 -0
  2010. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +366 -0
  2011. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +366 -0
  2012. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +126 -0
  2013. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +126 -0
  2014. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +198 -0
  2015. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +198 -0
  2016. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +230 -0
  2017. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +230 -0
  2018. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +606 -0
  2019. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +606 -0
  2020. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +198 -0
  2021. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +198 -0
  2022. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +150 -0
  2023. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +150 -0
  2024. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +270 -0
  2025. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +270 -0
  2026. package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +270 -0
  2027. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +270 -0
  2028. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +1030 -0
  2029. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +1030 -0
  2030. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +350 -0
  2031. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +350 -0
  2032. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +198 -0
  2033. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +198 -0
  2034. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +422 -0
  2035. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +422 -0
  2036. package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +270 -0
  2037. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +270 -0
  2038. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +518 -0
  2039. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +518 -0
  2040. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +342 -0
  2041. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +342 -0
  2042. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +366 -0
  2043. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +366 -0
  2044. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +310 -0
  2045. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +310 -0
  2046. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +286 -0
  2047. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +286 -0
  2048. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +366 -0
  2049. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +366 -0
  2050. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +142 -0
  2051. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +142 -0
  2052. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +198 -0
  2053. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +198 -0
  2054. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +190 -0
  2055. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +190 -0
  2056. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +246 -0
  2057. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +246 -0
  2058. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +452 -0
  2059. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +452 -0
  2060. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +294 -0
  2061. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +294 -0
  2062. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +150 -0
  2063. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +150 -0
  2064. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +150 -0
  2065. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +150 -0
  2066. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +134 -0
  2067. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +134 -0
  2068. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +334 -0
  2069. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +334 -0
  2070. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +441 -0
  2071. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +441 -0
  2072. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +251 -0
  2073. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +251 -0
  2074. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +246 -0
  2075. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +246 -0
  2076. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +190 -0
  2077. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +190 -0
  2078. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +150 -0
  2079. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +150 -0
  2080. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +150 -0
  2081. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +150 -0
  2082. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +150 -0
  2083. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +150 -0
  2084. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +230 -0
  2085. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +230 -0
  2086. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +206 -0
  2087. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +206 -0
  2088. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +9 -0
  2089. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +34 -0
  2090. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +84 -14
  2091. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
  2092. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +5 -2
  2093. package/templates/saas/scenarios/add-provider/scenario.json +11 -11
  2094. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +3 -1
  2095. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +57 -0
  2096. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +59 -1
  2097. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +2 -0
  2098. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +45 -2
  2099. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-provider-service.generated.json +1 -0
  2100. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-providers.generated.ts +3 -0
  2101. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +19 -3
  2102. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +24 -1
  2103. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +36 -8
  2104. package/templates/saas/scenarios/add-website/files/website/Dockerfile +39 -0
  2105. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +4 -0
  2106. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +9 -2
  2107. package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-provider-service.generated.json +1 -0
  2108. package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-providers.generated.ts +3 -0
  2109. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +14 -1
  2110. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +2 -0
  2111. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +4 -1
  2112. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +4 -1
  2113. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +7 -4
  2114. package/templates/saas/scenarios/add-worker-rust/scenario.json +1 -1
  2115. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +27 -10
  2116. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +29 -1
  2117. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +39 -2
  2118. package/templates/saas/skeleton/CLAUDE.md.hbs +15 -5
  2119. package/templates/saas/skeleton/backend-api/Dockerfile +54 -0
  2120. package/templates/saas/skeleton/backend-api/package.json.hbs +2 -1
  2121. package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +8 -5
  2122. package/templates/saas/skeleton/backend-api/src/companion-exports.ts +13 -2
  2123. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +67 -6
  2124. package/templates/saas/skeleton/dockerignore +40 -0
  2125. package/templates/saas/skeleton/frontend/package.json.hbs +5 -2
  2126. package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +9 -6
  2127. package/templates/saas/skeleton/frontend/src/generated/frontend-provider-service.generated.json +1 -0
  2128. package/templates/saas/skeleton/frontend/src/generated/frontend-providers.generated.ts +3 -0
  2129. package/templates/saas/skeleton/frontend/src/index.css.hbs +23 -17
  2130. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
  2131. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +38 -0
  2132. package/templates/saas/skeleton/frontend/src/resource-ui-behaviors.exports.ts +60 -0
  2133. package/templates/saas/skeleton/frontend/tsconfig.library.json +1 -0
  2134. package/templates/saas/skeleton/gitignore +17 -0
  2135. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +112 -1
  2136. package/templates/saas/skeleton/tsconfig.common.json +21 -0
  2137. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +133 -9
  2138. package/templates/saas/skeleton-ownership.json +17 -0
  2139. package/wildo-framework.info.json +1 -1
  2140. package/templates/saas/scenarios/add-backend-provider/scenario.json +0 -17
  2141. package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +0 -44
@@ -1 +1 @@
1
- {"version":3,"file":"docker-compose-generator.service.js","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,+BAA+B,EAC/B,wCAAwC,EACxC,sBAAsB,GAIvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,yCAAyC,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AAC9I,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AAC9G,OAAO,EAAE,aAAa,E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AE,mBAAmB,CAAC,MAAM;YAClC,MAAM,EAAE,mBAAmB,CAAC,MAAM;YAClC,yFAAyF;YACzF,wFAAwF;YACxF,sFAAsF;YACtF,kCAAkC;YAClC,UAAU,EAAE,mBAAmB,CAAC,WAAW;YAC3C,YAAY,EAAE,mBAAmB,CAAC,aAAa;YAC/C,aAAa,EAAE,mBAAmB,CAAC,cAAc;SAClD;KACF,CAAC;IAEF,MAAM,QAAQ,GAAG,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAExF,MAAM,UAAU,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,6BAA6B,CAAC,EAAE,QAAQ,CAAC,CAAC;AACtF,CAAC","sourcesContent":["import { chmodSync, existsSync, mkdirSync, statSync, writeFileSync } from 'fs';\nimport { join, posix, relative } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n loadMinionConfigs,\n loadSaasConfig,\n loadWorkerConfigs,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME,\n resolveFrameworkLayout,\n type WildoMinionConfig,\n type WildoSaasConfig,\n type WildoWorkerConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { IMMUDB_CREDENTIAL_ENV_KEYS, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\n\n/**\n * Local-data subdir + filename for the immudb state-signing PRIVATE key materialized for the\n * self-hosted compose immudb container. Kept OUT of the `immudb/` data volume (which is the\n * store the key protects) so a data wipe never removes the signing key.\n */\nconst IMMUDB_SIGNING_KEY_DIR = 'immudb-signing';\nconst IMMUDB_SIGNING_KEY_FILENAME = 'state-signing.key';\n\n/**\n * Issue #74 — local-data subdir + filename for the `mongot` sync-source password file.\n *\n * Same shape and same reasoning as the immudb signing key above: kept OUT of both the\n * `mongodb/` and `mongot/` data directories so a data wipe never removes it, and mounted as a\n * FILE because mongot reads a path (`syncSource.replicaSet.scramAuth.passwordFile`) and never\n * an environment variable.\n *\n * The MODE differs from immudb's, and that difference is not cosmetic: immudb's key is written\n * `0644` because its container UID differs from the host owner, while mongot REFUSES to start on\n * anything more permissive than `0400` (`Secret file … permissions are too permissive (must only\n * be readable by owner)`, exit 1). mongot's image runs as root, so root reads the file whatever\n * the bind mount reports as its owner — measured 2026-08-27 with a host-owned `0400` file and a\n * `mongodb/mongodb-community-search:1.70.3` container that read it and reached `SERVING`.\n */\nconst MONGOT_PASSWORD_DIR = 'mongot-auth';\nconst MONGOT_PASSWORD_FILENAME = 'sync-source.password';\n\n/**\n * Slice 4.8 — ClamAV self-deploy gating.\n *\n * Returns `true` when the env author declared\n * `backingServices.clamav: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — i.e. they opted into the local\n * `clamav/clamav:1.4` container instead of pointing at an external\n * MANAGED clamd. Returns `false` for MANAGED / external sources or\n * when the entry is omitted entirely.\n *\n * Single source of truth consumed by:\n * - {@link renderDockerComposeTemplate}'s `includeLocalClamAV`\n * context value (drives the `{{#if includeLocalClamAV}}` block in\n * `docker-compose.wildo-platform.yml.hbs`).\n * - {@link getDockerComposeLocalDataServices} (decides whether\n * `local_data/clamav/` must be pre-created / wiped).\n *\n * The RULE itself moved out on 2026-09-09: both lanes now ask\n * `EnvironmentLifecycle.selfHostsBackingService(env, kind)`, which is total over\n * `BackingServiceKind`, so Compose ⇄ K8s parity is structural rather than two\n * predicates that happen to agree — and a kind added to the vocabulary cannot\n * reach either lane without someone deciding what an omitted declaration means\n * for it. This function survives as the NAME the compose lane's context value and\n * local-data list read it by; it is no longer where the rule lives.\n *\n * That predicate reads `env.backingServices` (the in-memory authored snapshot)\n * rather than `loadConfigJson`, which keeps every caller here synchronous and\n * matches the pattern used by {@link resolveInfraHostPort} below.\n */\nfunction resolveIncludeLocalClamAV(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV);\n}\n\n/**\n * Cache / broker / object-storage self-deploy gating.\n *\n * These three were the only services in the template with NO gate at all: `valkey`, `rabbitmq`,\n * `minio` (+ its `minio-init` bucket step) were rendered for every environment, so an operator who\n * declared `redis: { source: MANAGED }` got a managed cache AND a local Valkey container beside it.\n *\n * They gate on {@link EnvironmentLifecycle.selfHostsBackingService}, which for these three kinds\n * reads `source !== MANAGED` rather than `source === SELF` — read that JSDoc before \"tightening\"\n * it. An UNDECLARED entry keeps the container, exactly as today, because the platform cannot boot\n * without a cache, a broker and an object store and an omitted key must not silently remove one.\n */\nfunction resolveIncludeLocalValkey(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, RabbitMQ's declaration. */\nfunction resolveIncludeLocalRabbitMQ(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, the `s3` declaration (MinIO is its self-hosted brand). */\nfunction resolveIncludeLocalMinIO(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3);\n}\n\n/**\n * Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container\n * (tamper-evident audit-log store) only when `backingServices.immudb.source ===\n * SELF`; a MANAGED immudb (Vault) is an external endpoint. Mirrors\n * {@link resolveIncludeLocalClamAV}.\n */\nfunction resolveIncludeLocalImmudb(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB);\n}\n\n/**\n * Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the\n * registry and pre-creates every `local_data/<service>/` subdir the\n * compose file will bind-mount.\n *\n * Exists so every CLI seam that runs `docker compose up` against the\n * platform-local compose file shares the SAME pre-up step (single source\n * of truth — D5 decision). Call sites:\n * - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`\n * - `LocalAppReinitService.startEnvironment`\n * - `dev/start.command.ts startDockerInfra`\n *\n * Throws when no SaaS root can be resolved — this keeps the failure\n * loud at the call site (matching how the generator itself throws above).\n */\n/**\n * Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be\n * redone before `docker compose up`.\n *\n * ## The hazard this closes\n *\n * Docker does not fail on a missing bind-mount SOURCE — it silently creates a DIRECTORY there. So a\n * file the container expects becomes a directory, and the failure surfaces inside the container as\n * something unrelated to mounting. immudb reports\n * `unable to configure the cryptographic signer: read /etc/immudb/state-signing.key: is a directory`\n * and exits unhealthy, which compose reports only as `container wildo-immudb is unhealthy`.\n *\n * Measured 2026-08-22 on the first cold start after a full `local_data` reset: the compose file\n * survived the reset while the key it mounts did not. The render is skipped when the compose file\n * already exists — the \"write only when missing\" test asks about the COMPOSE FILE, never about the\n * files compose MOUNTS — and the only other force condition is \"new secret material was minted\".\n * The key material was NOT new (it lives in the authored `secrets.json`, outside `local_data`), so\n * nothing forced a re-render and `wildo local dev` failed with infrastructure it could not start.\n *\n * The material always survives a data reset, so this is recoverable by construction: re-render, and\n * the key is written back from `secrets.json`.\n *\n * Returns false when immudb is not self-hosted here, or when no keypair is provisioned at all —\n * that second case is the documented graceful degradation (immudb runs UNSIGNED and the client warns\n * once), not something to force a render for.\n */\nexport function isComposeHostMountedArtifactMissing(\n env: PlatformEnvironmentConfiguration,\n localDataPath: string,\n): boolean {\n if (!resolveIncludeLocalImmudb(env)) return false;\n\n const secrets = SecretsReader.loadSecrets(env.name);\n if (!secrets?.immudb?.stateSigningPrivateKey) return false;\n\n const signingKeyPath = join(localDataPath, IMMUDB_SIGNING_KEY_DIR, IMMUDB_SIGNING_KEY_FILENAME);\n // A DIRECTORY at this path is the Docker-created stand-in, and is exactly as broken as absence —\n // re-rendering replaces it with the file.\n if (!existsSync(signingKeyPath)) return true;\n return !statSync(signingKeyPath).isFile();\n}\n\nexport function ensureLocalDataServiceDirsForComposeRender(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot pre-create local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.ensureLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.4) — wipe wrapper for `wildo local reset`.\n *\n * Counterpart of {@link ensureLocalDataServiceDirsForComposeRender}. Resolves\n * the SaaS root and the same per-env service list that compose actually\n * rendered, then calls {@link EnvironmentPaths.wipeLocalDataServiceDirs}\n * fail-closed — so a stale on-host PG datadir or Mongo journal cannot\n * silently survive a reset and corrupt the next `wildo local up`.\n *\n * Caller MUST invoke this AFTER `docker compose down -v` so no container\n * still holds the bind-mount target open.\n */\nexport function wipeLocalDataServiceDirsForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot wipe local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.3) — single source of truth for which infra services the\n * generated compose file actually renders for a given env.\n *\n * MUST stay in lockstep with the `{{#if include*}}` guards in\n * `docker-compose.wildo-platform.yml.hbs`. Returns the short container-name\n * list (the same tokens used as `local_data/<service>/` subdir names and\n * as the K8s PV `hostPath` `/mnt/local-data/<service>/` segment).\n *\n * Used by every CLI seam that runs `docker compose up` to pre-create the\n * matching `local_data/<service>/` bind-mount source directories before\n * Docker would otherwise create them root-owned. A divergence between this\n * list and the template's `{{#if}}` guards would silently create\n * permission-denied failures on first up — so callers MUST use this helper,\n * not a hand-written list.\n *\n * Stateless services are intentionally excluded — they have no\n * bind mount in the template.\n */\nexport function getDockerComposeLocalDataServices(\n env: PlatformEnvironmentConfiguration,\n): readonly string[] {\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push('mongodb');\n // Issue #74 — mongot's Lucene index directory. Same gate as mongod (it is an attachment to\n // one, not an independently sourced service), and STATEFUL: losing it costs a full re-read\n // of every indexed collection through the change stream, not just a restart.\n services.push('mongot');\n }\n // Gated since the managed-selection fix: an env that declares `redis` / `rabbitmq` / `s3` as\n // MANAGED points at somebody else's endpoint and must not also bind-mount `local_data/<svc>/` for\n // a container it does not run. An UNDECLARED kind still lands here — see\n // {@link resolveIncludeLocalValkey} for why absence is not withdrawal.\n if (resolveIncludeLocalValkey(env)) {\n services.push('valkey');\n }\n if (resolveIncludeLocalRabbitMQ(env)) {\n services.push('rabbitmq');\n }\n if (resolveIncludeLocalMinIO(env)) {\n services.push('minio');\n }\n if (EnvironmentUtils.needsLocalPostgreSQL(env)) {\n services.push('postgresql');\n }\n if (resolveIncludeLocalClamAV(env)) {\n services.push('clamav');\n }\n if (resolveIncludeLocalImmudb(env)) {\n services.push('immudb');\n }\n return services;\n}\n\n/**\n * MinIO console UI listens on 9001 alongside the API on 9000. The console\n * port is image-defined and not part of the author's `s3` surface — keep it\n * pinned so the generated compose file always exposes the admin UI for\n * local debugging.\n */\nconst MINIO_CONSOLE_PORT = 9001;\n\n/**\n * Resolve the host-side port to publish for an infra container.\n *\n * The container always listens on its image-default port (`internalPort`).\n * The author may override the host-side port to avoid conflicts with other\n * services on their machine; in that case the compose generator emits\n * `${authorPort}:${internalPort}` so that:\n * - tools on the host connect to `localhost:${authorPort}` (matches the\n * `HOST_FACING` perspective from `ServiceAddressResolver`)\n * - other compose containers connect to `${containerName}:${internalPort}`\n * (matches the `CONTAINER_INTERNAL` perspective)\n */\nfunction resolveInfraHostPort(\n env: PlatformEnvironmentConfiguration,\n kind: BackingServiceKind,\n internalPort: number,\n): number {\n const override = env.backingServices?.[kind];\n if (!override || override.source !== BackingServiceSource.SELF) {\n return internalPort;\n }\n return override.port ?? internalPort;\n}\n\n\n// ============================================================================\n// Generate .env.wildo-platform (Docker Compose env file)\n// ============================================================================\n\n/**\n * Encode one `.env.wildo-platform` value for its reader: **Docker Compose's own env-file parser**\n * (compose-go), which is NOT the `dotenv` package that reads the per-service `.env` files.\n *\n * ## The two readers differ on exactly one axis\n *\n * Both expand `\\n` / `\\r` inside double quotes and both accept a quoted value spanning physical\n * lines. They diverge on backslash escapes — verified 2026-08-05 with `docker compose config`, the\n * authoritative resolution step:\n *\n * | reader | `\\n` in `\"…\"` | `\\\"` in `\"…\"` |\n * |------------|---------------|----------------------|\n * | `dotenv` | expands | NOT unescaped (kept literal — the trap `encodeDotenvValue` documents) |\n * | compose-go | expands | unescapes |\n *\n * So compose-go is a FULLY unescaping reader, and the correct encoding here is the ordinary\n * escape-and-quote — the same contract `formatEnvFile` (ci-deploy-generator) already writes for the\n * compose lane. `encodeDotenvValue`'s form-SELECTION exists to dodge a lossiness that only affects\n * dotenv; do not reuse it here, and do not \"fix\" this to match it.\n *\n * ## Why not the previous verbatim-quote\n *\n * This helper used to emit `\"${value}\"` verbatim for multi-line values (reproducing the bytes the\n * old `quoteMultiline` produced). That is lossy the moment a value carries BOTH a newline and a\n * `\"`: the inner quote closes the string early and Compose rejects the whole file with\n * `unexpected character \"\\\"\" in variable name` (reproduced 2026-08-05). No value routed here does\n * that today — PEMs carry no quotes — but it is the same latent writer/reader mismatch that\n * produced this session's two live incidents, so it is closed rather than documented.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`), so encoding happens exactly once, here.\n */\nexport function encodeComposeEnvValue(value: string): string {\n if (!/[\\s=#\"'\\\\]|\\n/.test(value) && value !== '') return value;\n return `\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`;\n}\n\nexport function generateEnvWildoPlatform(\n env: PlatformEnvironmentConfiguration,\n isFrameworkDeveloper: boolean,\n credentials: PlatformEnvSecretsJson,\n): void {\n // Single load+hydrate seam — the platform env this generator emits for a REMOTE compose deploy\n // must carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n\n const lines: string[] = [\n GENERATED_FILE_HEADER,\n '',\n '# === Infra service credentials ===',\n ];\n\n for (const [key, value] of Object.entries(infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n\n if (!isFrameworkDeveloper) {\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n\n lines.push('');\n lines.push('# === Platform service env vars ===');\n\n for (const [key, value] of Object.entries(platformEnv)) {\n if (!(key in infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n }\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM), lines.join('\\n') + '\\n');\n}\n\n// ============================================================================\n// Render Docker Compose template (Handlebars)\n// ============================================================================\n\n/**\n * Step 6 — compose entry shapes for the per-app minion / worker\n * services. Each service builds from the **wildo-ai monorepo root**\n * (Q1 (B) decision 2026-05-06) so the package's Dockerfile can resolve\n * file:-injected `@wildo-ai/*` engine deps + the nested Wonder Todos\n * workspace lockfile in one go (mirrors `examples/wonder-todos/frontend/Dockerfile`'s\n * established pattern). The Dockerfile path is therefore relative to\n * the framework root, not to the package itself.\n *\n * Env-files mount the Step 5b `.wildo-providers.env`; the platform's\n * `.env.wildo-platform` is loaded separately via `docker compose --env-file`\n * (see `docker.service.ts`) so we deliberately do NOT mount it again\n * via `env_file:` here.\n *\n * Both shapes are emitted under the compose `app-runtimes` profile so\n * `wildo local up` defaults to the platform-only flow and operators\n * opt-in to running app runtimes locally with\n * `docker compose --profile app-runtimes up` (or a future\n * `--include-app-runtimes` flag on `wildo local up`).\n */\nexport interface DockerComposeAppMinionEntry {\n /** Compose service name — `<saasSlug>-minion-<dnsName>` (bucket key RFC1123-normalized via `buildMinionServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the minion package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > minions`. */\n minionKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the minion boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close the container at boot. Resolved from the\n * persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /**\n * `user:` — `<uid>:<gid>` from the authored `isolation`, mirroring the k8s\n * pod `runAsUser`/`runAsGroup`.\n */\n runAsUser: string;\n /**\n * The SAME uid/gid as {@link runAsUser}, kept as separate numbers because each\n * `tmpfs:` entry must carry `uid=`/`gid=` options — docker mounts a tmpfs\n * root-owned 0755, so a non-root container cannot write it. Two fields rather\n * than parsing the combined string back apart in the template.\n */\n runAsUserId: number;\n runAsGroupId: number;\n /**\n * Every writable tmpfs path: the mandatory `/tmp` first, then authored\n * additions. Compose gets `tmpfs:` where k8s gets `emptyDir` volumes; the\n * pairing with `read_only: true` is identical and equally load-bearing (the\n * liveness heartbeat file lives under `/tmp`).\n */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling, mirroring the k8s value. */\n pidsLimit: number;\n}\n\nexport interface DockerComposeAppWorkerEntry {\n /** Compose service name — `<saasSlug>-worker-<dnsName>` (bucket key RFC1123-normalized via `buildWorkerServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the worker package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > workers`. */\n workerKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the worker boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close `readWorkerBootstrapEnv()` at boot. Resolved\n * from the persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /** HTTP port the worker listens on (also the host-side mapping). */\n httpPort: number;\n /** `/healthz` (or operator-overridden) — informational; no compose-side healthcheck is configured. */\n healthPath: string;\n /** `/readyz` (or operator-overridden) — informational; no compose-side readiness probe is configured. */\n readyPath: string;\n /** `user:` — `<uid>:<gid>`, mirroring the k8s pod `runAsUser`/`runAsGroup`. */\n runAsUser: string;\n /** Same values as {@link DockerComposeAppWorkerEntry.runAsUser}, as numbers for the `tmpfs:` `uid=`/`gid=` options. */\n runAsUserId: number;\n runAsGroupId: number;\n /** Writable tmpfs paths: the mandatory one first, then authored additions. */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling. */\n pidsLimit: number;\n}\n\n/**\n * The compose service + container name for a per-app minion/worker. Delegates to\n * the SHARED name builders so the compose service name is RFC1123-normalized and\n * byte-identical to the k8s Service name, the CI-built image ref, and the backend's\n * `WILDO_WORKER_<NAME>_URL` dispatch host (all derived from the same helper). A\n * camelCase bucket key (`marketingScrapper`) therefore resolves the same on the\n * compose network as in k8s (`{slug}-minion-marketing-scrapper`) — the backend\n * dispatch URL host would otherwise never resolve to the raw-key service name. The\n * RAW bucket key stays the runtime IDENTITY (`APP_OWNED_SERVICE_NAME`), carried\n * separately on the compose entry as `workerKey`/`minionKey`.\n */\nfunction deriveAppRuntimeServiceName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return kind === 'minion'\n ? buildMinionServiceName(saasSlug, bucketKey)\n : buildWorkerServiceName(saasSlug, bucketKey);\n}\n\nfunction deriveAppRuntimeContainerName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return deriveAppRuntimeServiceName(saasSlug, kind, bucketKey);\n}\n\n/**\n * Resolve the wildo-ai monorepo root from the framework path passed to\n * the renderer. Used as the compose `build.context` so each runtime-host\n * Dockerfile sees the full monorepo (file:-injected engine deps, nested\n * Wonder Todos workspace lockfile, etc.).\n */\nfunction resolveFrameworkRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).repositoryRoot;\n}\n\n/**\n * POSIX-relative path from the framework root to a package's Dockerfile.\n * Compose's `dockerfile:` field is interpreted relative to `build.context`\n * (the framework root for Step 6), so the path here must be relative\n * AND POSIX-style (Compose normalizes Windows paths but mixed-style is a\n * known footgun on macOS-host / Linux-container builds).\n */\nfunction relativeDockerfilePath(frameworkRoot: string, packageRoot: string): string {\n return posix.join(...relative(frameworkRoot, packageRoot).split(/[/\\\\]/), 'Dockerfile');\n}\n\n/**\n * Build the per-minion compose entries from the loaded saas + minion\n * configs. The provider env-file path is stable across runs (Step 5b\n * emits it on every `wildo config sync`); compose mounts it via\n * `env_file:` so the minion's process env contains the canonical\n * `WILDO_PROVIDER_*` keys at boot.\n */\nfunction buildAppMinionComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n minionEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoMinionConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppMinionEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, minionEntries, applicationId } = input;\n return minionEntries.map((entry) => {\n const ref = saasConfig.minions?.[entry.key];\n if (!ref) {\n // Defensive — `loadMinionConfigs` reads from this same bucket so\n // mismatch is impossible in practice. Fail loudly if invariants drift.\n throw new Error(\n `[docker-compose-generator] Minion '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > minions. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'minion', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'minion', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n minionKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n // Mandatory `/tmp` first, then authored additions — the same ordering and\n // the same reason as the k8s renderer. The schema rejects `/tmp` inside\n // `writablePaths`, so prepending cannot produce a duplicate.\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n };\n });\n}\n\nfunction buildAppWorkerComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n workerEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoWorkerConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppWorkerEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, workerEntries, applicationId } = input;\n return workerEntries.map((entry) => {\n const ref = saasConfig.workers?.[entry.key];\n if (!ref) {\n throw new Error(\n `[docker-compose-generator] Worker '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > workers. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'worker', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'worker', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n workerKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n httpPort: entry.config.http.port,\n healthPath: entry.config.http.healthPath,\n readyPath: entry.config.http.readyPath,\n };\n });\n}\n\n/**\n * Docker Compose shell-interpolation token used as the `APPLICATION_ID` value\n * ONLY when no persisted identity is available yet — a cold\n * `config sync --domain manifest` / `wildo local up` self-heal before the app's\n * first credential fetch. Preserves the pre-fix behaviour (interpolated from\n * `.env.wildo-platform`, which resolves empty) and leaves the operator a manual\n * override escape hatch, rather than silently baking an empty literal. Normal\n * flows persist the real id before rendering, so this is the rare cold path.\n */\nconst APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK = '${APPLICATION_ID}';\n\nexport async function renderDockerComposeTemplate(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag?: string,\n): Promise<void> {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n if (!config) throw new Error('config.json not found');\n\n const processor = new TemplateProcessor(\n resolveFrameworkLayout(frameworkPath).dockerComposeTemplatesHome,\n );\n\n // Slice 4 (4.2) — `localDataPath` template variable.\n //\n // Resolves to the absolute host path\n // `<saasRoot>/.wildo-saas/local_data` so each per-service bind mount in\n // the rendered compose file is unambiguous. We deliberately use ABSOLUTE\n // paths (D4 decision in the slice plan) instead of paths relative to the\n // generated compose file location:\n // - Relative paths would walk up several segments\n // (`../../../local_data/<svc>`) and break if the on-disk layout\n // between `.wildo-saas/infrastructure/environments/<env>/docker-compose/`\n // and `.wildo-saas/local_data/` ever changes.\n // - Absolute paths are independent of `cwd` and survive any future\n // reshuffling of the runtime layout.\n //\n // The CLI guarantees the per-service subdirs exist before\n // `docker compose up` via `EnvironmentPaths.ensureLocalDataServiceDirs()`\n // (Slice 4.3); Docker would otherwise create them as root-owned mount\n // points which container UIDs cannot write to.\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot render docker-compose template: no targeted SaaS app root detected.',\n );\n }\n const localDataPath = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n\n // Step 6 — load per-app minion/worker configs so the compose template\n // can emit a service for each one under the `app-runtimes` profile.\n // The platform path stays unchanged when there are no minions/workers\n // declared (the template's `{{#if appMinions.length}}` / `{{#if appWorkers.length}}`\n // guards drop the sections entirely in that case). Framework-developer\n // mode skips the load to keep the platform-only flow side-effect-free.\n const saasConfigForRuntimes = isFrameworkDeveloper\n ? null\n : await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n const minionEntries = saasConfigForRuntimes\n ? await loadMinionConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n const workerEntries = saasConfigForRuntimes\n ? await loadWorkerConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n // Step 6 (Q1 (B)) — `build.context` for runtime-host services is the\n // wildo-ai monorepo root so each Dockerfile can resolve file:-injected\n // engine deps. The Dockerfile itself lives inside the package; its\n // path is computed relative to the framework root.\n const frameworkRoot = resolveFrameworkRoot(frameworkPath);\n\n // Resolve the owning app's apps-manager-minted APPLICATION_ID from the\n // persisted `application-runtime-identity.json` so each per-app minion/worker\n // service bakes the correct bootstrap-identity literal. Read OFFLINE (no\n // apps-manager round-trip) so even the `--domain manifest` re-render and the\n // `wildo local up` self-heal produce a runnable app-runtimes block; the\n // credential-fetching flows persist the value up front. Falls back to the\n // `${APPLICATION_ID}` interpolation token only for a cold app that has never\n // been bootstrapped in this env.\n const applicationId = saasConfigForRuntimes\n ? (EnvironmentUtils.loadApplicationRuntimeIdentity(env.name)?.[saasConfigForRuntimes.slug]?.applicationId\n ?? APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK)\n : APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK;\n\n const appMinions = saasConfigForRuntimes\n ? buildAppMinionComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, minionEntries, applicationId })\n : [];\n const appWorkers = saasConfigForRuntimes\n ? buildAppWorkerComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, workerEntries, applicationId })\n : [];\n\n // Slice 2 Phase 5b Wave 2 — local OTel collector inclusion + host port.\n // Emitted only when infra `observability.enabled` AND the authored OTLP\n // endpoint targets localhost (the endpoint IS this local collector; a remote\n // BetterStack endpoint gets no local collector). The host port is parsed from\n // the endpoint so the published `localhost:<port>` matches exactly what the\n // preload-instrumented backend + companion hosts target; defaults to the\n // OTLP/HTTP standard 4318 when the endpoint omits an explicit port.\n const OTEL_OTLP_HTTP_DEFAULT_PORT = '4318';\n const otelObservability = env.observability;\n let includeOtelCollector = false;\n let otelCollectorHostPort = OTEL_OTLP_HTTP_DEFAULT_PORT;\n if (otelObservability?.enabled) {\n let parsedEndpoint: URL | undefined;\n try {\n parsedEndpoint = new URL(otelObservability.endpoint);\n } catch {\n parsedEndpoint = undefined;\n }\n if (\n parsedEndpoint &&\n (parsedEndpoint.hostname === 'localhost' ||\n parsedEndpoint.hostname === '127.0.0.1')\n ) {\n includeOtelCollector = true;\n otelCollectorHostPort = parsedEndpoint.port || OTEL_OTLP_HTTP_DEFAULT_PORT;\n }\n }\n\n // Audit Phase 2 — materialize the immudb state-signing PRIVATE key so the self-hosted immudb\n // container can sign its `ImmutableState` (`--signingKey`), turning the whole-server-substitution\n // defense ON. Only when this env self-hosts immudb AND a keypair was provisioned\n // (`credentials.immudb`, minted from the `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry at setup\n // and by the idempotent self-heal, so present for any file-backed env). The key is the SEC1 \"EC PRIVATE KEY\"\n // PEM immudb parses; written `0644` because the compose bind mount preserves host ownership and\n // immudb's container UID differs, so the file must be world-readable to load (proven in the\n // immudb integration test). SERVER-side ONLY — the private key never enters app env; the matching\n // PUBLIC key reaches the audit client via `IMMUDB_STATE_PUBLIC_KEY` (env-vars-builder). When no\n // keypair is provisioned the template's `{{#if immudbSigningKeyHostPath}}` block drops and immudb\n // runs UNSIGNED (client warns once) — graceful degradation.\n let immudbSigningKeyHostPath: string | undefined;\n // The built-in `immudb` admin's INITIAL password, sourced from the operator's `IMMUDB_PASSWORD`\n // provider secret so the server's admin login matches the credential the audit-sink provider\n // connects with. `IMMUDB_CREDENTIAL_ENV_KEYS`' own docstring states this copy as the contract\n // (\"its value is copied into the server's ADMIN_PASSWORD so the two always match (single source of\n // truth) — otherwise the server's admin login and the app's connection password would diverge (an\n // operator footgun)\"), and the K8S lane implements it (`k8s-secrets-generator` →\n // `immudb/deployment.yaml.hbs`). THIS lane did not: the compose service rendered no `environment:`\n // at all, so a self-hosted local immudb always initialized on immudb's PACKAGED DEFAULT admin\n // password while the app connected with the authored one — the exact divergence the contract names,\n // reachable only on the lane every developer runs. One contract, two deployment lanes, applied to\n // one (`.claude/rules/invariant-call-site-enumeration.md`).\n //\n // Read from the SAME `SecretsReader` load as the signing key. Undefined ⇒ the template's\n // `{{#if immudbAdminPassword}}` block drops and immudb keeps its packaged default, matching both\n // the previous compose behavior and the k8s lane's `optional: true` secretKeyRef.\n //\n // ⚠️ immudb only adopts this on a FRESH data dir — it is the INITIAL password, not a reset. An\n // existing `local_data/immudb` keeps whatever it was initialized with, so changing the authored\n // value on a provisioned env requires removing that directory (or rotating via `immuadmin`).\n let immudbAdminPassword: string | undefined;\n if (resolveIncludeLocalImmudb(env)) {\n const secrets = SecretsReader.loadSecrets(env.name);\n const signingPrivateKey = secrets?.immudb?.stateSigningPrivateKey;\n if (signingPrivateKey) {\n const signingKeyDir = join(localDataPath, IMMUDB_SIGNING_KEY_DIR);\n mkdirSync(signingKeyDir, { recursive: true });\n const signingKeyPath = join(signingKeyDir, IMMUDB_SIGNING_KEY_FILENAME);\n writeFileSync(signingKeyPath, signingPrivateKey, { mode: 0o644 });\n immudbSigningKeyHostPath = signingKeyPath;\n }\n immudbAdminPassword = secrets?.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n }\n\n // Issue #74 — materialize the `mongot` sync-source password so BOTH containers that need it can\n // read the SAME bytes: `mongodb-init` creates the `searchCoordinator` user with it, and `mongot`\n // authenticates with it. Neither can be given the other's copy, and minting it per-container is\n // how the two silently diverge — so it comes from the single framework-managed material and is\n // written once here.\n //\n // `0400` because mongot enforces it (see MONGOT_PASSWORD_DIR). Written on every render, which is\n // deliberate: the compose file is skipped when it already exists, so a `local_data` reset that\n // removes this file while leaving the compose file behind is exactly the failure\n // `isComposeHostMountedArtifactMissing` was written for one service over — and here it would\n // surface as a mongot that cannot authenticate rather than as anything naming the missing file.\n //\n // `undefined` ⇒ the template's `{{#if mongotPasswordHostPath}}` guard drops the mongot service\n // entirely and mongod runs without a search sidecar. That is the honest degradation: a\n // half-wired mongot that mongod routes `$vectorSearch` to and that cannot answer is worse than\n // no mongot at all, because the application's boot probe tests REACHABILITY.\n let mongotPasswordHostPath: string | undefined;\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n const mongotPassword = SecretsReader.loadSecrets(env.name)?.mongot?.syncSourcePassword;\n if (mongotPassword) {\n const mongotAuthDir = join(localDataPath, MONGOT_PASSWORD_DIR);\n mkdirSync(mongotAuthDir, { recursive: true });\n const passwordPath = join(mongotAuthDir, MONGOT_PASSWORD_FILENAME);\n // A PREVIOUS render left this file at 0400 — owner READ-only — and `writeFileSync` opens for\n // WRITE, so a re-render EACCES's on the file it wrote itself. That made `wildo local init`\n // succeed exactly once per machine and fail on every subsequent run, which is the worst shape\n // for a first-run-only bug: the failure lands on someone whose environment already worked.\n // Widen just long enough to rewrite, then re-narrow. Unlinking instead would leave a window\n // with no file at all, which a running mongot re-reading its password would lose.\n if (existsSync(passwordPath)) {\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_REWRITE_MODE);\n }\n writeFileSync(passwordPath, mongotPassword, { mode: MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE });\n // `writeFileSync`'s `mode` is only honored when it CREATES the file — an existing file keeps\n // whatever mode it already had, so re-render alone cannot repair a loosened one. chmod\n // unconditionally, or a file that was ever created differently keeps crashing mongot.\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE);\n mongotPasswordHostPath = passwordPath;\n }\n }\n\n const context = {\n composeName: DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME,\n /**\n * Slice 2 Phase 5b Wave 2 — local OTel collector. `includeOtelCollector`\n * gates both the service (under `services:`) and the inline `configs:`\n * entry that supplies its config (the contrib image is distroless — no\n * shell for an entrypoint heredoc). Ports default to OTLP/HTTP 4318.\n */\n includeOtelCollector,\n otelCollectorHostPort,\n otelCollectorInternalPort: OTEL_OTLP_HTTP_DEFAULT_PORT,\n includeLocalMongoDB: EnvironmentUtils.needsLocalMongoDB(env),\n /**\n * NOT `config.database.engine === POSTGRESQL` — see\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL}. That field also SUBTRACTS MongoDB\n * (`needsLocalMongoDB`), so it could never express \"MongoDB for the platform, PostgreSQL for the\n * application's resources\", which is what an app on the PostgreSQL persistence adapter needs.\n */\n includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),\n /**\n * Cache / broker / object storage. Each gates its own service block AND its `depends_on` entry\n * on `platform-init` — both, or compose refuses the whole project with\n * `service \"platform-init\" depends on undefined service \"valkey\"`, which is the failure mode a\n * half-applied gate produces (`.claude/rules/invariant-call-site-enumeration.md`).\n * `includeLocalMinIO` additionally gates the `minio-init` bucket-creation step, which exists\n * only to serve the local MinIO.\n */\n includeLocalValkey: resolveIncludeLocalValkey(env),\n includeLocalRabbitMQ: resolveIncludeLocalRabbitMQ(env),\n includeLocalMinIO: resolveIncludeLocalMinIO(env),\n includeLocalClamAV: resolveIncludeLocalClamAV(env),\n includeLocalImmudb: resolveIncludeLocalImmudb(env),\n /**\n * Absolute host path of the materialized immudb state-signing PRIVATE key, or `undefined`\n * when immudb is not self-hosted / no keypair is provisioned. Gates the `--signingKey` block\n * (mount + `command`) in the compose immudb service so it signs its state.\n */\n immudbSigningKeyHostPath,\n /**\n * The self-hosted immudb server's INITIAL admin password, copied from the operator's\n * `providerEnv.IMMUDB_PASSWORD` so the server admin and the audit-sink client share one source of\n * truth. `undefined` ⇒ the template's `environment:` block drops and immudb keeps its packaged\n * default (matching the k8s lane's `optional: true` secretKeyRef).\n */\n immudbAdminPassword,\n /**\n * Issue #74 — absolute host path of the materialized mongot sync-source password file, or\n * `undefined` when this env self-hosts no mongod / carries no mongot material. Gates the whole\n * `mongot` service and the `mongodb-init` step that creates its user.\n */\n mongotPasswordHostPath,\n /** In-container mount point both mongot and mongodb-init read that file at. */\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n includePlatformServices: !isFrameworkDeveloper,\n /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */\n appMinions,\n appWorkers,\n /** Slug used to disambiguate compose service names across coexisting apps on the same host. */\n saasSlug: saasConfigForRuntimes?.slug ?? '',\n /**\n * Registry-qualified in app-creator mode, bare local name in framework-developer mode —\n * see `resolvePlatformImageRef` for why the two lanes differ and why the tag is the\n * framework version rather than `latest`.\n */\n platformImageRef: resolvePlatformImageRef({ isFrameworkDeveloper, frameworkVersion: readVersion(), imageTag }),\n localDataPath,\n /**\n * Host-side port mappings for self-deployed infra services. Each value\n * defaults to the image-internal port (which is what container-internal\n * traffic always uses); when the author overrides\n * `backingServices.<kind>.port` for a SELF source, that value drives the\n * host-side mapping so `localhost:${authorPort}` reaches the container.\n */\n infraHostPorts: {\n mongodb: resolveInfraHostPort(env, BackingServiceKind.MONGODB, INFRA_DEFAULT_PORTS.MONGODB),\n valkey: resolveInfraHostPort(env, BackingServiceKind.REDIS, INFRA_DEFAULT_PORTS.VALKEY),\n rabbitmq: resolveInfraHostPort(env, BackingServiceKind.RABBITMQ, INFRA_DEFAULT_PORTS.RABBITMQ),\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),\n clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),\n immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),\n },\n infraInternalPorts: {\n mongodb: INFRA_DEFAULT_PORTS.MONGODB,\n valkey: INFRA_DEFAULT_PORTS.VALKEY,\n rabbitmq: INFRA_DEFAULT_PORTS.RABBITMQ,\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: INFRA_DEFAULT_PORTS.MINIO,\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,\n clamav: INFRA_DEFAULT_PORTS.CLAMAV,\n immudb: INFRA_DEFAULT_PORTS.IMMUDB,\n // Issue #74 — mongot's three listeners. Present in `infraInternalPorts` and deliberately\n // ABSENT from `infraHostPorts`: nothing on the host is a mongot client (clients talk to\n // mongod, which routes to mongot over gRPC), so publishing them would widen the local\n // attack surface for no consumer.\n mongotGrpc: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealth: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetrics: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n },\n };\n\n const rendered = processor.processTemplate(FILE_NAMES.DOCKER_COMPOSE_TEMPLATE, context);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), rendered);\n}\n"]}
1
+ {"version":3,"file":"docker-compose-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGvD,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAC7H,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,E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EAAE,CAAC;QAC5B,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,6BAA6B,CAAC,EAAE,QAAQ,CAAC,CAAC;AACtF,CAAC","sourcesContent":["import { createHash } from 'crypto';\nimport { chmodSync, existsSync, mkdirSync, statSync, writeFileSync } from 'fs';\nimport { basename, join, posix, relative } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { DockerUtils } from '~wildo-cli/services/deployment/docker/docker.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { InfrastructureHost, SharedInfrastructureAction } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n loadMinionConfigs,\n loadSaasConfig,\n loadWorkerConfigs,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME,\n resolveFrameworkLayout,\n type WildoMinionConfig,\n type WildoSaasConfig,\n WildoDeploymentRuntime,\n WildoLocalDataStorage,\n resolveDefaultLocalDataStorage,\n type WildoWorkerConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { IMMUDB_CREDENTIAL_ENV_KEYS, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\n\n/**\n * Local-data subdir + filename for the immudb state-signing PRIVATE key materialized for the\n * self-hosted compose immudb container. Kept OUT of the `immudb/` data volume (which is the\n * store the key protects) so a data wipe never removes the signing key.\n */\nconst IMMUDB_SIGNING_KEY_DIR = 'immudb-signing';\nconst IMMUDB_SIGNING_KEY_FILENAME = 'state-signing.key';\n\n/**\n * Issue #74 — local-data subdir + filename for the `mongot` sync-source password file.\n *\n * Same shape and same reasoning as the immudb signing key above: kept OUT of both the\n * `mongodb/` and `mongot/` data directories so a data wipe never removes it, and mounted as a\n * FILE because mongot reads a path (`syncSource.replicaSet.scramAuth.passwordFile`) and never\n * an environment variable.\n *\n * The MODE differs from immudb's, and that difference is not cosmetic: immudb's key is written\n * `0644` because its container UID differs from the host owner, while mongot REFUSES to start on\n * anything more permissive than `0400` (`Secret file … permissions are too permissive (must only\n * be readable by owner)`, exit 1). mongot's image runs as root, so root reads the file whatever\n * the bind mount reports as its owner — measured 2026-08-27 with a host-owned `0400` file and a\n * `mongodb/mongodb-community-search:1.70.3` container that read it and reached `SERVING`.\n */\nconst MONGOT_PASSWORD_DIR = 'mongot-auth';\nconst MONGOT_PASSWORD_FILENAME = 'sync-source.password';\n\n/**\n * Slice 4.8 — ClamAV self-deploy gating.\n *\n * Returns `true` when the env author declared\n * `backingServices.clamav: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — i.e. they opted into the local\n * `clamav/clamav:1.4` container instead of pointing at an external\n * MANAGED clamd. Returns `false` for MANAGED / external sources or\n * when the entry is omitted entirely.\n *\n * Single source of truth consumed by:\n * - {@link renderDockerComposeTemplate}'s `includeLocalClamAV`\n * context value (drives the `{{#if includeLocalClamAV}}` block in\n * `docker-compose.wildo-platform.yml.hbs`).\n * - {@link getDockerComposeLocalDataServices} (decides whether\n * `local_data/clamav/` must be pre-created / wiped).\n *\n * The RULE itself moved out on 2026-09-09: both lanes now ask\n * `EnvironmentLifecycle.selfHostsBackingService(env, kind)`, which is total over\n * `BackingServiceKind`, so Compose ⇄ K8s parity is structural rather than two\n * predicates that happen to agree — and a kind added to the vocabulary cannot\n * reach either lane without someone deciding what an omitted declaration means\n * for it. This function survives as the NAME the compose lane's context value and\n * local-data list read it by; it is no longer where the rule lives.\n *\n * That predicate reads `env.backingServices` (the in-memory authored snapshot)\n * rather than `loadConfigJson`, which keeps every caller here synchronous and\n * matches the pattern used by {@link resolveInfraHostPort} below.\n */\nfunction resolveIncludeLocalClamAV(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV);\n}\n\n/**\n * Cache / broker / object-storage self-deploy gating.\n *\n * These three were the only services in the template with NO gate at all: `valkey`, `rabbitmq`,\n * `minio` (+ its `minio-init` bucket step) were rendered for every environment, so an operator who\n * declared `redis: { source: MANAGED }` got a managed cache AND a local Valkey container beside it.\n *\n * They gate on {@link EnvironmentLifecycle.selfHostsBackingService}, which for these three kinds\n * reads `source !== MANAGED` rather than `source === SELF` — read that JSDoc before \"tightening\"\n * it. An UNDECLARED entry keeps the container, exactly as today, because the platform cannot boot\n * without a cache, a broker and an object store and an omitted key must not silently remove one.\n */\nfunction resolveIncludeLocalValkey(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, RabbitMQ's declaration. */\nfunction resolveIncludeLocalRabbitMQ(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, the `s3` declaration (MinIO is its self-hosted brand). */\nfunction resolveIncludeLocalMinIO(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3);\n}\n\n/**\n * Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container\n * (tamper-evident audit-log store) only when `backingServices.immudb.source ===\n * SELF`; a MANAGED immudb (Vault) is an external endpoint. Mirrors\n * {@link resolveIncludeLocalClamAV}.\n */\nfunction resolveIncludeLocalImmudb(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB);\n}\n\n/**\n * Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the\n * registry and pre-creates every `local_data/<service>/` subdir the\n * compose file will bind-mount.\n *\n * Exists so every CLI seam that runs `docker compose up` against the\n * platform-local compose file shares the SAME pre-up step (single source\n * of truth — D5 decision). Call sites:\n * - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`\n * - `LocalAppReinitService.startEnvironment`\n * - `dev/start.command.ts startDockerInfra`\n *\n * Throws when no SaaS root can be resolved — this keeps the failure\n * loud at the call site (matching how the generator itself throws above).\n */\n/**\n * Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be\n * redone before `docker compose up`.\n *\n * ## The hazard this closes\n *\n * Docker does not fail on a missing bind-mount SOURCE — it silently creates a DIRECTORY there. So a\n * file the container expects becomes a directory, and the failure surfaces inside the container as\n * something unrelated to mounting. immudb reports\n * `unable to configure the cryptographic signer: read /etc/immudb/state-signing.key: is a directory`\n * and exits unhealthy, which compose reports only as `container wildo-immudb is unhealthy`.\n *\n * Measured 2026-08-22 on the first cold start after a full `local_data` reset: the compose file\n * survived the reset while the key it mounts did not. The render is skipped when the compose file\n * already exists — the \"write only when missing\" test asks about the COMPOSE FILE, never about the\n * files compose MOUNTS — and the only other force condition is \"new secret material was minted\".\n * The key material was NOT new (it lives in the authored `secrets.json`, outside `local_data`), so\n * nothing forced a re-render and `wildo local dev` failed with infrastructure it could not start.\n *\n * The material always survives a data reset, so this is recoverable by construction: re-render, and\n * the key is written back from `secrets.json`.\n *\n * Returns false when immudb is not self-hosted here, or when no keypair is provisioned at all —\n * that second case is the documented graceful degradation (immudb runs UNSIGNED and the client warns\n * once), not something to force a render for.\n */\nexport function isComposeHostMountedArtifactMissing(\n env: PlatformEnvironmentConfiguration,\n localDataPath: string,\n): boolean {\n if (!resolveIncludeLocalImmudb(env)) return false;\n\n const secrets = SecretsReader.loadSecrets(env.name);\n if (!secrets?.immudb?.stateSigningPrivateKey) return false;\n\n const signingKeyPath = join(localDataPath, IMMUDB_SIGNING_KEY_DIR, IMMUDB_SIGNING_KEY_FILENAME);\n // A DIRECTORY at this path is the Docker-created stand-in, and is exactly as broken as absence —\n // re-rendering replaces it with the file.\n if (!existsSync(signingKeyPath)) return true;\n return !statSync(signingKeyPath).isFile();\n}\n\n/**\n * Pre-create the host directories the rendered compose file will bind-mount.\n *\n * NO-OP in `DOCKER_VOLUME` mode, and that is the point rather than an optimization: the whole\n * reason this function exists is that Docker creates a MISSING bind source as a ROOT-OWNED\n * directory the container's UID then cannot write to. A named volume has no host source, so there\n * is nothing to pre-create — and creating `local_data/<service>/` anyway would leave empty\n * directories that look like data and that `wildo local doctor` would later report as leftovers.\n *\n * The infrastructure-host assertion runs FIRST, before the mode is consulted: whether this\n * environment may converge backing services at all is a question about ownership, and it must be\n * answered the same way under both storage modes.\n */\nexport function ensureLocalDataServiceDirsForComposeRender(\n env: PlatformEnvironmentConfiguration,\n): void {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.CONVERGE_BACKING_SERVICES);\n if (usesDockerVolumeLocalData(env)) return;\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot pre-create local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.ensureLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.4) — wipe wrapper for `wildo local reset`.\n *\n * Counterpart of {@link ensureLocalDataServiceDirsForComposeRender}. Resolves\n * the SaaS root and the same per-env service list that compose actually\n * rendered, then calls {@link EnvironmentPaths.wipeLocalDataServiceDirs}\n * fail-closed — so a stale on-host PG datadir or Mongo journal cannot\n * silently survive a reset and corrupt the next `wildo local up`.\n *\n * Caller MUST invoke this AFTER `docker compose down -v` so no container\n * still holds the bind-mount target open.\n */\nexport function wipeLocalDataServiceDirsForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.WIPE_BACKING_SERVICE_DATA);\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot wipe local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Remove this environment's backing-service data VOLUMES.\n *\n * Unconditional, not gated on the current mode, and that asymmetry with\n * {@link ensureLocalDataServiceDirsForComposeRender} is deliberate: `reset` means \"leave nothing\n * behind\", and an environment that ran under `DOCKER_VOLUME` and was then re-authored to\n * `HOST_PATH` still has those volumes. Gating the wipe on the CURRENT mode would strand exactly\n * the data a reset was asked to destroy, and volumes are the half with no visible directory to\n * notice it in. Its sibling `wipeLocalDataServiceDirsForCompose` is likewise unconditional, so\n * `reset` clears both halves whichever way the environment is authored — and the Kind k8s lane\n * shares the host tree, so that half must be cleared regardless.\n *\n * Tolerant of an absent volume (`docker volume rm` on a name nothing created is not a failure:\n * absence is the state being asked for), fail-CLOSED on anything else, matching the host wipe's\n * D6 contract. A volume still held by a container reports `volume is in use` and throws here,\n * which is the loud version of the caller having skipped `docker compose down`.\n *\n * Caller MUST invoke this AFTER `docker compose down` so nothing still holds the volumes.\n */\nexport function wipeLocalDataVolumesForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.WIPE_BACKING_SERVICE_DATA);\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot remove backing-service data volumes: no targeted SaaS app root detected.',\n );\n }\n const emitted = new Set(getDockerComposeLocalDataServices(env));\n const names = LOCAL_DATA_MOUNTS\n .filter((mount) => emitted.has(mount.service))\n .map((mount) => buildLocalDataVolumeName(saasRoot, mount.child ? `${mount.service}-${mount.child}` : mount.service));\n if (names.length === 0) return;\n\n const failures: string[] = [];\n for (const name of names) {\n const result = DockerUtils.removeVolume(name);\n if (!result.success) failures.push(`${name}: ${result.error ?? 'unknown error'}`);\n }\n if (failures.length > 0) {\n throw new Error(\n `Failed to remove ${failures.length} backing-service data volume(s):\\n - ${failures.join('\\n - ')}`,\n );\n }\n}\n\n/**\n * The ONE place `localDataStorage` is read.\n *\n * `PlatformEnvironmentConfiguration.localDataStorage` is optional because environment records are\n * built at many sites (hydration from the authored config, the registry cache, test fixtures), and\n * a site that does not yet mirror the field must not produce `undefined`. In a Handlebars boolean\n * context `undefined` is falsy, so an unmirrored environment would silently render the REMOTE\n * bind-mount shape onto a developer's machine — the exact configuration this mechanism exists to\n * stop. Falling back to the derivation keyed on `locationType` makes that case correct instead.\n *\n * Read through this function; never off the field.\n */\nexport function resolveLocalDataStorage(\n env: PlatformEnvironmentConfiguration,\n): WildoLocalDataStorage {\n return env.localDataStorage ?? resolveDefaultLocalDataStorage(env.locationType);\n}\n\n/**\n * True when this environment's backing-service DATA lives in Docker named volumes rather than on\n * the host filesystem. Drives the compose template's per-service mount shape and the top-level\n * `volumes:` block, and tells the `up` / `reset` lifecycle whether there are host directories to\n * create and wipe at all.\n */\nexport function usesDockerVolumeLocalData(\n env: PlatformEnvironmentConfiguration,\n): boolean {\n return resolveLocalDataStorage(env) === WildoLocalDataStorage.DOCKER_VOLUME;\n}\n\n/**\n * Compose volume name for one backing service's data, e.g.\n * `wildo-local-data-wonder-todos-3f2a9b1c-postgresql`.\n *\n * ## Why the name is scoped to the APPLICATION, and why that is not optional\n *\n * Every application keeps its own backing-service data: `local_data` lives under the application's\n * own SaaS root, so Wonder Todos and Wonder CRM each have their own Postgres datadir, their own\n * Mongo journal, and so on. Only one platform stack runs on a machine at a time — the container\n * names are fixed (`wildo-postgresql`, …) and the compose project name is the constant\n * `wildo-local` for every application — so the stacks ALTERNATE, each bringing its own data.\n *\n * A volume named for the service alone would therefore MERGE what is today separate: bring one\n * application's stack up, then the other's, and both would mount one `wildo-local-data-postgresql`.\n * Nothing would fail; two applications' databases would simply become one. Scoping the name to the\n * SaaS root reproduces the separation the host-path layout already has, so switching storage mode\n * changes performance and nothing else.\n *\n * The scope is `<basename>-<8 hex of the SaaS root>`: the basename so `docker volume ls` is\n * readable, the digest so two applications whose directories share a name cannot collide. Derived\n * from the SaaS ROOT rather than from `saasConfig.slug` because the slug needs the SaaS config\n * loaded, which framework-developer mode deliberately skips — and a naming scheme that is\n * unavailable in the mode this monorepo runs in is not a naming scheme.\n *\n * Named EXPLICITLY (a `name:` in the `volumes:` block) rather than left to compose's\n * `<project>_<key>` derivation, which would prefix the constant `wildo-local` and separate nothing.\n */\nexport function buildLocalDataVolumeName(saasRoot: string, service: string): string {\n return `${LOCAL_DATA_VOLUME_PREFIX}${buildLocalDataVolumeScope(saasRoot)}-${service}`;\n}\n\n/**\n * The per-application segment of every data-volume name. Stable for a given SaaS root, and a legal\n * Docker volume-name fragment (`[a-zA-Z0-9][a-zA-Z0-9_.-]*`) for any path.\n */\nexport function buildLocalDataVolumeScope(saasRoot: string): string {\n const digest = createHash('sha256').update(saasRoot).digest('hex').slice(0, 8);\n const readable = basename(saasRoot).toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '');\n return readable.length > 0 ? `${readable}-${digest}` : digest;\n}\n\nconst LOCAL_DATA_VOLUME_PREFIX = 'wildo-local-data-';\n\n/**\n * Every DATA mount the platform compose template emits, as `<template key> → <service, child?>`.\n *\n * This table is the single source of truth for two things that must not drift apart: the mount\n * SOURCE each service gets (a host path or a volume name), and the set of named volumes the\n * top-level `volumes:` block declares. Deriving both from one table is what makes a compose file\n * that mounts a volume it never declared unrepresentable — the failure mode a hand-kept second\n * list produces, and the one compose reports only at `up` time.\n *\n * `child` mirrors the image's own declared `VOLUME`s. `mongo` declares BOTH `/data/db` and\n * `/data/configdb`, so each needs its own mount source; giving it one mount at `/data` leaves the\n * other child to an anonymous volume that survives `down` and is never wiped. Every other image\n * here declares at most one, so it has no child.\n *\n * Keys are what the template interpolates (`{{localDataSources.mongodbDb}}`), so a key renamed\n * here without the template is a mount that renders empty — covered by the render test that asserts\n * no `{{` survives and that every emitted volume is declared.\n */\nconst LOCAL_DATA_MOUNTS: readonly { key: string; service: string; child?: string }[] = [\n { key: 'mongodbDb', service: 'mongodb', child: 'db' },\n { key: 'mongodbConfigdb', service: 'mongodb', child: 'configdb' },\n { key: 'mongot', service: 'mongot' },\n { key: 'valkey', service: 'valkey' },\n { key: 'rabbitmq', service: 'rabbitmq' },\n { key: 'minio', service: 'minio' },\n { key: 'postgresql', service: 'postgresql' },\n { key: 'clamav', service: 'clamav' },\n { key: 'immudb', service: 'immudb' },\n];\n\n/**\n * Resolve each data mount's SOURCE for the rendered compose file.\n *\n * In `DOCKER_VOLUME` mode a source is a named volume, which compose resolves against the\n * `volumes:` block; in `HOST_PATH` mode it is the absolute host directory, unchanged from what this\n * template has emitted since the Slice 4 cutover. Returning a plain map keeps every mount in the\n * template a single uniform line instead of nine conditionals — the mount shape is one decision,\n * taken here, not nine decisions repeated in markup.\n */\nexport function buildLocalDataMountSources(\n env: PlatformEnvironmentConfiguration,\n saasRoot: string,\n localDataPath: string,\n): Record<string, string> {\n const useVolumes = usesDockerVolumeLocalData(env);\n const sources: Record<string, string> = {};\n for (const mount of LOCAL_DATA_MOUNTS) {\n /*\n * Concatenated with a literal `/` rather than joined through `path`, because `localDataPath` is\n * the HOST's absolute path and on Windows that is `C:\\\\Users\\\\…`. `path.posix.join` would\n * normalize it and `path.win32.join` would emit backslashes the compose parser reads as\n * escapes; string concatenation reproduces byte-for-byte what this template has emitted since\n * the Slice 4 cutover, which Docker Desktop for Windows accepts today.\n */\n sources[mount.key] = useVolumes\n ? buildLocalDataVolumeName(saasRoot, mount.child ? `${mount.service}-${mount.child}` : mount.service)\n : `${localDataPath}/${mount.service}${mount.child ? `/${mount.child}` : ''}`;\n }\n return sources;\n}\n\n/**\n * The named volumes this env's compose file must DECLARE — derived from the same table as the\n * mount sources, and narrowed to the services the template actually emits.\n *\n * Empty in `HOST_PATH` mode, which is what drops the whole `volumes:` block: compose rejects an\n * empty mapping, and a block declaring volumes no service mounts would leave `docker volume ls`\n * carrying entries nothing explains.\n *\n * ## Why `mongot` needs its own gate\n *\n * `getDockerComposeLocalDataServices` is the DIRECTORY list, and it includes `mongot` whenever\n * mongod is self-hosted. The template is stricter: it renders the mongot service only under\n * `{{#if mongotPasswordHostPath}}`, because without the sync-source password materialized from\n * `secrets.json` a mongot cannot authenticate, and a half-wired one mongod routes `$vectorSearch`\n * to is worse than none.\n *\n * That difference is invisible in `HOST_PATH` mode — the cost is an empty directory — and becomes\n * visible in `DOCKER_VOLUME` mode, where `docker compose up` CREATES every declared volume, so the\n * looser list leaves an orphan in `docker volume ls` that nothing mounts and nothing explains.\n * Rather than widen the directory list (it is deliberately defensive: the password may be minted\n * between a render and the next `up`), the caller passes the gate the template itself uses.\n */\nexport function buildLocalDataVolumeDeclarations(\n env: PlatformEnvironmentConfiguration,\n saasRoot: string,\n renderedServices: { mongot: boolean },\n): readonly { name: string }[] {\n if (!usesDockerVolumeLocalData(env)) return [];\n const emitted = new Set(getDockerComposeLocalDataServices(env));\n if (!renderedServices.mongot) emitted.delete('mongot');\n return LOCAL_DATA_MOUNTS\n .filter((mount) => emitted.has(mount.service))\n .map((mount) => ({\n name: buildLocalDataVolumeName(saasRoot, mount.child ? `${mount.service}-${mount.child}` : mount.service),\n }));\n}\n\n/**\n * Slice 4 (4.3) — single source of truth for which infra services the\n * generated compose file actually renders for a given env.\n *\n * MUST stay in lockstep with the `{{#if include*}}` guards in\n * `docker-compose.wildo-platform.yml.hbs`. Returns the short container-name\n * list (the same tokens used as `local_data/<service>/` subdir names and\n * as the K8s PV `hostPath` `/mnt/local-data/<service>/` segment).\n *\n * Used by every CLI seam that runs `docker compose up` to pre-create the\n * matching `local_data/<service>/` bind-mount source directories before\n * Docker would otherwise create them root-owned. A divergence between this\n * list and the template's `{{#if}}` guards would silently create\n * permission-denied failures on first up — so callers MUST use this helper,\n * not a hand-written list.\n *\n * Stateless services are intentionally excluded — they have no\n * data mount in the template.\n *\n * This is the DIRECTORY and WIPE list, and it is deliberately looser than what the template\n * renders for one service: `mongot` is included whenever mongod is self-hosted, while the template\n * renders the mongot SERVICE only once its sync-source password is materialized. Pre-creating a\n * directory the password may make live moments later is harmless; DECLARING a volume for a service\n * that does not render is not, because `docker compose up` creates every declared volume. So\n * {@link buildLocalDataVolumeDeclarations} takes the template's own gate as an argument rather than\n * this list being tightened — see its JSDoc.\n */\nexport function getDockerComposeLocalDataServices(\n env: PlatformEnvironmentConfiguration,\n): readonly string[] {\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push('mongodb');\n // Issue #74 — mongot's Lucene index directory. Same gate as mongod (it is an attachment to\n // one, not an independently sourced service), and STATEFUL: losing it costs a full re-read\n // of every indexed collection through the change stream, not just a restart.\n services.push('mongot');\n }\n // Gated since the managed-selection fix: an env that declares `redis` / `rabbitmq` / `s3` as\n // MANAGED points at somebody else's endpoint and must not also bind-mount `local_data/<svc>/` for\n // a container it does not run. An UNDECLARED kind still lands here — see\n // {@link resolveIncludeLocalValkey} for why absence is not withdrawal.\n if (resolveIncludeLocalValkey(env)) {\n services.push('valkey');\n }\n if (resolveIncludeLocalRabbitMQ(env)) {\n services.push('rabbitmq');\n }\n if (resolveIncludeLocalMinIO(env)) {\n services.push('minio');\n }\n if (EnvironmentUtils.needsLocalPostgreSQL(env)) {\n services.push('postgresql');\n }\n if (resolveIncludeLocalClamAV(env)) {\n services.push('clamav');\n }\n if (resolveIncludeLocalImmudb(env)) {\n services.push('immudb');\n }\n return services;\n}\n\n/**\n * MinIO console UI listens on 9001 alongside the API on 9000. The console\n * port is image-defined and not part of the author's `s3` surface — keep it\n * pinned so the generated compose file always exposes the admin UI for\n * local debugging.\n */\nconst MINIO_CONSOLE_PORT = 9001;\n\n/**\n * Resolve the host-side port to publish for an infra container.\n *\n * The container always listens on its image-default port (`internalPort`).\n * The author may override the host-side port to avoid conflicts with other\n * services on their machine; in that case the compose generator emits\n * `${authorPort}:${internalPort}` so that:\n * - tools on the host connect to `localhost:${authorPort}` (matches the\n * `HOST_FACING` perspective from `ServiceAddressResolver`)\n * - other compose containers connect to `${containerName}:${internalPort}`\n * (matches the `CONTAINER_INTERNAL` perspective)\n */\nfunction resolveInfraHostPort(\n env: PlatformEnvironmentConfiguration,\n kind: BackingServiceKind,\n internalPort: number,\n): number {\n const override = env.backingServices?.[kind];\n if (!override || override.source !== BackingServiceSource.SELF) {\n return internalPort;\n }\n return override.port ?? internalPort;\n}\n\n\n// ============================================================================\n// Generate .env.wildo-platform (Docker Compose env file)\n// ============================================================================\n\n/**\n * Encode one `.env.wildo-platform` value for its reader: **Docker Compose's own env-file parser**\n * (compose-go), which is NOT the `dotenv` package that reads the per-service `.env` files.\n *\n * ## The two readers differ on exactly one axis\n *\n * Both expand `\\n` / `\\r` inside double quotes and both accept a quoted value spanning physical\n * lines. They diverge on backslash escapes — verified 2026-08-05 with `docker compose config`, the\n * authoritative resolution step:\n *\n * | reader | `\\n` in `\"…\"` | `\\\"` in `\"…\"` |\n * |------------|---------------|----------------------|\n * | `dotenv` | expands | NOT unescaped (kept literal — the trap `encodeDotenvValue` documents) |\n * | compose-go | expands | unescapes |\n *\n * So compose-go is a FULLY unescaping reader, and the correct encoding here is the ordinary\n * escape-and-quote — the same contract `formatEnvFile` (ci-deploy-generator) already writes for the\n * compose lane. `encodeDotenvValue`'s form-SELECTION exists to dodge a lossiness that only affects\n * dotenv; do not reuse it here, and do not \"fix\" this to match it.\n *\n * ## Why not the previous verbatim-quote\n *\n * This helper used to emit `\"${value}\"` verbatim for multi-line values (reproducing the bytes the\n * old `quoteMultiline` produced). That is lossy the moment a value carries BOTH a newline and a\n * `\"`: the inner quote closes the string early and Compose rejects the whole file with\n * `unexpected character \"\\\"\" in variable name` (reproduced 2026-08-05). No value routed here does\n * that today — PEMs carry no quotes — but it is the same latent writer/reader mismatch that\n * produced this session's two live incidents, so it is closed rather than documented.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`), so encoding happens exactly once, here.\n */\nexport function encodeComposeEnvValue(value: string): string {\n if (!/[\\s=#\"'\\\\]|\\n/.test(value) && value !== '') return value;\n return `\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`;\n}\n\nexport function generateEnvWildoPlatform(\n env: PlatformEnvironmentConfiguration,\n isFrameworkDeveloper: boolean,\n credentials: PlatformEnvSecretsJson,\n): void {\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.WRITE_PLATFORM_ENV);\n // Single load+hydrate seam — the platform env this generator emits for a REMOTE compose deploy\n // must carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n\n const lines: string[] = [\n GENERATED_FILE_HEADER,\n '',\n '# === Infra service credentials ===',\n ];\n\n for (const [key, value] of Object.entries(infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n\n if (!isFrameworkDeveloper) {\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n\n lines.push('');\n lines.push('# === Platform service env vars ===');\n\n for (const [key, value] of Object.entries(platformEnv)) {\n if (!(key in infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n }\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM), lines.join('\\n') + '\\n');\n}\n\n// ============================================================================\n// Render Docker Compose template (Handlebars)\n// ============================================================================\n\n/**\n * Step 6 — compose entry shapes for the per-app minion / worker\n * services. Each service builds from the **wildo-ai monorepo root**\n * (Q1 (B) decision 2026-05-06) so the package's Dockerfile can resolve\n * file:-injected `@wildo-ai/*` engine deps + the nested Wonder Todos\n * workspace lockfile in one go (mirrors `examples/wonder-todos/frontend/Dockerfile`'s\n * established pattern). The Dockerfile path is therefore relative to\n * the framework root, not to the package itself.\n *\n * Env-files mount the Step 5b `.wildo-providers.env`; the platform's\n * `.env.wildo-platform` is loaded separately via `docker compose --env-file`\n * (see `docker.service.ts`) so we deliberately do NOT mount it again\n * via `env_file:` here.\n *\n * Both shapes are emitted under the compose `app-runtimes` profile so\n * `wildo local up` defaults to the platform-only flow and operators\n * opt-in to running app runtimes locally with\n * `docker compose --profile app-runtimes up` (or a future\n * `--include-app-runtimes` flag on `wildo local up`).\n */\nexport interface DockerComposeAppMinionEntry {\n /** Compose service name — `<saasSlug>-minion-<dnsName>` (bucket key RFC1123-normalized via `buildMinionServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the minion package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > minions`. */\n minionKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the minion boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close the container at boot. Resolved from the\n * persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /**\n * `user:` — `<uid>:<gid>` from the authored `isolation`, mirroring the k8s\n * pod `runAsUser`/`runAsGroup`.\n */\n runAsUser: string;\n /**\n * The SAME uid/gid as {@link runAsUser}, kept as separate numbers because each\n * `tmpfs:` entry must carry `uid=`/`gid=` options — docker mounts a tmpfs\n * root-owned 0755, so a non-root container cannot write it. Two fields rather\n * than parsing the combined string back apart in the template.\n */\n runAsUserId: number;\n runAsGroupId: number;\n /**\n * Every writable tmpfs path: the mandatory `/tmp` first, then authored\n * additions. Compose gets `tmpfs:` where k8s gets `emptyDir` volumes; the\n * pairing with `read_only: true` is identical and equally load-bearing (the\n * liveness heartbeat file lives under `/tmp`).\n */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling, mirroring the k8s value. */\n pidsLimit: number;\n}\n\nexport interface DockerComposeAppWorkerEntry {\n /** Compose service name — `<saasSlug>-worker-<dnsName>` (bucket key RFC1123-normalized via `buildWorkerServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the worker package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > workers`. */\n workerKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the worker boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close `readWorkerBootstrapEnv()` at boot. Resolved\n * from the persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /** HTTP port the worker listens on (also the host-side mapping). */\n httpPort: number;\n /** `/healthz` (or operator-overridden) — informational; no compose-side healthcheck is configured. */\n healthPath: string;\n /** `/readyz` (or operator-overridden) — informational; no compose-side readiness probe is configured. */\n readyPath: string;\n /** `user:` — `<uid>:<gid>`, mirroring the k8s pod `runAsUser`/`runAsGroup`. */\n runAsUser: string;\n /** Same values as {@link DockerComposeAppWorkerEntry.runAsUser}, as numbers for the `tmpfs:` `uid=`/`gid=` options. */\n runAsUserId: number;\n runAsGroupId: number;\n /** Writable tmpfs paths: the mandatory one first, then authored additions. */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling. */\n pidsLimit: number;\n}\n\n/**\n * The compose service + container name for a per-app minion/worker. Delegates to\n * the SHARED name builders so the compose service name is RFC1123-normalized and\n * byte-identical to the k8s Service name, the CI-built image ref, and the backend's\n * `WILDO_WORKER_<NAME>_URL` dispatch host (all derived from the same helper). A\n * camelCase bucket key (`marketingScrapper`) therefore resolves the same on the\n * compose network as in k8s (`{slug}-minion-marketing-scrapper`) — the backend\n * dispatch URL host would otherwise never resolve to the raw-key service name. The\n * RAW bucket key stays the runtime IDENTITY (`APP_OWNED_SERVICE_NAME`), carried\n * separately on the compose entry as `workerKey`/`minionKey`.\n */\nfunction deriveAppRuntimeServiceName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return kind === 'minion'\n ? buildMinionServiceName(saasSlug, bucketKey)\n : buildWorkerServiceName(saasSlug, bucketKey);\n}\n\nfunction deriveAppRuntimeContainerName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return deriveAppRuntimeServiceName(saasSlug, kind, bucketKey);\n}\n\n/**\n * Resolve the wildo-ai monorepo root from the framework path passed to\n * the renderer. Used as the compose `build.context` so each runtime-host\n * Dockerfile sees the full monorepo (file:-injected engine deps, nested\n * Wonder Todos workspace lockfile, etc.).\n */\nfunction resolveFrameworkRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).repositoryRoot;\n}\n\n/**\n * POSIX-relative path from the framework root to a package's Dockerfile.\n * Compose's `dockerfile:` field is interpreted relative to `build.context`\n * (the framework root for Step 6), so the path here must be relative\n * AND POSIX-style (Compose normalizes Windows paths but mixed-style is a\n * known footgun on macOS-host / Linux-container builds).\n */\nfunction relativeDockerfilePath(frameworkRoot: string, packageRoot: string): string {\n return posix.join(...relative(frameworkRoot, packageRoot).split(/[/\\\\]/), 'Dockerfile');\n}\n\n/**\n * Build the per-minion compose entries from the loaded saas + minion\n * configs. The provider env-file path is stable across runs (Step 5b\n * emits it on every `wildo config sync`); compose mounts it via\n * `env_file:` so the minion's process env contains the canonical\n * `WILDO_PROVIDER_*` keys at boot.\n */\nfunction buildAppMinionComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n minionEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoMinionConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppMinionEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, minionEntries, applicationId } = input;\n return minionEntries.map((entry) => {\n const ref = saasConfig.minions?.[entry.key];\n if (!ref) {\n // Defensive — `loadMinionConfigs` reads from this same bucket so\n // mismatch is impossible in practice. Fail loudly if invariants drift.\n throw new Error(\n `[docker-compose-generator] Minion '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > minions. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'minion', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'minion', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n minionKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n // Mandatory `/tmp` first, then authored additions — the same ordering and\n // the same reason as the k8s renderer. The schema rejects `/tmp` inside\n // `writablePaths`, so prepending cannot produce a duplicate.\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n };\n });\n}\n\nfunction buildAppWorkerComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n workerEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoWorkerConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppWorkerEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, workerEntries, applicationId } = input;\n return workerEntries.map((entry) => {\n const ref = saasConfig.workers?.[entry.key];\n if (!ref) {\n throw new Error(\n `[docker-compose-generator] Worker '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > workers. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'worker', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'worker', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n workerKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n httpPort: entry.config.http.port,\n healthPath: entry.config.http.healthPath,\n readyPath: entry.config.http.readyPath,\n };\n });\n}\n\n/**\n * Docker Compose shell-interpolation token used as the `APPLICATION_ID` value\n * ONLY when no persisted identity is available yet — a cold\n * `config sync --domain manifest` / `wildo local up` self-heal before the app's\n * first credential fetch. Preserves the pre-fix behaviour (interpolated from\n * `.env.wildo-platform`, which resolves empty) and leaves the operator a manual\n * override escape hatch, rather than silently baking an empty literal. Normal\n * flows persist the real id before rendering, so this is the rare cold path.\n */\nconst APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK = '${APPLICATION_ID}';\n\nexport async function renderDockerComposeTemplate(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag?: string,\n): Promise<void> {\n /*\n * The shared compose project is rendered by its OWNER only. A hosted application's render would carry\n * its own `local_data` paths under the host's project name and container names — `up` from it would\n * recreate the host's containers over a different data directory, which is how a stale database\n * appeared under the right name before `infrastructureHost` existed.\n */\n InfrastructureHost.assertOwnsSharedInfrastructure(env, SharedInfrastructureAction.RENDER_PLATFORM_COMPOSE);\n const config = EnvironmentUtils.loadConfigJson(env.name);\n if (!config) throw new Error('config.json not found');\n\n const processor = new TemplateProcessor(\n resolveFrameworkLayout(frameworkPath).dockerComposeTemplatesHome,\n );\n\n // Slice 4 (4.2) — `localDataPath` template variable.\n //\n // Resolves to the absolute host path\n // `<saasRoot>/.wildo-saas/local_data` so each per-service bind mount in\n // the rendered compose file is unambiguous. We deliberately use ABSOLUTE\n // paths (D4 decision in the slice plan) instead of paths relative to the\n // generated compose file location:\n // - Relative paths would walk up several segments\n // (`../../../local_data/<svc>`) and break if the on-disk layout\n // between `.wildo-saas/infrastructure/environments/<env>/docker-compose/`\n // and `.wildo-saas/local_data/` ever changes.\n // - Absolute paths are independent of `cwd` and survive any future\n // reshuffling of the runtime layout.\n //\n // The CLI guarantees the per-service subdirs exist before\n // `docker compose up` via `EnvironmentPaths.ensureLocalDataServiceDirs()`\n // (Slice 4.3); Docker would otherwise create them as root-owned mount\n // points which container UIDs cannot write to.\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot render docker-compose template: no targeted SaaS app root detected.',\n );\n }\n const localDataPath = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n\n // Step 6 — load per-app minion/worker configs so the compose template\n // can emit a service for each one under the `app-runtimes` profile.\n // The platform path stays unchanged when there are no minions/workers\n // declared (the template's `{{#if appMinions.length}}` / `{{#if appWorkers.length}}`\n // guards drop the sections entirely in that case). Framework-developer\n // mode skips the load to keep the platform-only flow side-effect-free.\n const saasConfigForRuntimes = isFrameworkDeveloper\n ? null\n : await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n const minionEntries = saasConfigForRuntimes\n ? await loadMinionConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n const workerEntries = saasConfigForRuntimes\n ? await loadWorkerConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n // Step 6 (Q1 (B)) — `build.context` for runtime-host services is the\n // wildo-ai monorepo root so each Dockerfile can resolve file:-injected\n // engine deps. The Dockerfile itself lives inside the package; its\n // path is computed relative to the framework root.\n const frameworkRoot = resolveFrameworkRoot(frameworkPath);\n\n // Resolve the owning app's apps-manager-minted APPLICATION_ID from the\n // persisted `application-runtime-identity.json` so each per-app minion/worker\n // service bakes the correct bootstrap-identity literal. Read OFFLINE (no\n // apps-manager round-trip) so even the `--domain manifest` re-render and the\n // `wildo local up` self-heal produce a runnable app-runtimes block; the\n // credential-fetching flows persist the value up front. Falls back to the\n // `${APPLICATION_ID}` interpolation token only for a cold app that has never\n // been bootstrapped in this env.\n const applicationId = saasConfigForRuntimes\n ? (EnvironmentUtils.loadApplicationRuntimeIdentity(env.name)?.[saasConfigForRuntimes.slug]?.applicationId\n ?? APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK)\n : APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK;\n\n const appMinions = saasConfigForRuntimes\n ? buildAppMinionComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, minionEntries, applicationId })\n : [];\n const appWorkers = saasConfigForRuntimes\n ? buildAppWorkerComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, workerEntries, applicationId })\n : [];\n\n // Slice 2 Phase 5b Wave 2 — local OTel collector inclusion + host port.\n // Emitted only when infra `observability.enabled` AND the authored OTLP\n // endpoint targets localhost (the endpoint IS this local collector; a remote\n // BetterStack endpoint gets no local collector). The host port is parsed from\n // the endpoint so the published `localhost:<port>` matches exactly what the\n // preload-instrumented backend + companion hosts target; defaults to the\n // OTLP/HTTP standard 4318 when the endpoint omits an explicit port.\n const OTEL_OTLP_HTTP_DEFAULT_PORT = '4318';\n const otelObservability = env.observability;\n let includeOtelCollector = false;\n let otelCollectorHostPort = OTEL_OTLP_HTTP_DEFAULT_PORT;\n if (otelObservability?.enabled) {\n let parsedEndpoint: URL | undefined;\n try {\n parsedEndpoint = new URL(otelObservability.endpoint);\n } catch {\n parsedEndpoint = undefined;\n }\n if (\n parsedEndpoint &&\n (parsedEndpoint.hostname === 'localhost' ||\n parsedEndpoint.hostname === '127.0.0.1')\n ) {\n includeOtelCollector = true;\n otelCollectorHostPort = parsedEndpoint.port || OTEL_OTLP_HTTP_DEFAULT_PORT;\n }\n }\n\n // Audit Phase 2 — materialize the immudb state-signing PRIVATE key so the self-hosted immudb\n // container can sign its `ImmutableState` (`--signingKey`), turning the whole-server-substitution\n // defense ON. Only when this env self-hosts immudb AND a keypair was provisioned\n // (`credentials.immudb`, minted from the `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry at setup\n // and by the idempotent self-heal, so present for any file-backed env). The key is the SEC1 \"EC PRIVATE KEY\"\n // PEM immudb parses; written `0644` because the compose bind mount preserves host ownership and\n // immudb's container UID differs, so the file must be world-readable to load (proven in the\n // immudb integration test). SERVER-side ONLY — the private key never enters app env; the matching\n // PUBLIC key reaches the audit client via `IMMUDB_STATE_PUBLIC_KEY` (env-vars-builder). When no\n // keypair is provisioned the template's `{{#if immudbSigningKeyHostPath}}` block drops and immudb\n // runs UNSIGNED (client warns once) — graceful degradation.\n let immudbSigningKeyHostPath: string | undefined;\n // The built-in `immudb` admin's INITIAL password, sourced from the operator's `IMMUDB_PASSWORD`\n // provider secret so the server's admin login matches the credential the audit-sink provider\n // connects with. `IMMUDB_CREDENTIAL_ENV_KEYS`' own docstring states this copy as the contract\n // (\"its value is copied into the server's ADMIN_PASSWORD so the two always match (single source of\n // truth) — otherwise the server's admin login and the app's connection password would diverge (an\n // operator footgun)\"), and the K8S lane implements it (`k8s-secrets-generator` →\n // `immudb/deployment.yaml.hbs`). THIS lane did not: the compose service rendered no `environment:`\n // at all, so a self-hosted local immudb always initialized on immudb's PACKAGED DEFAULT admin\n // password while the app connected with the authored one — the exact divergence the contract names,\n // reachable only on the lane every developer runs. One contract, two deployment lanes, applied to\n // one (`.claude/rules/invariant-call-site-enumeration.md`).\n //\n // Read from the SAME `SecretsReader` load as the signing key. Undefined ⇒ the template's\n // `{{#if immudbAdminPassword}}` block drops and immudb keeps its packaged default, matching both\n // the previous compose behavior and the k8s lane's `optional: true` secretKeyRef.\n //\n // ⚠️ immudb only adopts this on a FRESH data dir — it is the INITIAL password, not a reset. An\n // existing `local_data/immudb` keeps whatever it was initialized with, so changing the authored\n // value on a provisioned env requires removing that directory (or rotating via `immuadmin`).\n let immudbAdminPassword: string | undefined;\n if (resolveIncludeLocalImmudb(env)) {\n const secrets = SecretsReader.loadSecrets(env.name);\n const signingPrivateKey = secrets?.immudb?.stateSigningPrivateKey;\n if (signingPrivateKey) {\n const signingKeyDir = join(localDataPath, IMMUDB_SIGNING_KEY_DIR);\n mkdirSync(signingKeyDir, { recursive: true });\n const signingKeyPath = join(signingKeyDir, IMMUDB_SIGNING_KEY_FILENAME);\n writeFileSync(signingKeyPath, signingPrivateKey, { mode: 0o644 });\n immudbSigningKeyHostPath = signingKeyPath;\n }\n immudbAdminPassword = secrets?.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n }\n\n // Issue #74 — materialize the `mongot` sync-source password so BOTH containers that need it can\n // read the SAME bytes: `mongodb-init` creates the `searchCoordinator` user with it, and `mongot`\n // authenticates with it. Neither can be given the other's copy, and minting it per-container is\n // how the two silently diverge — so it comes from the single framework-managed material and is\n // written once here.\n //\n // `0400` because mongot enforces it (see MONGOT_PASSWORD_DIR). Written on every render, which is\n // deliberate: the compose file is skipped when it already exists, so a `local_data` reset that\n // removes this file while leaving the compose file behind is exactly the failure\n // `isComposeHostMountedArtifactMissing` was written for one service over — and here it would\n // surface as a mongot that cannot authenticate rather than as anything naming the missing file.\n //\n // `undefined` ⇒ the template's `{{#if mongotPasswordHostPath}}` guard drops the mongot service\n // entirely and mongod runs without a search sidecar. That is the honest degradation: a\n // half-wired mongot that mongod routes `$vectorSearch` to and that cannot answer is worse than\n // no mongot at all, because the application's boot probe tests REACHABILITY.\n let mongotPasswordHostPath: string | undefined;\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n const mongotPassword = SecretsReader.loadSecrets(env.name)?.mongot?.syncSourcePassword;\n if (mongotPassword) {\n const mongotAuthDir = join(localDataPath, MONGOT_PASSWORD_DIR);\n mkdirSync(mongotAuthDir, { recursive: true });\n const passwordPath = join(mongotAuthDir, MONGOT_PASSWORD_FILENAME);\n // A PREVIOUS render left this file at 0400 — owner READ-only — and `writeFileSync` opens for\n // WRITE, so a re-render EACCES's on the file it wrote itself. That made `wildo local init`\n // succeed exactly once per machine and fail on every subsequent run, which is the worst shape\n // for a first-run-only bug: the failure lands on someone whose environment already worked.\n // Widen just long enough to rewrite, then re-narrow. Unlinking instead would leave a window\n // with no file at all, which a running mongot re-reading its password would lose.\n if (existsSync(passwordPath)) {\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_REWRITE_MODE);\n }\n writeFileSync(passwordPath, mongotPassword, { mode: MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE });\n // `writeFileSync`'s `mode` is only honored when it CREATES the file — an existing file keeps\n // whatever mode it already had, so re-render alone cannot repair a loosened one. chmod\n // unconditionally, or a file that was ever created differently keeps crashing mongot.\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE);\n mongotPasswordHostPath = passwordPath;\n }\n }\n\n const context = {\n composeName: DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME,\n /**\n * Slice 2 Phase 5b Wave 2 — local OTel collector. `includeOtelCollector`\n * gates both the service (under `services:`) and the inline `configs:`\n * entry that supplies its config (the contrib image is distroless — no\n * shell for an entrypoint heredoc). Ports default to OTLP/HTTP 4318.\n */\n includeOtelCollector,\n otelCollectorHostPort,\n otelCollectorInternalPort: OTEL_OTLP_HTTP_DEFAULT_PORT,\n includeLocalMongoDB: EnvironmentUtils.needsLocalMongoDB(env),\n /**\n * NOT `config.database.engine === POSTGRESQL` — see\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL}. That field also SUBTRACTS MongoDB\n * (`needsLocalMongoDB`), so it could never express \"MongoDB for the platform, PostgreSQL for the\n * application's resources\", which is what an app on the PostgreSQL persistence adapter needs.\n */\n includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),\n /**\n * Cache / broker / object storage. Each gates its own service block AND its `depends_on` entry\n * on `platform-init` — both, or compose refuses the whole project with\n * `service \"platform-init\" depends on undefined service \"valkey\"`, which is the failure mode a\n * half-applied gate produces (`.claude/rules/invariant-call-site-enumeration.md`).\n * `includeLocalMinIO` additionally gates the `minio-init` bucket-creation step, which exists\n * only to serve the local MinIO.\n */\n includeLocalValkey: resolveIncludeLocalValkey(env),\n includeLocalRabbitMQ: resolveIncludeLocalRabbitMQ(env),\n includeLocalMinIO: resolveIncludeLocalMinIO(env),\n includeLocalClamAV: resolveIncludeLocalClamAV(env),\n includeLocalImmudb: resolveIncludeLocalImmudb(env),\n /**\n * Absolute host path of the materialized immudb state-signing PRIVATE key, or `undefined`\n * when immudb is not self-hosted / no keypair is provisioned. Gates the `--signingKey` block\n * (mount + `command`) in the compose immudb service so it signs its state.\n */\n immudbSigningKeyHostPath,\n /**\n * The self-hosted immudb server's INITIAL admin password, copied from the operator's\n * `providerEnv.IMMUDB_PASSWORD` so the server admin and the audit-sink client share one source of\n * truth. `undefined` ⇒ the template's `environment:` block drops and immudb keeps its packaged\n * default (matching the k8s lane's `optional: true` secretKeyRef).\n */\n immudbAdminPassword,\n /**\n * Issue #74 — absolute host path of the materialized mongot sync-source password file, or\n * `undefined` when this env self-hosts no mongod / carries no mongot material. Gates the whole\n * `mongot` service and the `mongodb-init` step that creates its user.\n */\n mongotPasswordHostPath,\n /** In-container mount point both mongot and mongodb-init read that file at. */\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n includePlatformServices: !isFrameworkDeveloper,\n /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */\n appMinions,\n appWorkers,\n /** Slug used to disambiguate compose service names across coexisting apps on the same host. */\n saasSlug: saasConfigForRuntimes?.slug ?? '',\n /**\n * Registry-qualified in app-creator mode, bare local name in framework-developer mode —\n * see `resolvePlatformImageRef` for why the two lanes differ and why the tag is the\n * framework version rather than `latest`.\n */\n platformImageRef: resolvePlatformImageRef({\n isFrameworkDeveloper,\n runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,\n frameworkVersion: readVersion(),\n imageTag,\n }),\n localDataPath,\n /**\n * Per-mount SOURCE for every backing-service data directory, and the named volumes to declare.\n *\n * Both derive from one table (`LOCAL_DATA_MOUNTS`) so the file cannot mount a volume it does\n * not declare. `localDataVolumes` is empty in `HOST_PATH` mode, which drops the `volumes:`\n * block entirely — compose rejects an empty mapping.\n *\n * `localDataPath` stays in the context under BOTH modes: the two read-only secret FILE mounts\n * (immudb's state-signing key, mongot's sync-source password) are materialized onto the host\n * from `secrets.json` and have nowhere else to come from, so they are host mounts always.\n */\n localDataSources: buildLocalDataMountSources(env, saasRoot, localDataPath),\n localDataVolumes: buildLocalDataVolumeDeclarations(env, saasRoot, { mongot: mongotPasswordHostPath !== undefined }),\n /**\n * Host-side port mappings for self-deployed infra services. Each value\n * defaults to the image-internal port (which is what container-internal\n * traffic always uses); when the author overrides\n * `backingServices.<kind>.port` for a SELF source, that value drives the\n * host-side mapping so `localhost:${authorPort}` reaches the container.\n */\n infraHostPorts: {\n mongodb: resolveInfraHostPort(env, BackingServiceKind.MONGODB, INFRA_DEFAULT_PORTS.MONGODB),\n valkey: resolveInfraHostPort(env, BackingServiceKind.REDIS, INFRA_DEFAULT_PORTS.VALKEY),\n rabbitmq: resolveInfraHostPort(env, BackingServiceKind.RABBITMQ, INFRA_DEFAULT_PORTS.RABBITMQ),\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),\n clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),\n immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),\n },\n infraInternalPorts: {\n mongodb: INFRA_DEFAULT_PORTS.MONGODB,\n valkey: INFRA_DEFAULT_PORTS.VALKEY,\n rabbitmq: INFRA_DEFAULT_PORTS.RABBITMQ,\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: INFRA_DEFAULT_PORTS.MINIO,\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,\n clamav: INFRA_DEFAULT_PORTS.CLAMAV,\n immudb: INFRA_DEFAULT_PORTS.IMMUDB,\n // Issue #74 — mongot's three listeners. Present in `infraInternalPorts` and deliberately\n // ABSENT from `infraHostPorts`: nothing on the host is a mongot client (clients talk to\n // mongod, which routes to mongot over gRPC), so publishing them would widen the local\n // attack surface for no consumer.\n mongotGrpc: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealth: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetrics: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n },\n };\n\n const rendered = processor.processTemplate(FILE_NAMES.DOCKER_COMPOSE_TEMPLATE, context);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), rendered);\n}\n"]}
@@ -11,6 +11,13 @@
11
11
  * whole command. This service therefore starts the full graph, gates the
12
12
  * registered one-shot initializers on successful completion, and only then
13
13
  * applies Compose's health wait to the persistent service set.
14
+ *
15
+ * There is a THIRD state neither contract covers, and `restart:` cannot reach
16
+ * it: a container that is RUNNING and permanently UNHEALTHY. `restart:` fires
17
+ * on the container EXITING, so a container whose PID 1 outlives the service it
18
+ * exists to provide is never restarted, however long its healthcheck has been
19
+ * failing. `recoverRunningButUnhealthyServices` is the paired repair path for
20
+ * exactly that state — see its own docblock for the measured instance.
14
21
  */
15
22
  import type { Logger } from '../../../kernel/types';
16
23
  import type { PlatformRuntimeContext } from './docker.schemas';
@@ -40,8 +47,53 @@ import type { PlatformRuntimeContext } from './docker.schemas';
40
47
  export declare const MINIMUM_DOCKER_COMPOSE_VERSION = "2.24";
41
48
  export declare class DockerComposeReadinessService {
42
49
  static startAndWait(infraCtx: PlatformRuntimeContext, log: Logger, timeoutSeconds?: number): Promise<void>;
50
+ /**
51
+ * Repair the one failure `restart:` structurally cannot: a container that is
52
+ * RUNNING and permanently UNHEALTHY.
53
+ *
54
+ * `restart: unless-stopped` fires when a container EXITS. A container whose
55
+ * PID 1 outlives the service it exists to provide therefore never restarts,
56
+ * and its healthcheck — which detects the fault perfectly — is wired to
57
+ * nothing. Compose has no restart-on-unhealthy, so `--wait` can only ever
58
+ * time out, and the operator is handed the raw compose invocation.
59
+ *
60
+ * MEASURED, 2026-09-17, on the Wonder Todos local stack. The upstream
61
+ * `clamav/clamav` entrypoint ends with:
62
+ *
63
+ * clamd --foreground & # backgrounded, never waited on
64
+ * exec tail -f "/dev/null" # PID 1 is now `tail`, and never exits
65
+ *
66
+ * The Docker VM took a GLOBAL OOM at 05:42 (`constraint=CONSTRAINT_NONE`,
67
+ * `global_oom`) and the kernel chose `clamd`, which had the largest
68
+ * `total-vm` in the VM. `tail` and `freshclam` survived, so the container
69
+ * reported `Up 22 hours` while the only service it provides had been a
70
+ * zombie (`STAT Z`) for 3.8 hours — 226 consecutive healthcheck failures,
71
+ * acted on by nothing. `wildo local dev` then refused the whole stack.
72
+ *
73
+ * Recreating the container restored it in seconds, which is what makes this
74
+ * a mechanism's job rather than an operator's: the remedy is deterministic,
75
+ * cheap and safe. Three deliberate bounds keep it from masking real faults:
76
+ *
77
+ * - ONLY `running` + `unhealthy` is repaired. A service that exited, is
78
+ * restarting, or never started is a different fault and must still fail
79
+ * loudly — a crash-loop silently recreated on every converge is strictly
80
+ * worse than one that stops the command.
81
+ * - EXACTLY ONE attempt. A second failure is a real failure, not a slow one,
82
+ * and a repair loop would turn a broken service into a hang.
83
+ * - It ANNOUNCES itself. A repair nobody is told about is how a container
84
+ * that dies every night reads as a healthy stack forever.
85
+ */
86
+ private static recoverRunningButUnhealthyServices;
43
87
  private static waitForOneShotService;
44
88
  private static parseServiceStatus;
89
+ /**
90
+ * The persistent services Compose reports as `running` AND `unhealthy`.
91
+ *
92
+ * The predicate itself lives in `compose-service-health` because the
93
+ * in-session watch applies the identical test; see that module for why
94
+ * "not healthy" is deliberately not the question asked.
95
+ */
96
+ private static findRunningButUnhealthyServices;
45
97
  }
46
98
  /**
47
99
  * Parse a Compose version string into a comparable `major.minor.patch` triple.
@@ -1 +1 @@
1
- {"version":3,"file":"docker-compose-readiness.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAI/D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,8BAA8B,SAAS,CAAC;AAerD,qBAAa,6BAA6B;WAC3B,YAAY,CACvB,QAAQ,EAAE,sBAAsB,EAChC,GAAG,EAAE,MAAM,EACX,cAAc,SAAM,GACnB,OAAO,CAAC,IAAI,CAAC;mBAkEK,qBAAqB;IA+B1C,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAmBlC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEtF;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEjF;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,GAAG,IAAI,CAOf;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAA6E,GACtG,MAAM,GAAG,IAAI,CAgBf"}
1
+ {"version":3,"file":"docker-compose-readiness.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAK/D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,8BAA8B,SAAS,CAAC;AAerD,qBAAa,6BAA6B;WAC3B,YAAY,CACvB,QAAQ,EAAE,sBAAsB,EAChC,GAAG,EAAE,MAAM,EACX,cAAc,SAAM,GACnB,OAAO,CAAC,IAAI,CAAC;IA8EhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,OAAO,CAAC,MAAM,CAAC,kCAAkC;mBA8D5B,qBAAqB;IA+B1C,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAoBjC;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,+BAA+B;CAiB/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEtF;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEjF;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,GAAG,IAAI,CAOf;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAA6E,GACtG,MAAM,GAAG,IAAI,CAgBf"}
@@ -11,12 +11,20 @@
11
11
  * whole command. This service therefore starts the full graph, gates the
12
12
  * registered one-shot initializers on successful completion, and only then
13
13
  * applies Compose's health wait to the persistent service set.
14
+ *
15
+ * There is a THIRD state neither contract covers, and `restart:` cannot reach
16
+ * it: a container that is RUNNING and permanently UNHEALTHY. `restart:` fires
17
+ * on the container EXITING, so a container whose PID 1 outlives the service it
18
+ * exists to provide is never restarted, however long its healthcheck has been
19
+ * failing. `recoverRunningButUnhealthyServices` is the paired repair path for
20
+ * exactly that state — see its own docblock for the measured instance.
14
21
  */
15
22
  import { execSync } from 'child_process';
16
23
  import { PlatformDataServices } from '../../../services/data-services/data-services.schemas.js';
17
24
  import { isVersionAtLeast, parseVersionTriple } from '../../../services/deployment/version-compare.utils.js';
18
25
  import { DockerUtils } from './docker.service.js';
19
26
  import { buildLocalComposeConvergeArgs } from '../../../services/environment/platform-runtime.schemas.js';
27
+ import { parseRunningButUnhealthyServices } from './compose-service-health.js';
20
28
  /**
21
29
  * Minimum Docker Compose plugin version the generated local compose project
22
30
  * requires. Every one of its service healthchecks declares `start_interval`,
@@ -62,10 +70,12 @@ export class DockerComposeReadinessService {
62
70
  }
63
71
  // `--remove-orphans` for the same reason `local down` passes it, and it is
64
72
  // needed MORE here: every application renders its compose under the SAME
65
- // project name (`wildo-local`) while bind-mounting its OWN `local_data/`, so
66
- // a converge that only touches the services THIS app declares leaves the
67
- // previous app's extra services running against the previous app's data
68
- // dirs. That produces a stack whose halves disagree — measured 2026-09-03:
73
+ // project name (`wildo-local`) over its OWN backing-service data — its own
74
+ // `local_data/` tree under `HOST_PATH`, its own per-application volumes under
75
+ // `DOCKER_VOLUME`, the volume names being scoped by SaaS root for exactly this
76
+ // reason — so a converge that only touches the services THIS app declares
77
+ // leaves the previous app's extra services running against the previous app's
78
+ // data. That produces a stack whose halves disagree — measured 2026-09-03:
69
79
  // `wildo-mongodb`/`wildo-mongot` still serving wonder-todos' data dirs while
70
80
  // postgres/rabbit/valkey/minio had been recreated on wonder-crm's, because
71
81
  // wonder-crm is PostgreSQL-only and declares no mongodb service to recreate.
@@ -85,6 +95,72 @@ export class DockerComposeReadinessService {
85
95
  // Orphan reaping is a no-op the second time (the converge above already did
86
96
  // it), but this goes through the same builder so the package holds exactly
87
97
  // one place that spells a compose convergence.
98
+ try {
99
+ DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs('--wait', '--wait-timeout', String(timeoutSeconds), ...persistentServices), { inherit: true });
100
+ }
101
+ catch (waitError) {
102
+ DockerComposeReadinessService.recoverRunningButUnhealthyServices(infraCtx, log, persistentServices, timeoutSeconds, waitError);
103
+ }
104
+ }
105
+ /**
106
+ * Repair the one failure `restart:` structurally cannot: a container that is
107
+ * RUNNING and permanently UNHEALTHY.
108
+ *
109
+ * `restart: unless-stopped` fires when a container EXITS. A container whose
110
+ * PID 1 outlives the service it exists to provide therefore never restarts,
111
+ * and its healthcheck — which detects the fault perfectly — is wired to
112
+ * nothing. Compose has no restart-on-unhealthy, so `--wait` can only ever
113
+ * time out, and the operator is handed the raw compose invocation.
114
+ *
115
+ * MEASURED, 2026-09-17, on the Wonder Todos local stack. The upstream
116
+ * `clamav/clamav` entrypoint ends with:
117
+ *
118
+ * clamd --foreground & # backgrounded, never waited on
119
+ * exec tail -f "/dev/null" # PID 1 is now `tail`, and never exits
120
+ *
121
+ * The Docker VM took a GLOBAL OOM at 05:42 (`constraint=CONSTRAINT_NONE`,
122
+ * `global_oom`) and the kernel chose `clamd`, which had the largest
123
+ * `total-vm` in the VM. `tail` and `freshclam` survived, so the container
124
+ * reported `Up 22 hours` while the only service it provides had been a
125
+ * zombie (`STAT Z`) for 3.8 hours — 226 consecutive healthcheck failures,
126
+ * acted on by nothing. `wildo local dev` then refused the whole stack.
127
+ *
128
+ * Recreating the container restored it in seconds, which is what makes this
129
+ * a mechanism's job rather than an operator's: the remedy is deterministic,
130
+ * cheap and safe. Three deliberate bounds keep it from masking real faults:
131
+ *
132
+ * - ONLY `running` + `unhealthy` is repaired. A service that exited, is
133
+ * restarting, or never started is a different fault and must still fail
134
+ * loudly — a crash-loop silently recreated on every converge is strictly
135
+ * worse than one that stops the command.
136
+ * - EXACTLY ONE attempt. A second failure is a real failure, not a slow one,
137
+ * and a repair loop would turn a broken service into a hang.
138
+ * - It ANNOUNCES itself. A repair nobody is told about is how a container
139
+ * that dies every night reads as a healthy stack forever.
140
+ */
141
+ static recoverRunningButUnhealthyServices(infraCtx, log, persistentServices, timeoutSeconds, waitError) {
142
+ const unhealthy = DockerComposeReadinessService.findRunningButUnhealthyServices(infraCtx, persistentServices);
143
+ if (unhealthy.length === 0) {
144
+ throw waitError;
145
+ }
146
+ log.warn(` ${unhealthy.join(', ')} ${unhealthy.length === 1 ? 'is' : 'are'} running but unhealthy — the container `
147
+ + 'outlived the service it provides, so Docker\'s own restart policy cannot reach it. Recreating '
148
+ + `${unhealthy.length === 1 ? 'it' : 'them'} once, then waiting again.`);
149
+ try {
150
+ DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs('--force-recreate', '--wait', '--wait-timeout', String(timeoutSeconds), ...unhealthy), { inherit: true });
151
+ }
152
+ catch {
153
+ throw new Error(`${unhealthy.join(', ')} stayed unhealthy after being recreated, so this is not a container that `
154
+ + 'merely outlived its service. Inspect the health probe output with '
155
+ + `'docker inspect --format "{{json .State.Health}}" <container>' and the logs with `
156
+ + `'docker compose logs ${unhealthy.join(' ')}'.`);
157
+ }
158
+ log.success(` Recovered ${unhealthy.join(', ')}.`);
159
+ // The recreate above waited only on the repaired services. Re-apply the
160
+ // wait across the FULL persistent set: a service that was merely slow while
161
+ // the unhealthy one held the original `--wait` hostage has not been proven
162
+ // ready by anything yet, and reporting readiness for it here would be a
163
+ // claim about a service this function never probed.
88
164
  DockerUtils.runDockerCompose(infraCtx, buildLocalComposeConvergeArgs('--wait', '--wait-timeout', String(timeoutSeconds), ...persistentServices), { inherit: true });
89
165
  }
90
166
  static async waitForOneShotService(infraCtx, service, timeoutMs) {
@@ -122,6 +198,23 @@ export class DockerComposeReadinessService {
122
198
  }
123
199
  return null;
124
200
  }
201
+ /**
202
+ * The persistent services Compose reports as `running` AND `unhealthy`.
203
+ *
204
+ * The predicate itself lives in `compose-service-health` because the
205
+ * in-session watch applies the identical test; see that module for why
206
+ * "not healthy" is deliberately not the question asked.
207
+ */
208
+ static findRunningButUnhealthyServices(infraCtx, persistentServices) {
209
+ try {
210
+ return parseRunningButUnhealthyServices(DockerUtils.runDockerCompose(infraCtx, ['ps', '--format', 'json', ...persistentServices]));
211
+ }
212
+ catch {
213
+ // The status probe is itself best-effort: if Compose cannot answer, the
214
+ // original wait failure is the better thing to report.
215
+ return [];
216
+ }
217
+ }
125
218
  }
126
219
  /**
127
220
  * Parse a Compose version string into a comparable `major.minor.patch` triple.