@wildo-ai/wildo-cli 1.1.2

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 (2037) hide show
  1. package/LICENSE +34 -0
  2. package/bin/wildo-tsc-native.mjs +108 -0
  3. package/bin/wildo.ts +10 -0
  4. package/dist/bin/wildo.d.ts +3 -0
  5. package/dist/bin/wildo.d.ts.map +1 -0
  6. package/dist/bin/wildo.js +7 -0
  7. package/dist/bin/wildo.js.map +1 -0
  8. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +8 -0
  9. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -0
  10. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +54 -0
  11. package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +1 -0
  12. package/dist/src/commands/acp/probe.command.d.ts +30 -0
  13. package/dist/src/commands/acp/probe.command.d.ts.map +1 -0
  14. package/dist/src/commands/acp/probe.command.js +122 -0
  15. package/dist/src/commands/acp/probe.command.js.map +1 -0
  16. package/dist/src/commands/align-deps.command.d.ts +7 -0
  17. package/dist/src/commands/align-deps.command.d.ts.map +1 -0
  18. package/dist/src/commands/align-deps.command.js +102 -0
  19. package/dist/src/commands/align-deps.command.js.map +1 -0
  20. package/dist/src/commands/assets/sync.command.d.ts +23 -0
  21. package/dist/src/commands/assets/sync.command.d.ts.map +1 -0
  22. package/dist/src/commands/assets/sync.command.js +59 -0
  23. package/dist/src/commands/assets/sync.command.js.map +1 -0
  24. package/dist/src/commands/brand/propagate.command.d.ts +62 -0
  25. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -0
  26. package/dist/src/commands/brand/propagate.command.js +193 -0
  27. package/dist/src/commands/brand/propagate.command.js.map +1 -0
  28. package/dist/src/commands/compose.command.d.ts +7 -0
  29. package/dist/src/commands/compose.command.d.ts.map +1 -0
  30. package/dist/src/commands/compose.command.js +99 -0
  31. package/dist/src/commands/compose.command.js.map +1 -0
  32. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +22 -0
  33. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -0
  34. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +268 -0
  35. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -0
  36. package/dist/src/commands/config/__tests__/sync.command.test.d.ts +2 -0
  37. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -0
  38. package/dist/src/commands/config/__tests__/sync.command.test.js +1229 -0
  39. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -0
  40. package/dist/src/commands/config/__tests__/validate.command.test.d.ts +14 -0
  41. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -0
  42. package/dist/src/commands/config/__tests__/validate.command.test.js +375 -0
  43. package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -0
  44. package/dist/src/commands/config/mutate.command.d.ts +32 -0
  45. package/dist/src/commands/config/mutate.command.d.ts.map +1 -0
  46. package/dist/src/commands/config/mutate.command.js +119 -0
  47. package/dist/src/commands/config/mutate.command.js.map +1 -0
  48. package/dist/src/commands/config/reapply-declaration.command.d.ts +40 -0
  49. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -0
  50. package/dist/src/commands/config/reapply-declaration.command.js +174 -0
  51. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -0
  52. package/dist/src/commands/config/sync.command.d.ts +123 -0
  53. package/dist/src/commands/config/sync.command.d.ts.map +1 -0
  54. package/dist/src/commands/config/sync.command.js +1170 -0
  55. package/dist/src/commands/config/sync.command.js.map +1 -0
  56. package/dist/src/commands/config/validate.command.d.ts +117 -0
  57. package/dist/src/commands/config/validate.command.d.ts.map +1 -0
  58. package/dist/src/commands/config/validate.command.js +563 -0
  59. package/dist/src/commands/config/validate.command.js.map +1 -0
  60. package/dist/src/commands/context/coherence.command.d.ts +13 -0
  61. package/dist/src/commands/context/coherence.command.d.ts.map +1 -0
  62. package/dist/src/commands/context/coherence.command.js +44 -0
  63. package/dist/src/commands/context/coherence.command.js.map +1 -0
  64. package/dist/src/commands/context/context-command.utils.d.ts +43 -0
  65. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -0
  66. package/dist/src/commands/context/context-command.utils.js +57 -0
  67. package/dist/src/commands/context/context-command.utils.js.map +1 -0
  68. package/dist/src/commands/context/health.command.d.ts +11 -0
  69. package/dist/src/commands/context/health.command.d.ts.map +1 -0
  70. package/dist/src/commands/context/health.command.js +40 -0
  71. package/dist/src/commands/context/health.command.js.map +1 -0
  72. package/dist/src/commands/context/info.command.d.ts +20 -0
  73. package/dist/src/commands/context/info.command.d.ts.map +1 -0
  74. package/dist/src/commands/context/info.command.js +90 -0
  75. package/dist/src/commands/context/info.command.js.map +1 -0
  76. package/dist/src/commands/context/journey.command.d.ts +16 -0
  77. package/dist/src/commands/context/journey.command.d.ts.map +1 -0
  78. package/dist/src/commands/context/journey.command.js +69 -0
  79. package/dist/src/commands/context/journey.command.js.map +1 -0
  80. package/dist/src/commands/context/list.command.d.ts +15 -0
  81. package/dist/src/commands/context/list.command.d.ts.map +1 -0
  82. package/dist/src/commands/context/list.command.js +60 -0
  83. package/dist/src/commands/context/list.command.js.map +1 -0
  84. package/dist/src/commands/db/db-schema-plan.utils.d.ts +26 -0
  85. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -0
  86. package/dist/src/commands/db/db-schema-plan.utils.js +89 -0
  87. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -0
  88. package/dist/src/commands/db/diff.command.d.ts +39 -0
  89. package/dist/src/commands/db/diff.command.d.ts.map +1 -0
  90. package/dist/src/commands/db/diff.command.js +153 -0
  91. package/dist/src/commands/db/diff.command.js.map +1 -0
  92. package/dist/src/commands/db/generate.command.d.ts +32 -0
  93. package/dist/src/commands/db/generate.command.d.ts.map +1 -0
  94. package/dist/src/commands/db/generate.command.js +139 -0
  95. package/dist/src/commands/db/generate.command.js.map +1 -0
  96. package/dist/src/commands/db/migrate.command.d.ts +41 -0
  97. package/dist/src/commands/db/migrate.command.d.ts.map +1 -0
  98. package/dist/src/commands/db/migrate.command.js +111 -0
  99. package/dist/src/commands/db/migrate.command.js.map +1 -0
  100. package/dist/src/commands/db/resolve.command.d.ts +22 -0
  101. package/dist/src/commands/db/resolve.command.d.ts.map +1 -0
  102. package/dist/src/commands/db/resolve.command.js +97 -0
  103. package/dist/src/commands/db/resolve.command.js.map +1 -0
  104. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +2 -0
  105. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -0
  106. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +202 -0
  107. package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +1 -0
  108. package/dist/src/commands/dev/__tests__/start.command.test.d.ts +2 -0
  109. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -0
  110. package/dist/src/commands/dev/__tests__/start.command.test.js +468 -0
  111. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -0
  112. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +2 -0
  113. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -0
  114. package/dist/src/commands/dev/__tests__/stop.command.test.js +72 -0
  115. package/dist/src/commands/dev/__tests__/stop.command.test.js.map +1 -0
  116. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +2 -0
  117. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -0
  118. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +114 -0
  119. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -0
  120. package/dist/src/commands/dev/charts-audit.command.d.ts +19 -0
  121. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -0
  122. package/dist/src/commands/dev/charts-audit.command.js +74 -0
  123. package/dist/src/commands/dev/charts-audit.command.js.map +1 -0
  124. package/dist/src/commands/dev/design-tokens-generate.command.d.ts +10 -0
  125. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -0
  126. package/dist/src/commands/dev/design-tokens-generate.command.js +24 -0
  127. package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -0
  128. package/dist/src/commands/dev/design-tokens-init.command.d.ts +10 -0
  129. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -0
  130. package/dist/src/commands/dev/design-tokens-init.command.js +24 -0
  131. package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -0
  132. package/dist/src/commands/dev/design-tokens-validate.command.d.ts +10 -0
  133. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -0
  134. package/dist/src/commands/dev/design-tokens-validate.command.js +24 -0
  135. package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -0
  136. package/dist/src/commands/dev/force-stop.command.d.ts +29 -0
  137. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -0
  138. package/dist/src/commands/dev/force-stop.command.js +68 -0
  139. package/dist/src/commands/dev/force-stop.command.js.map +1 -0
  140. package/dist/src/commands/dev/resources.command.d.ts +16 -0
  141. package/dist/src/commands/dev/resources.command.d.ts.map +1 -0
  142. package/dist/src/commands/dev/resources.command.js +45 -0
  143. package/dist/src/commands/dev/resources.command.js.map +1 -0
  144. package/dist/src/commands/dev/start.command.d.ts +16 -0
  145. package/dist/src/commands/dev/start.command.d.ts.map +1 -0
  146. package/dist/src/commands/dev/start.command.js +409 -0
  147. package/dist/src/commands/dev/start.command.js.map +1 -0
  148. package/dist/src/commands/dev/stop-all.command.d.ts +14 -0
  149. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -0
  150. package/dist/src/commands/dev/stop-all.command.js +96 -0
  151. package/dist/src/commands/dev/stop-all.command.js.map +1 -0
  152. package/dist/src/commands/dev/sync-csp.command.d.ts +7 -0
  153. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -0
  154. package/dist/src/commands/dev/sync-csp.command.js +61 -0
  155. package/dist/src/commands/dev/sync-csp.command.js.map +1 -0
  156. package/dist/src/commands/frontend/publish.command.d.ts +16 -0
  157. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -0
  158. package/dist/src/commands/frontend/publish.command.js +91 -0
  159. package/dist/src/commands/frontend/publish.command.js.map +1 -0
  160. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +2 -0
  161. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -0
  162. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +79 -0
  163. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +1 -0
  164. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +2 -0
  165. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -0
  166. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +113 -0
  167. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -0
  168. package/dist/src/commands/fwk/audit.command.d.ts +19 -0
  169. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -0
  170. package/dist/src/commands/fwk/audit.command.js +83 -0
  171. package/dist/src/commands/fwk/audit.command.js.map +1 -0
  172. package/dist/src/commands/fwk/dev-skills.command.d.ts +12 -0
  173. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -0
  174. package/dist/src/commands/fwk/dev-skills.command.js +56 -0
  175. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -0
  176. package/dist/src/commands/fwk/generate-docs.command.d.ts +7 -0
  177. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -0
  178. package/dist/src/commands/fwk/generate-docs.command.js +38 -0
  179. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -0
  180. package/dist/src/commands/fwk/graph.command.d.ts +18 -0
  181. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -0
  182. package/dist/src/commands/fwk/graph.command.js +56 -0
  183. package/dist/src/commands/fwk/graph.command.js.map +1 -0
  184. package/dist/src/commands/fwk/publish-all.command.d.ts +7 -0
  185. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -0
  186. package/dist/src/commands/fwk/publish-all.command.js +51 -0
  187. package/dist/src/commands/fwk/publish-all.command.js.map +1 -0
  188. package/dist/src/commands/fwk/publish-docker.command.d.ts +8 -0
  189. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -0
  190. package/dist/src/commands/fwk/publish-docker.command.js +89 -0
  191. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -0
  192. package/dist/src/commands/fwk/publish-npm.command.d.ts +8 -0
  193. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -0
  194. package/dist/src/commands/fwk/publish-npm.command.js +114 -0
  195. package/dist/src/commands/fwk/publish-npm.command.js.map +1 -0
  196. package/dist/src/commands/fwk/version-bump.command.d.ts +7 -0
  197. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -0
  198. package/dist/src/commands/fwk/version-bump.command.js +25 -0
  199. package/dist/src/commands/fwk/version-bump.command.js.map +1 -0
  200. package/dist/src/commands/fwk/version-set.command.d.ts +7 -0
  201. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -0
  202. package/dist/src/commands/fwk/version-set.command.js +24 -0
  203. package/dist/src/commands/fwk/version-set.command.js.map +1 -0
  204. package/dist/src/commands/fwk/version-show.command.d.ts +7 -0
  205. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -0
  206. package/dist/src/commands/fwk/version-show.command.js +22 -0
  207. package/dist/src/commands/fwk/version-show.command.js.map +1 -0
  208. package/dist/src/commands/fwk/version-sync.command.d.ts +7 -0
  209. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -0
  210. package/dist/src/commands/fwk/version-sync.command.js +18 -0
  211. package/dist/src/commands/fwk/version-sync.command.js.map +1 -0
  212. package/dist/src/commands/fwk/what-touches.command.d.ts +17 -0
  213. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -0
  214. package/dist/src/commands/fwk/what-touches.command.js +48 -0
  215. package/dist/src/commands/fwk/what-touches.command.js.map +1 -0
  216. package/dist/src/commands/fwk/wt-status.command.d.ts +22 -0
  217. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -0
  218. package/dist/src/commands/fwk/wt-status.command.js +60 -0
  219. package/dist/src/commands/fwk/wt-status.command.js.map +1 -0
  220. package/dist/src/commands/fwk/wt-tail.command.d.ts +22 -0
  221. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -0
  222. package/dist/src/commands/fwk/wt-tail.command.js +64 -0
  223. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -0
  224. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +2 -0
  225. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -0
  226. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +94 -0
  227. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -0
  228. package/dist/src/commands/generate/email-command.utils.d.ts +72 -0
  229. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -0
  230. package/dist/src/commands/generate/email-command.utils.js +91 -0
  231. package/dist/src/commands/generate/email-command.utils.js.map +1 -0
  232. package/dist/src/commands/generate/email-preview.command.d.ts +7 -0
  233. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -0
  234. package/dist/src/commands/generate/email-preview.command.js +62 -0
  235. package/dist/src/commands/generate/email-preview.command.js.map +1 -0
  236. package/dist/src/commands/generate/email-status.command.d.ts +7 -0
  237. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -0
  238. package/dist/src/commands/generate/email-status.command.js +42 -0
  239. package/dist/src/commands/generate/email-status.command.js.map +1 -0
  240. package/dist/src/commands/generate/email-test-send.command.d.ts +7 -0
  241. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -0
  242. package/dist/src/commands/generate/email-test-send.command.js +67 -0
  243. package/dist/src/commands/generate/email-test-send.command.js.map +1 -0
  244. package/dist/src/commands/generate/email-translate.command.d.ts +7 -0
  245. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -0
  246. package/dist/src/commands/generate/email-translate.command.js +59 -0
  247. package/dist/src/commands/generate/email-translate.command.js.map +1 -0
  248. package/dist/src/commands/generate/email.command.d.ts +10 -0
  249. package/dist/src/commands/generate/email.command.d.ts.map +1 -0
  250. package/dist/src/commands/generate/email.command.js +62 -0
  251. package/dist/src/commands/generate/email.command.js.map +1 -0
  252. package/dist/src/commands/generate/labelling-command.utils.d.ts +138 -0
  253. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -0
  254. package/dist/src/commands/generate/labelling-command.utils.js +422 -0
  255. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -0
  256. package/dist/src/commands/generate/labels-plan.command.d.ts +34 -0
  257. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -0
  258. package/dist/src/commands/generate/labels-plan.command.js +103 -0
  259. package/dist/src/commands/generate/labels-plan.command.js.map +1 -0
  260. package/dist/src/commands/generate/labels.command.d.ts +29 -0
  261. package/dist/src/commands/generate/labels.command.d.ts.map +1 -0
  262. package/dist/src/commands/generate/labels.command.js +87 -0
  263. package/dist/src/commands/generate/labels.command.js.map +1 -0
  264. package/dist/src/commands/generate/translate.command.d.ts +31 -0
  265. package/dist/src/commands/generate/translate.command.d.ts.map +1 -0
  266. package/dist/src/commands/generate/translate.command.js +95 -0
  267. package/dist/src/commands/generate/translate.command.js.map +1 -0
  268. package/dist/src/commands/help.command.d.ts +7 -0
  269. package/dist/src/commands/help.command.d.ts.map +1 -0
  270. package/dist/src/commands/help.command.js +86 -0
  271. package/dist/src/commands/help.command.js.map +1 -0
  272. package/dist/src/commands/init.command.d.ts +113 -0
  273. package/dist/src/commands/init.command.d.ts.map +1 -0
  274. package/dist/src/commands/init.command.js +636 -0
  275. package/dist/src/commands/init.command.js.map +1 -0
  276. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +2 -0
  277. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -0
  278. package/dist/src/commands/local/__tests__/dev-status.command.test.js +58 -0
  279. package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +1 -0
  280. package/dist/src/commands/local/__tests__/dev.command.test.d.ts +2 -0
  281. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -0
  282. package/dist/src/commands/local/__tests__/dev.command.test.js +399 -0
  283. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -0
  284. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +2 -0
  285. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -0
  286. package/dist/src/commands/local/__tests__/doctor.command.test.js +260 -0
  287. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -0
  288. package/dist/src/commands/local/__tests__/init.command.test.d.ts +2 -0
  289. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -0
  290. package/dist/src/commands/local/__tests__/init.command.test.js +83 -0
  291. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -0
  292. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +2 -0
  293. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -0
  294. package/dist/src/commands/local/__tests__/reinit.command.test.js +177 -0
  295. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -0
  296. package/dist/src/commands/local/__tests__/reset.command.test.d.ts +2 -0
  297. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -0
  298. package/dist/src/commands/local/__tests__/reset.command.test.js +266 -0
  299. package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -0
  300. package/dist/src/commands/local/__tests__/up.command.test.d.ts +2 -0
  301. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -0
  302. package/dist/src/commands/local/__tests__/up.command.test.js +207 -0
  303. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -0
  304. package/dist/src/commands/local/dev-status.command.d.ts +15 -0
  305. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -0
  306. package/dist/src/commands/local/dev-status.command.js +84 -0
  307. package/dist/src/commands/local/dev-status.command.js.map +1 -0
  308. package/dist/src/commands/local/dev.command.d.ts +150 -0
  309. package/dist/src/commands/local/dev.command.d.ts.map +1 -0
  310. package/dist/src/commands/local/dev.command.js +813 -0
  311. package/dist/src/commands/local/dev.command.js.map +1 -0
  312. package/dist/src/commands/local/doctor.command.d.ts +177 -0
  313. package/dist/src/commands/local/doctor.command.d.ts.map +1 -0
  314. package/dist/src/commands/local/doctor.command.js +863 -0
  315. package/dist/src/commands/local/doctor.command.js.map +1 -0
  316. package/dist/src/commands/local/down.command.d.ts +9 -0
  317. package/dist/src/commands/local/down.command.d.ts.map +1 -0
  318. package/dist/src/commands/local/down.command.js +117 -0
  319. package/dist/src/commands/local/down.command.js.map +1 -0
  320. package/dist/src/commands/local/init.command.d.ts +15 -0
  321. package/dist/src/commands/local/init.command.d.ts.map +1 -0
  322. package/dist/src/commands/local/init.command.js +85 -0
  323. package/dist/src/commands/local/init.command.js.map +1 -0
  324. package/dist/src/commands/local/logs.command.d.ts +9 -0
  325. package/dist/src/commands/local/logs.command.d.ts.map +1 -0
  326. package/dist/src/commands/local/logs.command.js +61 -0
  327. package/dist/src/commands/local/logs.command.js.map +1 -0
  328. package/dist/src/commands/local/reinit.command.d.ts +35 -0
  329. package/dist/src/commands/local/reinit.command.d.ts.map +1 -0
  330. package/dist/src/commands/local/reinit.command.js +135 -0
  331. package/dist/src/commands/local/reinit.command.js.map +1 -0
  332. package/dist/src/commands/local/reset.command.d.ts +42 -0
  333. package/dist/src/commands/local/reset.command.d.ts.map +1 -0
  334. package/dist/src/commands/local/reset.command.js +203 -0
  335. package/dist/src/commands/local/reset.command.js.map +1 -0
  336. package/dist/src/commands/local/status.command.d.ts +9 -0
  337. package/dist/src/commands/local/status.command.d.ts.map +1 -0
  338. package/dist/src/commands/local/status.command.js +79 -0
  339. package/dist/src/commands/local/status.command.js.map +1 -0
  340. package/dist/src/commands/local/up.command.d.ts +32 -0
  341. package/dist/src/commands/local/up.command.d.ts.map +1 -0
  342. package/dist/src/commands/local/up.command.js +355 -0
  343. package/dist/src/commands/local/up.command.js.map +1 -0
  344. package/dist/src/commands/lock/__tests__/check.command.test.d.ts +11 -0
  345. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -0
  346. package/dist/src/commands/lock/__tests__/check.command.test.js +140 -0
  347. package/dist/src/commands/lock/__tests__/check.command.test.js.map +1 -0
  348. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +35 -0
  349. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -0
  350. package/dist/src/commands/lock/__tests__/check.live.contract.test.js +122 -0
  351. package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +1 -0
  352. package/dist/src/commands/lock/check.command.d.ts +92 -0
  353. package/dist/src/commands/lock/check.command.d.ts.map +1 -0
  354. package/dist/src/commands/lock/check.command.js +242 -0
  355. package/dist/src/commands/lock/check.command.js.map +1 -0
  356. package/dist/src/commands/market/__tests__/generate.command.test.d.ts +2 -0
  357. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -0
  358. package/dist/src/commands/market/__tests__/generate.command.test.js +207 -0
  359. package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -0
  360. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +2 -0
  361. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -0
  362. package/dist/src/commands/market/__tests__/market-command.utils.test.js +146 -0
  363. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -0
  364. package/dist/src/commands/market/generate.command.d.ts +56 -0
  365. package/dist/src/commands/market/generate.command.d.ts.map +1 -0
  366. package/dist/src/commands/market/generate.command.js +191 -0
  367. package/dist/src/commands/market/generate.command.js.map +1 -0
  368. package/dist/src/commands/market/market-command.utils.d.ts +70 -0
  369. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -0
  370. package/dist/src/commands/market/market-command.utils.js +89 -0
  371. package/dist/src/commands/market/market-command.utils.js.map +1 -0
  372. package/dist/src/commands/registry/add.command.d.ts +37 -0
  373. package/dist/src/commands/registry/add.command.d.ts.map +1 -0
  374. package/dist/src/commands/registry/add.command.js +251 -0
  375. package/dist/src/commands/registry/add.command.js.map +1 -0
  376. package/dist/src/commands/registry/info.command.d.ts +14 -0
  377. package/dist/src/commands/registry/info.command.d.ts.map +1 -0
  378. package/dist/src/commands/registry/info.command.js +83 -0
  379. package/dist/src/commands/registry/info.command.js.map +1 -0
  380. package/dist/src/commands/registry/lockfile-smoke.command.d.ts +31 -0
  381. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -0
  382. package/dist/src/commands/registry/lockfile-smoke.command.js +131 -0
  383. package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -0
  384. package/dist/src/commands/registry/login.command.d.ts +28 -0
  385. package/dist/src/commands/registry/login.command.d.ts.map +1 -0
  386. package/dist/src/commands/registry/login.command.js +117 -0
  387. package/dist/src/commands/registry/login.command.js.map +1 -0
  388. package/dist/src/commands/registry/logout.command.d.ts +15 -0
  389. package/dist/src/commands/registry/logout.command.d.ts.map +1 -0
  390. package/dist/src/commands/registry/logout.command.js +47 -0
  391. package/dist/src/commands/registry/logout.command.js.map +1 -0
  392. package/dist/src/commands/registry/ping.command.d.ts +21 -0
  393. package/dist/src/commands/registry/ping.command.d.ts.map +1 -0
  394. package/dist/src/commands/registry/ping.command.js +92 -0
  395. package/dist/src/commands/registry/ping.command.js.map +1 -0
  396. package/dist/src/commands/registry/publish.command.d.ts +37 -0
  397. package/dist/src/commands/registry/publish.command.d.ts.map +1 -0
  398. package/dist/src/commands/registry/publish.command.js +211 -0
  399. package/dist/src/commands/registry/publish.command.js.map +1 -0
  400. package/dist/src/commands/registry/remove.command.d.ts +25 -0
  401. package/dist/src/commands/registry/remove.command.d.ts.map +1 -0
  402. package/dist/src/commands/registry/remove.command.js +122 -0
  403. package/dist/src/commands/registry/remove.command.js.map +1 -0
  404. package/dist/src/commands/registry/repair-lockfile.command.d.ts +31 -0
  405. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -0
  406. package/dist/src/commands/registry/repair-lockfile.command.js +174 -0
  407. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -0
  408. package/dist/src/commands/registry/search.command.d.ts +15 -0
  409. package/dist/src/commands/registry/search.command.d.ts.map +1 -0
  410. package/dist/src/commands/registry/search.command.js +76 -0
  411. package/dist/src/commands/registry/search.command.js.map +1 -0
  412. package/dist/src/commands/registry/update.command.d.ts +32 -0
  413. package/dist/src/commands/registry/update.command.d.ts.map +1 -0
  414. package/dist/src/commands/registry/update.command.js +297 -0
  415. package/dist/src/commands/registry/update.command.js.map +1 -0
  416. package/dist/src/commands/registry/whoami.command.d.ts +16 -0
  417. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -0
  418. package/dist/src/commands/registry/whoami.command.js +116 -0
  419. package/dist/src/commands/registry/whoami.command.js.map +1 -0
  420. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +2 -0
  421. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -0
  422. package/dist/src/commands/remote/__tests__/remote-commands.test.js +100 -0
  423. package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +1 -0
  424. package/dist/src/commands/remote/create.command.d.ts +7 -0
  425. package/dist/src/commands/remote/create.command.d.ts.map +1 -0
  426. package/dist/src/commands/remote/create.command.js +110 -0
  427. package/dist/src/commands/remote/create.command.js.map +1 -0
  428. package/dist/src/commands/remote/list.command.d.ts +7 -0
  429. package/dist/src/commands/remote/list.command.d.ts.map +1 -0
  430. package/dist/src/commands/remote/list.command.js +46 -0
  431. package/dist/src/commands/remote/list.command.js.map +1 -0
  432. package/dist/src/commands/remote/status.command.d.ts +7 -0
  433. package/dist/src/commands/remote/status.command.d.ts.map +1 -0
  434. package/dist/src/commands/remote/status.command.js +67 -0
  435. package/dist/src/commands/remote/status.command.js.map +1 -0
  436. package/dist/src/commands/remote/sync.command.d.ts +7 -0
  437. package/dist/src/commands/remote/sync.command.d.ts.map +1 -0
  438. package/dist/src/commands/remote/sync.command.js +27 -0
  439. package/dist/src/commands/remote/sync.command.js.map +1 -0
  440. package/dist/src/commands/setup.command.d.ts +19 -0
  441. package/dist/src/commands/setup.command.d.ts.map +1 -0
  442. package/dist/src/commands/setup.command.js +95 -0
  443. package/dist/src/commands/setup.command.js.map +1 -0
  444. package/dist/src/commands/version.command.d.ts +7 -0
  445. package/dist/src/commands/version.command.d.ts.map +1 -0
  446. package/dist/src/commands/version.command.js +16 -0
  447. package/dist/src/commands/version.command.js.map +1 -0
  448. package/dist/src/commands/website/__tests__/audit.command.test.d.ts +2 -0
  449. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -0
  450. package/dist/src/commands/website/__tests__/audit.command.test.js +105 -0
  451. package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -0
  452. package/dist/src/commands/website/audit.command.d.ts +12 -0
  453. package/dist/src/commands/website/audit.command.d.ts.map +1 -0
  454. package/dist/src/commands/website/audit.command.js +90 -0
  455. package/dist/src/commands/website/audit.command.js.map +1 -0
  456. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +2 -0
  457. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -0
  458. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +59 -0
  459. package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +1 -0
  460. package/dist/src/commands/workbench/open.command.d.ts +7 -0
  461. package/dist/src/commands/workbench/open.command.d.ts.map +1 -0
  462. package/dist/src/commands/workbench/open.command.js +26 -0
  463. package/dist/src/commands/workbench/open.command.js.map +1 -0
  464. package/dist/src/commands/workbench/status.command.d.ts +7 -0
  465. package/dist/src/commands/workbench/status.command.d.ts.map +1 -0
  466. package/dist/src/commands/workbench/status.command.js +47 -0
  467. package/dist/src/commands/workbench/status.command.js.map +1 -0
  468. package/dist/src/infrastructure/errors/error.utils.d.ts +30 -0
  469. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -0
  470. package/dist/src/infrastructure/errors/error.utils.js +80 -0
  471. package/dist/src/infrastructure/errors/error.utils.js.map +1 -0
  472. package/dist/src/infrastructure/io/file.utils.d.ts +11 -0
  473. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -0
  474. package/dist/src/infrastructure/io/file.utils.js +36 -0
  475. package/dist/src/infrastructure/io/file.utils.js.map +1 -0
  476. package/dist/src/infrastructure/io/io.schemas.d.ts +39 -0
  477. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -0
  478. package/dist/src/infrastructure/io/io.schemas.js +45 -0
  479. package/dist/src/infrastructure/io/io.schemas.js.map +1 -0
  480. package/dist/src/infrastructure/io/template-processor.d.ts +31 -0
  481. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -0
  482. package/dist/src/infrastructure/io/template-processor.js +160 -0
  483. package/dist/src/infrastructure/io/template-processor.js.map +1 -0
  484. package/dist/src/infrastructure/logger/logger.service.d.ts +62 -0
  485. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -0
  486. package/dist/src/infrastructure/logger/logger.service.js +116 -0
  487. package/dist/src/infrastructure/logger/logger.service.js.map +1 -0
  488. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +2 -0
  489. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -0
  490. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +138 -0
  491. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +1 -0
  492. package/dist/src/infrastructure/process/spawn.utils.d.ts +60 -0
  493. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -0
  494. package/dist/src/infrastructure/process/spawn.utils.js +222 -0
  495. package/dist/src/infrastructure/process/spawn.utils.js.map +1 -0
  496. package/dist/src/infrastructure/ui/formatting.service.d.ts +23 -0
  497. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -0
  498. package/dist/src/infrastructure/ui/formatting.service.js +106 -0
  499. package/dist/src/infrastructure/ui/formatting.service.js.map +1 -0
  500. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts +17 -0
  501. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -0
  502. package/dist/src/infrastructure/ui/interaction-engine.service.js +87 -0
  503. package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -0
  504. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts +8 -0
  505. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -0
  506. package/dist/src/infrastructure/ui/markdown-renderer.service.js +153 -0
  507. package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -0
  508. package/dist/src/infrastructure/ui/ui.schemas.d.ts +36 -0
  509. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -0
  510. package/dist/src/infrastructure/ui/ui.schemas.js +12 -0
  511. package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -0
  512. package/dist/src/infrastructure/utils/string.utils.d.ts +8 -0
  513. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -0
  514. package/dist/src/infrastructure/utils/string.utils.js +10 -0
  515. package/dist/src/infrastructure/utils/string.utils.js.map +1 -0
  516. package/dist/src/infrastructure/validation/validator.service.d.ts +31 -0
  517. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -0
  518. package/dist/src/infrastructure/validation/validator.service.js +52 -0
  519. package/dist/src/infrastructure/validation/validator.service.js.map +1 -0
  520. package/dist/src/kernel/__tests__/bootstrap.test.d.ts +2 -0
  521. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -0
  522. package/dist/src/kernel/__tests__/bootstrap.test.js +88 -0
  523. package/dist/src/kernel/__tests__/bootstrap.test.js.map +1 -0
  524. package/dist/src/kernel/__tests__/command-registry.test.d.ts +2 -0
  525. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -0
  526. package/dist/src/kernel/__tests__/command-registry.test.js +188 -0
  527. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -0
  528. package/dist/src/kernel/__tests__/command-runner.test.d.ts +2 -0
  529. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -0
  530. package/dist/src/kernel/__tests__/command-runner.test.js +285 -0
  531. package/dist/src/kernel/__tests__/command-runner.test.js.map +1 -0
  532. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +2 -0
  533. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -0
  534. package/dist/src/kernel/__tests__/command-scope-utils.test.js +46 -0
  535. package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +1 -0
  536. package/dist/src/kernel/__tests__/flag-utils.test.d.ts +2 -0
  537. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -0
  538. package/dist/src/kernel/__tests__/flag-utils.test.js +38 -0
  539. package/dist/src/kernel/__tests__/flag-utils.test.js.map +1 -0
  540. package/dist/src/kernel/__tests__/hooks.test.d.ts +2 -0
  541. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -0
  542. package/dist/src/kernel/__tests__/hooks.test.js +72 -0
  543. package/dist/src/kernel/__tests__/hooks.test.js.map +1 -0
  544. package/dist/src/kernel/base-command.d.ts +26 -0
  545. package/dist/src/kernel/base-command.d.ts.map +1 -0
  546. package/dist/src/kernel/base-command.js +79 -0
  547. package/dist/src/kernel/base-command.js.map +1 -0
  548. package/dist/src/kernel/bootstrap.d.ts +9 -0
  549. package/dist/src/kernel/bootstrap.d.ts.map +1 -0
  550. package/dist/src/kernel/bootstrap.js +109 -0
  551. package/dist/src/kernel/bootstrap.js.map +1 -0
  552. package/dist/src/kernel/command-registry.d.ts +44 -0
  553. package/dist/src/kernel/command-registry.d.ts.map +1 -0
  554. package/dist/src/kernel/command-registry.js +248 -0
  555. package/dist/src/kernel/command-registry.js.map +1 -0
  556. package/dist/src/kernel/command-runner.d.ts +26 -0
  557. package/dist/src/kernel/command-runner.d.ts.map +1 -0
  558. package/dist/src/kernel/command-runner.js +169 -0
  559. package/dist/src/kernel/command-runner.js.map +1 -0
  560. package/dist/src/kernel/command-scope-utils.d.ts +27 -0
  561. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -0
  562. package/dist/src/kernel/command-scope-utils.js +40 -0
  563. package/dist/src/kernel/command-scope-utils.js.map +1 -0
  564. package/dist/src/kernel/flag-utils.d.ts +32 -0
  565. package/dist/src/kernel/flag-utils.d.ts.map +1 -0
  566. package/dist/src/kernel/flag-utils.js +43 -0
  567. package/dist/src/kernel/flag-utils.js.map +1 -0
  568. package/dist/src/kernel/hooks.d.ts +17 -0
  569. package/dist/src/kernel/hooks.d.ts.map +1 -0
  570. package/dist/src/kernel/hooks.js +51 -0
  571. package/dist/src/kernel/hooks.js.map +1 -0
  572. package/dist/src/kernel/logger.d.ts +3 -0
  573. package/dist/src/kernel/logger.d.ts.map +1 -0
  574. package/dist/src/kernel/logger.js +10 -0
  575. package/dist/src/kernel/logger.js.map +1 -0
  576. package/dist/src/kernel/types.d.ts +145 -0
  577. package/dist/src/kernel/types.d.ts.map +1 -0
  578. package/dist/src/kernel/types.js +66 -0
  579. package/dist/src/kernel/types.js.map +1 -0
  580. package/dist/src/main.d.ts +7 -0
  581. package/dist/src/main.d.ts.map +1 -0
  582. package/dist/src/main.js +12 -0
  583. package/dist/src/main.js.map +1 -0
  584. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +2 -0
  585. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -0
  586. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +88 -0
  587. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +1 -0
  588. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +2 -0
  589. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -0
  590. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +96 -0
  591. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -0
  592. package/dist/src/modules/domain/credentials/admin-user.module.d.ts +53 -0
  593. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -0
  594. package/dist/src/modules/domain/credentials/admin-user.module.js +130 -0
  595. package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -0
  596. package/dist/src/modules/domain/credentials/module.types.d.ts +2 -0
  597. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -0
  598. package/dist/src/modules/domain/credentials/module.types.js +1 -0
  599. package/dist/src/modules/domain/credentials/module.types.js.map +1 -0
  600. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +31 -0
  601. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -0
  602. package/dist/src/modules/domain/credentials/providers-config.module.js +146 -0
  603. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -0
  604. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +2 -0
  605. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -0
  606. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +89 -0
  607. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +1 -0
  608. package/dist/src/modules/domain/environment/database-config.module.d.ts +10 -0
  609. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -0
  610. package/dist/src/modules/domain/environment/database-config.module.js +131 -0
  611. package/dist/src/modules/domain/environment/database-config.module.js.map +1 -0
  612. package/dist/src/modules/domain/environment/module.types.d.ts +14 -0
  613. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -0
  614. package/dist/src/modules/domain/environment/module.types.js +1 -0
  615. package/dist/src/modules/domain/environment/module.types.js.map +1 -0
  616. package/dist/src/modules/domain/environment/paths-config.module.d.ts +15 -0
  617. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -0
  618. package/dist/src/modules/domain/environment/paths-config.module.js +90 -0
  619. package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -0
  620. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts +7 -0
  621. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -0
  622. package/dist/src/modules/domain/environment/runtime-selector.module.js +30 -0
  623. package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -0
  624. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts +8 -0
  625. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -0
  626. package/dist/src/modules/domain/environment/runtime-semantics.module.js +35 -0
  627. package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -0
  628. package/dist/src/modules/domain/module.types.d.ts +10 -0
  629. package/dist/src/modules/domain/module.types.d.ts.map +1 -0
  630. package/dist/src/modules/domain/module.types.js +1 -0
  631. package/dist/src/modules/domain/module.types.js.map +1 -0
  632. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +2 -0
  633. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -0
  634. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +129 -0
  635. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -0
  636. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +2 -0
  637. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -0
  638. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +220 -0
  639. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +1 -0
  640. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +2 -0
  641. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -0
  642. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +112 -0
  643. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -0
  644. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +2 -0
  645. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -0
  646. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +873 -0
  647. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -0
  648. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +2 -0
  649. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -0
  650. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +237 -0
  651. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -0
  652. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +2 -0
  653. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -0
  654. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +244 -0
  655. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -0
  656. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +2 -0
  657. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -0
  658. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +81 -0
  659. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -0
  660. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +2 -0
  661. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -0
  662. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +211 -0
  663. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -0
  664. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +2 -0
  665. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -0
  666. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +159 -0
  667. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +1 -0
  668. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +2 -0
  669. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -0
  670. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +137 -0
  671. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -0
  672. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +2 -0
  673. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -0
  674. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +41 -0
  675. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -0
  676. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +2 -0
  677. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -0
  678. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +65 -0
  679. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +1 -0
  680. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +2 -0
  681. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -0
  682. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +46 -0
  683. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +1 -0
  684. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +10 -0
  685. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -0
  686. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +142 -0
  687. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -0
  688. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +2 -0
  689. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -0
  690. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +292 -0
  691. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -0
  692. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +2 -0
  693. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -0
  694. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +348 -0
  695. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -0
  696. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +2 -0
  697. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -0
  698. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +98 -0
  699. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +1 -0
  700. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +2 -0
  701. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -0
  702. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +94 -0
  703. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -0
  704. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +2 -0
  705. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -0
  706. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +771 -0
  707. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -0
  708. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +19 -0
  709. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -0
  710. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +173 -0
  711. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -0
  712. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +2 -0
  713. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -0
  714. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +29 -0
  715. package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +1 -0
  716. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +2 -0
  717. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -0
  718. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +378 -0
  719. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -0
  720. package/dist/src/services/application/app-bootstrap.service.d.ts +438 -0
  721. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -0
  722. package/dist/src/services/application/app-bootstrap.service.js +1512 -0
  723. package/dist/src/services/application/app-bootstrap.service.js.map +1 -0
  724. package/dist/src/services/application/app-env.service.d.ts +18 -0
  725. package/dist/src/services/application/app-env.service.d.ts.map +1 -0
  726. package/dist/src/services/application/app-env.service.js +55 -0
  727. package/dist/src/services/application/app-env.service.js.map +1 -0
  728. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +34 -0
  729. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -0
  730. package/dist/src/services/application/app-local-runtime-addresses.service.js +110 -0
  731. package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -0
  732. package/dist/src/services/application/app-runtime-targets.service.d.ts +74 -0
  733. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -0
  734. package/dist/src/services/application/app-runtime-targets.service.js +134 -0
  735. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -0
  736. package/dist/src/services/application/app-schema-bootstrap.service.d.ts +81 -0
  737. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -0
  738. package/dist/src/services/application/app-schema-bootstrap.service.js +139 -0
  739. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -0
  740. package/dist/src/services/application/application-assets-delivery.service.d.ts +75 -0
  741. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -0
  742. package/dist/src/services/application/application-assets-delivery.service.js +152 -0
  743. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -0
  744. package/dist/src/services/application/application-dependency-alignment.service.d.ts +142 -0
  745. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -0
  746. package/dist/src/services/application/application-dependency-alignment.service.js +388 -0
  747. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -0
  748. package/dist/src/services/application/application-dev-port-offsets.d.ts +35 -0
  749. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -0
  750. package/dist/src/services/application/application-dev-port-offsets.js +35 -0
  751. package/dist/src/services/application/application-dev-port-offsets.js.map +1 -0
  752. package/dist/src/services/application/application-initialization-verification.service.d.ts +51 -0
  753. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -0
  754. package/dist/src/services/application/application-initialization-verification.service.js +124 -0
  755. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -0
  756. package/dist/src/services/application/application-root.utils.d.ts +9 -0
  757. package/dist/src/services/application/application-root.utils.d.ts.map +1 -0
  758. package/dist/src/services/application/application-root.utils.js +21 -0
  759. package/dist/src/services/application/application-root.utils.js.map +1 -0
  760. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +39 -0
  761. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -0
  762. package/dist/src/services/application/application-runtime-bootstrap.service.js +99 -0
  763. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -0
  764. package/dist/src/services/application/dev-orchestrator.service.d.ts +31 -0
  765. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -0
  766. package/dist/src/services/application/dev-orchestrator.service.js +182 -0
  767. package/dist/src/services/application/dev-orchestrator.service.js.map +1 -0
  768. package/dist/src/services/application/dev-schema-drift.service.d.ts +75 -0
  769. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -0
  770. package/dist/src/services/application/dev-schema-drift.service.js +210 -0
  771. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -0
  772. package/dist/src/services/application/existing-app-bootstrap.service.d.ts +18 -0
  773. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -0
  774. package/dist/src/services/application/existing-app-bootstrap.service.js +221 -0
  775. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -0
  776. package/dist/src/services/application/local-app-reinit.service.d.ts +41 -0
  777. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -0
  778. package/dist/src/services/application/local-app-reinit.service.js +118 -0
  779. package/dist/src/services/application/local-app-reinit.service.js.map +1 -0
  780. package/dist/src/services/application/local-application-initialization.service.d.ts +36 -0
  781. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -0
  782. package/dist/src/services/application/local-application-initialization.service.js +96 -0
  783. package/dist/src/services/application/local-application-initialization.service.js.map +1 -0
  784. package/dist/src/services/application/provider-runtime-sync.service.d.ts +63 -0
  785. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -0
  786. package/dist/src/services/application/provider-runtime-sync.service.js +609 -0
  787. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -0
  788. package/dist/src/services/application/saas-scaffold.service.d.ts +14 -0
  789. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -0
  790. package/dist/src/services/application/saas-scaffold.service.js +86 -0
  791. package/dist/src/services/application/saas-scaffold.service.js.map +1 -0
  792. package/dist/src/services/application/saas-skeleton.service.d.ts +69 -0
  793. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -0
  794. package/dist/src/services/application/saas-skeleton.service.js +774 -0
  795. package/dist/src/services/application/saas-skeleton.service.js.map +1 -0
  796. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +23 -0
  797. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -0
  798. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +190 -0
  799. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +1 -0
  800. package/dist/src/services/brand/brand-asset-projection.d.ts +39 -0
  801. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -0
  802. package/dist/src/services/brand/brand-asset-projection.js +68 -0
  803. package/dist/src/services/brand/brand-asset-projection.js.map +1 -0
  804. package/dist/src/services/brand/brand-destination-utils.d.ts +137 -0
  805. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -0
  806. package/dist/src/services/brand/brand-destination-utils.js +227 -0
  807. package/dist/src/services/brand/brand-destination-utils.js.map +1 -0
  808. package/dist/src/services/brand/brand-propagation.types.d.ts +101 -0
  809. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -0
  810. package/dist/src/services/brand/brand-propagation.types.js +22 -0
  811. package/dist/src/services/brand/brand-propagation.types.js.map +1 -0
  812. package/dist/src/services/brand/brand-ssot-reader.d.ts +52 -0
  813. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -0
  814. package/dist/src/services/brand/brand-ssot-reader.js +146 -0
  815. package/dist/src/services/brand/brand-ssot-reader.js.map +1 -0
  816. package/dist/src/services/brand/destinations/app-public.destination.d.ts +30 -0
  817. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -0
  818. package/dist/src/services/brand/destinations/app-public.destination.js +79 -0
  819. package/dist/src/services/brand/destinations/app-public.destination.js.map +1 -0
  820. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +61 -0
  821. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -0
  822. package/dist/src/services/brand/destinations/runtime-app-config.destination.js +149 -0
  823. package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +1 -0
  824. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +22 -0
  825. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -0
  826. package/dist/src/services/brand/destinations/technical-doc-static.destination.js +84 -0
  827. package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +1 -0
  828. package/dist/src/services/brand/destinations/website-og.destination.d.ts +34 -0
  829. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -0
  830. package/dist/src/services/brand/destinations/website-og.destination.js +80 -0
  831. package/dist/src/services/brand/destinations/website-og.destination.js.map +1 -0
  832. package/dist/src/services/brand/destinations/website-public.destination.d.ts +40 -0
  833. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -0
  834. package/dist/src/services/brand/destinations/website-public.destination.js +122 -0
  835. package/dist/src/services/brand/destinations/website-public.destination.js.map +1 -0
  836. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +2 -0
  837. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -0
  838. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +142 -0
  839. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -0
  840. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +2 -0
  841. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -0
  842. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +94 -0
  843. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -0
  844. package/dist/src/services/catalog/service-address-resolver.service.d.ts +91 -0
  845. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -0
  846. package/dist/src/services/catalog/service-address-resolver.service.js +255 -0
  847. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -0
  848. package/dist/src/services/catalog/service-catalog.schemas.d.ts +165 -0
  849. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -0
  850. package/dist/src/services/catalog/service-catalog.schemas.js +273 -0
  851. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -0
  852. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +105 -0
  853. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -0
  854. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +418 -0
  855. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -0
  856. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +10 -0
  857. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -0
  858. package/dist/src/services/companion/__tests__/companion-client.service.test.js +95 -0
  859. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -0
  860. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +2 -0
  861. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -0
  862. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +74 -0
  863. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +1 -0
  864. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +2 -0
  865. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -0
  866. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +14 -0
  867. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +1 -0
  868. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +2 -0
  869. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -0
  870. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +50 -0
  871. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -0
  872. package/dist/src/services/companion/companion-client-options.utils.d.ts +17 -0
  873. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -0
  874. package/dist/src/services/companion/companion-client-options.utils.js +31 -0
  875. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -0
  876. package/dist/src/services/companion/companion-client.service.d.ts +16 -0
  877. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -0
  878. package/dist/src/services/companion/companion-client.service.js +149 -0
  879. package/dist/src/services/companion/companion-client.service.js.map +1 -0
  880. package/dist/src/services/companion/companion-lifecycle.service.d.ts +18 -0
  881. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -0
  882. package/dist/src/services/companion/companion-lifecycle.service.js +96 -0
  883. package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -0
  884. package/dist/src/services/companion/companion.schemas.d.ts +36 -0
  885. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -0
  886. package/dist/src/services/companion/companion.schemas.js +25 -0
  887. package/dist/src/services/companion/companion.schemas.js.map +1 -0
  888. package/dist/src/services/companion/git-helper.service.d.ts +29 -0
  889. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -0
  890. package/dist/src/services/companion/git-helper.service.js +59 -0
  891. package/dist/src/services/companion/git-helper.service.js.map +1 -0
  892. package/dist/src/services/companion/local-companion-authority.service.d.ts +24 -0
  893. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -0
  894. package/dist/src/services/companion/local-companion-authority.service.js +79 -0
  895. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -0
  896. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts +9 -0
  897. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -0
  898. package/dist/src/services/companion/workbench-browser-launcher.service.js +34 -0
  899. package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -0
  900. package/dist/src/services/companion/workbench-cli.service.d.ts +41 -0
  901. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -0
  902. package/dist/src/services/companion/workbench-cli.service.js +74 -0
  903. package/dist/src/services/companion/workbench-cli.service.js.map +1 -0
  904. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +2 -0
  905. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -0
  906. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +49 -0
  907. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -0
  908. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +2 -0
  909. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -0
  910. package/dist/src/services/context/__tests__/context-manager.service.test.js +119 -0
  911. package/dist/src/services/context/__tests__/context-manager.service.test.js.map +1 -0
  912. package/dist/src/services/context/context-manager.service.d.ts +66 -0
  913. package/dist/src/services/context/context-manager.service.d.ts.map +1 -0
  914. package/dist/src/services/context/context-manager.service.js +161 -0
  915. package/dist/src/services/context/context-manager.service.js.map +1 -0
  916. package/dist/src/services/context/context.schemas.d.ts +31 -0
  917. package/dist/src/services/context/context.schemas.d.ts.map +1 -0
  918. package/dist/src/services/context/context.schemas.js +1 -0
  919. package/dist/src/services/context/context.schemas.js.map +1 -0
  920. package/dist/src/services/context/state-manager.service.d.ts +49 -0
  921. package/dist/src/services/context/state-manager.service.d.ts.map +1 -0
  922. package/dist/src/services/context/state-manager.service.js +94 -0
  923. package/dist/src/services/context/state-manager.service.js.map +1 -0
  924. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +14 -0
  925. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -0
  926. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +258 -0
  927. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -0
  928. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +2 -0
  929. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -0
  930. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +277 -0
  931. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -0
  932. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +31 -0
  933. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -0
  934. package/dist/src/services/credentials/ci-secrets-adapter.service.js +124 -0
  935. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -0
  936. package/dist/src/services/credentials/credentials.schemas.d.ts +498 -0
  937. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -0
  938. package/dist/src/services/credentials/credentials.schemas.js +454 -0
  939. package/dist/src/services/credentials/credentials.schemas.js.map +1 -0
  940. package/dist/src/services/credentials/credentials.service.d.ts +23 -0
  941. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -0
  942. package/dist/src/services/credentials/credentials.service.js +118 -0
  943. package/dist/src/services/credentials/credentials.service.js.map +1 -0
  944. package/dist/src/services/credentials/framework-managed-secrets.d.ts +169 -0
  945. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -0
  946. package/dist/src/services/credentials/framework-managed-secrets.js +406 -0
  947. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -0
  948. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +142 -0
  949. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -0
  950. package/dist/src/services/credentials/provider-env-vars.utils.js +420 -0
  951. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -0
  952. package/dist/src/services/credentials/secrets-provisioning.service.d.ts +109 -0
  953. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -0
  954. package/dist/src/services/credentials/secrets-provisioning.service.js +104 -0
  955. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -0
  956. package/dist/src/services/credentials/secrets-reader.service.d.ts +64 -0
  957. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -0
  958. package/dist/src/services/credentials/secrets-reader.service.js +222 -0
  959. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -0
  960. package/dist/src/services/credentials/secrets-rotation.service.d.ts +21 -0
  961. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -0
  962. package/dist/src/services/credentials/secrets-rotation.service.js +30 -0
  963. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -0
  964. package/dist/src/services/credentials/secrets-writer.service.d.ts +29 -0
  965. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -0
  966. package/dist/src/services/credentials/secrets-writer.service.js +63 -0
  967. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -0
  968. package/dist/src/services/data-services/data-services.schemas.d.ts +229 -0
  969. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -0
  970. package/dist/src/services/data-services/data-services.schemas.js +239 -0
  971. package/dist/src/services/data-services/data-services.schemas.js.map +1 -0
  972. package/dist/src/services/data-services/data-services.service.d.ts +14 -0
  973. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -0
  974. package/dist/src/services/data-services/data-services.service.js +24 -0
  975. package/dist/src/services/data-services/data-services.service.js.map +1 -0
  976. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +2 -0
  977. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -0
  978. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +64 -0
  979. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +1 -0
  980. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +2 -0
  981. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -0
  982. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +147 -0
  983. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -0
  984. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +2 -0
  985. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -0
  986. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +39 -0
  987. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -0
  988. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +2 -0
  989. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -0
  990. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +286 -0
  991. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -0
  992. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +20 -0
  993. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -0
  994. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +316 -0
  995. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -0
  996. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +2 -0
  997. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -0
  998. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +211 -0
  999. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +1 -0
  1000. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +2 -0
  1001. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -0
  1002. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +97 -0
  1003. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +1 -0
  1004. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +2 -0
  1005. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -0
  1006. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +258 -0
  1007. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +1 -0
  1008. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +2 -0
  1009. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -0
  1010. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +223 -0
  1011. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -0
  1012. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +2 -0
  1013. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -0
  1014. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +100 -0
  1015. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +1 -0
  1016. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +11 -0
  1017. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -0
  1018. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +451 -0
  1019. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -0
  1020. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +2 -0
  1021. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -0
  1022. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +189 -0
  1023. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -0
  1024. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +2 -0
  1025. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -0
  1026. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +150 -0
  1027. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -0
  1028. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +2 -0
  1029. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -0
  1030. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +245 -0
  1031. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +1 -0
  1032. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +2 -0
  1033. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -0
  1034. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +27 -0
  1035. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +1 -0
  1036. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts +7 -0
  1037. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -0
  1038. package/dist/src/services/deployment/apps-manager-diagnostics.service.js +51 -0
  1039. package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -0
  1040. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts +54 -0
  1041. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -0
  1042. package/dist/src/services/deployment/ci-deploy-generator.service.js +319 -0
  1043. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -0
  1044. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +109 -0
  1045. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -0
  1046. package/dist/src/services/deployment/ci-workflow-generator.service.js +160 -0
  1047. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -0
  1048. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +2 -0
  1049. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -0
  1050. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +45 -0
  1051. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +1 -0
  1052. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +2 -0
  1053. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -0
  1054. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +81 -0
  1055. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +1 -0
  1056. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +2 -0
  1057. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -0
  1058. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +814 -0
  1059. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -0
  1060. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +2 -0
  1061. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -0
  1062. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +77 -0
  1063. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -0
  1064. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +225 -0
  1065. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -0
  1066. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +696 -0
  1067. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -0
  1068. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +89 -0
  1069. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -0
  1070. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +198 -0
  1071. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -0
  1072. package/dist/src/services/deployment/docker/docker.schemas.d.ts +17 -0
  1073. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -0
  1074. package/dist/src/services/deployment/docker/docker.schemas.js +4 -0
  1075. package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -0
  1076. package/dist/src/services/deployment/docker/docker.service.d.ts +23 -0
  1077. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -0
  1078. package/dist/src/services/deployment/docker/docker.service.js +94 -0
  1079. package/dist/src/services/deployment/docker/docker.service.js.map +1 -0
  1080. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +209 -0
  1081. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -0
  1082. package/dist/src/services/deployment/host-toolchain-readiness.service.js +283 -0
  1083. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -0
  1084. package/dist/src/services/deployment/infra-writer.service.d.ts +16 -0
  1085. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -0
  1086. package/dist/src/services/deployment/infra-writer.service.js +71 -0
  1087. package/dist/src/services/deployment/infra-writer.service.js.map +1 -0
  1088. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +2 -0
  1089. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -0
  1090. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +235 -0
  1091. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -0
  1092. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +2 -0
  1093. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -0
  1094. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +968 -0
  1095. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -0
  1096. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +2 -0
  1097. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -0
  1098. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +39 -0
  1099. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +1 -0
  1100. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +2 -0
  1101. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -0
  1102. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +175 -0
  1103. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -0
  1104. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +2 -0
  1105. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -0
  1106. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +47 -0
  1107. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +1 -0
  1108. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +2 -0
  1109. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -0
  1110. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +22 -0
  1111. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +1 -0
  1112. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +30 -0
  1113. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -0
  1114. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +659 -0
  1115. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -0
  1116. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +47 -0
  1117. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -0
  1118. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +135 -0
  1119. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -0
  1120. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +283 -0
  1121. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -0
  1122. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +874 -0
  1123. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -0
  1124. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +164 -0
  1125. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -0
  1126. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +74 -0
  1127. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -0
  1128. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +152 -0
  1129. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -0
  1130. package/dist/src/services/deployment/k8s/k8s-operations.service.js +430 -0
  1131. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -0
  1132. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +23 -0
  1133. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -0
  1134. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +351 -0
  1135. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -0
  1136. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +36 -0
  1137. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -0
  1138. package/dist/src/services/deployment/k8s/k8s.schemas.js +39 -0
  1139. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -0
  1140. package/dist/src/services/deployment/k8s/kind.service.d.ts +64 -0
  1141. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -0
  1142. package/dist/src/services/deployment/k8s/kind.service.js +448 -0
  1143. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -0
  1144. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts +11 -0
  1145. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -0
  1146. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js +29 -0
  1147. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -0
  1148. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts +35 -0
  1149. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -0
  1150. package/dist/src/services/deployment/local-dev-observer-lifecycle.js +80 -0
  1151. package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -0
  1152. package/dist/src/services/deployment/local-dev-output-boundary.d.ts +120 -0
  1153. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -0
  1154. package/dist/src/services/deployment/local-dev-output-boundary.js +450 -0
  1155. package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -0
  1156. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +63 -0
  1157. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -0
  1158. package/dist/src/services/deployment/local-dev-session-lease.service.js +240 -0
  1159. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -0
  1160. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +56 -0
  1161. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -0
  1162. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +62 -0
  1163. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -0
  1164. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts +16 -0
  1165. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -0
  1166. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +72 -0
  1167. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -0
  1168. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts +41 -0
  1169. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -0
  1170. package/dist/src/services/deployment/local-precondition-checks.schemas.js +32 -0
  1171. package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -0
  1172. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +394 -0
  1173. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -0
  1174. package/dist/src/services/deployment/local-precondition-checks.service.js +785 -0
  1175. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -0
  1176. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +83 -0
  1177. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -0
  1178. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +298 -0
  1179. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -0
  1180. package/dist/src/services/deployment/platform-lifecycle.service.d.ts +105 -0
  1181. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -0
  1182. package/dist/src/services/deployment/platform-lifecycle.service.js +509 -0
  1183. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -0
  1184. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts +18 -0
  1185. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -0
  1186. package/dist/src/services/deployment/platform-runtime-policy.service.js +33 -0
  1187. package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -0
  1188. package/dist/src/services/deployment/version-compare.utils.d.ts +38 -0
  1189. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -0
  1190. package/dist/src/services/deployment/version-compare.utils.js +59 -0
  1191. package/dist/src/services/deployment/version-compare.utils.js.map +1 -0
  1192. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +5 -0
  1193. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -0
  1194. package/dist/src/services/design-tokens/design-tokens-command.service.js +277 -0
  1195. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -0
  1196. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +5 -0
  1197. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -0
  1198. package/dist/src/services/design-tokens/design-tokens-config.service.js +45 -0
  1199. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -0
  1200. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +2 -0
  1201. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -0
  1202. package/dist/src/services/design-tokens/design-tokens-config.template.js +12 -0
  1203. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -0
  1204. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts +7 -0
  1205. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -0
  1206. package/dist/src/services/design-tokens/design-tokens-css-block.service.js +24 -0
  1207. package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -0
  1208. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +23 -0
  1209. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -0
  1210. package/dist/src/services/design-tokens/design-tokens-paths.service.js +49 -0
  1211. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -0
  1212. package/dist/src/services/design-tokens/design-tokens.constants.d.ts +7 -0
  1213. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -0
  1214. package/dist/src/services/design-tokens/design-tokens.constants.js +16 -0
  1215. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -0
  1216. package/dist/src/services/design-tokens/design-tokens.models.d.ts +7 -0
  1217. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -0
  1218. package/dist/src/services/design-tokens/design-tokens.models.js +1 -0
  1219. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -0
  1220. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +2 -0
  1221. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -0
  1222. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +93 -0
  1223. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -0
  1224. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +2 -0
  1225. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -0
  1226. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +105 -0
  1227. package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +1 -0
  1228. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +2 -0
  1229. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -0
  1230. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +555 -0
  1231. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -0
  1232. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +2 -0
  1233. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -0
  1234. package/dist/src/services/environment/__tests__/env-sync.service.test.js +122 -0
  1235. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -0
  1236. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +2 -0
  1237. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -0
  1238. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +1547 -0
  1239. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -0
  1240. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +22 -0
  1241. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -0
  1242. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +100 -0
  1243. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -0
  1244. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +2 -0
  1245. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -0
  1246. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +82 -0
  1247. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +1 -0
  1248. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +2 -0
  1249. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -0
  1250. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +116 -0
  1251. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +1 -0
  1252. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +2 -0
  1253. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -0
  1254. package/dist/src/services/environment/__tests__/environment-paths.service.test.js +18 -0
  1255. package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +1 -0
  1256. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +2 -0
  1257. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -0
  1258. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +175 -0
  1259. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -0
  1260. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +2 -0
  1261. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -0
  1262. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +164 -0
  1263. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -0
  1264. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +2 -0
  1265. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -0
  1266. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +96 -0
  1267. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +1 -0
  1268. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +2 -0
  1269. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -0
  1270. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +30 -0
  1271. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -0
  1272. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +2 -0
  1273. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -0
  1274. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +48 -0
  1275. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +1 -0
  1276. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +2 -0
  1277. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -0
  1278. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +96 -0
  1279. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +1 -0
  1280. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +2 -0
  1281. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -0
  1282. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +121 -0
  1283. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -0
  1284. package/dist/src/services/environment/authored-infra-config.utils.d.ts +69 -0
  1285. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -0
  1286. package/dist/src/services/environment/authored-infra-config.utils.js +174 -0
  1287. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -0
  1288. package/dist/src/services/environment/env-configuration-generator.service.d.ts +340 -0
  1289. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -0
  1290. package/dist/src/services/environment/env-configuration-generator.service.js +560 -0
  1291. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -0
  1292. package/dist/src/services/environment/env-sync.service.d.ts +36 -0
  1293. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -0
  1294. package/dist/src/services/environment/env-sync.service.js +166 -0
  1295. package/dist/src/services/environment/env-sync.service.js.map +1 -0
  1296. package/dist/src/services/environment/env-vars-builder.service.d.ts +301 -0
  1297. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -0
  1298. package/dist/src/services/environment/env-vars-builder.service.js +1493 -0
  1299. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -0
  1300. package/dist/src/services/environment/environment-hydration.utils.d.ts +92 -0
  1301. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -0
  1302. package/dist/src/services/environment/environment-hydration.utils.js +178 -0
  1303. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -0
  1304. package/dist/src/services/environment/environment-lifecycle.service.d.ts +103 -0
  1305. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -0
  1306. package/dist/src/services/environment/environment-lifecycle.service.js +264 -0
  1307. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -0
  1308. package/dist/src/services/environment/environment-paths.service.d.ts +235 -0
  1309. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -0
  1310. package/dist/src/services/environment/environment-paths.service.js +472 -0
  1311. package/dist/src/services/environment/environment-paths.service.js.map +1 -0
  1312. package/dist/src/services/environment/environment-registry.service.d.ts +111 -0
  1313. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -0
  1314. package/dist/src/services/environment/environment-registry.service.js +391 -0
  1315. package/dist/src/services/environment/environment-registry.service.js.map +1 -0
  1316. package/dist/src/services/environment/environment-setup.service.d.ts +28 -0
  1317. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -0
  1318. package/dist/src/services/environment/environment-setup.service.js +304 -0
  1319. package/dist/src/services/environment/environment-setup.service.js.map +1 -0
  1320. package/dist/src/services/environment/environment.schemas.d.ts +211 -0
  1321. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -0
  1322. package/dist/src/services/environment/environment.schemas.js +56 -0
  1323. package/dist/src/services/environment/environment.schemas.js.map +1 -0
  1324. package/dist/src/services/environment/environment.service.d.ts +74 -0
  1325. package/dist/src/services/environment/environment.service.d.ts.map +1 -0
  1326. package/dist/src/services/environment/environment.service.js +65 -0
  1327. package/dist/src/services/environment/environment.service.js.map +1 -0
  1328. package/dist/src/services/environment/platform-engine-change.utils.d.ts +87 -0
  1329. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -0
  1330. package/dist/src/services/environment/platform-engine-change.utils.js +121 -0
  1331. package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -0
  1332. package/dist/src/services/environment/platform-runtime-state.service.d.ts +14 -0
  1333. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -0
  1334. package/dist/src/services/environment/platform-runtime-state.service.js +68 -0
  1335. package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -0
  1336. package/dist/src/services/environment/platform-runtime.schemas.d.ts +74 -0
  1337. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -0
  1338. package/dist/src/services/environment/platform-runtime.schemas.js +85 -0
  1339. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -0
  1340. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +285 -0
  1341. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -0
  1342. package/dist/src/services/environment/runtime-bootstrap.service.js +436 -0
  1343. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -0
  1344. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +14 -0
  1345. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -0
  1346. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +65 -0
  1347. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -0
  1348. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +2 -0
  1349. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -0
  1350. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +41 -0
  1351. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -0
  1352. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +2 -0
  1353. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -0
  1354. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +38 -0
  1355. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +1 -0
  1356. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +2 -0
  1357. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -0
  1358. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +181 -0
  1359. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +1 -0
  1360. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +2 -0
  1361. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -0
  1362. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +328 -0
  1363. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -0
  1364. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +2 -0
  1365. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -0
  1366. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +84 -0
  1367. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -0
  1368. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +2 -0
  1369. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -0
  1370. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +232 -0
  1371. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -0
  1372. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +2 -0
  1373. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -0
  1374. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +1316 -0
  1375. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -0
  1376. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +2 -0
  1377. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -0
  1378. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +1224 -0
  1379. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -0
  1380. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +2 -0
  1381. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -0
  1382. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +504 -0
  1383. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -0
  1384. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +2 -0
  1385. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -0
  1386. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +456 -0
  1387. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -0
  1388. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +2 -0
  1389. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -0
  1390. package/dist/src/services/framework/__tests__/framework-release.service.test.js +75 -0
  1391. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -0
  1392. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +2 -0
  1393. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -0
  1394. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +64 -0
  1395. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +1 -0
  1396. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +2 -0
  1397. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -0
  1398. package/dist/src/services/framework/__tests__/framework-version.service.test.js +105 -0
  1399. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -0
  1400. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +2 -0
  1401. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -0
  1402. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +60 -0
  1403. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +1 -0
  1404. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +67 -0
  1405. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -0
  1406. package/dist/src/services/framework/framework-development-skills-sync.service.js +536 -0
  1407. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -0
  1408. package/dist/src/services/framework/framework-docker-publish.service.d.ts +82 -0
  1409. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -0
  1410. package/dist/src/services/framework/framework-docker-publish.service.js +234 -0
  1411. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -0
  1412. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts +42 -0
  1413. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -0
  1414. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js +214 -0
  1415. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -0
  1416. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +547 -0
  1417. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -0
  1418. package/dist/src/services/framework/framework-knowledge-audit.service.js +2138 -0
  1419. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -0
  1420. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +181 -0
  1421. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -0
  1422. package/dist/src/services/framework/framework-knowledge-generation.service.js +1794 -0
  1423. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -0
  1424. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +11 -0
  1425. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -0
  1426. package/dist/src/services/framework/framework-knowledge-scan.constants.js +74 -0
  1427. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -0
  1428. package/dist/src/services/framework/framework-npm-publish.service.d.ts +82 -0
  1429. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -0
  1430. package/dist/src/services/framework/framework-npm-publish.service.js +365 -0
  1431. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -0
  1432. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +111 -0
  1433. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -0
  1434. package/dist/src/services/framework/framework-publish-manifest.service.js +520 -0
  1435. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -0
  1436. package/dist/src/services/framework/framework-release.service.d.ts +40 -0
  1437. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -0
  1438. package/dist/src/services/framework/framework-release.service.js +104 -0
  1439. package/dist/src/services/framework/framework-release.service.js.map +1 -0
  1440. package/dist/src/services/framework/framework-version.service.d.ts +39 -0
  1441. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -0
  1442. package/dist/src/services/framework/framework-version.service.js +200 -0
  1443. package/dist/src/services/framework/framework-version.service.js.map +1 -0
  1444. package/dist/src/services/framework/installed-framework-assets.service.d.ts +61 -0
  1445. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -0
  1446. package/dist/src/services/framework/installed-framework-assets.service.js +87 -0
  1447. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -0
  1448. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +2 -0
  1449. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -0
  1450. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +69 -0
  1451. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -0
  1452. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +2 -0
  1453. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -0
  1454. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +52 -0
  1455. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +1 -0
  1456. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +2 -0
  1457. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -0
  1458. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +129 -0
  1459. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -0
  1460. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts +49 -0
  1461. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -0
  1462. package/dist/src/services/frontend/cloudflare-cdn.service.js +84 -0
  1463. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -0
  1464. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +62 -0
  1465. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -0
  1466. package/dist/src/services/frontend/frontend-dist-uploader.service.js +149 -0
  1467. package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -0
  1468. package/dist/src/services/frontend/frontend-publish.service.d.ts +70 -0
  1469. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -0
  1470. package/dist/src/services/frontend/frontend-publish.service.js +211 -0
  1471. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -0
  1472. package/dist/src/services/generation/domain-generator.service.d.ts +11 -0
  1473. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -0
  1474. package/dist/src/services/generation/domain-generator.service.js +35 -0
  1475. package/dist/src/services/generation/domain-generator.service.js.map +1 -0
  1476. package/dist/src/services/generation/generator.schemas.d.ts +27 -0
  1477. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -0
  1478. package/dist/src/services/generation/generator.schemas.js +4 -0
  1479. package/dist/src/services/generation/generator.schemas.js.map +1 -0
  1480. package/dist/src/services/generation/operation-generator.service.d.ts +11 -0
  1481. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -0
  1482. package/dist/src/services/generation/operation-generator.service.js +42 -0
  1483. package/dist/src/services/generation/operation-generator.service.js.map +1 -0
  1484. package/dist/src/services/generation/resource-generator.service.d.ts +11 -0
  1485. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -0
  1486. package/dist/src/services/generation/resource-generator.service.js +41 -0
  1487. package/dist/src/services/generation/resource-generator.service.js.map +1 -0
  1488. package/dist/src/services/generation/template-registry.service.d.ts +13 -0
  1489. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -0
  1490. package/dist/src/services/generation/template-registry.service.js +25 -0
  1491. package/dist/src/services/generation/template-registry.service.js.map +1 -0
  1492. package/dist/src/services/registry/artifact-extractor.utils.d.ts +49 -0
  1493. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -0
  1494. package/dist/src/services/registry/artifact-extractor.utils.js +146 -0
  1495. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -0
  1496. package/dist/src/services/registry/boundary-fanout.utils.d.ts +95 -0
  1497. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -0
  1498. package/dist/src/services/registry/boundary-fanout.utils.js +178 -0
  1499. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -0
  1500. package/dist/src/services/registry/index.d.ts +7 -0
  1501. package/dist/src/services/registry/index.d.ts.map +1 -0
  1502. package/dist/src/services/registry/index.js +7 -0
  1503. package/dist/src/services/registry/index.js.map +1 -0
  1504. package/dist/src/services/registry/registry-command.utils.d.ts +90 -0
  1505. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -0
  1506. package/dist/src/services/registry/registry-command.utils.js +164 -0
  1507. package/dist/src/services/registry/registry-command.utils.js.map +1 -0
  1508. package/dist/src/services/registry/registry-config-resolver.service.d.ts +50 -0
  1509. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -0
  1510. package/dist/src/services/registry/registry-config-resolver.service.js +88 -0
  1511. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -0
  1512. package/dist/src/services/registry/registry-credentials.service.d.ts +64 -0
  1513. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -0
  1514. package/dist/src/services/registry/registry-credentials.service.js +171 -0
  1515. package/dist/src/services/registry/registry-credentials.service.js.map +1 -0
  1516. package/dist/src/services/registry/saas-root-required.error.d.ts +22 -0
  1517. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -0
  1518. package/dist/src/services/registry/saas-root-required.error.js +26 -0
  1519. package/dist/src/services/registry/saas-root-required.error.js.map +1 -0
  1520. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +2 -0
  1521. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -0
  1522. package/dist/src/services/security/__tests__/csp-boundary.test.js +99 -0
  1523. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -0
  1524. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +2 -0
  1525. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -0
  1526. package/dist/src/services/security/__tests__/csp-sync.service.test.js +158 -0
  1527. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -0
  1528. package/dist/src/services/security/csp-sync.service.d.ts +65 -0
  1529. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -0
  1530. package/dist/src/services/security/csp-sync.service.js +294 -0
  1531. package/dist/src/services/security/csp-sync.service.js.map +1 -0
  1532. package/dist/src/services/tools/utility-tools.service.d.ts +47 -0
  1533. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -0
  1534. package/dist/src/services/tools/utility-tools.service.js +332 -0
  1535. package/dist/src/services/tools/utility-tools.service.js.map +1 -0
  1536. package/dist/src/services/website/website-structured-data-audit.service.d.ts +15 -0
  1537. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -0
  1538. package/dist/src/services/website/website-structured-data-audit.service.js +125 -0
  1539. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -0
  1540. package/dist/src/test-utils/resolved-homes.test.utils.d.ts +4 -0
  1541. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -0
  1542. package/dist/src/test-utils/resolved-homes.test.utils.js +18 -0
  1543. package/dist/src/test-utils/resolved-homes.test.utils.js.map +1 -0
  1544. package/dist/tsconfig.build.tsbuildinfo +1 -0
  1545. package/dist/tsconfig.tsbuildinfo +1 -0
  1546. package/framework-root-package.json +270 -0
  1547. package/package.json +431 -0
  1548. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +773 -0
  1549. package/templates/config/app-backend-env.example.hbs +47 -0
  1550. package/templates/infra/ci/README.md +36 -0
  1551. package/templates/infra/ci/deploy-docker-compose.yml.hbs +103 -0
  1552. package/templates/infra/ci/deploy-k8s.yml.hbs +114 -0
  1553. package/templates/infra/ci/wildo-config-validation.yml.hbs +40 -0
  1554. package/templates/infra/docker-compose/.env.example +24 -0
  1555. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +174 -0
  1556. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +1198 -0
  1557. package/templates/infra/docker-images/application/.dockerignore +83 -0
  1558. package/templates/infra/docker-images/backend/Dockerfile.backend-base +43 -0
  1559. package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +31 -0
  1560. package/templates/infra/docker-images/platform/Dockerfile.platform-base +178 -0
  1561. package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +46 -0
  1562. package/templates/infra/docker-images/platform/entrypoint.sh +191 -0
  1563. package/templates/infra/docker-images/platform/verify-peers.mjs +67 -0
  1564. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +164 -0
  1565. package/templates/infra/k8s/applications/wildo-ai-application/backend.immudb-audit-state.pvc.yaml.hbs +43 -0
  1566. package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +31 -0
  1567. package/templates/infra/k8s/applications/wildo-ai-application/frontend.deployment.yaml.hbs +117 -0
  1568. package/templates/infra/k8s/applications/wildo-ai-application/frontend.service.yaml.hbs +27 -0
  1569. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +59 -0
  1570. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +158 -0
  1571. package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +145 -0
  1572. package/templates/infra/k8s/applications/wildo-ai-application/worker.service.yaml.hbs +29 -0
  1573. package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +44 -0
  1574. package/templates/infra/k8s/ingress/cert-manager/local/selfsigned-issuer.yaml +48 -0
  1575. package/templates/infra/k8s/ingress/cert-manager/local/wildcard-certificate.yaml +24 -0
  1576. package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +41 -0
  1577. package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +39 -0
  1578. package/templates/infra/k8s/ingress/traefik/local/values.yaml +57 -0
  1579. package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +79 -0
  1580. package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +96 -0
  1581. package/templates/infra/k8s/internal/clamav/service.yaml.hbs +22 -0
  1582. package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +46 -0
  1583. package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +19 -0
  1584. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +153 -0
  1585. package/templates/infra/k8s/internal/immudb/service.yaml.hbs +21 -0
  1586. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +97 -0
  1587. package/templates/infra/k8s/internal/minio/service.yaml.hbs +23 -0
  1588. package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +273 -0
  1589. package/templates/infra/k8s/internal/mongodb/service.yaml.hbs +24 -0
  1590. package/templates/infra/k8s/internal/mongot/configmap.yaml.hbs +53 -0
  1591. package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +123 -0
  1592. package/templates/infra/k8s/internal/mongot/service.yaml.hbs +33 -0
  1593. package/templates/infra/k8s/internal/postgresql/configmap.yaml.hbs +46 -0
  1594. package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +131 -0
  1595. package/templates/infra/k8s/internal/postgresql/service.yaml.hbs +19 -0
  1596. package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +105 -0
  1597. package/templates/infra/k8s/internal/rabbitmq/service.yaml.hbs +23 -0
  1598. package/templates/infra/k8s/internal/valkey/configmap.yaml.hbs +23 -0
  1599. package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +129 -0
  1600. package/templates/infra/k8s/internal/valkey/service.yaml.hbs +19 -0
  1601. package/templates/infra/k8s/middleware.yaml.hbs +101 -0
  1602. package/templates/infra/k8s/namespace.yaml.hbs +7 -0
  1603. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +172 -0
  1604. package/templates/infra/k8s/platform/platform-apps-manager/service.yaml +19 -0
  1605. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +161 -0
  1606. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/service.yaml +19 -0
  1607. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +161 -0
  1608. package/templates/infra/k8s/platform/platform-module-registry/service.yaml +19 -0
  1609. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +221 -0
  1610. package/templates/infra/k8s/storage/local/storage-class.yaml +74 -0
  1611. package/templates/infra/k8s/tls-config.yaml.hbs +41 -0
  1612. package/templates/infra/yara-rules/archives.yar +99 -0
  1613. package/templates/infra/yara-rules/executables.yar +88 -0
  1614. package/templates/infra/yara-rules/office_macros.yar +79 -0
  1615. package/templates/infra/yara-rules/scripts.yar +103 -0
  1616. package/templates/infra/yara-rules/webshells.yar +111 -0
  1617. package/templates/infra/yara-service/Dockerfile +30 -0
  1618. package/templates/infra/yara-service/api.py +236 -0
  1619. package/templates/infra/yara-service/requirements.txt +3 -0
  1620. package/templates/infra/yara-service/rules/archives.yar +99 -0
  1621. package/templates/infra/yara-service/rules/executables.yar +88 -0
  1622. package/templates/infra/yara-service/rules/office_macros.yar +79 -0
  1623. package/templates/infra/yara-service/rules/scripts.yar +103 -0
  1624. package/templates/infra/yara-service/rules/webshells.yar +111 -0
  1625. package/templates/saas/engine-peer-closure.json +569 -0
  1626. package/templates/saas/i18n/email/components/AlertBox.tsx +53 -0
  1627. package/templates/saas/i18n/email/components/BodyText.tsx +25 -0
  1628. package/templates/saas/i18n/email/components/Card.tsx +23 -0
  1629. package/templates/saas/i18n/email/components/Divider.tsx +19 -0
  1630. package/templates/saas/i18n/email/components/EmailFooter.tsx +47 -0
  1631. package/templates/saas/i18n/email/components/EmailHeader.tsx +37 -0
  1632. package/templates/saas/i18n/email/components/EmailLayout.tsx +52 -0
  1633. package/templates/saas/i18n/email/components/HeadingText.tsx +27 -0
  1634. package/templates/saas/i18n/email/components/InfoRow.tsx +43 -0
  1635. package/templates/saas/i18n/email/components/OtpCodeDisplay.tsx +35 -0
  1636. package/templates/saas/i18n/email/components/PrimaryButton.tsx +30 -0
  1637. package/templates/saas/i18n/email/components/SecondaryButton.tsx +31 -0
  1638. package/templates/saas/i18n/email/components/index.ts +35 -0
  1639. package/templates/saas/i18n/email/email-template-definitions.ts +46 -0
  1640. package/templates/saas/i18n/email/index.ts +2 -0
  1641. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.en.ts +14 -0
  1642. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +49 -0
  1643. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.en.ts +14 -0
  1644. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +49 -0
  1645. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.en.ts +14 -0
  1646. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +49 -0
  1647. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.en.ts +14 -0
  1648. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +49 -0
  1649. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.en.ts +14 -0
  1650. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +49 -0
  1651. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.en.ts +14 -0
  1652. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +53 -0
  1653. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.en.ts +14 -0
  1654. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +53 -0
  1655. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.en.ts +14 -0
  1656. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +53 -0
  1657. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.en.ts +16 -0
  1658. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +60 -0
  1659. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.en.ts +13 -0
  1660. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +48 -0
  1661. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.en.ts +14 -0
  1662. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +51 -0
  1663. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.en.ts +14 -0
  1664. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +51 -0
  1665. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.en.ts +14 -0
  1666. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +51 -0
  1667. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.en.ts +14 -0
  1668. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +51 -0
  1669. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.en.ts +16 -0
  1670. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +61 -0
  1671. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.en.ts +13 -0
  1672. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +48 -0
  1673. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.en.ts +13 -0
  1674. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +48 -0
  1675. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.en.ts +14 -0
  1676. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +51 -0
  1677. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.en.ts +14 -0
  1678. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +51 -0
  1679. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.en.ts +14 -0
  1680. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +51 -0
  1681. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.en.ts +16 -0
  1682. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +61 -0
  1683. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.en.ts +14 -0
  1684. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +50 -0
  1685. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.en.ts +14 -0
  1686. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +50 -0
  1687. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.en.ts +13 -0
  1688. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +50 -0
  1689. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.en.ts +13 -0
  1690. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +50 -0
  1691. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.en.ts +13 -0
  1692. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +50 -0
  1693. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.en.ts +14 -0
  1694. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +50 -0
  1695. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.en.ts +13 -0
  1696. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +50 -0
  1697. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.en.ts +13 -0
  1698. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +50 -0
  1699. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.en.ts +13 -0
  1700. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +50 -0
  1701. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.en.ts +14 -0
  1702. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +50 -0
  1703. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.en.ts +13 -0
  1704. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +50 -0
  1705. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.en.ts +13 -0
  1706. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +50 -0
  1707. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +22 -0
  1708. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +80 -0
  1709. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +22 -0
  1710. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +80 -0
  1711. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +16 -0
  1712. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +48 -0
  1713. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +22 -0
  1714. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +80 -0
  1715. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +30 -0
  1716. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +84 -0
  1717. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +20 -0
  1718. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +77 -0
  1719. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +22 -0
  1720. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +73 -0
  1721. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +20 -0
  1722. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +77 -0
  1723. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/labels.en.ts +19 -0
  1724. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +53 -0
  1725. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +18 -0
  1726. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +63 -0
  1727. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +18 -0
  1728. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +49 -0
  1729. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +17 -0
  1730. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +49 -0
  1731. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +20 -0
  1732. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +77 -0
  1733. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/labels.en.ts +17 -0
  1734. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +43 -0
  1735. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +20 -0
  1736. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +77 -0
  1737. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.en.ts +14 -0
  1738. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +53 -0
  1739. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.en.ts +14 -0
  1740. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +53 -0
  1741. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.en.ts +14 -0
  1742. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +53 -0
  1743. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.en.ts +14 -0
  1744. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +53 -0
  1745. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.en.ts +14 -0
  1746. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +53 -0
  1747. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.en.ts +14 -0
  1748. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +53 -0
  1749. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.en.ts +14 -0
  1750. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +53 -0
  1751. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.en.ts +14 -0
  1752. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +53 -0
  1753. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.en.ts +16 -0
  1754. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +61 -0
  1755. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.en.ts +16 -0
  1756. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +61 -0
  1757. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.en.ts +15 -0
  1758. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +58 -0
  1759. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.en.ts +16 -0
  1760. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +61 -0
  1761. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.en.ts +14 -0
  1762. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +51 -0
  1763. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.en.ts +16 -0
  1764. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +61 -0
  1765. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.en.ts +13 -0
  1766. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +49 -0
  1767. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.en.ts +15 -0
  1768. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +54 -0
  1769. package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.en.ts +14 -0
  1770. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +52 -0
  1771. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.en.ts +16 -0
  1772. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +48 -0
  1773. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.en.ts +18 -0
  1774. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +48 -0
  1775. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.en.ts +11 -0
  1776. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +39 -0
  1777. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.en.ts +11 -0
  1778. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +37 -0
  1779. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.en.ts +13 -0
  1780. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +50 -0
  1781. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.en.ts +13 -0
  1782. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +50 -0
  1783. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +39 -0
  1784. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +102 -0
  1785. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.en.ts +13 -0
  1786. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +46 -0
  1787. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.en.ts +12 -0
  1788. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +46 -0
  1789. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.en.ts +13 -0
  1790. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +50 -0
  1791. package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.en.ts +14 -0
  1792. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +56 -0
  1793. package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.en.ts +13 -0
  1794. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +50 -0
  1795. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.en.ts +13 -0
  1796. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +50 -0
  1797. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.en.ts +13 -0
  1798. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +50 -0
  1799. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.en.ts +13 -0
  1800. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +50 -0
  1801. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.en.ts +13 -0
  1802. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +50 -0
  1803. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.en.ts +13 -0
  1804. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +50 -0
  1805. package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.en.ts +13 -0
  1806. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +50 -0
  1807. package/templates/saas/i18n/email/system/email-otp/labels.en.ts +10 -0
  1808. package/templates/saas/i18n/email/system/email-otp/template.tsx +44 -0
  1809. package/templates/saas/i18n/email/system/email-verification/labels.en.ts +11 -0
  1810. package/templates/saas/i18n/email/system/email-verification/template.tsx +39 -0
  1811. package/templates/saas/i18n/email/system/magic-link/labels.en.ts +10 -0
  1812. package/templates/saas/i18n/email/system/magic-link/template.tsx +44 -0
  1813. package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +18 -0
  1814. package/templates/saas/i18n/email/system/new-device-login/template.tsx +62 -0
  1815. package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +15 -0
  1816. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +65 -0
  1817. package/templates/saas/i18n/email/system/organization-member-removed/labels.en.ts +14 -0
  1818. package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +54 -0
  1819. package/templates/saas/i18n/email/system/password-reset/labels.en.ts +10 -0
  1820. package/templates/saas/i18n/email/system/password-reset/template.tsx +42 -0
  1821. package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +16 -0
  1822. package/templates/saas/i18n/email/system/payment-failed/template.tsx +59 -0
  1823. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +16 -0
  1824. package/templates/saas/i18n/email/system/security-alert/template.tsx +71 -0
  1825. package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +15 -0
  1826. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +56 -0
  1827. package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +14 -0
  1828. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +59 -0
  1829. package/templates/saas/i18n/email/system/welcome-email/labels.en.ts +15 -0
  1830. package/templates/saas/i18n/email/system/welcome-email/template.tsx +42 -0
  1831. package/templates/saas/scenarios/add-backend-provider/scenario.json +17 -0
  1832. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +36 -0
  1833. package/templates/saas/scenarios/add-custom-operation/scenario.json +61 -0
  1834. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +73 -0
  1835. package/templates/saas/scenarios/add-environment/scenario.json +53 -0
  1836. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +27 -0
  1837. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +27 -0
  1838. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +18 -0
  1839. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +52 -0
  1840. package/templates/saas/scenarios/add-locale/scenario.json +19 -0
  1841. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +52 -0
  1842. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +22 -0
  1843. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +49 -0
  1844. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +59 -0
  1845. package/templates/saas/scenarios/add-marketing-page/scenario.json +38 -0
  1846. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +20 -0
  1847. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +42 -0
  1848. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +81 -0
  1849. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/companion-exports.ts.hbs +15 -0
  1850. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +135 -0
  1851. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/minion-init.ts.hbs +39 -0
  1852. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.build.json +12 -0
  1853. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.json +16 -0
  1854. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +33 -0
  1855. package/templates/saas/scenarios/add-minion/scenario.json +27 -0
  1856. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.ts.hbs +9 -0
  1857. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.types.ts.hbs +2 -0
  1858. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/controllers/index.ts.hbs +12 -0
  1859. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/services/index.ts.hbs +8 -0
  1860. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/index.ts.hbs +17 -0
  1861. package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/resources/index.ts +9 -0
  1862. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/index.ts.hbs +11 -0
  1863. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/view-refs.frontend.ts.hbs +6 -0
  1864. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +33 -0
  1865. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/index.ts.hbs +14 -0
  1866. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/resources/index.ts.hbs +11 -0
  1867. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/index.ts.hbs +16 -0
  1868. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.relationships.ts.hbs +27 -0
  1869. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resource-configs.ts.hbs +17 -0
  1870. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resources-types.ts.hbs +10 -0
  1871. package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/index.ts.hbs +7 -0
  1872. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/chart-view-specifications.ts.hbs +12 -0
  1873. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/composite-views/index.ts.hbs +4 -0
  1874. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/execution-view-specifications.ts.hbs +11 -0
  1875. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +31 -0
  1876. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/resources/index.ts.hbs +10 -0
  1877. package/templates/saas/scenarios/add-module/scenario.json +69 -0
  1878. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.resources-config.ts.hbs +86 -0
  1879. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +26 -0
  1880. package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +126 -0
  1881. package/templates/saas/scenarios/add-resource/scenario.json +149 -0
  1882. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +288 -0
  1883. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/README.md +195 -0
  1884. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +20 -0
  1885. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/directive-only/cross-domain-insecure.conf +12 -0
  1886. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +40 -0
  1887. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/protect-system-files.conf +20 -0
  1888. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/mime.types +108 -0
  1889. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/nginx.conf +91 -0
  1890. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +112 -0
  1891. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +56 -0
  1892. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +110 -0
  1893. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +54 -0
  1894. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/companion-exports.ts +16 -0
  1895. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +72 -0
  1896. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +89 -0
  1897. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/css/custom.css +951 -0
  1898. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +13 -0
  1899. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +41 -0
  1900. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +5 -0
  1901. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +5 -0
  1902. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/index.tsx +12 -0
  1903. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +83 -0
  1904. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +10 -0
  1905. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +38 -0
  1906. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
  1907. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +11 -0
  1908. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
  1909. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -0
  1910. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/tsconfig.json +27 -0
  1911. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +87 -0
  1912. package/templates/saas/scenarios/add-technical-doc/scenario.json +27 -0
  1913. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +103 -0
  1914. package/templates/saas/scenarios/add-website/files/website/nginx-config/default.conf.hbs +15 -0
  1915. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +32 -0
  1916. package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +25 -0
  1917. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +21 -0
  1918. package/templates/saas/scenarios/add-website/files/website/src/companion-exports.ts +7 -0
  1919. package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +63 -0
  1920. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +119 -0
  1921. package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +20 -0
  1922. package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +40 -0
  1923. package/templates/saas/scenarios/add-website/files/website/src/env.d.ts +1 -0
  1924. package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +11 -0
  1925. package/templates/saas/scenarios/add-website/files/website/src/head-assets.ts +22 -0
  1926. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +18 -0
  1927. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +52 -0
  1928. package/templates/saas/scenarios/add-website/files/website/src/pages/robots.txt.ts +30 -0
  1929. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +34 -0
  1930. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +50 -0
  1931. package/templates/saas/scenarios/add-website/files/website/src/provider-contributions.ts +10 -0
  1932. package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +59 -0
  1933. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +76 -0
  1934. package/templates/saas/scenarios/add-website/files/website/src/site.constants.ts.hbs +15 -0
  1935. package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +441 -0
  1936. package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +126 -0
  1937. package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +81 -0
  1938. package/templates/saas/scenarios/add-website/files/website/tsconfig.json +12 -0
  1939. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +32 -0
  1940. package/templates/saas/scenarios/add-website/scenario.json +25 -0
  1941. package/templates/saas/scenarios/add-website-section/scenario.json +43 -0
  1942. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +19 -0
  1943. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +40 -0
  1944. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/companion-exports.ts.hbs +17 -0
  1945. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +180 -0
  1946. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.build.json +12 -0
  1947. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.json +16 -0
  1948. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +38 -0
  1949. package/templates/saas/scenarios/add-worker-node/scenario.json +24 -0
  1950. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +21 -0
  1951. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +21 -0
  1952. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +408 -0
  1953. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +41 -0
  1954. package/templates/saas/scenarios/add-worker-rust/scenario.json +22 -0
  1955. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/package.json.hbs +10 -0
  1956. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +161 -0
  1957. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/resolve-home-path.mts +62 -0
  1958. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +552 -0
  1959. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +75 -0
  1960. package/templates/saas/skeleton/CLAUDE.md.hbs +82 -0
  1961. package/templates/saas/skeleton/backend-api/package.json.hbs +50 -0
  1962. package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +116 -0
  1963. package/templates/saas/skeleton/backend-api/src/backend-owned-module.ts +8 -0
  1964. package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +51 -0
  1965. package/templates/saas/skeleton/backend-api/src/companion-exports.ts +37 -0
  1966. package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +46 -0
  1967. package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +2 -0
  1968. package/templates/saas/skeleton/backend-api/src/engine/i18n/index.ts +30 -0
  1969. package/templates/saas/skeleton/backend-api/src/engine/index.ts +16 -0
  1970. package/templates/saas/skeleton/backend-api/src/engine/resources/index.ts +8 -0
  1971. package/templates/saas/skeleton/backend-api/src/index.ts +99 -0
  1972. package/templates/saas/skeleton/backend-api/src/modules/index.ts +21 -0
  1973. package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +71 -0
  1974. package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +44 -0
  1975. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +165 -0
  1976. package/templates/saas/skeleton/backend-api/tsconfig.build.json +14 -0
  1977. package/templates/saas/skeleton/backend-api/tsconfig.json.hbs +24 -0
  1978. package/templates/saas/skeleton/backend-api/tsconfig.runtime.json.hbs +12 -0
  1979. package/templates/saas/skeleton/frontend/Dockerfile +25 -0
  1980. package/templates/saas/skeleton/frontend/index.html.hbs +57 -0
  1981. package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +15 -0
  1982. package/templates/saas/skeleton/frontend/package.json.hbs +83 -0
  1983. package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +129 -0
  1984. package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +156 -0
  1985. package/templates/saas/skeleton/frontend/src/__tests__/vitest-jsdom-globals-setup.mjs +120 -0
  1986. package/templates/saas/skeleton/frontend/src/browser-bootstrap/__tests__/first-paint-ownership.test.ts +41 -0
  1987. package/templates/saas/skeleton/frontend/src/browser-bootstrap/app-shell-bootstrap.ts +46 -0
  1988. package/templates/saas/skeleton/frontend/src/companion-exports.ts.hbs +60 -0
  1989. package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +184 -0
  1990. package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +169 -0
  1991. package/templates/saas/skeleton/frontend/src/config/global-views.config.ts +91 -0
  1992. package/templates/saas/skeleton/frontend/src/config/index.ts +5 -0
  1993. package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +100 -0
  1994. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +49 -0
  1995. package/templates/saas/skeleton/frontend/src/csp.config.ts +37 -0
  1996. package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +133 -0
  1997. package/templates/saas/skeleton/frontend/src/engine/app-shell.module.frontend.ts +17 -0
  1998. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +42 -0
  1999. package/templates/saas/skeleton/frontend/src/engine/index.ts +15 -0
  2000. package/templates/saas/skeleton/frontend/src/engine/providers/index.ts +10 -0
  2001. package/templates/saas/skeleton/frontend/src/engine/resources/resource-ui-behavior.frontend.ts +14 -0
  2002. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +13 -0
  2003. package/templates/saas/skeleton/frontend/src/index.css.hbs +714 -0
  2004. package/templates/saas/skeleton/frontend/src/main.tsx +13 -0
  2005. package/templates/saas/skeleton/frontend/src/modules/index.ts +17 -0
  2006. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +76 -0
  2007. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +17 -0
  2008. package/templates/saas/skeleton/frontend/src/vite-env.d.ts +1 -0
  2009. package/templates/saas/skeleton/frontend/tsconfig.json.hbs +49 -0
  2010. package/templates/saas/skeleton/frontend/tsconfig.library.json +39 -0
  2011. package/templates/saas/skeleton/frontend/tsconfig.node.json +11 -0
  2012. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +439 -0
  2013. package/templates/saas/skeleton/gitignore +75 -0
  2014. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +49 -0
  2015. package/templates/saas/skeleton/shared-lib/package.json.hbs +48 -0
  2016. package/templates/saas/skeleton/shared-lib/src/companion-exports.ts +19 -0
  2017. package/templates/saas/skeleton/shared-lib/src/engine/features.ts +82 -0
  2018. package/templates/saas/skeleton/shared-lib/src/engine/index.ts +27 -0
  2019. package/templates/saas/skeleton/shared-lib/src/engine/milestones.ts +16 -0
  2020. package/templates/saas/skeleton/shared-lib/src/engine/product.ts +18 -0
  2021. package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +8 -0
  2022. package/templates/saas/skeleton/shared-lib/src/index.ts +11 -0
  2023. package/templates/saas/skeleton/shared-lib/src/modules-registry.shared.ts +29 -0
  2024. package/templates/saas/skeleton/shared-lib/tsconfig.build.json.hbs +24 -0
  2025. package/templates/saas/skeleton/shared-lib/tsconfig.json.hbs +19 -0
  2026. package/templates/saas/skeleton/specifications/package.json.hbs +43 -0
  2027. package/templates/saas/skeleton/specifications/src/companion-exports.ts +37 -0
  2028. package/templates/saas/skeleton/specifications/src/engine/engine.all-modules.specifications.ts +7 -0
  2029. package/templates/saas/skeleton/specifications/src/index.ts +12 -0
  2030. package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +28 -0
  2031. package/templates/saas/skeleton/specifications/tsconfig.build.json +11 -0
  2032. package/templates/saas/skeleton/specifications/tsconfig.json +12 -0
  2033. package/templates/saas/skeleton/tsconfig-saas.json +20 -0
  2034. package/templates/saas/skeleton/tsconfig.common.json +60 -0
  2035. package/templates/saas/skeleton/turbo.json +17 -0
  2036. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +135 -0
  2037. package/wildo-framework.info.json +5 -0
@@ -0,0 +1,1493 @@
1
+ import { AppsManagerMode, BackingServiceKind, BackingServiceSource, DatabaseEngine, PLATFORM_MONGO_DATABASE, PLATFORM_POSTGRES_DATABASE, PLATFORM_POSTGRES_MAINTENANCE_DATABASE, PlatformAdminEnvKeys, PlatformIngressEnvKeys, PlatformInfrastructureEnvKeys, PlatformKubernetesEnvKeys, PlatformLoggingEnvKeys, PlatformObservabilityEnvKeys, PlatformDocumentationSiteEnvKeys, PlatformProviderSelectionEnvKeys, PlatformProcessEnvKeys, PlatformSecurityEnvKeys, PlatformServiceUrlEnvKeys, PlatformWildoServices, WildoDeploymentRuntime, WildoLocationType, ApplicationRuntimePrincipalKind, InfraCapability, resolveRuntimeBackingServiceAccess, } from '@wildo-ai/platform-config-lib';
2
+ import { ApplicationBackendBootstrapEnvKeys, ApplicationBackendDataEnvKeys, ApplicationBackendPlatformUrlEnvKeys, ApplicationBackendRuntimeEnvKeys, ApplicationWorkerBootstrapEnvKeys, ApplicationWorkerHttpSurfaceEnvKeys, ApplicationWorkerRuntimeEnvKeys, PlatformRuntimeEndpointKey, serializeRuntimeEndpointsRecord, wildoWorkerUrlEnvKey, } from '@wildo-ai/platform-core-shared';
3
+ import { BackgroundRuntimeType, PersistenceAdapter } from '@wildo-ai/saas-models';
4
+ import { EngineBackendProviderRegistry } from '@wildo-ai/external-connectors-private/backend';
5
+ import { VALKEY_CREDENTIAL_ENV_KEYS, RABBITMQ_CREDENTIAL_ENV_KEYS, MINIO_CREDENTIAL_ENV_KEYS, POSTGRESQL_CREDENTIAL_ENV_KEYS, IMMUDB_CREDENTIAL_ENV_KEYS, } from '../../services/data-services/data-services.schemas.js';
6
+ import { EnvironmentLifecycle } from '../../services/environment/environment-lifecycle.service.js';
7
+ import { PlatformDataServicesUtils } from '../../services/data-services/data-services.service.js';
8
+ import { LISTEN_HOST } from '../../services/environment/platform-runtime.schemas.js';
9
+ import { PLATFORM_SERVICE_CATALOG } from '../../services/catalog/service-catalog.schemas.js';
10
+ import { getProviderSecretEnvBindings, getProviderSensitiveEnvKeys, platformTierAllProvidersScope, RuntimeProviderScopeKind, } from '../../services/credentials/provider-env-vars.utils.js';
11
+ // ============================================================================
12
+ // Helpers
13
+ // ============================================================================
14
+ /**
15
+ * VALUE CONTRACT — every builder in this file emits **RAW, UNENCODED** values.
16
+ *
17
+ * A builder returns the true value (a multi-line PEM keeps its real newlines and carries no
18
+ * surrounding quotes). ENCODING BELONGS TO THE SERIALIZER, because the sinks disagree on it:
19
+ *
20
+ * - `writeEnvFile` / `generateProviderSecretsEnvFile` → dotenv escaping (`encodeDotenvValue`);
21
+ * - `formatEnvFile` (ci-deploy artifacts) → its own quote + `\n` escaping;
22
+ * - the k8s secrets generator → RAW (the value is base64'd verbatim into a `Secret`);
23
+ * - the compose `.env.wildo-platform` writer → `encodeComposeEnvValue` (quote-if-multiline),
24
+ * which keeps that file's historical bytes.
25
+ *
26
+ * A `quoteMultiline()` helper used to bake double quotes into the VALUES here. That was wrong in
27
+ * both directions and produced two live defects: the immudb SPKI PEM injected by
28
+ * {@link resolveRuntimeProviderEnv} was NOT quoted, so a bare `key=value` split it across physical
29
+ * lines and dotenv truncated it to `-----BEGIN PUBLIC KEY-----` (the audit client then failed to
30
+ * parse its pinned key and reported a FALSE "TAMPER DETECTED"); and the platform JWT PEMs that WERE
31
+ * quoted carried those literal quotes into k8s `Secret` values, which are not dotenv-parsed.
32
+ *
33
+ * Do not reintroduce per-value quoting here. Add the encoding to the serializer that needs it.
34
+ */
35
+ function setIfDefined(env, key, value) {
36
+ if (value != null) {
37
+ env[key] = String(value);
38
+ }
39
+ }
40
+ /**
41
+ * Resolve the effective provider-env for a backend RUNTIME: the operator-authored
42
+ * `credentials.providerEnv` PLUS framework-generated provider material that is not
43
+ * operator-typed. Today that is exactly the immudb state-signing PUBLIC key.
44
+ *
45
+ * The audit client pins `IMMUDB_STATE_PUBLIC_KEY` to cryptographically detect a whole-server
46
+ * substitution (a fresh immudb presenting a new uuid). That key is generated at `wildo setup`
47
+ * (`credentials.immudb.stateSigningPublicKey`), never operator-typed, so it does not live in
48
+ * the authored providerEnv — it is injected here, at runtime-env build time, so it always
49
+ * reflects the current secrets.json regardless of when immudb was configured. Injection is
50
+ * gated on the immudb audit provider actually being configured (its connection host is present
51
+ * in providerEnv) so an env that does not use immudb carries no stray pinning key. The PRIVATE
52
+ * half is deliberately absent from this map — it goes to the SELF-hosted immudb server only.
53
+ *
54
+ * Returns a fresh record (never mutates `credentials.providerEnv`).
55
+ */
56
+ function resolveRuntimeProviderEnv(credentials,
57
+ /**
58
+ * What this runtime is entitled to, as a decision rather than an absence — see
59
+ * {@link RuntimeProviderScope} for why "not stated" is deliberately unrepresentable.
60
+ *
61
+ * Required, and positional rather than a field on an options bag, so the choice is visible and
62
+ * MANDATORY at every call site. An optional field is how the whole provider bag got handed to
63
+ * every application runtime in the first place, and then how the whole bag got taken away from
64
+ * all of them: nobody had to decide, so nobody did.
65
+ */
66
+ scope) {
67
+ const providerEnv = { ...(credentials.providerEnv ?? {}) };
68
+ const statePublicKey = credentials.immudb?.stateSigningPublicKey;
69
+ const immudbProviderConfigured = providerEnv[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.HOST] != null;
70
+ if (statePublicKey &&
71
+ immudbProviderConfigured &&
72
+ providerEnv[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY] == null) {
73
+ providerEnv[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.STATE_PUBLIC_KEY] = statePublicKey;
74
+ }
75
+ if (scope.kind === RuntimeProviderScopeKind.PLATFORM_TIER_ALL_PROVIDERS)
76
+ return providerEnv;
77
+ return filterProviderEnvToScope(providerEnv, scope.providerRefs);
78
+ }
79
+ /**
80
+ * Drop every provider SECRET that the runtime's declared scope does not cover.
81
+ *
82
+ * ## The gap this closes
83
+ *
84
+ * `providers.scopes.{minions,workers}.<name>` has always declared which providers
85
+ * a runtime may use, and that declaration was faithfully materialised into the
86
+ * runtime topology artifact — while the SECRETS ignored it entirely. A minion
87
+ * scoped to `openai` alone still received `STRIPE_SECRET_KEY`,
88
+ * `STRIPE_WEBHOOK_SECRET`, `RESEND_API_KEY` and every other provider key, because
89
+ * the whole `providerEnv` bag was copied verbatim into its environment. A worker
90
+ * declaring `providers: {}` received them too.
91
+ *
92
+ * That is the provider-credential analogue of handing every workload the object
93
+ * store's root key: an authored boundary the credential layer never read. It is
94
+ * NOT mitigated by the container security floor — these live in the process
95
+ * environment, which is exactly what LLM-driven minion code can read.
96
+ *
97
+ * ## Why only ATTRIBUTABLE keys are dropped
98
+ *
99
+ * Filtering is limited to keys the provider registry can attribute to some
100
+ * provider (`getProviderSensitiveEnvKeys()`). A key belonging to no provider is
101
+ * kept, because it is configuration rather than a provider secret — a hostname,
102
+ * a database name, a feature flag — and silently removing it would break runtimes
103
+ * for a reason unrelated to credentials. The trade is deliberate: this reliably
104
+ * removes secrets it can identify, rather than unreliably removing everything.
105
+ */
106
+ function filterProviderEnvToScope(providerEnv, scopedProviderRefs) {
107
+ const attributableKeys = getProviderSensitiveEnvKeys();
108
+ const allowedKeys = new Set();
109
+ for (const providerRef of scopedProviderRefs) {
110
+ const provider = EngineBackendProviderRegistry.getProviderByRef(providerRef);
111
+ const secretsContract = provider?.secretsContract;
112
+ for (const entry of Object.values(secretsContract ?? {}))
113
+ allowedKeys.add(entry.envVarName);
114
+ for (const binding of getProviderSecretEnvBindings(providerRef))
115
+ allowedKeys.add(binding.envVarName);
116
+ }
117
+ const scoped = {};
118
+ for (const [key, value] of Object.entries(providerEnv)) {
119
+ if (attributableKeys.has(key) && !allowedKeys.has(key))
120
+ continue;
121
+ scoped[key] = value;
122
+ }
123
+ return scoped;
124
+ }
125
+ /**
126
+ * Project the authored `infra.logging.*` block onto the runtime env-var
127
+ * surface for any long-running platform/application process (Slice 3.5).
128
+ *
129
+ * Both keys are emitted only when the author explicitly set them — the
130
+ * field is `.optional()` on `WildoLoggingConfigSchema`, so missing
131
+ * authoring leaves `LoggerService.loadConfiguration` on its built-in
132
+ * defaults (level `debug`, pino-pretty auto-detect by `APPLICATION_ENV`).
133
+ *
134
+ * The `LOG_LEVEL` enum is validated upstream by `WildoLoggingConfigSchema`
135
+ * (`debug | info | warn | error`), so a corrupt value can never reach
136
+ * this projection.
137
+ */
138
+ function emitLoggingEnv(env, logging) {
139
+ if (!logging)
140
+ return;
141
+ setIfDefined(env, PlatformLoggingEnvKeys.LOG_LEVEL, logging.level);
142
+ if (logging.formattedConsoleErrors !== undefined) {
143
+ env[PlatformLoggingEnvKeys.LOG_FORMATTED_CONSOLE_ERRORS] = String(logging.formattedConsoleErrors);
144
+ }
145
+ }
146
+ /**
147
+ * Project the authored `infra.providerSelection` block onto the backend
148
+ * runtime env-var surface as a single serialized JSON payload
149
+ * (`WILDO_PROVIDER_SELECTION_OVERRIDES`) — mirroring how a structured payload
150
+ * rides in one env var (`APPLICATION_RUNTIME_ENDPOINTS`). Emitted ONLY when the
151
+ * author set at least one override; absent authoring leaves
152
+ * `ExternalProvidersRegistryBackendService` on the app-wide
153
+ * `wildo.saas.config.ts` selection. The shape is validated upstream by
154
+ * `WildoProviderSelectionOverridesSchema`, so a corrupt value can never reach
155
+ * this projection; the backend reader tolerates a malformed value defensively
156
+ * regardless.
157
+ */
158
+ /**
159
+ * Project the authored `infra.documentationSite` block onto the docs BUILD env surface.
160
+ *
161
+ * Each value is emitted individually and only when authored: an application with no
162
+ * documentation site authors nothing, and a local environment relies on the docs config's
163
+ * own dev defaults rather than restating ports the runtime already knows. Emitting an empty
164
+ * string would be worse than omitting — the config treats presence as an explicit binding
165
+ * and would compile an empty origin into the bundle.
166
+ */
167
+ function emitDocumentationSiteEnv(env, documentationSite) {
168
+ if (!documentationSite)
169
+ return;
170
+ const { apiBaseUrl, appUrl, frontendServiceName } = documentationSite;
171
+ if (apiBaseUrl)
172
+ env[PlatformDocumentationSiteEnvKeys.WILDO_DOCS_API_BASE_URL] = apiBaseUrl;
173
+ if (appUrl)
174
+ env[PlatformDocumentationSiteEnvKeys.WILDO_DOCS_APP_URL] = appUrl;
175
+ if (frontendServiceName)
176
+ env[PlatformDocumentationSiteEnvKeys.WILDO_DOCS_FRONTEND_SERVICE_NAME] = frontendServiceName;
177
+ }
178
+ function emitProviderSelectionEnv(env, providerSelection) {
179
+ if (!providerSelection || Object.keys(providerSelection).length === 0)
180
+ return;
181
+ env[PlatformProviderSelectionEnvKeys.WILDO_PROVIDER_SELECTION_OVERRIDES] = JSON.stringify(providerSelection);
182
+ }
183
+ /**
184
+ * Emit the platform-standard MongoDB connection env trio (`MONGO_CONNECT_URL`, `MONGO_PLATFORM_URL`,
185
+ * `BASE_MONGO_SERVER_URL`) onto a platform-service env map. The URL is the Atlas `connectionUrl` for a
186
+ * MANAGED + `atlas` source, else built from the resolved local mongodb address + root credentials
187
+ * against `PLATFORM_MONGO_DATABASE`. Shared by every platform service that opens the PLATFORM_MANAGEMENT
188
+ * connection: apps-manager, the companion, and the bootstrap services that use the framework's
189
+ * `StartApplicationBackendService` (module-registry) — previously this identical block was duplicated
190
+ * across all three builders.
191
+ */
192
+ /**
193
+ * Does this environment PROVIDE a MongoDB at all — as opposed to merely having an address for one?
194
+ *
195
+ * `addresses.infra.mongodb` answers the second question, and answers it for EVERY environment: the
196
+ * resolver hands out a default address whether or not anything renders a server there. Harmless
197
+ * while a mongod was mandatory; a live defect the moment it stopped being, because both env
198
+ * emitters keyed off the address and so wrote a confident `mongodb://…:27017/…` for a container no
199
+ * transport renders.
200
+ *
201
+ * ONE spelling for both emitters, deliberately. The platform emitter was fixed first and the
202
+ * application emitter was not — which is how `wonder-crm` (PostgreSQL on both planes, no
203
+ * `.ragSource()` field, no Mongo-pinned resource) still received `MONGODB_HOST` and spent its boot
204
+ * dialling 127.0.0.1:27017. An invariant applied at one of its call sites is applied at none of the
205
+ * others.
206
+ *
207
+ * The union mirrors `EnvironmentLifecycle.needsLocalMongoDB` — which decides whether a mongod is
208
+ * RENDERED — and adds the two externally-hosted shapes, because a server we do not render is still
209
+ * a server we can reach.
210
+ */
211
+ function environmentProvidesMongoDb(config) {
212
+ if (config.database.source === BackingServiceSource.MANAGED && config.database.provider === 'atlas')
213
+ return true;
214
+ if (config.externalEndpoints?.mongodb?.connectionUrl)
215
+ return true;
216
+ if (config.database.engine === DatabaseEngine.MONGODB && config.database.source === BackingServiceSource.SELF)
217
+ return true;
218
+ return config.backingServices?.[BackingServiceKind.MONGODB] !== undefined;
219
+ }
220
+ function emitPlatformMongoEnv(env, credentials, addresses, config, environment) {
221
+ const isAtlas = config.database.source === BackingServiceSource.MANAGED
222
+ && config.database.provider === 'atlas';
223
+ /**
224
+ * Is a mongod actually REACHABLE for this environment — as opposed to merely ADDRESSABLE?
225
+ *
226
+ * `addresses.infra.mongodb` answers the second question and was, until 2026-08-28, the only gate
227
+ * here: the resolver hands out a default address whether or not anything renders a server at it.
228
+ * That was harmless while a mongod was mandatory, and became the live defect the moment it stopped
229
+ * being — generation would emit a confident `mongodb://…:27017/…` for a container no transport
230
+ * renders, and the boot would hang on it long after the real mistake. (The retired
231
+ * `backingServices.mongodb` refusal in this file existed for exactly that trap; the trap is real,
232
+ * so the answer is to emit honestly rather than to demand a mongod.)
233
+ *
234
+ * The UNION below deliberately mirrors `EnvironmentLifecycle.needsLocalMongoDB` — the predicate
235
+ * that decides whether a mongod is RENDERED — plus the Atlas case, whose server is external. Only
236
+ * the authored half was checked at first, and two pre-existing pins caught it immediately: a
237
+ * platform whose OWN engine is self-hosted MongoDB renders a mongod without any
238
+ * `backingServices.mongodb` entry, and would have been handed an empty URL for a server that is
239
+ * definitely there.
240
+ */
241
+ const mongoIsDeclared = environmentProvidesMongoDb(config);
242
+ const mongoConnectUrl = isAtlas
243
+ ? (config.externalEndpoints?.mongodb?.connectionUrl ?? '')
244
+ : mongoIsDeclared && addresses.infra.mongodb
245
+ ? PlatformDataServicesUtils.buildMongoConnectionUrlFromAddress(addresses.infra.mongodb, {
246
+ user: credentials.mongodb?.rootUser ?? '',
247
+ password: credentials.mongodb?.rootPassword ?? '',
248
+ }, {
249
+ databaseName: PLATFORM_MONGO_DATABASE,
250
+ directConnection: environment.locationType === WildoLocationType.LOCAL,
251
+ })
252
+ : '';
253
+ env[PlatformInfrastructureEnvKeys.MONGO_CONNECT_URL] = mongoConnectUrl;
254
+ env[PlatformInfrastructureEnvKeys.MONGO_PLATFORM_URL] = mongoConnectUrl;
255
+ env[PlatformInfrastructureEnvKeys.BASE_MONGO_SERVER_URL] = mongoIsDeclared && addresses.infra.mongodb
256
+ ? `${addresses.infra.mongodb.host}:${addresses.infra.mongodb.port}`
257
+ : '';
258
+ }
259
+ /**
260
+ * Emit the platform's OWN PostgreSQL connection env (`PG_CONNECT_URL` + the
261
+ * `DATABASE_DEFAULT_ADAPTER` selection) — the PostgreSQL mirror of {@link emitPlatformMongoEnv},
262
+ * for a platform whose `database.engine === POSTGRESQL` (Phase 5.3, D7).
263
+ *
264
+ * A NO-OP on every Mongo-engined environment: neither key is written, so `.env` material for
265
+ * existing deployments is byte-identical. Note the gate is the platform ENGINE, deliberately NOT
266
+ * `shouldProvisionPostgreSQL`'s union — an app-authored `backingServices.postgresql: SELF` on a
267
+ * Mongo platform means PostgreSQL exists for an APPLICATION's resources, and handing the
268
+ * PLATFORM a connect URL (let alone flipping its default adapter) for someone else's database
269
+ * would be exactly the conflation the union predicate's two halves exist to keep apart.
270
+ *
271
+ * The URL targets the container's own initdb database (`infrastructure.postgresql.database`,
272
+ * default `wildo_platform` — see the compose template's `POSTGRES_DB`), which exists by
273
+ * construction; PostgreSQL does not create databases on connect, so pointing anywhere else
274
+ * would require an init step the platform deliberately does not have.
275
+ *
276
+ * Site enumeration (invariant-call-site rule): of the three `emitPlatformMongoEnv` callers,
277
+ * apps-manager AND module-registry call this (both carry the pre-connect + construction-time
278
+ * adapter wiring — 5.3 and 5.6 respectively, and they MUST agree or a flipped platform splits
279
+ * shared resources across services).
280
+ *
281
+ * THE COMPANION IS NOW THE THIRD CALLER (2026-08-28, issue #94). It was a deliberate N/A on
282
+ * exactly the right grounds — "it opens only the Mongo platform connection, and emitting an
283
+ * adapter selection its startup cannot honor would be a lie in the env file" — and that
284
+ * refusal was correct for as long as it was true. The companion's startup now derives its
285
+ * adapter from `DATABASE_DEFAULT_ADAPTER` and pre-connects PostgreSQL from `PG_CONNECT_URL`,
286
+ * so the keys are honored rather than ignored and withholding them is what would now lie:
287
+ * the companion would silently read platform rows from a Mongo database the platform stopped
288
+ * using, and report every application as unregistered.
289
+ *
290
+ * Note the ORDER this was fixed in, because it is the general rule: the runtime learns to
291
+ * honor a key BEFORE the generator emits it. Emitting first would have produced an env file
292
+ * that looks correct and changes nothing.
293
+ */
294
+ function emitPlatformPostgresEnv(env, credentials, addresses, config, environment) {
295
+ if (config.database.engine !== DatabaseEngine.POSTGRESQL)
296
+ return;
297
+ /**
298
+ * RETIRED 2026-08-28, with its schema-side twin in `define-infra-env-config.ts` — see that file
299
+ * for the full account. In short: this refused a PostgreSQL platform rendering no mongod because
300
+ * `MONGO_CONNECT_URL` was an unconditionally REQUIRED key on the apps-manager env schema. It is
301
+ * now engine-conditional (empty means absent, exactly as `PG_CONNECT_URL` has always been), and
302
+ * the two reasons the refusal actually cited — the six MONGODB-pinned bootstrap resources, and a
303
+ * Mongo-only crontabs-batches-manager — were both already gone when it was still refusing.
304
+ *
305
+ * What replaces it is weaker and truer: a platform must render AT LEAST ONE store. That check
306
+ * lives on the env schema, beside the keys it is about, rather than here — a generator cannot see
307
+ * a hand-authored env, and the schema refuses both.
308
+ */
309
+ const isManaged = config.database.source === BackingServiceSource.MANAGED;
310
+ if (isManaged && !config.externalEndpoints?.postgresql?.connectionUrl) {
311
+ // The Atlas-mirror slot is the ONLY channel for a managed endpoint, and it has no wizard
312
+ // authoring path yet — emitting an empty URL here would surface as an opaque "Invalid URL"
313
+ // at boot-time env validation, three layers from the cause (5.3 review F3).
314
+ throw new Error('database.engine is POSTGRESQL with source MANAGED, but `externalEndpoints.postgresql.connectionUrl` '
315
+ + 'is not set in the environment config. Add the managed endpoint URL '
316
+ + '(externalEndpoints.postgresql: { connectionUrl: "postgresql://..." }) and re-run `wildo config sync`.');
317
+ }
318
+ if (!isManaged && !addresses.infra.postgresql) {
319
+ // Believed unreachable: a POSTGRESQL-engined SELF platform always resolves the postgres
320
+ // address (the `needsLocalPostgreSQL` union includes the engine half, and the remote
321
+ // resolvers throw earlier on missing infra). Asserted rather than silently emitting an empty
322
+ // URL, so if a future resolver change makes it reachable it fails HERE with a name instead of
323
+ // at boot-time env validation three layers away (5.3 review round 3, F7).
324
+ throw new Error('database.engine is POSTGRESQL with source SELF, but no postgresql infra address resolved for this '
325
+ + 'environment — the address resolver and the needsLocalPostgreSQL union disagree. This is a CLI bug; '
326
+ + 'report it with the environment name and `wildo.infra.<env>.config.ts`.');
327
+ }
328
+ const pgConnectUrl = isManaged
329
+ ? config.externalEndpoints.postgresql.connectionUrl
330
+ : buildPlatformPostgresConnectionUrl(addresses.infra.postgresql, {
331
+ user: credentials.postgresql.adminUser,
332
+ password: credentials.postgresql.adminPassword,
333
+ },
334
+ /**
335
+ * The PLATFORM's own database — deliberately NOT `infrastructure.postgresql.database`.
336
+ * That field is mirrored from the author's `backingServices.postgresql.database`, which
337
+ * names the APPLICATION's database and doubles as the compose container's initdb
338
+ * database; using it put the platform's ~94 tables inside the application's database,
339
+ * where `create table if not exists` would let the application silently adopt them. See
340
+ * {@link PLATFORM_POSTGRES_DATABASE}.
341
+ */
342
+ PLATFORM_POSTGRES_DATABASE, config.infrastructure.postgresql.sslMode);
343
+ env[PlatformInfrastructureEnvKeys.PG_CONNECT_URL] = pgConnectUrl;
344
+ env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER] = PersistenceAdapter.POSTGRESQL;
345
+ }
346
+ /**
347
+ * `postgresql://user:password@host:port/database?sslmode=...` from resolved parts. Credentials are
348
+ * URL-encoded — an admin password with `@`/`:`/`#` would otherwise silently corrupt the authority
349
+ * section. TLS rides IN the URL on purpose: the runtime's pre-connect door takes the URL as the
350
+ * complete connection truth (an out-of-band SSL knob beside an explicit URL is two sources of
351
+ * truth for one connection).
352
+ */
353
+ function buildPlatformPostgresConnectionUrl(address, credentials, databaseName, sslMode) {
354
+ const user = encodeURIComponent(credentials.user);
355
+ const password = encodeURIComponent(credentials.password);
356
+ // The database name rides in a PATH segment, so it gets the same treatment as the credentials
357
+ // (5.3 review F7): an authored name with a `?`/`#`/`/` would otherwise silently truncate the
358
+ // URL at the wrong boundary. `sslmode` comes from a closed token vocabulary and stays literal.
359
+ const database = encodeURIComponent(databaseName);
360
+ return `postgresql://${user}:${password}@${address.host}:${address.port}/${database}?sslmode=${sslMode}`;
361
+ }
362
+ /**
363
+ * Project the authored `infra.observability.*` block onto the standard `OTEL_*` env-var
364
+ * surface read by the `otel-preload.ts` SDK (Slice 2 Phase 5). Emitted ONLY when telemetry
365
+ * is enabled — a host with `observability` absent/disabled gets NO `OTEL_*`, so the preload
366
+ * self-gates to a complete no-op.
367
+ *
368
+ * `service.name` goes in `OTEL_SERVICE_NAME` (NOT `service.name` inside
369
+ * `OTEL_RESOURCE_ATTRIBUTES`), so the preload's `?? 'wildo-saas-backend'` default can never
370
+ * clobber it (Phase 1 review note 4); `deployment.environment` goes in `OTEL_RESOURCE_ATTRIBUTES`.
371
+ *
372
+ * `OTEL_EXPORTER_OTLP_HEADERS` (provider auth) is derived PROVIDER-AGNOSTICALLY from the
373
+ * SELECTED `OBSERVABILITY_TELEMETRY` provider's `otlpAuth` hint + its secret token (Slice 2
374
+ * Phase 5b) — see `resolveOtlpAuthHeader`. Omitted for a no-auth endpoint (the local dev
375
+ * collector) or an un-provisioned token, so the local-collector path stays a clean no-auth
376
+ * export and telemetry still flows (just unauthenticated) before the secret lands.
377
+ */
378
+ function emitObservabilityEnv(env, observability, identity, telemetryProvider) {
379
+ // LLM-call observability posture (`WILDO_LLM_OBS_*`) — a SEPARATE signal from
380
+ // OTLP telemetry, projected INDEPENDENTLY of the `enabled` gate below: its
381
+ // activation is `LLM_OBSERVABILITY` provider-selection-driven, so an env can
382
+ // capture agent-call content with OTLP telemetry off (and vice versa).
383
+ const llmObservability = observability?.llmObservability;
384
+ if (llmObservability?.captureContent === true) {
385
+ env[PlatformObservabilityEnvKeys.WILDO_LLM_OBS_CAPTURE_CONTENT] = 'true';
386
+ }
387
+ if (llmObservability?.sampleRate !== undefined) {
388
+ env[PlatformObservabilityEnvKeys.WILDO_LLM_OBS_SAMPLE_RATE] = String(llmObservability.sampleRate);
389
+ }
390
+ // Non-secret provider connection env (e.g. POSTHOG_HOST / POSTHOG_PROJECT_ID),
391
+ // authored in checked-in config. In the app-backend/companion/worker builders
392
+ // this runs BEFORE the secrets `providerEnv` loop, so a same-key secret
393
+ // deliberately overwrites it (secrets are the more specific layer). Platform
394
+ // hosts have no secrets loop and simply receive these keys — harmless, since
395
+ // the sink fail-closes without the secret API key.
396
+ for (const [envVarName, value] of Object.entries(llmObservability?.providerEnv ?? {})) {
397
+ setIfDefined(env, envVarName, value);
398
+ }
399
+ if (!observability?.enabled)
400
+ return;
401
+ env[PlatformObservabilityEnvKeys.OTEL_ENABLED] = 'true';
402
+ setIfDefined(env, PlatformObservabilityEnvKeys.OTEL_EXPORTER_OTLP_ENDPOINT, observability.endpoint);
403
+ setIfDefined(env, PlatformObservabilityEnvKeys.OTEL_SERVICE_NAME, identity.serviceName);
404
+ // `OTEL_RESOURCE_ATTRIBUTES` is a comma-separated `key=value` list. `deployment.environment` is
405
+ // present whenever the env is known; `service.version` (audit A-10) is added when the caller
406
+ // threads the host's release version (the SaaS app's package.json `version`).
407
+ const resourceAttributes = [];
408
+ if (identity.environment) {
409
+ resourceAttributes.push(`deployment.environment=${identity.environment}`);
410
+ }
411
+ if (identity.version) {
412
+ resourceAttributes.push(`service.version=${identity.version}`);
413
+ }
414
+ if (resourceAttributes.length > 0) {
415
+ env[PlatformObservabilityEnvKeys.OTEL_RESOURCE_ATTRIBUTES] = resourceAttributes.join(',');
416
+ }
417
+ setIfDefined(env, PlatformObservabilityEnvKeys.OTEL_EXPORTER_OTLP_HEADERS, resolveOtlpAuthHeader(telemetryProvider?.ref, telemetryProvider?.providerEnv));
418
+ }
419
+ /**
420
+ * Resolve the `OTEL_EXPORTER_OTLP_HEADERS` value (a single `name=value` OTLP/HTTP header) for
421
+ * the SELECTED `OBSERVABILITY_TELEMETRY` provider — PROVIDER-AGNOSTICALLY. Reads the provider's
422
+ * `otlpAuth` hint (header name + `{token}` value template) from the engine registry and the
423
+ * secret token from the per-env `providerEnv` map, naming NO provider.
424
+ *
425
+ * Returns `undefined` (→ no header emitted) when: no provider is selected; the selected provider
426
+ * declares no `otlpAuth` (a no-auth endpoint — e.g. the local dev collector); or the token is
427
+ * not provisioned in `providerEnv` yet. All three are valid states — telemetry still exports,
428
+ * just unauthenticated — so this never blocks the pipeline on a missing secret.
429
+ */
430
+ function resolveOtlpAuthHeader(providerRef, providerEnv) {
431
+ if (!providerEnv)
432
+ return undefined;
433
+ // The telemetry provider is the explicitly-selected ref when the caller threads one (the
434
+ // forward hook); otherwise the single registry provider that BOTH declares `otlpAuth` AND has
435
+ // its secret provisioned in this env — operators collect only the selected provider's token,
436
+ // so the provisioned secret identifies it unambiguously without a saasConfig round-trip here.
437
+ const provider = providerRef
438
+ ? EngineBackendProviderRegistry.getProviderByRef(providerRef)
439
+ : findProvisionedTelemetryProvider(providerEnv);
440
+ const otlpAuth = provider?.otlpAuth;
441
+ if (!otlpAuth)
442
+ return undefined;
443
+ const tokenEnvVarName = resolveOtlpTokenEnvVarName(provider, otlpAuth);
444
+ const token = tokenEnvVarName ? providerEnv[tokenEnvVarName] : undefined;
445
+ if (!token)
446
+ return undefined;
447
+ // Audit A-13: `OTEL_EXPORTER_OTLP_HEADERS` is a comma-separated `name=value` list (W3C-baggage
448
+ // style); the OTel SDK splits on `,` first, so a token containing a comma would be silently
449
+ // truncated → a 401 from the ingest. Fail-closed: such a token is unusable in this transport.
450
+ if (token.includes(',')) {
451
+ throw new Error(`Telemetry provider token for the '${otlpAuth.headerName}' header contains a comma, which is ` +
452
+ `invalid inside OTEL_EXPORTER_OTLP_HEADERS (a comma-separated header list). Re-provision a ` +
453
+ `comma-free token.`);
454
+ }
455
+ return `${otlpAuth.headerName}=${otlpAuth.valueTemplate.replace('{token}', token)}`;
456
+ }
457
+ /**
458
+ * The `secretsContract` env-var name that feeds an `otlpAuth` `{token}`: the explicitly-named
459
+ * `secretContractKey`, else the sole entry (unambiguous only when the provider declares exactly
460
+ * one secret). `undefined` when the contract has multiple entries and none is named.
461
+ */
462
+ function resolveOtlpTokenEnvVarName(provider, otlpAuth) {
463
+ const secretKeys = Object.keys(provider.secretsContract);
464
+ const secretKey = otlpAuth.secretContractKey ?? (secretKeys.length === 1 ? secretKeys[0] : undefined);
465
+ return secretKey ? provider.secretsContract[secretKey]?.envVarName : undefined;
466
+ }
467
+ /**
468
+ * Find the telemetry provider to authenticate as when no ref is explicitly threaded: the single
469
+ * registry provider declaring `otlpAuth` whose secret token is present in `providerEnv`. Operators
470
+ * provision only the SELECTED provider's token, so the provisioned secret identifies it. Returns
471
+ * `undefined` when none is provisioned (the no-auth / local-collector path).
472
+ */
473
+ function findProvisionedTelemetryProvider(providerEnv) {
474
+ const matches = [];
475
+ for (const provider of EngineBackendProviderRegistry.modules.values()) {
476
+ if (!provider.otlpAuth)
477
+ continue;
478
+ const envVarName = resolveOtlpTokenEnvVarName(provider, provider.otlpAuth);
479
+ if (envVarName && providerEnv[envVarName])
480
+ matches.push(provider);
481
+ }
482
+ if (matches.length === 0)
483
+ return undefined;
484
+ if (matches.length > 1) {
485
+ // Audit A-8: the provisioned-secret heuristic is unambiguous only while exactly ONE otlpAuth
486
+ // provider has a token. If two ever coexist, picking by iteration order is invisible to a
487
+ // reader — warn loudly so the ambiguity surfaces. The real fix is to thread the SELECTED
488
+ // provider ref (the `providerRef` forward hook in `resolveOtlpAuthHeader`) from the caller.
489
+ // eslint-disable-next-line no-console
490
+ console.warn(`[env-builder] ${matches.length} OBSERVABILITY_TELEMETRY providers have a provisioned token; ` +
491
+ `the OTLP auth header is AMBIGUOUS. Using the first registered match — thread the selected ` +
492
+ `provider ref to disambiguate.`);
493
+ }
494
+ return matches[0];
495
+ }
496
+ function requireAddress(address, name) {
497
+ if (!address) {
498
+ throw new Error(`Infrastructure address '${name}' is null — use CONTAINER_INTERNAL perspective for K8s remote`);
499
+ }
500
+ return address;
501
+ }
502
+ function resolveApplicationEnv(environment, config) {
503
+ const applicationEnv = config.runtimeEnvironment ?? environment.runtimeEnvironment;
504
+ if (!applicationEnv) {
505
+ throw new Error(`Environment '${environment.name}' is missing explicit runtime semantics for env generation.`);
506
+ }
507
+ return applicationEnv;
508
+ }
509
+ function resolveKubernetesEnvVars(environment) {
510
+ if (environment.runtime !== WildoDeploymentRuntime.KUBERNETES) {
511
+ return null;
512
+ }
513
+ if (environment.locationType === WildoLocationType.LOCAL) {
514
+ return {
515
+ namespace: environment.kubernetes?.namespace ?? 'wildo-local',
516
+ };
517
+ }
518
+ const namespace = environment.kubernetes?.namespace;
519
+ if (!namespace) {
520
+ throw new Error(`Environment '${environment.name}' is missing explicit remote Kubernetes namespace metadata.`);
521
+ }
522
+ return { namespace };
523
+ }
524
+ function buildMongoEnvFromConnectionUrl(connectionUrl, appDatabaseName) {
525
+ const parsedUrl = new URL(connectionUrl);
526
+ const databaseFromUrl = parsedUrl.pathname.replace(/^\//, '');
527
+ return {
528
+ host: parsedUrl.host,
529
+ database: appDatabaseName ?? (databaseFromUrl || 'wildo_app'),
530
+ protocol: parsedUrl.protocol.replace(/:$/, ''),
531
+ };
532
+ }
533
+ /**
534
+ * Pick the canonical app-side MongoDB database name following the
535
+ * documented precedence:
536
+ * 1. Caller-supplied `appDatabaseName` (today only used for explicit
537
+ * per-app overrides — kept first because it is the most specific signal).
538
+ * 2. Authored `backingServices.mongodb.database` from `wildo.infra.<env>.config.ts`.
539
+ * 3. Hard-coded `'wildo_app'` fallback.
540
+ *
541
+ * The same precedence is applied uniformly across local-MongoDB and Atlas
542
+ * branches so toggling `BackingServiceSource` does not change which database
543
+ * the application points at.
544
+ *
545
+ * Slice 3 closeout (L-5): the authored field is `database` for both
546
+ * Mongo and Postgres now (was `name` on Mongo only) — symmetric naming
547
+ * eliminates the cross-kind asymmetry that masked the meaning.
548
+ */
549
+ function pickAppMongoDatabase(backingServices, appDatabaseName) {
550
+ return appDatabaseName
551
+ ?? backingServices?.[BackingServiceKind.MONGODB]?.database
552
+ ?? 'wildo_app';
553
+ }
554
+ /**
555
+ * Whether this environment's env files must carry the PostgreSQL admin credentials.
556
+ *
557
+ * The UNION rule, deliberately mirroring {@link EnvironmentLifecycle.needsLocalPostgreSQL}: the
558
+ * platform's own engine being PostgreSQL is only HALF the question — an author may declare
559
+ * `backingServices.postgresql: SELF` on a MongoDB-platform app (PostgreSQL for the application's
560
+ * resources), and the compose generator then renders the postgres service from that same rule.
561
+ *
562
+ * This function used to be `config.database.engine === POSTGRESQL` alone, which is the exact
563
+ * predicate the compose generator's `includePostgreSQL` JSDoc rejects — the widening had been
564
+ * applied at ONE of the seam's two sides. Observed live 2026-08-11: the rendered compose declared
565
+ * `wildo-postgresql` while `.env.wildo-platform` carried no `POSTGRES_ADMIN_PASSWORD`, so the
566
+ * container crash-looped on a blank superuser password and `wildo local dev` failed at
567
+ * infrastructure readiness. One predicate, both gates — keep them united here.
568
+ */
569
+ function shouldProvisionPostgreSQL(config, env) {
570
+ return config.database.engine === DatabaseEngine.POSTGRESQL || EnvironmentLifecycle.needsLocalPostgreSQL(env);
571
+ }
572
+ function assertSupportedStorageConfig(config) {
573
+ if (config.infrastructure.storage.provider !== 'minio') {
574
+ throw new Error(`Unsupported storage provider '${config.infrastructure.storage.provider}'. Only managed MinIO wiring is currently supported.`);
575
+ }
576
+ if (config.externalEndpoints?.storage) {
577
+ throw new Error('External storage wiring is not supported yet. Only managed MinIO addresses from the platform topology are expected.');
578
+ }
579
+ if (config.externalServices?.storage
580
+ && config.externalServices.storage.provider !== 'minio') {
581
+ throw new Error(`Unsupported external storage provider '${config.externalServices.storage.provider}'. Only managed MinIO wiring is currently supported.`);
582
+ }
583
+ }
584
+ /**
585
+ * Refuse to emit an application-tier environment that contains the object
586
+ * store's ROOT credential.
587
+ *
588
+ * ## Why a value comparison and not a key check
589
+ *
590
+ * Checking for the KEY `STORAGE_ACCESS_KEY` would be trivially defeated by
591
+ * emitting the same secret under a different name — and more importantly it would
592
+ * miss the actual failure mode, which is a *value* leaking through a variable
593
+ * nobody thought to audit. The root secret is what must not appear, whatever it
594
+ * is called.
595
+ *
596
+ * ## Why the ACCESS KEY is not in the forbidden set
597
+ *
598
+ * Because it is not a secret, and treating it as one made the guard weaker.
599
+ *
600
+ * An access key is a principal *identifier*: for MinIO it is the account name
601
+ * (conventionally the literal `minio`, which is also the provider name and the
602
+ * compose service hostname), and in this repository's own generated secrets it is
603
+ * a short shared admin username — byte-identical to `mongodb.rootUser` and
604
+ * `rabbitmq.adminUsername`. Holding it alone grants nothing.
605
+ *
606
+ * Scanning for it therefore produced false positives on structurally public
607
+ * values, and the first fix for that was a list of env-key NAMES exempted from
608
+ * the scan. That list is exactly the key-based mechanism the paragraph above
609
+ * rejects: it re-introduced a by-name escape hatch into a value-based guard, and
610
+ * an over-broad guard invites deletion under deadline — which is how this control
611
+ * would actually be lost.
612
+ *
613
+ * Forbidding only the SECRET removes both problems at once. A 32-character
614
+ * high-entropy value cannot collide with a hostname, a bucket name or a provider
615
+ * id, so no exemption list is needed and there is no name a builder can choose to
616
+ * slip past the scan. The access key travelling in app env would be harmless; the
617
+ * secret travelling with it is the entire exposure.
618
+ *
619
+ * ## Why it never logs the value
620
+ *
621
+ * The whole point is that this secret should not spread. An error message
622
+ * containing it would write it into CI logs, which is a worse place than the env
623
+ * file it was caught in. The message names the KEY only.
624
+ *
625
+ * Applies to application-tier env exclusively. Platform-tier builders
626
+ * (`buildInfraCredentialEnv`, `buildAppsManagerFullEnv`, `buildBootstrapEnv`)
627
+ * legitimately carry admin material — apps-manager is the STS broker and cannot
628
+ * broker without it. Whether those consumers should hold *root* specifically is
629
+ * OQ-2 in the storage plan, and is still open for THOSE three.
630
+ *
631
+ * `buildCompanionPlatformEnv` was in that list and no longer is, for the storage
632
+ * axis: the companion runs the app-tier storage provider and fetches STS sessions
633
+ * like any application, so the root pair it was being handed was never read. It
634
+ * remains platform-tier for Mongo/Redis/RabbitMQ, which is why the blanket guard is
635
+ * still not applied to it — `omits the object storage ROOT credential` in the
636
+ * builder tests pins the storage half specifically.
637
+ */
638
+ export function assertNoStorageSecretInGeneratedEnv(env, credentials, builderName) {
639
+ assertNoPlatformCredentialInGeneratedEnv(env, credentials, builderName);
640
+ }
641
+ /**
642
+ * Every PLATFORM-tier credential that must never appear in an application-tier
643
+ * environment, with the label used to report it.
644
+ *
645
+ * ## Why the whole set and not just storage
646
+ *
647
+ * Object storage was the one backing service whose credential reached every
648
+ * workload, and it was found by reading the code rather than by any check. The
649
+ * other four — Mongo, PostgreSQL, Redis, RabbitMQ — are absent from app env only
650
+ * because each mints per-application credentials that travel over the
651
+ * authenticated apps-manager fetch. That is a property of how those providers
652
+ * happen to be wired today, not something enforced anywhere. A future provider
653
+ * that skips minting (exactly what `MinioSelfInfraProviderModule` did) would
654
+ * reproduce the same exposure against a different service, and nothing would
655
+ * catch it.
656
+ *
657
+ * Verified before this widened: with the set below, every generated Wonder Todos
658
+ * application and minion env is clean.
659
+ *
660
+ * ## Why only SECRETS, never identifiers
661
+ *
662
+ * `mongodb.rootUser`, `rabbitmq.adminUsername`, `postgresql.adminUser` and
663
+ * `storage.accessKey` are principal NAMES. In this repository's generated secrets
664
+ * three of them are the SAME five-character string, which also appears as a
665
+ * hostname and a provider id — scanning for those produced false positives on
666
+ * correct configurations, and the first attempt to suppress them re-introduced a
667
+ * by-name exemption list into a value-based guard. Only high-entropy secret
668
+ * material belongs here.
669
+ *
670
+ * ## What is deliberately NOT here
671
+ *
672
+ * - `providerEnv` values (OpenAI, Stripe, …) — authored application credentials
673
+ * that an application legitimately holds. They are constrained by DECLARED
674
+ * SCOPE (`providers.scopes.*`), a different control with its own tests.
675
+ * - The app's own `PLATFORM_APPLICATION_PRIMARY_SECRET` — minted per application
676
+ * by apps-manager, and the one credential that MUST be in env because it is
677
+ * what authenticates the fetch by which everything else arrives. Note
678
+ * `platform.primarySecret` below is a different value: the PLATFORM's own
679
+ * secret, which an application must never hold.
680
+ */
681
+ function resolveForbiddenPlatformCredentials(credentials) {
682
+ const candidates = [
683
+ ['the object storage ROOT credential', credentials.storage?.secretKey],
684
+ ['the MongoDB root password', credentials.mongodb?.rootPassword],
685
+ ['the PostgreSQL admin password', credentials.postgresql?.adminPassword],
686
+ ['the Valkey/Redis admin password', credentials.valkey?.adminPassword],
687
+ ['the RabbitMQ admin password', credentials.rabbitmq?.adminPassword],
688
+ ['the RabbitMQ Erlang cookie', credentials.rabbitmq?.erlangCookie],
689
+ ['the PLATFORM primary secret', credentials.platform?.primarySecret],
690
+ ['the PLATFORM admin secret', credentials.platform?.adminSecret],
691
+ ];
692
+ const present = candidates.filter((entry) => typeof entry[1] === 'string' && entry[1].length > 0);
693
+ /**
694
+ * Each credential is also forbidden in its PERCENT-ENCODED form (5.3 review F6): credentials now
695
+ * legitimately travel URL-EMBEDDED on the platform tier (`PG_CONNECT_URL` carries the encoded
696
+ * admin password), so a future application-tier builder that copies such a URL would smuggle the
697
+ * credential past an exact-value comparison. The check below is containment, and this widens the
698
+ * needle set to the encoded spelling too. Only added when encoding actually changes the value.
699
+ */
700
+ const encodedVariants = present
701
+ .filter(([, value]) => encodeURIComponent(value) !== value)
702
+ .map(([label, value]) => [`${label} (URL-encoded)`, encodeURIComponent(value)]);
703
+ return [...present, ...encodedVariants];
704
+ }
705
+ /**
706
+ * Refuse to emit an application-tier environment containing ANY platform-tier
707
+ * credential. Generalises the storage-specific gate that preceded it; see
708
+ * {@link resolveForbiddenPlatformCredentials} for the set and its exclusions, and
709
+ * the JSDoc above for why this compares values rather than key names and never
710
+ * prints the offending value.
711
+ */
712
+ export function assertNoPlatformCredentialInGeneratedEnv(env, credentials, builderName) {
713
+ const forbidden = resolveForbiddenPlatformCredentials(credentials);
714
+ if (forbidden.length === 0)
715
+ return;
716
+ // No key exemptions, deliberately — see the JSDoc. Every emitted value is
717
+ // compared, including the ones a future builder adds without reading this.
718
+ // CONTAINMENT, not equality (5.3 review F6): a credential embedded inside a
719
+ // connection URL is exactly as leaked as one standing alone, and equality was
720
+ // blind to it. Credentials are long generated strings, so substring
721
+ // false-positives are not a realistic concern.
722
+ const findings = [];
723
+ for (const [label, value] of forbidden) {
724
+ const offendingKeys = Object.entries(env)
725
+ .filter(([, emitted]) => emitted.includes(value))
726
+ .map(([key]) => key);
727
+ if (offendingKeys.length > 0) {
728
+ findings.push(`${label} under: ${offendingKeys.join(', ')}`);
729
+ }
730
+ }
731
+ if (findings.length > 0) {
732
+ throw new Error(`${builderName} emitted platform-tier credentials into an application-tier environment — `
733
+ + `${findings.join('; ')}. An application receives per-application credentials over the `
734
+ + 'authenticated apps-manager fetch, never the platform\'s own — see '
735
+ + '.claude/plans/object-storage-root-credential-distribution.md. '
736
+ + '(The offending values are deliberately not printed.)');
737
+ }
738
+ }
739
+ // ============================================================================
740
+ // Builder
741
+ // ============================================================================
742
+ export class PlatformEnvVarsBuilder {
743
+ /**
744
+ * The EXACT provider-env map merged into every backend / companion / worker
745
+ * runtime — the operator-authored `credentials.providerEnv` PLUS
746
+ * framework-injected provider material (today: the immudb state-signing
747
+ * public key). This is the single authority already used internally at the
748
+ * three runtime merge sites (`buildApplicationBackendEnv`,
749
+ * `buildCompanionPlatformEnv`, and the worker/minion path).
750
+ *
751
+ * Exposed so `wildo config sync` can project the SAME bytes into a
752
+ * standalone provider-secrets `.env` sink for out-of-band consumers (the
753
+ * framework-dev integration test harnesses that are NOT launched by
754
+ * `wildo local dev`). Deriving the sink from this method — rather than
755
+ * re-parsing `secrets.json` — keeps ONE composition authority and makes the
756
+ * sink drift-free by construction (e.g. it never misses the framework-injected
757
+ * immudb key that a naive `providerEnv` copy would drop).
758
+ *
759
+ * Returns a fresh record (never mutates `credentials.providerEnv`).
760
+ */
761
+ static buildRuntimeProviderEnv(credentials) {
762
+ // Platform tier: the environment-level aggregate provider-secrets artifact,
763
+ // not a per-runtime env. Unscoped by definition.
764
+ return resolveRuntimeProviderEnv(credentials, platformTierAllProvidersScope());
765
+ }
766
+ /**
767
+ * Section A — env vars consumed by infra containers themselves
768
+ * (MongoDB, Valkey, RabbitMQ, MinIO, PostgreSQL).
769
+ */
770
+ static buildInfraCredentialEnv(credentials, config,
771
+ /** Needed by the postgres UNION rule — `config.json` cannot express `backingServices.postgresql` (see {@link shouldProvisionPostgreSQL}). */
772
+ environment) {
773
+ const env = {};
774
+ if (credentials.mongodb) {
775
+ env['MONGO_ROOT_USER'] = credentials.mongodb.rootUser;
776
+ env['MONGO_ROOT_PASSWORD'] = credentials.mongodb.rootPassword;
777
+ }
778
+ if (credentials.valkey) {
779
+ env[VALKEY_CREDENTIAL_ENV_KEYS.PASSWORD] = credentials.valkey.adminPassword;
780
+ }
781
+ env[RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_USER] = credentials.rabbitmq.adminUsername;
782
+ env[RABBITMQ_CREDENTIAL_ENV_KEYS.DEFAULT_PASS] = credentials.rabbitmq.adminPassword;
783
+ env[RABBITMQ_CREDENTIAL_ENV_KEYS.ERLANG_COOKIE] = credentials.rabbitmq.erlangCookie;
784
+ env[MINIO_CREDENTIAL_ENV_KEYS.ROOT_USER] = credentials.storage.accessKey;
785
+ env[MINIO_CREDENTIAL_ENV_KEYS.ROOT_PASSWORD] = credentials.storage.secretKey;
786
+ env['STORAGE_BUCKET'] = config.infrastructure.storage.bucket;
787
+ if (shouldProvisionPostgreSQL(config, environment)) {
788
+ if (!credentials.postgresql) {
789
+ // Loud, named failure instead of a TypeError: the compose file WILL render the postgres
790
+ // service from the same rule, and an env file silently missing the credential produces a
791
+ // container crash-looping on a blank superuser password — diagnosed the hard way 2026-08-11.
792
+ throw new Error('PostgreSQL is part of this environment (platform engine or a SELF backing service) but '
793
+ + 'secrets.json has no `postgresql` credentials. Run `wildo -y setup` to provision them.');
794
+ }
795
+ env[POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_USER] = credentials.postgresql.adminUser;
796
+ env[POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_PASSWORD] = credentials.postgresql.adminPassword;
797
+ env[POSTGRESQL_CREDENTIAL_ENV_KEYS.ADMIN_DATABASE] = config.infrastructure.postgresql.database;
798
+ }
799
+ return env;
800
+ }
801
+ /**
802
+ * Full env for apps-manager — includes bootstrap vars + all service connections.
803
+ */
804
+ static buildAppsManagerFullEnv(credentials, addresses, config, environment, options = {}) {
805
+ assertSupportedStorageConfig(config);
806
+ const env = {};
807
+ const amCatalog = PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER];
808
+ env[PlatformProcessEnvKeys.HOST] = LISTEN_HOST;
809
+ env[PlatformProcessEnvKeys.PORT] = String(amCatalog.defaultPort);
810
+ env[PlatformProcessEnvKeys.APPS_MANAGER_MODE] = AppsManagerMode.NORMAL;
811
+ env[PlatformProcessEnvKeys.SERVICE_NAME] = amCatalog.serviceEnvVarName;
812
+ env[PlatformProcessEnvKeys.PLATFORM_ENVIRONMENT_ID] = environment.name;
813
+ env[PlatformProcessEnvKeys.APPLICATION_ENV] = resolveApplicationEnv(environment, config);
814
+ // -- MongoDB
815
+ emitPlatformMongoEnv(env, credentials, addresses, config, environment);
816
+ // -- The platform's OWN PostgreSQL (D7) — no-op unless `database.engine === POSTGRESQL`
817
+ emitPlatformPostgresEnv(env, credentials, addresses, config, environment);
818
+ const valkey = requireAddress(addresses.infra.valkey, 'valkey');
819
+ const rabbitmq = requireAddress(addresses.infra.rabbitmq, 'rabbitmq');
820
+ const rabbitmqMgmt = requireAddress(addresses.infra.rabbitmqManagement, 'rabbitmqManagement');
821
+ const minio = requireAddress(addresses.infra.minio, 'minio');
822
+ const gotenberg = requireAddress(addresses.infra.gotenberg, 'gotenberg');
823
+ const postgresql = shouldProvisionPostgreSQL(config, environment)
824
+ ? requireAddress(addresses.infra.postgresql, 'postgresql')
825
+ : null;
826
+ // -- Valkey
827
+ env[PlatformInfrastructureEnvKeys.REDIS_HOST] = valkey.host;
828
+ env[PlatformInfrastructureEnvKeys.REDIS_PORT] = String(valkey.port);
829
+ setIfDefined(env, PlatformInfrastructureEnvKeys.REDIS_DATABASE, config.backingServices?.[BackingServiceKind.REDIS]?.database);
830
+ if (credentials.valkey) {
831
+ env[PlatformInfrastructureEnvKeys.REDIS_ADMIN_USER] = credentials.valkey.adminUser;
832
+ env[PlatformInfrastructureEnvKeys.REDIS_ADMIN_PASSWORD] = credentials.valkey.adminPassword;
833
+ }
834
+ // -- RabbitMQ
835
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_HOST] = rabbitmq.host;
836
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_PORT] = String(rabbitmq.port);
837
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_MANAGEMENT_PORT] = String(rabbitmqMgmt.port);
838
+ setIfDefined(env, PlatformInfrastructureEnvKeys.RABBITMQ_VHOST, config.backingServices?.[BackingServiceKind.RABBITMQ]?.vhost);
839
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_ADMIN_USERNAME] = credentials.rabbitmq.adminUsername;
840
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_ADMIN_PASSWORD] = credentials.rabbitmq.adminPassword;
841
+ // -- Storage (MinIO)
842
+ env[PlatformInfrastructureEnvKeys.STORAGE_PROVIDER] = config.infrastructure.storage.provider;
843
+ env[PlatformInfrastructureEnvKeys.STORAGE_ENDPOINT] = minio.host;
844
+ env[PlatformInfrastructureEnvKeys.STORAGE_PORT] = String(minio.port);
845
+ env[PlatformInfrastructureEnvKeys.STORAGE_USE_SSL] = String(config.infrastructure.storage.useSsl);
846
+ env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET] = config.infrastructure.storage.bucket;
847
+ env[PlatformInfrastructureEnvKeys.STORAGE_ACCESS_KEY] = credentials.storage.accessKey;
848
+ env[PlatformInfrastructureEnvKeys.STORAGE_SECRET_KEY] = credentials.storage.secretKey;
849
+ // -- Platform service URLs
850
+ env[PlatformServiceUrlEnvKeys.PLATFORM_APPS_MANAGER_URL] = addresses.platform.appsManager.url;
851
+ env[PlatformServiceUrlEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_URL] = addresses.platform.crontabsBatchesManager.url;
852
+ env[PlatformServiceUrlEnvKeys.PLATFORM_MODULE_REGISTRY_URL] = addresses.platform.moduleRegistry.url;
853
+ // -- Gotenberg
854
+ env[PlatformInfrastructureEnvKeys.GOTENBERG_URL] = gotenberg.url;
855
+ // -- Platform security
856
+ env[PlatformSecurityEnvKeys.PLATFORM_APPS_MANAGER_PRIVATE_KEY] = credentials.platform.appsManager.privateKey;
857
+ env[PlatformSecurityEnvKeys.PLATFORM_APPS_MANAGER_PUBLIC_KEY] = credentials.platform.appsManager.publicKey;
858
+ // The crontabs-batches-manager P2P signing keypair — apps-manager-env ONLY (the authority): it
859
+ // imports this keypair at INIT (platform-owned setup material, NOT generated), serves the PRIVATE
860
+ // half to crontabs (which signs every SCHEDULED_CRON / MINION_TICK tick) and distributes the PUBLIC
861
+ // half into every app's verify slot. Both halves stay confined to this authority env; other services
862
+ // never receive the private key. Fail-loud if absent (a secrets.json predating the scheduled-cron JWT
863
+ // fix) — a silent empty key here is exactly what dead-lettered every tick.
864
+ if (!credentials.platform.crontabsBatchesManager) {
865
+ throw new Error('secrets.platform.crontabsBatchesManager is missing — the crontabs P2P signing keypair was never minted ' +
866
+ '(secrets.json predates the scheduled-cron JWT fix). Re-run `wildo setup` or inject the keypair; without it ' +
867
+ 'every SCHEDULED_CRON / MINION_TICK job dead-letters (apps receive an empty crontabs verify key).');
868
+ }
869
+ env[PlatformSecurityEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_PRIVATE_KEY] = credentials.platform.crontabsBatchesManager.privateKey;
870
+ env[PlatformSecurityEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_PUBLIC_KEY] = credentials.platform.crontabsBatchesManager.publicKey;
871
+ env[PlatformSecurityEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET] = credentials.platform.primarySecret;
872
+ env[PlatformSecurityEnvKeys.PLATFORM_ADMIN_SECRET] = credentials.platform.adminSecret;
873
+ // -- PostgreSQL
874
+ if (postgresql) {
875
+ env[PlatformInfrastructureEnvKeys.PG_HOST] = postgresql.host;
876
+ env[PlatformInfrastructureEnvKeys.PG_PORT] = String(postgresql.port);
877
+ env[PlatformInfrastructureEnvKeys.PG_ADMIN_USER] = credentials.postgresql.adminUser;
878
+ env[PlatformInfrastructureEnvKeys.PG_ADMIN_PASSWORD] = credentials.postgresql.adminPassword;
879
+ /**
880
+ * The MAINTENANCE database, never `infrastructure.postgresql.database`. This key addresses
881
+ * where the admin pool CONNECTS to run `CREATE DATABASE` / `CREATE ROLE`; the application's
882
+ * database is a THING IT PROVISIONS, and dialling it made admin init fail on any machine
883
+ * where it did not exist yet — silently, because the caller records `postgresql: 'failed'`
884
+ * and continues behind a 200 `/health/ready`. The container's initdb database is a different
885
+ * key entirely (`POSTGRES_ADMIN_DATABASE`, emitted by `buildInfraCredentialEnv`), so nothing
886
+ * here was ever serving that meaning. Full contract on the constant.
887
+ */
888
+ env[PlatformInfrastructureEnvKeys.PG_ADMIN_DATABASE] = PLATFORM_POSTGRES_MAINTENANCE_DATABASE;
889
+ env[PlatformInfrastructureEnvKeys.PG_SSL_MODE] = config.infrastructure.postgresql.sslMode;
890
+ }
891
+ // Admin bootstrap identity is only needed on flows that intentionally seed
892
+ // the first platform admin. K8s steady-state manifests should not keep these
893
+ // values in envFrom after INIT mode completes.
894
+ if (options.includeBootstrapAdminCredentials !== false) {
895
+ env[PlatformAdminEnvKeys.ADMIN_EMAIL] = credentials.admin.email;
896
+ env[PlatformAdminEnvKeys.ADMIN_PASSWORD] = credentials.admin.password;
897
+ env[PlatformAdminEnvKeys.ADMIN_FIRST_NAME] = credentials.admin.firstName;
898
+ env[PlatformAdminEnvKeys.ADMIN_LAST_NAME] = credentials.admin.lastName;
899
+ }
900
+ // -- K8s
901
+ const kubernetes = resolveKubernetesEnvVars(environment);
902
+ setIfDefined(env, PlatformKubernetesEnvKeys.K8S_NAMESPACE, kubernetes?.namespace);
903
+ // -- Public domain (runtime-agnostic — emitted for both K8s and Compose)
904
+ env[PlatformIngressEnvKeys.WILDO_PUBLIC_DOMAIN] = environment.publicDomain;
905
+ // -- Per-service subdomain map (serviceHosts) — lets apps-manager resolve
906
+ // each customer-app service's public host from the operator's authored
907
+ // subdomains (serviceHosts-driven ingress). Emitted only when authored.
908
+ if (environment.serviceHosts && Object.keys(environment.serviceHosts).length > 0) {
909
+ env[PlatformIngressEnvKeys.WILDO_SERVICE_HOSTS] = JSON.stringify(environment.serviceHosts);
910
+ }
911
+ // -- Logging posture (authored on infra config; LoggerService reads at boot)
912
+ emitLoggingEnv(env, config.logging);
913
+ emitProviderSelectionEnv(env, config.providerSelection);
914
+ emitDocumentationSiteEnv(env, config.documentationSite);
915
+ // -- OTLP telemetry posture (Slice 2 Phase 5b — platform-host spread). The auth header is
916
+ // resolved provider-agnostically from the platform's `providerEnv` (audit A-9): emitted in
917
+ // PROD when a telemetry-provider token is provisioned for the platform, omitted for the
918
+ // localhost dev collector (no token → no auth; telemetry still flows unauthenticated).
919
+ emitObservabilityEnv(env, config.observability, {
920
+ serviceName: amCatalog.serviceEnvVarName,
921
+ environment: resolveApplicationEnv(environment, config),
922
+ version: options.serviceVersion,
923
+ }, { providerEnv: credentials.providerEnv });
924
+ // -- Optional GitHub
925
+ if (credentials.github) {
926
+ setIfDefined(env, PlatformAdminEnvKeys.GITHUB_WILDO_APPS_DEFAULT_ORG_URL, credentials.github.orgUrl);
927
+ setIfDefined(env, PlatformAdminEnvKeys.GITHUB_WILDO_APPS_ADMIN_USER, credentials.github.adminUser);
928
+ setIfDefined(env, PlatformAdminEnvKeys.GITHUB_WILDO_APPS_ADMIN_TOKEN, credentials.github.adminToken);
929
+ }
930
+ return env;
931
+ }
932
+ /**
933
+ * Bootstrap env for non-apps-manager platform services.
934
+ *
935
+ * All platform service URLs and infrastructure addresses are sourced from env
936
+ * vars. Services fetch only jwtPublicKeys + secrets from apps-manager.
937
+ */
938
+ static buildBootstrapEnv(service, credentials, addresses, config, environment,
939
+ /** The bootstrap host's own `package.json` version → OTel `service.version` (audit A-10 parity). */
940
+ serviceVersion) {
941
+ assertSupportedStorageConfig(config);
942
+ const env = {};
943
+ const svcCatalog = PLATFORM_SERVICE_CATALOG[service];
944
+ env[PlatformProcessEnvKeys.HOST] = LISTEN_HOST;
945
+ env[svcCatalog.portEnvVarName] = String(svcCatalog.defaultPort);
946
+ env[PlatformProcessEnvKeys.SERVICE_NAME] = svcCatalog.serviceEnvVarName;
947
+ env[PlatformProcessEnvKeys.PLATFORM_ENVIRONMENT_ID] = environment.name;
948
+ env[PlatformProcessEnvKeys.APPLICATION_ENV] = resolveApplicationEnv(environment, config);
949
+ env[PlatformSecurityEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET] = credentials.platform.primarySecret;
950
+ env[PlatformSecurityEnvKeys.PLATFORM_APPS_MANAGER_PUBLIC_KEY] = credentials.platform.appsManager.publicKey;
951
+ // -- Platform service URLs (all services get all URLs for inter-service communication)
952
+ env[PlatformServiceUrlEnvKeys.PLATFORM_APPS_MANAGER_URL] = addresses.platform.appsManager.url;
953
+ env[PlatformServiceUrlEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_URL] = addresses.platform.crontabsBatchesManager.url;
954
+ env[PlatformServiceUrlEnvKeys.PLATFORM_MODULE_REGISTRY_URL] = addresses.platform.moduleRegistry.url;
955
+ // -- Storage (MinIO) — all platform services run backend-lib which needs storage access
956
+ const minio = requireAddress(addresses.infra.minio, 'minio');
957
+ env[PlatformInfrastructureEnvKeys.STORAGE_PROVIDER] = config.infrastructure.storage.provider;
958
+ env[PlatformInfrastructureEnvKeys.STORAGE_ENDPOINT] = minio.host;
959
+ env[PlatformInfrastructureEnvKeys.STORAGE_PORT] = String(minio.port);
960
+ env[PlatformInfrastructureEnvKeys.STORAGE_USE_SSL] = String(config.infrastructure.storage.useSsl);
961
+ env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET] = config.infrastructure.storage.bucket;
962
+ env[PlatformInfrastructureEnvKeys.STORAGE_ACCESS_KEY] = credentials.storage.accessKey;
963
+ env[PlatformInfrastructureEnvKeys.STORAGE_SECRET_KEY] = credentials.storage.secretKey;
964
+ // -- Logging posture (authored on infra config; LoggerService reads at boot)
965
+ emitLoggingEnv(env, config.logging);
966
+ emitProviderSelectionEnv(env, config.providerSelection);
967
+ emitDocumentationSiteEnv(env, config.documentationSite);
968
+ // -- OTLP telemetry posture (Slice 2 Phase 5b — platform-host spread; covers crontabs-batches-
969
+ // manager + module-registry). Auth header resolved provider-agnostically from the platform's
970
+ // `providerEnv` (audit A-9) — emitted in prod when a token is provisioned, omitted for the
971
+ // localhost dev collector.
972
+ emitObservabilityEnv(env, config.observability, {
973
+ serviceName: svcCatalog.serviceEnvVarName,
974
+ environment: resolveApplicationEnv(environment, config),
975
+ version: serviceVersion,
976
+ }, { providerEnv: credentials.providerEnv });
977
+ // -- MongoDB connection — among the bootstrap services, ONLY module-registry rides the framework's
978
+ // `StartApplicationBackendService`, which opens the PLATFORM_MANAGEMENT connection from
979
+ // `MONGO_CONNECT_URL`. `crontabs-batches-manager` uses a custom two-phase startup that bridges
980
+ // platform config for its Mongo access and never reads this var, so the emission is scoped to it.
981
+ if (service === PlatformWildoServices.MODULE_REGISTRY) {
982
+ emitPlatformMongoEnv(env, credentials, addresses, config, environment);
983
+ // The platform's OWN PostgreSQL (D7/5.6): module-registry now carries the same
984
+ // pre-connect + construction-time-adapter wiring as apps-manager, and BOTH must derive the
985
+ // store from the same env truth — the whole point is that a flipped platform cannot split
986
+ // a shared resource across services.
987
+ emitPlatformPostgresEnv(env, credentials, addresses, config, environment);
988
+ }
989
+ // -- Per-service infra addresses + extras
990
+ PlatformEnvVarsBuilder.addServiceExtras(service, env, credentials, addresses, config);
991
+ return env;
992
+ }
993
+ /**
994
+ * Build the local companion API env from platform-focused runtime material.
995
+ *
996
+ * The companion API is not an application backend anymore from an env-contract
997
+ * perspective: it connects to the platform management database and backing
998
+ * services, while still receiving the authored application runtime topology so
999
+ * companion services can reason about the local app surfaces.
1000
+ */
1001
+ static buildCompanionPlatformEnv(bootstrapCredentials, serviceName, credentials, addresses, config, environment, options) {
1002
+ assertSupportedStorageConfig(config);
1003
+ const env = {};
1004
+ env[ApplicationBackendBootstrapEnvKeys.APPLICATION_ID] = bootstrapCredentials.APPLICATION_ID;
1005
+ env[PlatformProcessEnvKeys.HOST] = options?.host ?? LISTEN_HOST;
1006
+ env[PlatformProcessEnvKeys.PORT] = String(options?.port ?? 4341);
1007
+ env[PlatformProcessEnvKeys.SERVICE_NAME] = serviceName;
1008
+ env[PlatformProcessEnvKeys.PLATFORM_ENVIRONMENT_ID] = environment.name;
1009
+ env[PlatformProcessEnvKeys.APPLICATION_ENV] =
1010
+ bootstrapCredentials.APPLICATION_ENV ?? resolveApplicationEnv(environment, config);
1011
+ env[PlatformSecurityEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET] =
1012
+ bootstrapCredentials.PLATFORM_APPLICATION_PRIMARY_SECRET;
1013
+ env[PlatformSecurityEnvKeys.PLATFORM_APPS_MANAGER_PUBLIC_KEY] = credentials.platform.appsManager.publicKey;
1014
+ env[PlatformServiceUrlEnvKeys.PLATFORM_APPS_MANAGER_URL] = bootstrapCredentials.PLATFORM_APPS_MANAGER_URL;
1015
+ env[PlatformServiceUrlEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_URL] =
1016
+ addresses.platform.crontabsBatchesManager.url;
1017
+ env[PlatformServiceUrlEnvKeys.PLATFORM_MODULE_REGISTRY_URL] = addresses.platform.moduleRegistry.url;
1018
+ emitPlatformMongoEnv(env, credentials, addresses, config, environment);
1019
+ // The PostgreSQL mirror, and a NO-OP on a Mongo-engined platform (neither key is written,
1020
+ // so existing companion `.env` material is byte-identical). See the emitter's header for
1021
+ // why the companion became a caller only once its startup could honor these keys.
1022
+ emitPlatformPostgresEnv(env, credentials, addresses, config, environment);
1023
+ const valkey = requireAddress(addresses.infra.valkey, 'valkey');
1024
+ const rabbitmq = requireAddress(addresses.infra.rabbitmq, 'rabbitmq');
1025
+ const rabbitmqMgmt = requireAddress(addresses.infra.rabbitmqManagement, 'rabbitmqManagement');
1026
+ const minio = requireAddress(addresses.infra.minio, 'minio');
1027
+ /**
1028
+ * The APPLICATION's PostgreSQL topology — address only, and the companion needs it for a reason
1029
+ * that is easy to miss: it is not an application backend from an env-contract perspective (see
1030
+ * this method's header), but it DOES load the application's resource registry, and that registry
1031
+ * refuses to initialize when a resource declares `persistenceAdapter: 'postgresql'` while
1032
+ * `database.postgresql` is absent.
1033
+ *
1034
+ * The loader builds that branch only when a HOST arrives, so a companion that never received one
1035
+ * had `postgresql.enabled === false` by construction and rejected the resource with
1036
+ * "PostgreSQL is not enabled in database config" — a runtime enforcing an adapter constraint
1037
+ * against topology it was never given. Measured 2026-08-27: the backend and the minions booted
1038
+ * the same registry fine; only the companion crash-looped, which is exactly how a per-runtime env
1039
+ * gap presents.
1040
+ *
1041
+ * Emitted under the APPLICATION-backend keys, not the platform ones, because that is the contract
1042
+ * the app-configuration loader reads. Credentials stay out: they travel through
1043
+ * `secrets.database.postgresql`, as MongoDB's do. Address makes the adapter REACHABLE; it does
1044
+ * not make it SELECTED — selection remains `DATABASE_DEFAULT_ADAPTER`, per the rule stated at the
1045
+ * application-backend block.
1046
+ */
1047
+ const companionPostgresql = addresses.infra.postgresql;
1048
+ if (companionPostgresql) {
1049
+ env[ApplicationBackendDataEnvKeys.POSTGRESQL_HOST] = companionPostgresql.host;
1050
+ env[ApplicationBackendDataEnvKeys.POSTGRESQL_PORT] = String(companionPostgresql.port);
1051
+ setIfDefined(env, ApplicationBackendDataEnvKeys.POSTGRESQL_DATABASE, config.backingServices?.[BackingServiceKind.POSTGRESQL]?.database);
1052
+ }
1053
+ env[PlatformInfrastructureEnvKeys.REDIS_HOST] = valkey.host;
1054
+ env[PlatformInfrastructureEnvKeys.REDIS_PORT] = String(valkey.port);
1055
+ setIfDefined(env, PlatformInfrastructureEnvKeys.REDIS_DATABASE, config.backingServices?.[BackingServiceKind.REDIS]?.database);
1056
+ if (credentials.valkey) {
1057
+ env[PlatformInfrastructureEnvKeys.REDIS_ADMIN_USER] = credentials.valkey.adminUser;
1058
+ env[PlatformInfrastructureEnvKeys.REDIS_ADMIN_PASSWORD] = credentials.valkey.adminPassword;
1059
+ }
1060
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_HOST] = rabbitmq.host;
1061
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_PORT] = String(rabbitmq.port);
1062
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_MANAGEMENT_PORT] = String(rabbitmqMgmt.port);
1063
+ setIfDefined(env, PlatformInfrastructureEnvKeys.RABBITMQ_VHOST, config.backingServices?.[BackingServiceKind.RABBITMQ]?.vhost);
1064
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_ADMIN_USERNAME] = credentials.rabbitmq.adminUsername;
1065
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_ADMIN_PASSWORD] = credentials.rabbitmq.adminPassword;
1066
+ // -- Storage: TOPOLOGY only. The ROOT credential is deliberately ABSENT.
1067
+ //
1068
+ // The companion is platform-tier for Mongo/Redis/RabbitMQ — it is a local admin
1069
+ // tool and legitimately holds those. For STORAGE it is not: it runs the same
1070
+ // app-tier `WildoManagedStorageProvider` as backend-api (through
1071
+ // `FileStorageRouterBackendService`) and holds the full four-var bootstrap
1072
+ // contract, so it fetches short-lived, prefix-confined STS sessions exactly as
1073
+ // an application does.
1074
+ //
1075
+ // So this is not a tier judgment — the pair was emitted and NEVER READ. Its only
1076
+ // effect was to keep the object store's root credential in a `.env` on a
1077
+ // developer's disk for the lifetime of the dev stack. Measured before removal:
1078
+ // the companion source referenced `STORAGE_ACCESS_KEY` / `STORAGE_SECRET_KEY`
1079
+ // in its env SCHEMA and nowhere else.
1080
+ // See `.claude/plans/object-storage-root-credential-distribution.md` (OQ-2).
1081
+ env[PlatformInfrastructureEnvKeys.STORAGE_PROVIDER] = config.infrastructure.storage.provider;
1082
+ env[PlatformInfrastructureEnvKeys.STORAGE_ENDPOINT] = minio.host;
1083
+ env[PlatformInfrastructureEnvKeys.STORAGE_PORT] = String(minio.port);
1084
+ env[PlatformInfrastructureEnvKeys.STORAGE_USE_SSL] = String(config.infrastructure.storage.useSsl);
1085
+ env[PlatformInfrastructureEnvKeys.STORAGE_BUCKET] = config.infrastructure.storage.bucket;
1086
+ // -- Logging posture (authored on infra config; LoggerService reads at boot)
1087
+ emitLoggingEnv(env, config.logging);
1088
+ emitProviderSelectionEnv(env, config.providerSelection);
1089
+ emitDocumentationSiteEnv(env, config.documentationSite);
1090
+ // -- OTLP telemetry posture (Slice 2 Phase 5 — projected to OTEL_*, read by the preload).
1091
+ // Audit A-16: `bootstrapCredentials.APPLICATION_ENV` is the companion's environment source
1092
+ // (it's `resolveApplicationEnv`-derived and reliably set by the bootstrap pipeline). The
1093
+ // backend's `options.applicationEnv` override is not plumbed to the companion options — a
1094
+ // low-priority consistency gap, not a missing-env risk.
1095
+ emitObservabilityEnv(env, config.observability, { serviceName, environment: bootstrapCredentials.APPLICATION_ENV, version: options?.serviceVersion }, { ref: options?.observabilityProviderRef, providerEnv: credentials.providerEnv });
1096
+ const runtimeEndpoints = options?.runtimeEndpoints;
1097
+ if (runtimeEndpoints && Object.keys(runtimeEndpoints).length > 0) {
1098
+ const preservedCompanionEndpoint = runtimeEndpoints[serviceName];
1099
+ env[ApplicationBackendRuntimeEnvKeys.APPLICATION_RUNTIME_ENDPOINTS] =
1100
+ serializeRuntimeEndpointsRecord({
1101
+ ...runtimeEndpoints,
1102
+ [PlatformRuntimeEndpointKey.PLATFORM_APPS_MANAGER]: {
1103
+ publicUrl: bootstrapCredentials.PLATFORM_APPS_MANAGER_URL,
1104
+ internalUrl: bootstrapCredentials.PLATFORM_APPS_MANAGER_URL,
1105
+ },
1106
+ [PlatformRuntimeEndpointKey.PLATFORM_CRONTABS_BATCHES_MANAGER]: {
1107
+ publicUrl: addresses.platform.crontabsBatchesManager.url,
1108
+ internalUrl: addresses.platform.crontabsBatchesManager.url,
1109
+ },
1110
+ appsManager: {
1111
+ publicUrl: bootstrapCredentials.PLATFORM_APPS_MANAGER_URL,
1112
+ internalUrl: bootstrapCredentials.PLATFORM_APPS_MANAGER_URL,
1113
+ },
1114
+ crontabsBatchesManager: {
1115
+ publicUrl: addresses.platform.crontabsBatchesManager.url,
1116
+ internalUrl: addresses.platform.crontabsBatchesManager.url,
1117
+ },
1118
+ [serviceName]: {
1119
+ publicUrl: preservedCompanionEndpoint?.publicUrl ?? `http://localhost:${options?.port ?? 4341}`,
1120
+ internalUrl: preservedCompanionEndpoint?.internalUrl ?? `http://localhost:${options?.port ?? 4341}`,
1121
+ },
1122
+ });
1123
+ }
1124
+ // Platform tier: the companion is a declared platform-admin consumer and
1125
+ // mirrors the full provider surface for local tooling.
1126
+ for (const [envVarName, value] of Object.entries(resolveRuntimeProviderEnv(credentials, platformTierAllProvidersScope()))) {
1127
+ setIfDefined(env, envVarName, value);
1128
+ }
1129
+ return env;
1130
+ }
1131
+ /**
1132
+ * Build env vars for application backend services (e.g., wonder-todos backend-api).
1133
+ *
1134
+ * Application backends get their infra addresses and platform URLs from env
1135
+ * vars. Only jwtPublicKeys + secrets are fetched from apps-manager at startup.
1136
+ */
1137
+ static buildApplicationBackendEnv(bootstrapCredentials, serviceName, credentials, addresses, config, environmentId,
1138
+ /**
1139
+ * What this runtime is entitled to. REQUIRED and positional — deliberately not a field on
1140
+ * `options` below, because an optional field is bypassable by omission and this decision must
1141
+ * not be. A new call site that does not decide does not compile.
1142
+ *
1143
+ * Application-tier callers pass `declaredProviderScope(refs)` with the refs authored under
1144
+ * `providers.scopes.{backend,workers.<name>,minions.<name>}.providers`. A caller that
1145
+ * legitimately needs the full provider surface is platform-tier and should not be using this
1146
+ * builder at all — `platformTierAllProvidersScope()` exists for those, and is unreachable from
1147
+ * here by construction of the call graph, not by convention.
1148
+ */
1149
+ providerScope, options) {
1150
+ if (options.runtimeSignalsHome !== undefined && options.deploymentLocationType !== WildoLocationType.LOCAL) {
1151
+ throw new Error('APPLICATION_RUNTIME_SIGNALS_HOME can only be emitted for explicit local deployment topology');
1152
+ }
1153
+ const env = {};
1154
+ // -- Bootstrap identity
1155
+ env[ApplicationBackendBootstrapEnvKeys.APPLICATION_ID] = bootstrapCredentials.APPLICATION_ID;
1156
+ env[ApplicationBackendBootstrapEnvKeys.SERVICE_NAME] = serviceName;
1157
+ env[ApplicationBackendBootstrapEnvKeys.PLATFORM_ENVIRONMENT_ID] = environmentId;
1158
+ env[ApplicationBackendBootstrapEnvKeys.DEPLOYMENT_LOCATION_TYPE] = options.deploymentLocationType;
1159
+ env[ApplicationBackendBootstrapEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET] =
1160
+ bootstrapCredentials.PLATFORM_APPLICATION_PRIMARY_SECRET;
1161
+ env[ApplicationBackendBootstrapEnvKeys.PLATFORM_APPS_MANAGER_URL] =
1162
+ bootstrapCredentials.PLATFORM_APPS_MANAGER_URL;
1163
+ env[ApplicationBackendBootstrapEnvKeys.APPLICATION_ENV] =
1164
+ options?.applicationEnv ?? bootstrapCredentials.APPLICATION_ENV;
1165
+ // -- Platform service URLs
1166
+ env[ApplicationBackendPlatformUrlEnvKeys.PLATFORM_CRONTABS_BATCHES_MANAGER_URL] =
1167
+ addresses.platform.crontabsBatchesManager.url;
1168
+ env[ApplicationBackendPlatformUrlEnvKeys.PLATFORM_MODULE_REGISTRY_URL] =
1169
+ addresses.platform.moduleRegistry.url;
1170
+ // -- App runtime topology (local/backend bootstrap derived)
1171
+ const runtimeEndpoints = options?.runtimeEndpoints;
1172
+ if (runtimeEndpoints && Object.keys(runtimeEndpoints).length > 0) {
1173
+ env[ApplicationBackendRuntimeEnvKeys.APPLICATION_RUNTIME_ENDPOINTS] =
1174
+ serializeRuntimeEndpointsRecord(runtimeEndpoints);
1175
+ }
1176
+ setIfDefined(env, ApplicationBackendRuntimeEnvKeys.APPLICATION_RUNTIME_SIGNALS_HOME, options.runtimeSignalsHome);
1177
+ // -- Backend→worker dispatch URLs (G-8 / MW4). One `WILDO_WORKER_<NAME>_URL`
1178
+ // per declared worker so the backend's WorkerRemoteClientFactory can reach
1179
+ // each worker's per-app k8s Service. The env-key normalization lives in the
1180
+ // shared `wildoWorkerUrlEnvKey` helper that the backend read-side also uses,
1181
+ // so emit and read cannot drift.
1182
+ const workerUrls = options?.workerUrls;
1183
+ if (workerUrls) {
1184
+ for (const [workerName, url] of Object.entries(workerUrls)) {
1185
+ setIfDefined(env, wildoWorkerUrlEnvKey(workerName), url);
1186
+ }
1187
+ }
1188
+ // Which backing services MAY this runtime reach? One source, shared with the
1189
+ // credential minting and (next) the network membership, so the three cannot
1190
+ // describe different sets.
1191
+ const runtimeAccess = options?.runtimeAccess
1192
+ ?? resolveRuntimeBackingServiceAccess({
1193
+ kind: ApplicationRuntimePrincipalKind.APPLICATION_BACKEND,
1194
+ });
1195
+ const mayReach = (capability) => runtimeAccess.capabilities.has(capability);
1196
+ // -- Database addresses (same infra, app-specific database name)
1197
+ // `environmentProvidesMongoDb`, not merely `addresses.infra.mongodb` — see that helper. An
1198
+ // application whose environment renders no mongod must receive NO Mongo address at all, or its
1199
+ // backend spends every boot dialling a server that does not exist and fails its readiness gate
1200
+ // on a dependency it does not have.
1201
+ const mongodb = environmentProvidesMongoDb(config) ? addresses.infra.mongodb : undefined;
1202
+ const appMongoDatabase = pickAppMongoDatabase(config.backingServices, options?.appDatabaseName);
1203
+ if (mongodb && mayReach(InfraCapability.DOCUMENT_DATABASE)) {
1204
+ env[ApplicationBackendDataEnvKeys.MONGODB_HOST] = `${mongodb.host}:${mongodb.port}`;
1205
+ env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE] = appMongoDatabase;
1206
+ env[ApplicationBackendDataEnvKeys.MONGODB_PROTOCOL] = 'mongodb';
1207
+ if (options?.mongodbDirectConnection !== undefined) {
1208
+ env[ApplicationBackendDataEnvKeys.MONGODB_DIRECT_CONNECTION] = String(options.mongodbDirectConnection);
1209
+ }
1210
+ }
1211
+ else if (config.externalEndpoints?.mongodb?.connectionUrl && mayReach(InfraCapability.DOCUMENT_DATABASE)) {
1212
+ const atlasMongoEnv = buildMongoEnvFromConnectionUrl(config.externalEndpoints.mongodb.connectionUrl, appMongoDatabase);
1213
+ env[ApplicationBackendDataEnvKeys.MONGODB_HOST] = atlasMongoEnv.host;
1214
+ env[ApplicationBackendDataEnvKeys.MONGODB_DATABASE] = atlasMongoEnv.database;
1215
+ env[ApplicationBackendDataEnvKeys.MONGODB_PROTOCOL] = atlasMongoEnv.protocol;
1216
+ }
1217
+ /**
1218
+ * PostgreSQL TOPOLOGY — emitted whenever the environment self-hosts or points at one.
1219
+ *
1220
+ * ADDRESS ONLY, and the restraint is the point. The loader builds a `database.postgresql` branch
1221
+ * only when a host arrives, so these keys are what make the adapter REACHABLE; they do not make
1222
+ * it SELECTED. Selection is `DATABASE_DEFAULT_ADAPTER`, whose own contract rejects being derived
1223
+ * from key presence — "which store an application persists to is a deployment decision that must
1224
+ * be legible in one place, not an emergent property of which variables happen to be set". An
1225
+ * application therefore gets a usable PostgreSQL address and still persists to MongoDB until it
1226
+ * says otherwise, which is the correct default and a no-op for every existing deployment.
1227
+ *
1228
+ * Credentials are deliberately absent: they travel through `secrets.database.postgresql`, exactly
1229
+ * as MongoDB's do. Env carries where the database is; secrets carry who may open it.
1230
+ */
1231
+ const postgresql = addresses.infra.postgresql;
1232
+ if (postgresql && mayReach(InfraCapability.RELATIONAL_DATABASE)) {
1233
+ env[ApplicationBackendDataEnvKeys.POSTGRESQL_HOST] = postgresql.host;
1234
+ env[ApplicationBackendDataEnvKeys.POSTGRESQL_PORT] = String(postgresql.port);
1235
+ // The app's own database, falling back to the authored backing-service name and then to the
1236
+ // Mongo-side app database name — one application, one logical database, whichever store holds it.
1237
+ env[ApplicationBackendDataEnvKeys.POSTGRESQL_DATABASE] =
1238
+ config.backingServices?.[BackingServiceKind.POSTGRESQL]?.database ?? appMongoDatabase;
1239
+ }
1240
+ /**
1241
+ * PostgreSQL SELECTION for the application — a separate decision from the ADDRESS block above.
1242
+ *
1243
+ * The block above deliberately emits address keys only, on the rule stated beside it: *"which
1244
+ * store an application persists to is a deployment decision that must be legible in one place,
1245
+ * not an emergent property of which variables happen to be set"*. That rule is why selection is
1246
+ * NOT derived from the presence of a host, and why it needs an authored source.
1247
+ *
1248
+ * `applicationDatabase` is that source. Until it existed, the only way to move an application to
1249
+ * PostgreSQL was to hand-edit `backend-api/.env` — machine-local, ungitted, and not reproducible
1250
+ * on another developer's machine.
1251
+ *
1252
+ * Emitted ONLY for POSTGRESQL: an authored MONGODB (or an absent field) leaves the key unset, and
1253
+ * `ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER` defaults to MongoDB. Writing the key
1254
+ * explicitly for MongoDB would be equivalent but would churn every existing generated `.env`.
1255
+ */
1256
+ if (config.applicationDatabase?.engine === DatabaseEngine.POSTGRESQL) {
1257
+ if (!postgresql || !mayReach(InfraCapability.RELATIONAL_DATABASE)) {
1258
+ // Asserted rather than emitting a selection whose substrate is unreachable. `defineInfraEnvConfig`
1259
+ // already refuses this combination at authoring time, so reaching here means the address
1260
+ // resolver and that refinement disagree — a CLI bug, and one that would otherwise surface as
1261
+ // the application backend failing to open a connection three layers away.
1262
+ throw new Error('applicationDatabase.engine is POSTGRESQL but no postgresql address resolved for this '
1263
+ + 'environment. Declare `backingServices.postgresql` and re-run `wildo config sync`; if it IS '
1264
+ + 'declared, this is a CLI bug — report it with the environment name and `wildo.infra.<env>.config.ts`.');
1265
+ }
1266
+ env[ApplicationBackendDataEnvKeys.DATABASE_DEFAULT_ADAPTER] = PersistenceAdapter.POSTGRESQL;
1267
+ }
1268
+ const valkey = addresses.infra.valkey;
1269
+ if (valkey && mayReach(InfraCapability.CACHE_MANAGER)) {
1270
+ env[ApplicationBackendDataEnvKeys.REDIS_HOST] = valkey.host;
1271
+ env[ApplicationBackendDataEnvKeys.REDIS_PORT] = String(valkey.port);
1272
+ setIfDefined(env, ApplicationBackendDataEnvKeys.REDIS_DATABASE, config.backingServices?.[BackingServiceKind.REDIS]?.database);
1273
+ }
1274
+ // App-level Redis key namespace (Slice 3.6 — sourced from
1275
+ // `wildo.saas.config.dataServices.redis.keyPrefix`). Independent of
1276
+ // whether a valkey address is wired so future external Redis paths
1277
+ // still receive the prefix.
1278
+ setIfDefined(env, ApplicationBackendDataEnvKeys.REDIS_KEY_PREFIX, options?.redisKeyPrefix);
1279
+ const rabbitmq = addresses.infra.rabbitmq;
1280
+ if (rabbitmq && mayReach(InfraCapability.QUEUING_SYSTEM)) {
1281
+ env[ApplicationBackendDataEnvKeys.RABBITMQ_HOST] = rabbitmq.host;
1282
+ env[ApplicationBackendDataEnvKeys.RABBITMQ_PORT] = String(rabbitmq.port);
1283
+ setIfDefined(env, ApplicationBackendDataEnvKeys.RABBITMQ_VHOST, config.backingServices?.[BackingServiceKind.RABBITMQ]?.vhost);
1284
+ }
1285
+ // -- Storage (MinIO) — backend-lib needs storage access for z_file() operations
1286
+ const minio = addresses.infra.minio;
1287
+ if (minio && mayReach(InfraCapability.OBJECT_STORAGE)) {
1288
+ assertSupportedStorageConfig(config);
1289
+ env[ApplicationBackendDataEnvKeys.STORAGE_PROVIDER] = config.infrastructure.storage.provider;
1290
+ env[ApplicationBackendDataEnvKeys.STORAGE_ENDPOINT] = minio.host;
1291
+ env[ApplicationBackendDataEnvKeys.STORAGE_PORT] = String(minio.port);
1292
+ env[ApplicationBackendDataEnvKeys.STORAGE_USE_SSL] = String(config.infrastructure.storage.useSsl);
1293
+ env[ApplicationBackendDataEnvKeys.STORAGE_BUCKET] = config.infrastructure.storage.bucket;
1294
+ // ⚠️ STORAGE_ACCESS_KEY / STORAGE_SECRET_KEY are deliberately ABSENT here.
1295
+ //
1296
+ // Those two values are the object store's ROOT credential — the very same
1297
+ // pair assigned to `MINIO_ROOT_USER` / `MINIO_ROOT_PASSWORD` in
1298
+ // `buildInfraCredentialEnv` above. Emitting them here handed the root
1299
+ // account to every application backend, every minion and every worker,
1300
+ // because `buildApplicationMinionEnv` delegates to this builder and the
1301
+ // k8s `{appSlug}-secret` is built from its output.
1302
+ //
1303
+ // Applications now obtain SHORT-LIVED, prefix-confined session credentials
1304
+ // from apps-manager at runtime (`GET /apps-to-manager/storage-session-credentials`),
1305
+ // so nothing in an application container needs a long-lived storage key.
1306
+ // The endpoint/bucket/provider values above are NOT secrets and stay.
1307
+ //
1308
+ // Do not re-add these "so local dev works" — that is the exact regression
1309
+ // `assertNoStorageSecretInGeneratedEnv` below exists to catch. If storage
1310
+ // fails, the STS route is the thing to fix.
1311
+ //
1312
+ // See `.claude/plans/object-storage-root-credential-distribution.md`.
1313
+ }
1314
+ // App-level object-key namespace prefix (Slice 3.6 — sourced from
1315
+ // `wildo.saas.config.dataServices.s3.bucketPrefix`). Independent of
1316
+ // whether managed MinIO is wired so future external storage paths
1317
+ // still receive the prefix.
1318
+ setIfDefined(env, ApplicationBackendDataEnvKeys.STORAGE_BUCKET_PREFIX, options?.storageBucketPrefix);
1319
+ // -- Logging posture (authored on infra config; LoggerService reads at boot)
1320
+ emitLoggingEnv(env, config.logging);
1321
+ emitProviderSelectionEnv(env, config.providerSelection);
1322
+ emitDocumentationSiteEnv(env, config.documentationSite);
1323
+ // -- OTLP telemetry posture (Slice 2 Phase 5 — projected to OTEL_*, read by the preload)
1324
+ emitObservabilityEnv(env, config.observability, { serviceName, environment: options?.applicationEnv ?? bootstrapCredentials.APPLICATION_ENV, version: options?.serviceVersion }, { ref: options?.observabilityProviderRef, providerEnv: credentials.providerEnv });
1325
+ // -- Optional protocol-aware provider env bindings
1326
+ // Application tier: scoped to the runtime's declared providers. Covers
1327
+ // minions too — `buildApplicationMinionEnv` delegates here, and a minion
1328
+ // scoped to `openai` must not receive the application's Stripe key.
1329
+ for (const [envVarName, value] of Object.entries(resolveRuntimeProviderEnv(credentials, providerScope))) {
1330
+ setIfDefined(env, envVarName, value);
1331
+ }
1332
+ // Checked at the RETURN, after every contributor — including the provider
1333
+ // fan-out just above — rather than beside the storage block. A guard placed
1334
+ // next to the removal would only prove that one line stayed deleted; here it
1335
+ // catches the root credential arriving through any path, named anything.
1336
+ //
1337
+ // This is the gate for R5 of the storage plan, and it covers minions and
1338
+ // workers for free: `buildApplicationMinionEnv` delegates to this builder,
1339
+ // and the k8s `{appSlug}-secret` is built from its output.
1340
+ assertNoPlatformCredentialInGeneratedEnv(env, credentials, 'buildApplicationBackendEnv');
1341
+ return env;
1342
+ }
1343
+ /**
1344
+ * Build env vars for minion processes.
1345
+ *
1346
+ * Minions run the full backend pipeline (headless mode) via
1347
+ * `StartMinionApplicationBackendService`, so they receive the same env
1348
+ * contract as application backends: bootstrap identity, platform service
1349
+ * URLs, runtime topology, and all data-service wiring (MongoDB, Redis,
1350
+ * RabbitMQ, storage). The only semantic difference is the `serviceName`
1351
+ * field which carries the minion's service name (from `wildo.minion.config.ts`).
1352
+ */
1353
+ static buildApplicationMinionEnv(bootstrapCredentials, serviceName, credentials, addresses, config, environmentId,
1354
+ /** The minion's declared scope — `providers.scopes.minions.<name>.providers`. Forwarded to the
1355
+ * backend builder below, which owns the filtering. Required for the same reason it is there. */
1356
+ providerScope,
1357
+ /**
1358
+ * What this minion DECLARED — its authored `resourceAccess` and
1359
+ * `requiresInternetEgress`.
1360
+ *
1361
+ * REQUIRED for the same reason `providerScope` is: an omitted declaration and
1362
+ * a declaration of nothing are different statements, and only one of them may
1363
+ * be inferred. Absent `resourceAccess` means application-data access was never
1364
+ * requested (D11/R3), which is what withholds BOTH the database credential and
1365
+ * the database topology.
1366
+ */
1367
+ accessDeclaration, options) {
1368
+ // Delegation is the trap this parameter exists for. The backend builder owns
1369
+ // the emission, so a minion inheriting it unchanged receives the BACKEND's
1370
+ // topology — every backing service, regardless of what it declared. Gating
1371
+ // inside that builder instead would narrow the application backend at the same
1372
+ // time, since this is its only delegating caller.
1373
+ return PlatformEnvVarsBuilder.buildApplicationBackendEnv(bootstrapCredentials, serviceName, credentials, addresses, config, environmentId, providerScope, {
1374
+ ...options,
1375
+ runtimeAccess: resolveRuntimeBackingServiceAccess({ kind: ApplicationRuntimePrincipalKind.MINION, name: serviceName }, accessDeclaration),
1376
+ });
1377
+ }
1378
+ /**
1379
+ * Build env vars for language-agnostic worker processes.
1380
+ *
1381
+ * Workers do NOT receive backend backing-service wiring. Their runtime
1382
+ * contract is the bootstrap identity plus optional provider/logging env
1383
+ * bindings so non-Node workers can stay env-driven without consuming the
1384
+ * generated TypeScript provider-runtime modules.
1385
+ */
1386
+ static buildApplicationWorkerEnv(bootstrapCredentials, workerName, serviceName, credentials, config, environmentId,
1387
+ /** The worker's declared scope — `providers.scopes.workers.<name>.providers`. `myRustWorker`
1388
+ * authors `providers: {}`, so an EMPTY declared set is the correct answer there, and is a
1389
+ * different statement from "the caller did not say". Required for exactly that reason. */
1390
+ providerScope, options) {
1391
+ const env = {};
1392
+ env[ApplicationWorkerBootstrapEnvKeys.APPLICATION_ID] = bootstrapCredentials.APPLICATION_ID;
1393
+ // Worker IDENTITY — the canonical background-runtime pair (matches the k8s
1394
+ // worker/minion Deployment templates, the `BackgroundRuntimeType` model, and
1395
+ // the Rust worker's env read). `APP_OWNED_SERVICE_NAME` is the `workers`
1396
+ // bucket key the worker forwards as the apps-manager worker-bootstrap path
1397
+ // segment (`appConfig.workers[name]` lookup); `APP_OWNED_SERVICE_KIND` pins
1398
+ // it as a worker so the same contract disambiguates worker vs minion.
1399
+ env[ApplicationWorkerBootstrapEnvKeys.APP_OWNED_SERVICE_KIND] = BackgroundRuntimeType.WORKER;
1400
+ env[ApplicationWorkerBootstrapEnvKeys.APP_OWNED_SERVICE_NAME] = workerName;
1401
+ // SERVICE_NAME — the SEPARATE process/observability identity (also feeds
1402
+ // `OTEL_SERVICE_NAME` via `emitObservabilityEnv` below), distinct from the
1403
+ // routing identity above.
1404
+ env[ApplicationWorkerBootstrapEnvKeys.SERVICE_NAME] = serviceName;
1405
+ env[ApplicationWorkerBootstrapEnvKeys.PLATFORM_ENVIRONMENT_ID] = environmentId;
1406
+ env[ApplicationWorkerBootstrapEnvKeys.PLATFORM_APPLICATION_PRIMARY_SECRET] =
1407
+ bootstrapCredentials.PLATFORM_APPLICATION_PRIMARY_SECRET;
1408
+ env[ApplicationWorkerBootstrapEnvKeys.PLATFORM_APPS_MANAGER_URL] =
1409
+ bootstrapCredentials.PLATFORM_APPS_MANAGER_URL;
1410
+ env[ApplicationWorkerBootstrapEnvKeys.APPLICATION_ENV] =
1411
+ options?.applicationEnv ?? bootstrapCredentials.APPLICATION_ENV;
1412
+ // -- Inbound HTTP surface — projected from the authored `http` block so the
1413
+ // worker binds the authored port + probe paths (not a per-language
1414
+ // hardcoded default). Mirrors the Rust worker's WORKER_HTTP_PORT /
1415
+ // WORKER_HEALTH_PATH / WORKER_READY_PATH reads and the Node worker's
1416
+ // `readWorkerHttpSurfaceEnv()` helper. The env-gen caller always threads
1417
+ // `http`; the guard is only for the provider-env unit tests that omit options.
1418
+ if (options?.http) {
1419
+ env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_HTTP_PORT] = String(options.http.port);
1420
+ env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_HEALTH_PATH] = options.http.healthPath;
1421
+ env[ApplicationWorkerHttpSurfaceEnvKeys.WORKER_READY_PATH] = options.http.readyPath;
1422
+ // `metricsPath` is optional on `WorkerHttpSchema` — emitted only when the
1423
+ // author opts the worker into a Prometheus scrape surface.
1424
+ setIfDefined(env, ApplicationWorkerHttpSurfaceEnvKeys.WORKER_METRICS_PATH, options.http.metricsPath);
1425
+ }
1426
+ const runtimeEndpoints = options?.runtimeEndpoints;
1427
+ if (runtimeEndpoints && Object.keys(runtimeEndpoints).length > 0) {
1428
+ env[ApplicationWorkerRuntimeEnvKeys.APPLICATION_RUNTIME_ENDPOINTS] =
1429
+ serializeRuntimeEndpointsRecord(runtimeEndpoints);
1430
+ }
1431
+ emitLoggingEnv(env, config.logging);
1432
+ emitProviderSelectionEnv(env, config.providerSelection);
1433
+ emitDocumentationSiteEnv(env, config.documentationSite);
1434
+ // Audit A-2: OTLP telemetry posture — workers emit OTEL_* like backends so a node worker with
1435
+ // the preload `--import` exports traces/metrics/logs (and a language-agnostic worker carries the
1436
+ // same env for a future native OTel SDK). The auth header, when a token is provisioned, is
1437
+ // resolved provider-agnostically from `providerEnv`, same as the backend.
1438
+ emitObservabilityEnv(env, config.observability, {
1439
+ serviceName,
1440
+ environment: options?.applicationEnv ?? bootstrapCredentials.APPLICATION_ENV,
1441
+ version: options?.serviceVersion,
1442
+ }, { providerEnv: credentials.providerEnv });
1443
+ // Application tier: a worker receives only the providers its
1444
+ // `providers.scopes.workers.<name>` declares. `myRustWorker` declares none,
1445
+ // and must therefore receive none.
1446
+ for (const [envVarName, value] of Object.entries(resolveRuntimeProviderEnv(credentials, providerScope))) {
1447
+ setIfDefined(env, envVarName, value);
1448
+ }
1449
+ // Application tier — same guard as `buildApplicationBackendEnv`.
1450
+ //
1451
+ // A worker builds its env from scratch rather than delegating (unlike
1452
+ // `buildApplicationMinionEnv`, which inherits the guard by calling the
1453
+ // backend builder), so it is a SEPARATE call site for the same invariant and
1454
+ // was missed when the guard first landed. It emits no `STORAGE_*` today, but
1455
+ // `resolveRuntimeProviderEnv` fans provider values out of the same
1456
+ // `credentials` object the root pair lives in — so "it happens not to leak
1457
+ // right now" is a property of the current provider set, not of this builder.
1458
+ // See `.claude/rules/invariant-call-site-enumeration.md`.
1459
+ assertNoPlatformCredentialInGeneratedEnv(env, credentials, 'buildApplicationWorkerEnv');
1460
+ return env;
1461
+ }
1462
+ static addServiceExtras(service, env, credentials, addresses, config) {
1463
+ switch (service) {
1464
+ case PlatformWildoServices.CRONTABS_BATCHES_MANAGER: {
1465
+ const valkey = requireAddress(addresses.infra.valkey, 'valkey');
1466
+ const rabbitmq = requireAddress(addresses.infra.rabbitmq, 'rabbitmq');
1467
+ const rabbitmqMgmt = requireAddress(addresses.infra.rabbitmqManagement, 'rabbitmqManagement');
1468
+ env[PlatformInfrastructureEnvKeys.REDIS_HOST] = valkey.host;
1469
+ env[PlatformInfrastructureEnvKeys.REDIS_PORT] = String(valkey.port);
1470
+ setIfDefined(env, PlatformInfrastructureEnvKeys.REDIS_DATABASE, config.backingServices?.[BackingServiceKind.REDIS]?.database);
1471
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_HOST] = rabbitmq.host;
1472
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_PORT] = String(rabbitmq.port);
1473
+ env[PlatformInfrastructureEnvKeys.RABBITMQ_MANAGEMENT_PORT] = String(rabbitmqMgmt.port);
1474
+ setIfDefined(env, PlatformInfrastructureEnvKeys.RABBITMQ_VHOST, config.backingServices?.[BackingServiceKind.RABBITMQ]?.vhost);
1475
+ break;
1476
+ }
1477
+ case PlatformWildoServices.MODULE_REGISTRY: {
1478
+ // Phase 3.0 ships the package skeleton without hard infra
1479
+ // dependencies — the in-memory storage is enough for the
1480
+ // smoke / `wildo registry ping` flow. Phase 3.1 will wire
1481
+ // MinIO (artifact bytes) + PostgreSQL or MongoDB (metadata)
1482
+ // here through the same `requireAddress`/`setIfDefined`
1483
+ // pattern as the other services.
1484
+ break;
1485
+ }
1486
+ default: {
1487
+ const _exhaustive = service;
1488
+ throw new Error(`Unhandled bootstrap service: ${_exhaustive}`);
1489
+ }
1490
+ }
1491
+ }
1492
+ }
1493
+ //# sourceMappingURL=env-vars-builder.service.js.map