@wildo-ai/wildo-cli 1.1.4 → 1.1.6

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 (3005) hide show
  1. package/bin/wildo.ts +12 -1
  2. package/dist/bin/wildo.d.ts.map +1 -1
  3. package/dist/bin/wildo.js +13 -1
  4. package/dist/bin/wildo.js.map +1 -1
  5. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
  6. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +2 -0
  7. package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +1 -0
  8. package/dist/src/commands/__tests__/compose-dependency-preview.test.js +271 -0
  9. package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +1 -0
  10. package/dist/src/commands/__tests__/init-application-repository.test.d.ts +2 -0
  11. package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +1 -0
  12. package/dist/src/commands/__tests__/init-application-repository.test.js +125 -0
  13. package/dist/src/commands/__tests__/init-application-repository.test.js.map +1 -0
  14. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +2 -0
  15. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +1 -0
  16. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +51 -0
  17. package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +1 -0
  18. package/dist/src/commands/__tests__/update.command.test.d.ts +2 -0
  19. package/dist/src/commands/__tests__/update.command.test.d.ts.map +1 -0
  20. package/dist/src/commands/__tests__/update.command.test.js +249 -0
  21. package/dist/src/commands/__tests__/update.command.test.js.map +1 -0
  22. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +2 -0
  23. package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +1 -0
  24. package/dist/src/commands/acp/__tests__/probe.command.test.js +36 -0
  25. package/dist/src/commands/acp/__tests__/probe.command.test.js.map +1 -0
  26. package/dist/src/commands/acp/probe.command.d.ts +6 -5
  27. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  28. package/dist/src/commands/acp/probe.command.js +43 -6
  29. package/dist/src/commands/acp/probe.command.js.map +1 -1
  30. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  31. package/dist/src/commands/align-deps.command.js +6 -0
  32. package/dist/src/commands/align-deps.command.js.map +1 -1
  33. package/dist/src/commands/assets/sync.command.d.ts +7 -10
  34. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  35. package/dist/src/commands/assets/sync.command.js +14 -12
  36. package/dist/src/commands/assets/sync.command.js.map +1 -1
  37. package/dist/src/commands/brand/propagate.command.d.ts +18 -38
  38. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  39. package/dist/src/commands/brand/propagate.command.js +32 -106
  40. package/dist/src/commands/brand/propagate.command.js.map +1 -1
  41. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
  42. package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
  43. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
  44. package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
  45. package/dist/src/commands/build/accept.command.d.ts +16 -0
  46. package/dist/src/commands/build/accept.command.d.ts.map +1 -0
  47. package/dist/src/commands/build/accept.command.js +37 -0
  48. package/dist/src/commands/build/accept.command.js.map +1 -0
  49. package/dist/src/commands/build/dispatches.command.d.ts +8 -0
  50. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
  51. package/dist/src/commands/build/dispatches.command.js +26 -0
  52. package/dist/src/commands/build/dispatches.command.js.map +1 -0
  53. package/dist/src/commands/build/next.command.d.ts +8 -0
  54. package/dist/src/commands/build/next.command.d.ts.map +1 -0
  55. package/dist/src/commands/build/next.command.js +31 -0
  56. package/dist/src/commands/build/next.command.js.map +1 -0
  57. package/dist/src/commands/build/rearm.command.d.ts +16 -0
  58. package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
  59. package/dist/src/commands/build/rearm.command.js +48 -0
  60. package/dist/src/commands/build/rearm.command.js.map +1 -0
  61. package/dist/src/commands/build/run.command.d.ts +15 -0
  62. package/dist/src/commands/build/run.command.d.ts.map +1 -0
  63. package/dist/src/commands/build/run.command.js +41 -0
  64. package/dist/src/commands/build/run.command.js.map +1 -0
  65. package/dist/src/commands/build/tasks.command.d.ts +8 -0
  66. package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
  67. package/dist/src/commands/build/tasks.command.js +24 -0
  68. package/dist/src/commands/build/tasks.command.js.map +1 -0
  69. package/dist/src/commands/compose.command.d.ts.map +1 -1
  70. package/dist/src/commands/compose.command.js +6 -18
  71. package/dist/src/commands/compose.command.js.map +1 -1
  72. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
  73. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
  74. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
  75. package/dist/src/commands/config/__tests__/sync.command.test.js +268 -13
  76. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
  77. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +2 -0
  78. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +1 -0
  79. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +134 -0
  80. package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +1 -0
  81. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +2 -0
  82. package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +1 -0
  83. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +106 -0
  84. package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +1 -0
  85. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
  86. package/dist/src/commands/config/__tests__/validate.command.test.js +701 -0
  87. package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
  88. package/dist/src/commands/config/data-retention.command.d.ts +17 -0
  89. package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
  90. package/dist/src/commands/config/data-retention.command.js +58 -0
  91. package/dist/src/commands/config/data-retention.command.js.map +1 -0
  92. package/dist/src/commands/config/document-releases.command.d.ts +20 -0
  93. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -0
  94. package/dist/src/commands/config/document-releases.command.js +74 -0
  95. package/dist/src/commands/config/document-releases.command.js.map +1 -0
  96. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  97. package/dist/src/commands/config/mutate.command.js +2 -1
  98. package/dist/src/commands/config/mutate.command.js.map +1 -1
  99. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  100. package/dist/src/commands/config/reapply-declaration.command.js +1 -1
  101. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  102. package/dist/src/commands/config/service-consent.command.d.ts +18 -0
  103. package/dist/src/commands/config/service-consent.command.d.ts.map +1 -0
  104. package/dist/src/commands/config/service-consent.command.js +59 -0
  105. package/dist/src/commands/config/service-consent.command.js.map +1 -0
  106. package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
  107. package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
  108. package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
  109. package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
  110. package/dist/src/commands/config/sync.command.d.ts +18 -5
  111. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  112. package/dist/src/commands/config/sync.command.js +296 -47
  113. package/dist/src/commands/config/sync.command.js.map +1 -1
  114. package/dist/src/commands/config/validate.command.d.ts +147 -2
  115. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  116. package/dist/src/commands/config/validate.command.js +662 -16
  117. package/dist/src/commands/config/validate.command.js.map +1 -1
  118. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -1
  119. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -1
  120. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
  121. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
  122. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
  123. package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
  124. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +2 -0
  125. package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +1 -0
  126. package/dist/src/commands/context/__tests__/default-service-key.test.js +103 -0
  127. package/dist/src/commands/context/__tests__/default-service-key.test.js.map +1 -0
  128. package/dist/src/commands/context/__tests__/elements.command.test.d.ts +2 -0
  129. package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +1 -0
  130. package/dist/src/commands/context/__tests__/elements.command.test.js +82 -0
  131. package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -0
  132. package/dist/src/commands/context/__tests__/info.command.test.d.ts +2 -0
  133. package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +1 -0
  134. package/dist/src/commands/context/__tests__/info.command.test.js +321 -0
  135. package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -0
  136. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
  137. package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
  138. package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
  139. package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
  140. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
  141. package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
  142. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
  143. package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
  144. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -1
  145. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -1
  146. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
  147. package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
  148. package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
  149. package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
  150. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +2 -0
  151. package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +1 -0
  152. package/dist/src/commands/context/__tests__/workspace.command.test.js +78 -0
  153. package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -0
  154. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
  155. package/dist/src/commands/context/assurance-basis.command.js +3 -2
  156. package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
  157. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  158. package/dist/src/commands/context/coherence.command.js +8 -6
  159. package/dist/src/commands/context/coherence.command.js.map +1 -1
  160. package/dist/src/commands/context/context-command.utils.d.ts +44 -2
  161. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  162. package/dist/src/commands/context/context-command.utils.js +130 -8
  163. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  164. package/dist/src/commands/context/elements.command.d.ts +22 -0
  165. package/dist/src/commands/context/elements.command.d.ts.map +1 -0
  166. package/dist/src/commands/context/elements.command.js +77 -0
  167. package/dist/src/commands/context/elements.command.js.map +1 -0
  168. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  169. package/dist/src/commands/context/health.command.js +7 -2
  170. package/dist/src/commands/context/health.command.js.map +1 -1
  171. package/dist/src/commands/context/info.command.d.ts +2 -1
  172. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  173. package/dist/src/commands/context/info.command.js +16 -35
  174. package/dist/src/commands/context/info.command.js.map +1 -1
  175. package/dist/src/commands/context/journey.command.d.ts +130 -9
  176. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  177. package/dist/src/commands/context/journey.command.js +586 -17
  178. package/dist/src/commands/context/journey.command.js.map +1 -1
  179. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
  180. package/dist/src/commands/context/jurisdictions.command.js +2 -1
  181. package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
  182. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  183. package/dist/src/commands/context/list.command.js +11 -4
  184. package/dist/src/commands/context/list.command.js.map +1 -1
  185. package/dist/src/commands/context/pipelines.command.d.ts +25 -0
  186. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
  187. package/dist/src/commands/context/pipelines.command.js +149 -0
  188. package/dist/src/commands/context/pipelines.command.js.map +1 -0
  189. package/dist/src/commands/context/workspace.command.d.ts +25 -0
  190. package/dist/src/commands/context/workspace.command.d.ts.map +1 -0
  191. package/dist/src/commands/context/workspace.command.js +80 -0
  192. package/dist/src/commands/context/workspace.command.js.map +1 -0
  193. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
  194. package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
  195. package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
  196. package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
  197. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
  198. package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
  199. package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
  200. package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
  201. package/dist/src/commands/creation/accept.command.d.ts +12 -0
  202. package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
  203. package/dist/src/commands/creation/accept.command.js +34 -0
  204. package/dist/src/commands/creation/accept.command.js.map +1 -0
  205. package/dist/src/commands/creation/answer.command.d.ts +30 -0
  206. package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
  207. package/dist/src/commands/creation/answer.command.js +154 -0
  208. package/dist/src/commands/creation/answer.command.js.map +1 -0
  209. package/dist/src/commands/creation/brief.command.d.ts +16 -0
  210. package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
  211. package/dist/src/commands/creation/brief.command.js +50 -0
  212. package/dist/src/commands/creation/brief.command.js.map +1 -0
  213. package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
  214. package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
  215. package/dist/src/commands/creation/deliberate.command.js +55 -0
  216. package/dist/src/commands/creation/deliberate.command.js.map +1 -0
  217. package/dist/src/commands/creation/diff.command.d.ts +12 -0
  218. package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
  219. package/dist/src/commands/creation/diff.command.js +33 -0
  220. package/dist/src/commands/creation/diff.command.js.map +1 -0
  221. package/dist/src/commands/creation/feed.command.d.ts +21 -0
  222. package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
  223. package/dist/src/commands/creation/feed.command.js +135 -0
  224. package/dist/src/commands/creation/feed.command.js.map +1 -0
  225. package/dist/src/commands/creation/loop.command.d.ts +19 -0
  226. package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
  227. package/dist/src/commands/creation/loop.command.js +52 -0
  228. package/dist/src/commands/creation/loop.command.js.map +1 -0
  229. package/dist/src/commands/creation/persona.command.d.ts +16 -0
  230. package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
  231. package/dist/src/commands/creation/persona.command.js +54 -0
  232. package/dist/src/commands/creation/persona.command.js.map +1 -0
  233. package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
  234. package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
  235. package/dist/src/commands/creation/prompt-hook.command.js +24 -0
  236. package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
  237. package/dist/src/commands/creation/pulse.command.d.ts +14 -0
  238. package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
  239. package/dist/src/commands/creation/pulse.command.js +25 -0
  240. package/dist/src/commands/creation/pulse.command.js.map +1 -0
  241. package/dist/src/commands/creation/questions.command.d.ts +16 -0
  242. package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
  243. package/dist/src/commands/creation/questions.command.js +57 -0
  244. package/dist/src/commands/creation/questions.command.js.map +1 -0
  245. package/dist/src/commands/creation/revert.command.d.ts +15 -0
  246. package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
  247. package/dist/src/commands/creation/revert.command.js +41 -0
  248. package/dist/src/commands/creation/revert.command.js.map +1 -0
  249. package/dist/src/commands/creation/run.command.d.ts +15 -0
  250. package/dist/src/commands/creation/run.command.d.ts.map +1 -0
  251. package/dist/src/commands/creation/run.command.js +64 -0
  252. package/dist/src/commands/creation/run.command.js.map +1 -0
  253. package/dist/src/commands/creation/statusline.command.d.ts +14 -0
  254. package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
  255. package/dist/src/commands/creation/statusline.command.js +24 -0
  256. package/dist/src/commands/creation/statusline.command.js.map +1 -0
  257. package/dist/src/commands/creation/watch.command.d.ts +20 -0
  258. package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
  259. package/dist/src/commands/creation/watch.command.js +54 -0
  260. package/dist/src/commands/creation/watch.command.js.map +1 -0
  261. package/dist/src/commands/creation/why.command.d.ts +15 -0
  262. package/dist/src/commands/creation/why.command.d.ts.map +1 -0
  263. package/dist/src/commands/creation/why.command.js +45 -0
  264. package/dist/src/commands/creation/why.command.js.map +1 -0
  265. package/dist/src/commands/creation/writes.command.d.ts +8 -0
  266. package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
  267. package/dist/src/commands/creation/writes.command.js +29 -0
  268. package/dist/src/commands/creation/writes.command.js.map +1 -0
  269. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +2 -0
  270. package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +1 -0
  271. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +99 -0
  272. package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +1 -0
  273. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +2 -0
  274. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +1 -0
  275. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +68 -0
  276. package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +1 -0
  277. package/dist/src/commands/db/db-schema-plan.utils.d.ts +110 -0
  278. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  279. package/dist/src/commands/db/db-schema-plan.utils.js +227 -19
  280. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  281. package/dist/src/commands/db/diff.command.d.ts +4 -3
  282. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  283. package/dist/src/commands/db/diff.command.js +8 -6
  284. package/dist/src/commands/db/diff.command.js.map +1 -1
  285. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  286. package/dist/src/commands/db/generate.command.js +12 -21
  287. package/dist/src/commands/db/generate.command.js.map +1 -1
  288. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  289. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  290. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
  291. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +2 -0
  292. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +1 -0
  293. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +69 -0
  294. package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +1 -0
  295. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
  296. package/dist/src/commands/dev/__tests__/start.command.test.js +8 -1
  297. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  298. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +2 -0
  299. package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +1 -0
  300. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +132 -0
  301. package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +1 -0
  302. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +2 -0
  303. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +1 -0
  304. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +88 -0
  305. package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +1 -0
  306. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
  307. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
  308. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +14 -1
  309. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  310. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  311. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  312. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  313. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  314. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  315. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  316. package/dist/src/commands/dev/force-stop.command.js +22 -1
  317. package/dist/src/commands/dev/force-stop.command.js.map +1 -1
  318. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  319. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  320. package/dist/src/commands/dev/start.command.js +58 -7
  321. package/dist/src/commands/dev/start.command.js.map +1 -1
  322. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  323. package/dist/src/commands/dev/stop-all.command.js +22 -0
  324. package/dist/src/commands/dev/stop-all.command.js.map +1 -1
  325. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  326. package/dist/src/commands/dev/sync-csp.command.js +18 -2
  327. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  328. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -1
  329. package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
  330. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
  331. package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
  332. package/dist/src/commands/docs/publish.command.js +3 -1
  333. package/dist/src/commands/docs/publish.command.js.map +1 -1
  334. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +2 -0
  335. package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +1 -0
  336. package/dist/src/commands/frontend/__tests__/publish.command.test.js +70 -0
  337. package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -0
  338. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  339. package/dist/src/commands/frontend/publish.command.js +15 -1
  340. package/dist/src/commands/frontend/publish.command.js.map +1 -1
  341. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
  342. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
  343. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
  344. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  345. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +2 -0
  346. package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +1 -0
  347. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +270 -0
  348. package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -0
  349. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  350. package/dist/src/commands/fwk/dev-skills.command.d.ts +29 -3
  351. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  352. package/dist/src/commands/fwk/dev-skills.command.js +37 -3
  353. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  354. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  355. package/dist/src/commands/fwk/generate-docs.command.js +1 -0
  356. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
  357. package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
  358. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
  359. package/dist/src/commands/fwk/generate-providers.command.js +274 -25
  360. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  361. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  362. package/dist/src/commands/fwk/publish-all.command.d.ts +73 -0
  363. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  364. package/dist/src/commands/fwk/publish-all.command.js +358 -31
  365. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  366. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  367. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  368. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  369. package/dist/src/commands/fwk/version-bump.command.js +5 -6
  370. package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
  371. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  372. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  373. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  374. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  375. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  376. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  377. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  378. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  379. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  380. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
  381. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +4 -1
  382. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  383. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +2 -0
  384. package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +1 -0
  385. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +46 -0
  386. package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +1 -0
  387. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +2 -0
  388. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +1 -0
  389. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +33 -0
  390. package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +1 -0
  391. package/dist/src/commands/generate/email-command.utils.d.ts +5 -0
  392. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  393. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  394. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  395. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  396. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  397. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  398. package/dist/src/commands/generate/email-test-send.command.js +26 -6
  399. package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
  400. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  401. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  402. package/dist/src/commands/generate/labelling-command.utils.d.ts +51 -0
  403. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  404. package/dist/src/commands/generate/labelling-command.utils.js +113 -0
  405. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  406. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  407. package/dist/src/commands/generate/labels-plan.command.js +22 -1
  408. package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
  409. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  410. package/dist/src/commands/generate/labels.command.js +3 -2
  411. package/dist/src/commands/generate/labels.command.js.map +1 -1
  412. package/dist/src/commands/generate/translate.command.d.ts +6 -0
  413. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  414. package/dist/src/commands/generate/translate.command.js +13 -4
  415. package/dist/src/commands/generate/translate.command.js.map +1 -1
  416. package/dist/src/commands/help.command.d.ts.map +1 -1
  417. package/dist/src/commands/help.command.js.map +1 -1
  418. package/dist/src/commands/init.command.d.ts +81 -0
  419. package/dist/src/commands/init.command.d.ts.map +1 -1
  420. package/dist/src/commands/init.command.js +460 -34
  421. package/dist/src/commands/init.command.js.map +1 -1
  422. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
  423. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
  424. package/dist/src/commands/local/__tests__/dev.command.test.js +8 -0
  425. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
  426. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +2 -0
  427. package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +1 -0
  428. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +164 -0
  429. package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +1 -0
  430. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
  431. package/dist/src/commands/local/__tests__/doctor.command.test.js +11 -0
  432. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
  433. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +2 -0
  434. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +1 -0
  435. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +111 -0
  436. package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +1 -0
  437. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +2 -0
  438. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +1 -0
  439. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +136 -0
  440. package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +1 -0
  441. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
  442. package/dist/src/commands/local/__tests__/init.command.test.js +3 -3
  443. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
  444. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
  445. package/dist/src/commands/local/__tests__/reinit.command.test.js +9 -0
  446. package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -1
  447. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
  448. package/dist/src/commands/local/__tests__/reset.command.test.js +43 -1
  449. package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -1
  450. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
  451. package/dist/src/commands/local/__tests__/up.command.test.js +11 -0
  452. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
  453. package/dist/src/commands/local/deregister.command.d.ts +20 -0
  454. package/dist/src/commands/local/deregister.command.d.ts.map +1 -0
  455. package/dist/src/commands/local/deregister.command.js +158 -0
  456. package/dist/src/commands/local/deregister.command.js.map +1 -0
  457. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  458. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  459. package/dist/src/commands/local/dev.command.js +113 -13
  460. package/dist/src/commands/local/dev.command.js.map +1 -1
  461. package/dist/src/commands/local/doctor.command.d.ts +1 -1
  462. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  463. package/dist/src/commands/local/doctor.command.js +85 -4
  464. package/dist/src/commands/local/doctor.command.js.map +1 -1
  465. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  466. package/dist/src/commands/local/down.command.js +53 -10
  467. package/dist/src/commands/local/down.command.js.map +1 -1
  468. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  469. package/dist/src/commands/local/init.command.js.map +1 -1
  470. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  471. package/dist/src/commands/local/reinit.command.d.ts +2 -1
  472. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  473. package/dist/src/commands/local/reinit.command.js +34 -7
  474. package/dist/src/commands/local/reinit.command.js.map +1 -1
  475. package/dist/src/commands/local/reset.command.d.ts +17 -13
  476. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  477. package/dist/src/commands/local/reset.command.js +89 -23
  478. package/dist/src/commands/local/reset.command.js.map +1 -1
  479. package/dist/src/commands/local/restore.command.d.ts +7 -0
  480. package/dist/src/commands/local/restore.command.d.ts.map +1 -0
  481. package/dist/src/commands/local/restore.command.js +76 -0
  482. package/dist/src/commands/local/restore.command.js.map +1 -0
  483. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  484. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  485. package/dist/src/commands/local/up.command.js +148 -10
  486. package/dist/src/commands/local/up.command.js.map +1 -1
  487. package/dist/src/commands/local-defaults/capture.command.d.ts +7 -0
  488. package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -0
  489. package/dist/src/commands/local-defaults/capture.command.js +118 -0
  490. package/dist/src/commands/local-defaults/capture.command.js.map +1 -0
  491. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
  492. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
  493. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  494. package/dist/src/commands/lock/check.command.js +21 -24
  495. package/dist/src/commands/lock/check.command.js.map +1 -1
  496. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
  497. package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
  498. package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
  499. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
  500. package/dist/src/commands/market/__tests__/market-command.utils.test.js +4 -1
  501. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  502. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  503. package/dist/src/commands/market/generate.command.js +18 -2
  504. package/dist/src/commands/market/generate.command.js.map +1 -1
  505. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  506. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  507. package/dist/src/commands/prefs/set.command.d.ts +17 -0
  508. package/dist/src/commands/prefs/set.command.d.ts.map +1 -0
  509. package/dist/src/commands/prefs/set.command.js +167 -0
  510. package/dist/src/commands/prefs/set.command.js.map +1 -0
  511. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -1
  512. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -1
  513. package/dist/src/commands/providers/show.command.d.ts +21 -14
  514. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  515. package/dist/src/commands/providers/show.command.js +46 -25
  516. package/dist/src/commands/providers/show.command.js.map +1 -1
  517. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
  518. package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
  519. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
  520. package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
  521. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
  522. package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
  523. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
  524. package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
  525. package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
  526. package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
  527. package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
  528. package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
  529. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +2 -0
  530. package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +1 -0
  531. package/dist/src/commands/registry/__tests__/repair-contract.test.js +168 -0
  532. package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -0
  533. package/dist/src/commands/registry/__tests__/requirements.test.d.ts +2 -0
  534. package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +1 -0
  535. package/dist/src/commands/registry/__tests__/requirements.test.js +500 -0
  536. package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -0
  537. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +2 -0
  538. package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +1 -0
  539. package/dist/src/commands/registry/__tests__/version-resolution.test.js +87 -0
  540. package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -0
  541. package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
  542. package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
  543. package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
  544. package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
  545. package/dist/src/commands/registry/add.command.d.ts +10 -10
  546. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  547. package/dist/src/commands/registry/add.command.js +203 -124
  548. package/dist/src/commands/registry/add.command.js.map +1 -1
  549. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  550. package/dist/src/commands/registry/info.command.js +17 -4
  551. package/dist/src/commands/registry/info.command.js.map +1 -1
  552. package/dist/src/commands/registry/key.command.d.ts +32 -0
  553. package/dist/src/commands/registry/key.command.d.ts.map +1 -0
  554. package/dist/src/commands/registry/key.command.js +129 -0
  555. package/dist/src/commands/registry/key.command.js.map +1 -0
  556. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  557. package/dist/src/commands/registry/login.command.d.ts +5 -0
  558. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  559. package/dist/src/commands/registry/login.command.js +7 -2
  560. package/dist/src/commands/registry/login.command.js.map +1 -1
  561. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  562. package/dist/src/commands/registry/outdated.command.d.ts +21 -0
  563. package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
  564. package/dist/src/commands/registry/outdated.command.js +81 -0
  565. package/dist/src/commands/registry/outdated.command.js.map +1 -0
  566. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  567. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  568. package/dist/src/commands/registry/publish.command.js +95 -20
  569. package/dist/src/commands/registry/publish.command.js.map +1 -1
  570. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
  571. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
  572. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  573. package/dist/src/commands/registry/remove.command.js +155 -42
  574. package/dist/src/commands/registry/remove.command.js.map +1 -1
  575. package/dist/src/commands/registry/repair-lockfile.command.d.ts +11 -9
  576. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  577. package/dist/src/commands/registry/repair-lockfile.command.js +141 -81
  578. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  579. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  580. package/dist/src/commands/registry/search.command.js +51 -9
  581. package/dist/src/commands/registry/search.command.js.map +1 -1
  582. package/dist/src/commands/registry/status.command.d.ts +15 -0
  583. package/dist/src/commands/registry/status.command.d.ts.map +1 -0
  584. package/dist/src/commands/registry/status.command.js +61 -0
  585. package/dist/src/commands/registry/status.command.js.map +1 -0
  586. package/dist/src/commands/registry/update.command.d.ts +4 -1
  587. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  588. package/dist/src/commands/registry/update.command.js +312 -179
  589. package/dist/src/commands/registry/update.command.js.map +1 -1
  590. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  591. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  592. package/dist/src/commands/registry/yank.command.d.ts +19 -0
  593. package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
  594. package/dist/src/commands/registry/yank.command.js +80 -0
  595. package/dist/src/commands/registry/yank.command.js.map +1 -0
  596. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
  597. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  598. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  599. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  600. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  601. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
  602. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
  603. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
  604. package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
  605. package/dist/src/commands/secrets/github.command.d.ts +7 -0
  606. package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
  607. package/dist/src/commands/secrets/github.command.js +89 -0
  608. package/dist/src/commands/secrets/github.command.js.map +1 -0
  609. package/dist/src/commands/secrets/list.command.d.ts +14 -0
  610. package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
  611. package/dist/src/commands/secrets/list.command.js +154 -0
  612. package/dist/src/commands/secrets/list.command.js.map +1 -0
  613. package/dist/src/commands/secrets/set.command.d.ts +44 -0
  614. package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
  615. package/dist/src/commands/secrets/set.command.js +131 -0
  616. package/dist/src/commands/secrets/set.command.js.map +1 -0
  617. package/dist/src/commands/secrets/unset.command.d.ts +7 -0
  618. package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
  619. package/dist/src/commands/secrets/unset.command.js +42 -0
  620. package/dist/src/commands/secrets/unset.command.js.map +1 -0
  621. package/dist/src/commands/setup.command.d.ts.map +1 -1
  622. package/dist/src/commands/setup.command.js +55 -0
  623. package/dist/src/commands/setup.command.js.map +1 -1
  624. package/dist/src/commands/update.command.d.ts +7 -0
  625. package/dist/src/commands/update.command.d.ts.map +1 -0
  626. package/dist/src/commands/update.command.js +295 -0
  627. package/dist/src/commands/update.command.js.map +1 -0
  628. package/dist/src/commands/version.command.d.ts.map +1 -1
  629. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
  630. package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
  631. package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
  632. package/dist/src/commands/website/audit.command.d.ts +8 -0
  633. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  634. package/dist/src/commands/website/audit.command.js +39 -2
  635. package/dist/src/commands/website/audit.command.js.map +1 -1
  636. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +2 -0
  637. package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +1 -0
  638. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +51 -0
  639. package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +1 -0
  640. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
  641. package/dist/src/commands/workbench/open.command.d.ts +8 -0
  642. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  643. package/dist/src/commands/workbench/open.command.js +31 -4
  644. package/dist/src/commands/workbench/open.command.js.map +1 -1
  645. package/dist/src/commands/workbench/parallelism.command.d.ts +17 -0
  646. package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -0
  647. package/dist/src/commands/workbench/parallelism.command.js +48 -0
  648. package/dist/src/commands/workbench/parallelism.command.js.map +1 -0
  649. package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -0
  650. package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -0
  651. package/dist/src/commands/workbench/rearm-task.command.js.map +0 -0
  652. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  653. package/dist/src/commands/workbench/status.command.js +16 -2
  654. package/dist/src/commands/workbench/status.command.js.map +1 -1
  655. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  656. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  657. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  658. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  659. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  660. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
  661. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  662. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  663. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  664. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  665. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  666. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  667. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  668. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
  669. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
  670. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
  671. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
  672. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
  673. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
  674. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
  675. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +2 -0
  676. package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +1 -0
  677. package/dist/src/kernel/__tests__/machine-preference-answers.test.js +118 -0
  678. package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +1 -0
  679. package/dist/src/kernel/base-command.d.ts +4 -3
  680. package/dist/src/kernel/base-command.d.ts.map +1 -1
  681. package/dist/src/kernel/base-command.js +19 -3
  682. package/dist/src/kernel/base-command.js.map +1 -1
  683. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  684. package/dist/src/kernel/bootstrap.js +4 -1
  685. package/dist/src/kernel/bootstrap.js.map +1 -1
  686. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  687. package/dist/src/kernel/command-registry.js.map +1 -1
  688. package/dist/src/kernel/command-runner.d.ts +7 -0
  689. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  690. package/dist/src/kernel/command-runner.js +14 -0
  691. package/dist/src/kernel/command-runner.js.map +1 -1
  692. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  693. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  694. package/dist/src/kernel/hooks.d.ts.map +1 -1
  695. package/dist/src/kernel/hooks.js +7 -1
  696. package/dist/src/kernel/hooks.js.map +1 -1
  697. package/dist/src/kernel/logger.d.ts.map +1 -1
  698. package/dist/src/kernel/types.d.ts +25 -1
  699. package/dist/src/kernel/types.d.ts.map +1 -1
  700. package/dist/src/kernel/types.js.map +1 -1
  701. package/dist/src/main.d.ts.map +1 -1
  702. package/dist/src/main.js +39 -1
  703. package/dist/src/main.js.map +1 -1
  704. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
  705. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -1
  706. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +10 -2
  707. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -1
  708. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
  709. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
  710. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
  711. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  712. package/dist/src/modules/domain/credentials/approver-user.module.d.ts +3 -5
  713. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
  714. package/dist/src/modules/domain/credentials/approver-user.module.js +7 -4
  715. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
  716. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
  717. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
  718. package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
  719. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
  720. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  721. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
  722. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
  723. package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
  724. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
  725. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  726. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  727. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  728. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  729. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  730. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  731. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -1
  732. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +1 -0
  733. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -1
  734. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +2 -0
  735. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +1 -0
  736. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +91 -0
  737. package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -0
  738. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
  739. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +14 -3
  740. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -1
  741. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
  742. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
  743. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +2 -0
  744. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
  745. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
  746. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +41 -23
  747. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  748. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
  749. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +19 -2
  750. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  751. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
  752. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +21 -2
  753. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
  754. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +2 -0
  755. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +1 -0
  756. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +51 -0
  757. package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +1 -0
  758. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
  759. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +67 -7
  760. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  761. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +2 -0
  762. package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +1 -0
  763. package/dist/src/services/application/__tests__/application-creation-readiness.test.js +152 -0
  764. package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +1 -0
  765. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
  766. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +24 -2
  767. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
  768. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +2 -0
  769. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +1 -0
  770. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +29 -0
  771. package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +1 -0
  772. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
  773. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
  774. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +6 -0
  775. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -1
  776. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
  777. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
  778. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
  779. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
  780. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
  781. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +15 -1
  782. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -1
  783. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +2 -0
  784. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +1 -0
  785. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +60 -0
  786. package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +1 -0
  787. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
  788. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +8 -1
  789. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
  790. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +2 -0
  791. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +1 -0
  792. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +118 -0
  793. package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +1 -0
  794. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
  795. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
  796. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
  797. package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
  798. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
  799. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
  800. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
  801. package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
  802. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +2 -0
  803. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +1 -0
  804. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +82 -0
  805. package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +1 -0
  806. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
  807. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +41 -13
  808. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
  809. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
  810. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +2 -0
  811. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +1 -0
  812. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +138 -0
  813. package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -0
  814. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
  815. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
  816. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
  817. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
  818. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
  819. package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
  820. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -1
  821. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
  822. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
  823. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
  824. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
  825. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
  826. package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
  827. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
  828. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +158 -11
  829. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  830. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
  831. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +17 -1
  832. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
  833. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
  834. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
  835. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +492 -10
  836. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  837. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +2 -0
  838. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +1 -0
  839. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +180 -0
  840. package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +1 -0
  841. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
  842. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
  843. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
  844. package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
  845. package/dist/src/services/application/app-bootstrap.service.d.ts +111 -9
  846. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  847. package/dist/src/services/application/app-bootstrap.service.js +133 -45
  848. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  849. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  850. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  851. package/dist/src/services/application/app-runtime-targets.service.d.ts +13 -1
  852. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  853. package/dist/src/services/application/app-runtime-targets.service.js +31 -7
  854. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  855. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  856. package/dist/src/services/application/app-schema-bootstrap.service.js +28 -5
  857. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
  858. package/dist/src/services/application/application-assets-delivery.service.d.ts +10 -1
  859. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  860. package/dist/src/services/application/application-assets-delivery.service.js +13 -4
  861. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  862. package/dist/src/services/application/application-creation-readiness.service.d.ts +39 -0
  863. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -0
  864. package/dist/src/services/application/application-creation-readiness.service.js +186 -0
  865. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -0
  866. package/dist/src/services/application/application-dependency-alignment.service.d.ts +46 -1
  867. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  868. package/dist/src/services/application/application-dependency-alignment.service.js +101 -13
  869. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  870. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  871. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  872. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  873. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  874. package/dist/src/services/application/application-runtime-bootstrap.service.js +15 -2
  875. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  876. package/dist/src/services/application/composition-provider-plan.service.d.ts +18 -0
  877. package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -0
  878. package/dist/src/services/application/composition-provider-plan.service.js +66 -0
  879. package/dist/src/services/application/composition-provider-plan.service.js.map +1 -0
  880. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  881. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  882. package/dist/src/services/application/dev-schema-drift.service.js +5 -49
  883. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  884. package/dist/src/services/application/environment-provider-configurations.service.d.ts +29 -0
  885. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -0
  886. package/dist/src/services/application/environment-provider-configurations.service.js +70 -0
  887. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -0
  888. package/dist/src/services/application/existing-app-bootstrap.service.d.ts +9 -1
  889. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  890. package/dist/src/services/application/existing-app-bootstrap.service.js +16 -10
  891. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
  892. package/dist/src/services/application/frontend-provider-source.service.d.ts +16 -0
  893. package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -0
  894. package/dist/src/services/application/frontend-provider-source.service.js +182 -0
  895. package/dist/src/services/application/frontend-provider-source.service.js.map +1 -0
  896. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
  897. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
  898. package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
  899. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
  900. package/dist/src/services/application/local-app-reinit.service.d.ts +1 -1
  901. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  902. package/dist/src/services/application/local-app-reinit.service.js +18 -8
  903. package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
  904. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  905. package/dist/src/services/application/local-application-initialization.service.js +28 -2
  906. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  907. package/dist/src/services/application/provider-package-links.service.d.ts +80 -31
  908. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  909. package/dist/src/services/application/provider-package-links.service.js +171 -63
  910. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  911. package/dist/src/services/application/provider-runtime-sync.service.d.ts +85 -3
  912. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  913. package/dist/src/services/application/provider-runtime-sync.service.js +173 -31
  914. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  915. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  916. package/dist/src/services/application/saas-scaffold.service.js +12 -0
  917. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  918. package/dist/src/services/application/saas-skeleton.service.d.ts +115 -0
  919. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  920. package/dist/src/services/application/saas-skeleton.service.js +264 -120
  921. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  922. package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
  923. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
  924. package/dist/src/services/application/systems-of-record-library.service.js +96 -0
  925. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
  926. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
  927. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
  928. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
  929. package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
  930. package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
  931. package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
  932. package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
  933. package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
  934. package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
  935. package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
  936. package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
  937. package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
  938. package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
  939. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
  940. package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
  941. package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
  942. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
  943. package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
  944. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
  945. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
  946. package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
  947. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
  948. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
  949. package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
  950. package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
  951. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
  952. package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
  953. package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
  954. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
  955. package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
  956. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -1
  957. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -1
  958. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +2 -0
  959. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +1 -0
  960. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +89 -0
  961. package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +1 -0
  962. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
  963. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
  964. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  965. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
  966. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
  967. package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
  968. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  969. package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
  970. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  971. package/dist/src/services/catalog/service-catalog.schemas.d.ts +104 -0
  972. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  973. package/dist/src/services/catalog/service-catalog.schemas.js +92 -5
  974. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  975. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -1
  976. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
  977. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
  978. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
  979. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  980. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
  981. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  982. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
  983. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
  984. package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
  985. package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
  986. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
  987. package/dist/src/services/companion/__tests__/companion-client.service.test.js +51 -1
  988. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  989. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
  990. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
  991. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
  992. package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
  993. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
  994. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
  995. package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
  996. package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
  997. package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
  998. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
  999. package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
  1000. package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
  1001. package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
  1002. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
  1003. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
  1004. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
  1005. package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
  1006. package/dist/src/services/companion/build-console.service.d.ts +84 -0
  1007. package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
  1008. package/dist/src/services/companion/build-console.service.js +64 -0
  1009. package/dist/src/services/companion/build-console.service.js.map +1 -0
  1010. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  1011. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  1012. package/dist/src/services/companion/companion-client.service.d.ts +28 -0
  1013. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  1014. package/dist/src/services/companion/companion-client.service.js +120 -4
  1015. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  1016. package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
  1017. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
  1018. package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
  1019. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
  1020. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  1021. package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
  1022. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  1023. package/dist/src/services/companion/companion-local-token.utils.js +19 -1
  1024. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  1025. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  1026. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  1027. package/dist/src/services/companion/console-fast-path.d.ts +104 -0
  1028. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
  1029. package/dist/src/services/companion/console-fast-path.js +281 -0
  1030. package/dist/src/services/companion/console-fast-path.js.map +1 -0
  1031. package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
  1032. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
  1033. package/dist/src/services/companion/console-verb.utils.js +41 -0
  1034. package/dist/src/services/companion/console-verb.utils.js.map +1 -0
  1035. package/dist/src/services/companion/creation-console.service.d.ts +173 -0
  1036. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
  1037. package/dist/src/services/companion/creation-console.service.js +377 -0
  1038. package/dist/src/services/companion/creation-console.service.js.map +1 -0
  1039. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  1040. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  1041. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  1042. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  1043. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  1044. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  1045. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
  1046. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
  1047. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
  1048. package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
  1049. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +2 -0
  1050. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +1 -0
  1051. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +85 -0
  1052. package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +1 -0
  1053. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +2 -0
  1054. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +1 -0
  1055. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +289 -0
  1056. package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +1 -0
  1057. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +2 -0
  1058. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +1 -0
  1059. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +78 -0
  1060. package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +1 -0
  1061. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +2 -0
  1062. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +1 -0
  1063. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +67 -0
  1064. package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +1 -0
  1065. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
  1066. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
  1067. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
  1068. package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
  1069. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
  1070. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
  1071. package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
  1072. package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
  1073. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +70 -0
  1074. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -0
  1075. package/dist/src/services/compliance/generated-compliance-module-wiring.js +93 -0
  1076. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -0
  1077. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +156 -0
  1078. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -0
  1079. package/dist/src/services/compliance/governed-document-releases.generator.js +392 -0
  1080. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -0
  1081. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts +51 -0
  1082. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -0
  1083. package/dist/src/services/compliance/service-consent-requirement.generator.js +124 -0
  1084. package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -0
  1085. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
  1086. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
  1087. package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
  1088. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
  1089. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +2 -0
  1090. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +1 -0
  1091. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +54 -0
  1092. package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +1 -0
  1093. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
  1094. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
  1095. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
  1096. package/dist/src/services/context/context-manager.service.d.ts +20 -1
  1097. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  1098. package/dist/src/services/context/context-manager.service.js +70 -2
  1099. package/dist/src/services/context/context-manager.service.js.map +1 -1
  1100. package/dist/src/services/context/context.schemas.d.ts +54 -1
  1101. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  1102. package/dist/src/services/context/context.schemas.js.map +1 -1
  1103. package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
  1104. package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
  1105. package/dist/src/services/context/machine-preferences.writer.js +30 -0
  1106. package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
  1107. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  1108. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
  1109. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
  1110. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
  1111. package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
  1112. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
  1113. package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
  1114. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
  1115. package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
  1116. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -1
  1117. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
  1118. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
  1119. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -1
  1120. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +1 -0
  1121. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -1
  1122. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +2 -0
  1123. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +1 -0
  1124. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +52 -0
  1125. package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +1 -0
  1126. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +2 -0
  1127. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +1 -0
  1128. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +89 -0
  1129. package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +1 -0
  1130. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
  1131. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +30 -4
  1132. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
  1133. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
  1134. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
  1135. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
  1136. package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
  1137. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -1
  1138. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
  1139. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
  1140. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
  1141. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
  1142. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
  1143. package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
  1144. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
  1145. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
  1146. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
  1147. package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
  1148. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
  1149. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +2 -2
  1150. package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -1
  1151. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +2 -0
  1152. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +1 -0
  1153. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +54 -0
  1154. package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +1 -0
  1155. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +2 -0
  1156. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +1 -0
  1157. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +61 -0
  1158. package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -0
  1159. package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
  1160. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
  1161. package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
  1162. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
  1163. package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
  1164. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
  1165. package/dist/src/services/credentials/application-secrets.service.js +314 -0
  1166. package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
  1167. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +40 -4
  1168. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  1169. package/dist/src/services/credentials/ci-secrets-adapter.service.js +121 -8
  1170. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  1171. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
  1172. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  1173. package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
  1174. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  1175. package/dist/src/services/credentials/credentials.schemas.d.ts +92 -11
  1176. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  1177. package/dist/src/services/credentials/credentials.schemas.js +200 -8
  1178. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  1179. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  1180. package/dist/src/services/credentials/credentials.service.js +13 -1
  1181. package/dist/src/services/credentials/credentials.service.js.map +1 -1
  1182. package/dist/src/services/credentials/framework-managed-secrets.d.ts +40 -4
  1183. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  1184. package/dist/src/services/credentials/framework-managed-secrets.js +118 -5
  1185. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  1186. package/dist/src/services/credentials/local-defaults.service.d.ts +141 -0
  1187. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -0
  1188. package/dist/src/services/credentials/local-defaults.service.js +296 -0
  1189. package/dist/src/services/credentials/local-defaults.service.js.map +1 -0
  1190. package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
  1191. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
  1192. package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
  1193. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
  1194. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
  1195. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  1196. package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
  1197. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  1198. package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
  1199. package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
  1200. package/dist/src/services/credentials/provider-secret-format.js +24 -0
  1201. package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
  1202. package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
  1203. package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
  1204. package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
  1205. package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
  1206. package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
  1207. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
  1208. package/dist/src/services/credentials/secret-requirements.service.js +402 -0
  1209. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
  1210. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  1211. package/dist/src/services/credentials/secrets-provisioning.service.js +12 -2
  1212. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
  1213. package/dist/src/services/credentials/secrets-reader.service.d.ts +22 -0
  1214. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  1215. package/dist/src/services/credentials/secrets-reader.service.js +23 -1
  1216. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  1217. package/dist/src/services/credentials/secrets-rotation.service.d.ts +3 -1
  1218. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  1219. package/dist/src/services/credentials/secrets-rotation.service.js +9 -3
  1220. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  1221. package/dist/src/services/credentials/secrets-writer.service.d.ts +12 -2
  1222. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  1223. package/dist/src/services/credentials/secrets-writer.service.js +44 -7
  1224. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  1225. package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
  1226. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  1227. package/dist/src/services/data-services/data-services.schemas.js +15 -15
  1228. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  1229. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  1230. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
  1231. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +2 -0
  1232. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +1 -0
  1233. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +90 -0
  1234. package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +1 -0
  1235. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
  1236. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +135 -3
  1237. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
  1238. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +2 -0
  1239. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +1 -0
  1240. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +51 -0
  1241. package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -0
  1242. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
  1243. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +110 -1
  1244. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
  1245. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
  1246. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
  1247. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
  1248. package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
  1249. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
  1250. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +516 -33
  1251. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  1252. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
  1253. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
  1254. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +2 -0
  1255. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +1 -0
  1256. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +83 -0
  1257. package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +1 -0
  1258. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
  1259. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +2 -0
  1260. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +1 -0
  1261. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +68 -0
  1262. package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +1 -0
  1263. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
  1264. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
  1265. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
  1266. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +114 -1
  1267. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -1
  1268. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
  1269. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +2 -0
  1270. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +1 -0
  1271. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +79 -0
  1272. package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +1 -0
  1273. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
  1274. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
  1275. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
  1276. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
  1277. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
  1278. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
  1279. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
  1280. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +2 -0
  1281. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +1 -0
  1282. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +100 -0
  1283. package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +1 -0
  1284. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
  1285. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
  1286. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
  1287. package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
  1288. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
  1289. package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
  1290. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  1291. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  1292. package/dist/src/services/deployment/ci-deploy-generator.service.js +42 -14
  1293. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  1294. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +95 -3
  1295. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  1296. package/dist/src/services/deployment/ci-workflow-generator.service.js +99 -12
  1297. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  1298. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +2 -0
  1299. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +1 -0
  1300. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +339 -0
  1301. package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -0
  1302. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
  1303. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
  1304. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +2 -0
  1305. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +1 -0
  1306. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +151 -0
  1307. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +1 -0
  1308. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
  1309. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +243 -17
  1310. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  1311. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
  1312. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +79 -0
  1313. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -1
  1314. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +2 -0
  1315. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +1 -0
  1316. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +199 -0
  1317. package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -0
  1318. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +70 -0
  1319. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -0
  1320. package/dist/src/services/deployment/docker/backing-service-health-watch.js +257 -0
  1321. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -0
  1322. package/dist/src/services/deployment/docker/compose-service-health.d.ts +80 -0
  1323. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -0
  1324. package/dist/src/services/deployment/docker/compose-service-health.js +104 -0
  1325. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -0
  1326. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +161 -1
  1327. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  1328. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +310 -27
  1329. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  1330. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +52 -0
  1331. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  1332. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +97 -4
  1333. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  1334. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  1335. package/dist/src/services/deployment/docker/docker.service.d.ts +120 -0
  1336. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  1337. package/dist/src/services/deployment/docker/docker.service.js +191 -0
  1338. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  1339. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +42 -0
  1340. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -0
  1341. package/dist/src/services/deployment/docker/local-data-adoption.service.js +183 -0
  1342. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -0
  1343. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  1344. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  1345. package/dist/src/services/deployment/infra-writer.service.js +17 -7
  1346. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  1347. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
  1348. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
  1349. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
  1350. package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
  1351. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +2 -0
  1352. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +1 -0
  1353. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +62 -0
  1354. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +1 -0
  1355. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
  1356. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +30 -43
  1357. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -1
  1358. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +2 -0
  1359. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +1 -0
  1360. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +77 -0
  1361. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +1 -0
  1362. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
  1363. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +35 -17
  1364. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  1365. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
  1366. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -1
  1367. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +9 -0
  1368. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -1
  1369. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +2 -0
  1370. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +1 -0
  1371. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +71 -0
  1372. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +1 -0
  1373. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
  1374. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +31 -19
  1375. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  1376. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
  1377. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
  1378. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
  1379. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
  1380. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
  1381. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
  1382. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  1383. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +32 -66
  1384. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  1385. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  1386. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +12 -9
  1387. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  1388. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +64 -22
  1389. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  1390. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +34 -4
  1391. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  1392. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
  1393. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  1394. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  1395. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +18 -1
  1396. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  1397. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +51 -19
  1398. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  1399. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  1400. package/dist/src/services/deployment/k8s/kind.service.d.ts +0 -1
  1401. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  1402. package/dist/src/services/deployment/k8s/kind.service.js +0 -11
  1403. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  1404. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  1405. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  1406. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  1407. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +74 -0
  1408. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  1409. package/dist/src/services/deployment/local-dev-session-lease.service.js +102 -0
  1410. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  1411. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +3 -2
  1412. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  1413. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +3 -2
  1414. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
  1415. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  1416. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +2 -0
  1417. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  1418. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  1419. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
  1420. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  1421. package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
  1422. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  1423. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
  1424. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  1425. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +60 -7
  1426. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  1427. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  1428. package/dist/src/services/deployment/platform-lifecycle.service.js +5 -0
  1429. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
  1430. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  1431. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  1432. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  1433. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  1434. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  1435. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  1436. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  1437. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  1438. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  1439. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +2 -0
  1440. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +1 -0
  1441. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +52 -0
  1442. package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +1 -0
  1443. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
  1444. package/dist/src/services/environment/__tests__/compose-converge-args.test.js +22 -3
  1445. package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -1
  1446. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
  1447. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +2 -0
  1448. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +1 -0
  1449. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +86 -0
  1450. package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +1 -0
  1451. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
  1452. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
  1453. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +2 -0
  1454. package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +1 -0
  1455. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +80 -0
  1456. package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +1 -0
  1457. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
  1458. package/dist/src/services/environment/__tests__/env-sync.service.test.js +86 -15
  1459. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
  1460. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
  1461. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +284 -16
  1462. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  1463. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
  1464. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +11 -1
  1465. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -1
  1466. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
  1467. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
  1468. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -1
  1469. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
  1470. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
  1471. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
  1472. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +2 -0
  1473. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +1 -0
  1474. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +220 -0
  1475. package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +1 -0
  1476. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
  1477. package/dist/src/services/environment/__tests__/environment-registry.service.test.js +1 -1
  1478. package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -1
  1479. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
  1480. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +144 -10
  1481. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  1482. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +2 -0
  1483. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +1 -0
  1484. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +83 -0
  1485. package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +1 -0
  1486. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +2 -0
  1487. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +1 -0
  1488. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +162 -0
  1489. package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +1 -0
  1490. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
  1491. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
  1492. package/dist/src/services/environment/__tests__/platform-image-ref.test.js +94 -15
  1493. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
  1494. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
  1495. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
  1496. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
  1497. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +29 -0
  1498. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -1
  1499. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +2 -0
  1500. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +1 -0
  1501. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +79 -0
  1502. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +1 -0
  1503. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +2 -0
  1504. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +1 -0
  1505. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +108 -0
  1506. package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +1 -0
  1507. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +43 -0
  1508. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -0
  1509. package/dist/src/services/environment/application-backing-service-addressing.utils.js +61 -0
  1510. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -0
  1511. package/dist/src/services/environment/authored-infra-config.utils.d.ts +6 -0
  1512. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  1513. package/dist/src/services/environment/authored-infra-config.utils.js +26 -30
  1514. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  1515. package/dist/src/services/environment/env-configuration-generator.service.d.ts +9 -7
  1516. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  1517. package/dist/src/services/environment/env-configuration-generator.service.js +7 -1
  1518. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  1519. package/dist/src/services/environment/env-sync.service.d.ts +36 -1
  1520. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  1521. package/dist/src/services/environment/env-sync.service.js +52 -13
  1522. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  1523. package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
  1524. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  1525. package/dist/src/services/environment/env-vars-builder.service.js +437 -46
  1526. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  1527. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  1528. package/dist/src/services/environment/environment-hydration.utils.js +20 -6
  1529. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  1530. package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
  1531. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  1532. package/dist/src/services/environment/environment-lifecycle.service.js +16 -6
  1533. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  1534. package/dist/src/services/environment/environment-paths.service.d.ts +1 -2
  1535. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  1536. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  1537. package/dist/src/services/environment/environment-registry.service.d.ts +32 -0
  1538. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  1539. package/dist/src/services/environment/environment-registry.service.js +77 -2
  1540. package/dist/src/services/environment/environment-registry.service.js.map +1 -1
  1541. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  1542. package/dist/src/services/environment/environment-setup.service.js +158 -45
  1543. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  1544. package/dist/src/services/environment/environment.schemas.d.ts +42 -1
  1545. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  1546. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  1547. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  1548. package/dist/src/services/environment/environment.service.js.map +1 -1
  1549. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts +43 -0
  1550. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -0
  1551. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js +139 -0
  1552. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -0
  1553. package/dist/src/services/environment/infrastructure-host.service.d.ts +111 -0
  1554. package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -0
  1555. package/dist/src/services/environment/infrastructure-host.service.js +205 -0
  1556. package/dist/src/services/environment/infrastructure-host.service.js.map +1 -0
  1557. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  1558. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  1559. package/dist/src/services/environment/platform-runtime.schemas.d.ts +57 -28
  1560. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  1561. package/dist/src/services/environment/platform-runtime.schemas.js +56 -30
  1562. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  1563. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +2 -2
  1564. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  1565. package/dist/src/services/environment/runtime-bootstrap.service.js +42 -8
  1566. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  1567. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
  1568. package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
  1569. package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
  1570. package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
  1571. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -1
  1572. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -1
  1573. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
  1574. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
  1575. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
  1576. package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
  1577. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
  1578. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
  1579. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
  1580. package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
  1581. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
  1582. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
  1583. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
  1584. package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
  1585. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -1
  1586. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +3 -0
  1587. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -1
  1588. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
  1589. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
  1590. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
  1591. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
  1592. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
  1593. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
  1594. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
  1595. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +91 -4
  1596. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
  1597. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
  1598. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +16 -0
  1599. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -1
  1600. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
  1601. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +23 -2
  1602. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
  1603. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
  1604. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +316 -2
  1605. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  1606. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
  1607. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +55 -2
  1608. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  1609. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
  1610. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +282 -3
  1611. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
  1612. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
  1613. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
  1614. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  1615. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
  1616. package/dist/src/services/framework/__tests__/framework-release.service.test.js +21 -0
  1617. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
  1618. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
  1619. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +2 -0
  1620. package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +1 -0
  1621. package/dist/src/services/framework/__tests__/framework-update.service.test.js +348 -0
  1622. package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -0
  1623. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
  1624. package/dist/src/services/framework/__tests__/framework-version.service.test.js +5 -5
  1625. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
  1626. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +2 -0
  1627. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +1 -0
  1628. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +200 -0
  1629. package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +1 -0
  1630. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
  1631. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
  1632. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
  1633. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
  1634. package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
  1635. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +2 -0
  1636. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +1 -0
  1637. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +28 -0
  1638. package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +1 -0
  1639. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +2 -0
  1640. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +1 -0
  1641. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +60 -0
  1642. package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +1 -0
  1643. package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
  1644. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
  1645. package/dist/src/services/framework/application-claude-settings.js +284 -0
  1646. package/dist/src/services/framework/application-claude-settings.js.map +1 -0
  1647. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  1648. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  1649. package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
  1650. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
  1651. package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
  1652. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
  1653. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
  1654. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  1655. package/dist/src/services/framework/framework-development-skills-sync.service.js +18 -1
  1656. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  1657. package/dist/src/services/framework/framework-docker-publish.service.d.ts +38 -0
  1658. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  1659. package/dist/src/services/framework/framework-docker-publish.service.js +77 -3
  1660. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  1661. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  1662. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +139 -2
  1663. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  1664. package/dist/src/services/framework/framework-knowledge-audit.service.js +415 -26
  1665. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  1666. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +26 -0
  1667. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  1668. package/dist/src/services/framework/framework-knowledge-generation.service.js +117 -17
  1669. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  1670. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
  1671. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  1672. package/dist/src/services/framework/framework-knowledge-scan.constants.js +20 -0
  1673. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  1674. package/dist/src/services/framework/framework-npm-publish.service.d.ts +74 -5
  1675. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  1676. package/dist/src/services/framework/framework-npm-publish.service.js +319 -6
  1677. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  1678. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
  1679. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  1680. package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
  1681. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  1682. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  1683. package/dist/src/services/framework/framework-update.service.d.ts +340 -0
  1684. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -0
  1685. package/dist/src/services/framework/framework-update.service.js +606 -0
  1686. package/dist/src/services/framework/framework-update.service.js.map +1 -0
  1687. package/dist/src/services/framework/framework-version.service.d.ts +10 -1
  1688. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  1689. package/dist/src/services/framework/framework-version.service.js +16 -3
  1690. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  1691. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts +114 -0
  1692. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -0
  1693. package/dist/src/services/framework/frontend-component-catalog.generator.js +523 -0
  1694. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -0
  1695. package/dist/src/services/framework/frontend-library-root-exports.d.ts +10 -0
  1696. package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -0
  1697. package/dist/src/services/framework/frontend-library-root-exports.js +101 -0
  1698. package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -0
  1699. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  1700. package/dist/src/services/framework/npm-registry-output.d.ts +10 -0
  1701. package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -0
  1702. package/dist/src/services/framework/npm-registry-output.js +12 -0
  1703. package/dist/src/services/framework/npm-registry-output.js.map +1 -0
  1704. package/dist/src/services/framework/package-install.service.d.ts +6 -0
  1705. package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
  1706. package/dist/src/services/framework/package-install.service.js +18 -0
  1707. package/dist/src/services/framework/package-install.service.js.map +1 -0
  1708. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +2 -0
  1709. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +1 -0
  1710. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +57 -0
  1711. package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +1 -0
  1712. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -1
  1713. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -1
  1714. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -1
  1715. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -1
  1716. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
  1717. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
  1718. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
  1719. package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
  1720. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
  1721. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
  1722. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
  1723. package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
  1724. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -1
  1725. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -1
  1726. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
  1727. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
  1728. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
  1729. package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
  1730. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +2 -0
  1731. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +1 -0
  1732. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +905 -0
  1733. package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +1 -0
  1734. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +2 -0
  1735. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +1 -0
  1736. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +228 -0
  1737. package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +1 -0
  1738. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +2 -0
  1739. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +1 -0
  1740. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +310 -0
  1741. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -0
  1742. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +2 -0
  1743. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +1 -0
  1744. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +351 -0
  1745. package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -0
  1746. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +2 -0
  1747. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +1 -0
  1748. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +363 -0
  1749. package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +1 -0
  1750. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -1
  1751. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
  1752. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
  1753. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -1
  1754. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +27 -0
  1755. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -1
  1756. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +2 -0
  1757. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +1 -0
  1758. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +177 -0
  1759. package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +1 -0
  1760. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
  1761. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
  1762. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
  1763. package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
  1764. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -1
  1765. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +33 -9
  1766. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -1
  1767. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +9 -0
  1768. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +1 -0
  1769. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +77 -0
  1770. package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +1 -0
  1771. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
  1772. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
  1773. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
  1774. package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
  1775. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
  1776. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
  1777. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
  1778. package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
  1779. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  1780. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1096 -54
  1781. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  1782. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts +44 -0
  1783. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -0
  1784. package/dist/src/services/framework/provider-transposition/api-version-settlement.js +42 -0
  1785. package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -0
  1786. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts +41 -0
  1787. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -0
  1788. package/dist/src/services/framework/provider-transposition/base-url-settlement.js +52 -0
  1789. package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -0
  1790. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +119 -4
  1791. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
  1792. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +203 -39
  1793. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  1794. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +145 -11
  1795. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
  1796. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +222 -39
  1797. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
  1798. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +482 -2
  1799. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  1800. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +312 -9
  1801. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  1802. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +7 -1
  1803. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  1804. package/dist/src/services/framework/provider-transposition/provider-merge.js +113 -15
  1805. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  1806. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +337 -10
  1807. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  1808. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1656 -116
  1809. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  1810. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +255 -0
  1811. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -0
  1812. package/dist/src/services/framework/provider-transposition/request-helper-url.js +858 -0
  1813. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -0
  1814. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
  1815. package/dist/src/services/framework/provider-transposition/sim-source.reader.js +21 -14
  1816. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
  1817. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +82 -0
  1818. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -0
  1819. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +509 -0
  1820. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -0
  1821. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +187 -0
  1822. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  1823. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +43 -0
  1824. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  1825. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +86 -2
  1826. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  1827. package/dist/src/services/framework/provider-transposition/url-template.extractor.js +312 -27
  1828. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  1829. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
  1830. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +6 -5
  1831. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -1
  1832. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
  1833. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
  1834. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +6 -0
  1835. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -1
  1836. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  1837. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  1838. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  1839. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  1840. package/dist/src/services/frontend/frontend-publish.service.js +10 -4
  1841. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  1842. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  1843. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  1844. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  1845. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  1846. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  1847. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
  1848. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
  1849. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
  1850. package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
  1851. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
  1852. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
  1853. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
  1854. package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
  1855. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
  1856. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
  1857. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
  1858. package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
  1859. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
  1860. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
  1861. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
  1862. package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
  1863. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
  1864. package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
  1865. package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
  1866. package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
  1867. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +2 -0
  1868. package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +1 -0
  1869. package/dist/src/services/registry/__tests__/module-requirements.service.test.js +138 -0
  1870. package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +1 -0
  1871. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
  1872. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
  1873. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
  1874. package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
  1875. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
  1876. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
  1877. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
  1878. package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
  1879. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
  1880. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
  1881. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
  1882. package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
  1883. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  1884. package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
  1885. package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
  1886. package/dist/src/services/registry/artifact-trust.utils.js +46 -0
  1887. package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
  1888. package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
  1889. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  1890. package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
  1891. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  1892. package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
  1893. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
  1894. package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
  1895. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
  1896. package/dist/src/services/registry/index.d.ts.map +1 -1
  1897. package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
  1898. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
  1899. package/dist/src/services/registry/installed-file-state.utils.js +209 -0
  1900. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
  1901. package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
  1902. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
  1903. package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
  1904. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
  1905. package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
  1906. package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
  1907. package/dist/src/services/registry/migration-obligation.utils.js +77 -0
  1908. package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
  1909. package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
  1910. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
  1911. package/dist/src/services/registry/module-acquisition.utils.js +78 -0
  1912. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
  1913. package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
  1914. package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
  1915. package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
  1916. package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
  1917. package/dist/src/services/registry/module-registration.service.d.ts +171 -0
  1918. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
  1919. package/dist/src/services/registry/module-registration.service.js +788 -0
  1920. package/dist/src/services/registry/module-registration.service.js.map +1 -0
  1921. package/dist/src/services/registry/module-requirements.service.d.ts +22 -0
  1922. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -0
  1923. package/dist/src/services/registry/module-requirements.service.js +144 -0
  1924. package/dist/src/services/registry/module-requirements.service.js.map +1 -0
  1925. package/dist/src/services/registry/provider-install-step.d.ts +23 -0
  1926. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
  1927. package/dist/src/services/registry/provider-install-step.js +21 -0
  1928. package/dist/src/services/registry/provider-install-step.js.map +1 -0
  1929. package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
  1930. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
  1931. package/dist/src/services/registry/provider-module-checks.service.js +194 -0
  1932. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
  1933. package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
  1934. package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
  1935. package/dist/src/services/registry/provider-module-identity.service.js +146 -0
  1936. package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
  1937. package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
  1938. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
  1939. package/dist/src/services/registry/provider-wiring.service.js +164 -0
  1940. package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
  1941. package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
  1942. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  1943. package/dist/src/services/registry/registry-command.utils.js +75 -2
  1944. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  1945. package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
  1946. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  1947. package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
  1948. package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
  1949. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  1950. package/dist/src/services/registry/registry-credentials.service.js +8 -6
  1951. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  1952. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  1953. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -1
  1954. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +19 -2
  1955. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -1
  1956. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
  1957. package/dist/src/services/security/__tests__/csp-boundary.test.js +11 -7
  1958. package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -1
  1959. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
  1960. package/dist/src/services/security/__tests__/csp-sync.service.test.js +54 -1
  1961. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  1962. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  1963. package/dist/src/services/security/csp-sync.service.js +18 -16
  1964. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  1965. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  1966. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -1
  1967. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
  1968. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
  1969. package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
  1970. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
  1971. package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
  1972. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
  1973. package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
  1974. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  1975. package/dist/src/services/website/website-structured-data-audit.service.js +19 -53
  1976. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  1977. package/dist/src/services/website/website-workspace.service.d.ts +15 -0
  1978. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
  1979. package/dist/src/services/website/website-workspace.service.js +26 -0
  1980. package/dist/src/services/website/website-workspace.service.js.map +1 -0
  1981. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +21 -0
  1982. package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +1 -0
  1983. package/dist/src/test-utils/certificate-fixtures.test.utils.js +57 -0
  1984. package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +1 -0
  1985. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
  1986. package/framework-root-package.json +29 -29
  1987. package/package.json +52 -54
  1988. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +213 -439
  1989. package/templates/infra/ci/deploy-docker-compose.yml.hbs +68 -3
  1990. package/templates/infra/ci/deploy-k8s.yml.hbs +66 -4
  1991. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +16 -0
  1992. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +140 -40
  1993. package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
  1994. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
  1995. package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
  1996. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +1 -1
  1997. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
  1998. package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +2 -2
  1999. package/templates/infra/k8s/ingress/traefik/local/values.yaml +18 -14
  2000. package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
  2001. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
  2002. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -1
  2003. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +14 -5
  2004. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +14 -5
  2005. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +8 -5
  2006. package/templates/saas/engine-peer-closure.json +34 -419
  2007. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
  2008. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
  2009. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
  2010. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
  2011. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
  2012. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
  2013. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
  2014. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
  2015. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
  2016. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
  2017. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
  2018. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
  2019. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
  2020. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
  2021. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
  2022. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
  2023. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
  2024. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
  2025. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
  2026. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
  2027. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
  2028. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
  2029. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
  2030. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
  2031. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
  2032. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
  2033. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
  2034. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
  2035. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
  2036. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
  2037. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
  2038. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
  2039. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
  2040. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
  2041. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
  2042. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
  2043. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
  2044. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
  2045. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
  2046. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
  2047. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
  2048. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
  2049. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
  2050. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
  2051. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
  2052. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
  2053. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
  2054. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
  2055. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
  2056. package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
  2057. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
  2058. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
  2059. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
  2060. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
  2061. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
  2062. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
  2063. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
  2064. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
  2065. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
  2066. package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
  2067. package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
  2068. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
  2069. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
  2070. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
  2071. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
  2072. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
  2073. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
  2074. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
  2075. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
  2076. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
  2077. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
  2078. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
  2079. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
  2080. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
  2081. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
  2082. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
  2083. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
  2084. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
  2085. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
  2086. package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
  2087. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
  2088. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
  2089. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
  2090. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
  2091. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
  2092. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
  2093. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
  2094. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
  2095. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
  2096. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
  2097. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
  2098. package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
  2099. package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
  2100. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
  2101. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
  2102. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
  2103. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
  2104. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
  2105. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
  2106. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
  2107. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
  2108. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
  2109. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
  2110. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
  2111. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
  2112. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
  2113. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
  2114. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
  2115. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
  2116. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
  2117. package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
  2118. package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
  2119. package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
  2120. package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
  2121. package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
  2122. package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
  2123. package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
  2124. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
  2125. package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
  2126. package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
  2127. package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
  2128. package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
  2129. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +53 -2
  2130. package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
  2131. package/templates/saas/i18n/email/system/security-alert/template.tsx +37 -13
  2132. package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
  2133. package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
  2134. package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
  2135. package/templates/saas/i18n/engine/README.md +94 -0
  2136. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.ts +12 -0
  2137. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.ts +12 -0
  2138. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +39 -0
  2139. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +39 -0
  2140. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.en.ts +22 -0
  2141. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.ts +22 -0
  2142. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.en.ts +13 -0
  2143. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_MENUBAR.fr.ts +13 -0
  2144. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.ts +11 -0
  2145. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.ts +11 -0
  2146. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +27 -0
  2147. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +27 -0
  2148. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.ts +14 -0
  2149. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.ts +14 -0
  2150. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.ts +16 -0
  2151. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.ts +16 -0
  2152. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +24 -0
  2153. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +23 -0
  2154. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +19 -0
  2155. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +19 -0
  2156. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.en.ts +12 -0
  2157. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_TOOLBAR.fr.ts +12 -0
  2158. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +23 -0
  2159. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +23 -0
  2160. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +14 -0
  2161. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +14 -0
  2162. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
  2163. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
  2164. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +15 -0
  2165. package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +15 -0
  2166. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +13 -0
  2167. package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +13 -0
  2168. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +68 -0
  2169. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +68 -0
  2170. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.en.ts +25 -0
  2171. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONSENT_GATE.fr.ts +25 -0
  2172. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +17 -0
  2173. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +17 -0
  2174. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.en.ts +19 -0
  2175. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.ts +19 -0
  2176. package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.en.ts +12 -0
  2177. package/templates/saas/i18n/engine/components/APP_LAYOUTS_HOME.fr.ts +12 -0
  2178. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +20 -0
  2179. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +20 -0
  2180. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +18 -0
  2181. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +18 -0
  2182. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.ts +40 -0
  2183. package/templates/saas/i18n/engine/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.ts +40 -0
  2184. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +63 -0
  2185. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +63 -0
  2186. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +13 -0
  2187. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +12 -0
  2188. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.ts +16 -0
  2189. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.ts +15 -0
  2190. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.en.ts +25 -0
  2191. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART.fr.ts +25 -0
  2192. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.ts +12 -0
  2193. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.ts +12 -0
  2194. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.en.ts +13 -0
  2195. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.ts +13 -0
  2196. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +26 -0
  2197. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +26 -0
  2198. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.ts +18 -0
  2199. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.ts +18 -0
  2200. package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.en.ts +11 -0
  2201. package/templates/saas/i18n/engine/components/LOW_LEVEL_ACTION_BAR.fr.ts +11 -0
  2202. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +43 -0
  2203. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +43 -0
  2204. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +80 -0
  2205. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +80 -0
  2206. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +83 -0
  2207. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +83 -0
  2208. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.en.ts +15 -0
  2209. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT.fr.ts +15 -0
  2210. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +33 -0
  2211. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +33 -0
  2212. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.ts +11 -0
  2213. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.ts +11 -0
  2214. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.en.ts +11 -0
  2215. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CODE_BLOCK.fr.ts +11 -0
  2216. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.en.ts +20 -0
  2217. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONFIRMATION.fr.ts +20 -0
  2218. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.en.ts +16 -0
  2219. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONTEXT.fr.ts +16 -0
  2220. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +14 -0
  2221. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +14 -0
  2222. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +20 -0
  2223. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +20 -0
  2224. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +20 -0
  2225. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +20 -0
  2226. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +20 -0
  2227. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +20 -0
  2228. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.ts +13 -0
  2229. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.ts +13 -0
  2230. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +21 -0
  2231. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +21 -0
  2232. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +25 -0
  2233. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +25 -0
  2234. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.en.ts +13 -0
  2235. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_INLINE_CITATION.fr.ts +13 -0
  2236. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.en.ts +16 -0
  2237. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MESSAGE.fr.ts +16 -0
  2238. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.ts +11 -0
  2239. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.ts +11 -0
  2240. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.ts +11 -0
  2241. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.ts +11 -0
  2242. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.en.ts +11 -0
  2243. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PLAN.fr.ts +11 -0
  2244. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.en.ts +13 -0
  2245. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.ts +13 -0
  2246. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +58 -0
  2247. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +58 -0
  2248. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.en.ts +30 -0
  2249. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_DETAIL.fr.ts +30 -0
  2250. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.en.ts +18 -0
  2251. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_TASK_MEMORY.fr.ts +18 -0
  2252. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.en.ts +11 -0
  2253. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.ts +11 -0
  2254. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.ts +20 -0
  2255. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.ts +20 -0
  2256. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +27 -0
  2257. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +27 -0
  2258. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.ts +13 -0
  2259. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.ts +13 -0
  2260. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +37 -0
  2261. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +37 -0
  2262. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.ts +24 -0
  2263. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.ts +24 -0
  2264. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +24 -0
  2265. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +24 -0
  2266. package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.en.ts +12 -0
  2267. package/templates/saas/i18n/engine/components/LOW_LEVEL_BREADCRUMB.fr.ts +12 -0
  2268. package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.en.ts +14 -0
  2269. package/templates/saas/i18n/engine/components/LOW_LEVEL_BUTTON.fr.ts +14 -0
  2270. package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.en.ts +12 -0
  2271. package/templates/saas/i18n/engine/components/LOW_LEVEL_CAROUSEL.fr.ts +12 -0
  2272. package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.ts +12 -0
  2273. package/templates/saas/i18n/engine/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.ts +12 -0
  2274. package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.en.ts +16 -0
  2275. package/templates/saas/i18n/engine/components/LOW_LEVEL_COLOR_INPUT.fr.ts +16 -0
  2276. package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.en.ts +12 -0
  2277. package/templates/saas/i18n/engine/components/LOW_LEVEL_COMMAND.fr.ts +12 -0
  2278. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +27 -0
  2279. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +27 -0
  2280. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +14 -0
  2281. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +14 -0
  2282. package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.en.ts +12 -0
  2283. package/templates/saas/i18n/engine/components/LOW_LEVEL_DIALOG.fr.ts +12 -0
  2284. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.ts +11 -0
  2285. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.ts +11 -0
  2286. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.ts +11 -0
  2287. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.ts +11 -0
  2288. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.ts +20 -0
  2289. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.ts +20 -0
  2290. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.ts +11 -0
  2291. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.ts +11 -0
  2292. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.ts +11 -0
  2293. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.ts +11 -0
  2294. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +22 -0
  2295. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +21 -0
  2296. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.ts +13 -0
  2297. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.ts +13 -0
  2298. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +16 -0
  2299. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +16 -0
  2300. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +15 -0
  2301. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +15 -0
  2302. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.ts +14 -0
  2303. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.ts +14 -0
  2304. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.ts +13 -0
  2305. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.ts +13 -0
  2306. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.ts +11 -0
  2307. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.ts +11 -0
  2308. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
  2309. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
  2310. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.ts +11 -0
  2311. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.ts +11 -0
  2312. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.ts +11 -0
  2313. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.ts +11 -0
  2314. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.ts +11 -0
  2315. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.ts +11 -0
  2316. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.ts +11 -0
  2317. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.ts +11 -0
  2318. package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.en.ts +11 -0
  2319. package/templates/saas/i18n/engine/components/LOW_LEVEL_DRAWER.fr.ts +11 -0
  2320. package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.en.ts +13 -0
  2321. package/templates/saas/i18n/engine/components/LOW_LEVEL_DURATION.fr.ts +13 -0
  2322. package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.en.ts +22 -0
  2323. package/templates/saas/i18n/engine/components/LOW_LEVEL_ERROR_DISPLAY.fr.ts +22 -0
  2324. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.ts +12 -0
  2325. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.ts +12 -0
  2326. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +29 -0
  2327. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +29 -0
  2328. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +15 -0
  2329. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +15 -0
  2330. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +39 -0
  2331. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +38 -0
  2332. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +29 -0
  2333. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +29 -0
  2334. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.ts +20 -0
  2335. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.ts +20 -0
  2336. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +11 -0
  2337. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +11 -0
  2338. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +66 -0
  2339. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +66 -0
  2340. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.en.ts +11 -0
  2341. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.ts +11 -0
  2342. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +17 -0
  2343. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +17 -0
  2344. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +42 -0
  2345. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +42 -0
  2346. package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.en.ts +18 -0
  2347. package/templates/saas/i18n/engine/components/LOW_LEVEL_IMAGE_CROP.fr.ts +18 -0
  2348. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.en.ts +11 -0
  2349. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_OVERLAY.fr.ts +11 -0
  2350. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.en.ts +11 -0
  2351. package/templates/saas/i18n/engine/components/LOW_LEVEL_LOADING_SPINNER.fr.ts +11 -0
  2352. package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.ts +15 -0
  2353. package/templates/saas/i18n/engine/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.ts +15 -0
  2354. package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.en.ts +16 -0
  2355. package/templates/saas/i18n/engine/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.ts +16 -0
  2356. package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.en.ts +14 -0
  2357. package/templates/saas/i18n/engine/components/LOW_LEVEL_PAGINATION.fr.ts +14 -0
  2358. package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.en.ts +12 -0
  2359. package/templates/saas/i18n/engine/components/LOW_LEVEL_PASSWORD_INPUT.fr.ts +12 -0
  2360. package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.en.ts +12 -0
  2361. package/templates/saas/i18n/engine/components/LOW_LEVEL_RANGE_SLIDER.fr.ts +12 -0
  2362. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +12 -0
  2363. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +12 -0
  2364. package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.en.ts +12 -0
  2365. package/templates/saas/i18n/engine/components/LOW_LEVEL_SHEET.fr.ts +12 -0
  2366. package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.en.ts +13 -0
  2367. package/templates/saas/i18n/engine/components/LOW_LEVEL_SIDEBAR.fr.ts +13 -0
  2368. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +14 -0
  2369. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +14 -0
  2370. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.ts +18 -0
  2371. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.ts +18 -0
  2372. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.ts +44 -0
  2373. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.ts +43 -0
  2374. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.ts +38 -0
  2375. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.ts +38 -0
  2376. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.ts +16 -0
  2377. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.ts +16 -0
  2378. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +44 -0
  2379. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +44 -0
  2380. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.ts +21 -0
  2381. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.ts +21 -0
  2382. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.ts +13 -0
  2383. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.ts +13 -0
  2384. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.ts +15 -0
  2385. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.ts +15 -0
  2386. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.ts +16 -0
  2387. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.ts +16 -0
  2388. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.ts +23 -0
  2389. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.ts +23 -0
  2390. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +17 -0
  2391. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +17 -0
  2392. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +49 -0
  2393. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +48 -0
  2394. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.ts +31 -0
  2395. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.ts +31 -0
  2396. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +46 -0
  2397. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +45 -0
  2398. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +37 -0
  2399. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +36 -0
  2400. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +59 -0
  2401. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +58 -0
  2402. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +15 -0
  2403. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +15 -0
  2404. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +14 -0
  2405. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +14 -0
  2406. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.ts +14 -0
  2407. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.ts +13 -0
  2408. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +60 -0
  2409. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +59 -0
  2410. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.ts +14 -0
  2411. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.ts +14 -0
  2412. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +21 -0
  2413. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +21 -0
  2414. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.en.ts +12 -0
  2415. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_HEADER.fr.ts +12 -0
  2416. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +38 -0
  2417. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +38 -0
  2418. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +17 -0
  2419. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +17 -0
  2420. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +29 -0
  2421. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +28 -0
  2422. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.en.ts +16 -0
  2423. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_PAGINATION.fr.ts +16 -0
  2424. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.en.ts +23 -0
  2425. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_READ.fr.ts +23 -0
  2426. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +15 -0
  2427. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +15 -0
  2428. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.en.ts +12 -0
  2429. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_UPDATE.fr.ts +12 -0
  2430. package/templates/saas/i18n/engine/components/guidance_announcement.en.ts +11 -0
  2431. package/templates/saas/i18n/engine/components/guidance_announcement.fr.ts +11 -0
  2432. package/templates/saas/i18n/engine/components/guidance_banner.en.ts +12 -0
  2433. package/templates/saas/i18n/engine/components/guidance_banner.fr.ts +12 -0
  2434. package/templates/saas/i18n/engine/components/guidance_card.en.ts +11 -0
  2435. package/templates/saas/i18n/engine/components/guidance_card.fr.ts +11 -0
  2436. package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +15 -0
  2437. package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +15 -0
  2438. package/templates/saas/i18n/engine/components/guidance_checklist_item.en.ts +13 -0
  2439. package/templates/saas/i18n/engine/components/guidance_checklist_item.fr.ts +13 -0
  2440. package/templates/saas/i18n/engine/components/guidance_modal.en.ts +14 -0
  2441. package/templates/saas/i18n/engine/components/guidance_modal.fr.ts +14 -0
  2442. package/templates/saas/i18n/engine/components/guidance_onboarding_view.en.ts +17 -0
  2443. package/templates/saas/i18n/engine/components/guidance_onboarding_view.fr.ts +17 -0
  2444. package/templates/saas/i18n/engine/components/guidance_survey.en.ts +18 -0
  2445. package/templates/saas/i18n/engine/components/guidance_survey.fr.ts +18 -0
  2446. package/templates/saas/i18n/engine/components/guidance_tooltip.en.ts +12 -0
  2447. package/templates/saas/i18n/engine/components/guidance_tooltip.fr.ts +12 -0
  2448. package/templates/saas/i18n/engine/components/guidance_tour.en.ts +16 -0
  2449. package/templates/saas/i18n/engine/components/guidance_tour.fr.ts +16 -0
  2450. package/templates/saas/i18n/engine/components/progression_achievement_badge.en.ts +13 -0
  2451. package/templates/saas/i18n/engine/components/progression_achievement_badge.fr.ts +13 -0
  2452. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +20 -0
  2453. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +19 -0
  2454. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
  2455. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
  2456. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +339 -0
  2457. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +339 -0
  2458. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +496 -0
  2459. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +496 -0
  2460. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +142 -0
  2461. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +142 -0
  2462. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +236 -0
  2463. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +236 -0
  2464. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
  2465. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
  2466. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
  2467. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
  2468. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +706 -0
  2469. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +706 -0
  2470. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +590 -0
  2471. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +590 -0
  2472. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +281 -0
  2473. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +281 -0
  2474. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +669 -0
  2475. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +669 -0
  2476. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +426 -0
  2477. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +426 -0
  2478. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
  2479. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
  2480. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +547 -0
  2481. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +547 -0
  2482. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +88 -0
  2483. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +88 -0
  2484. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +728 -0
  2485. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +728 -0
  2486. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +227 -0
  2487. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +227 -0
  2488. package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +240 -0
  2489. package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +345 -0
  2490. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +253 -0
  2491. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +253 -0
  2492. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +193 -0
  2493. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +193 -0
  2494. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +303 -0
  2495. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +303 -0
  2496. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +425 -0
  2497. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +425 -0
  2498. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +995 -0
  2499. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +995 -0
  2500. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +327 -0
  2501. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +327 -0
  2502. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +268 -0
  2503. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +268 -0
  2504. package/templates/saas/i18n/engine/resources/applications.en.ts +5429 -0
  2505. package/templates/saas/i18n/engine/resources/applications.fr.ts +5429 -0
  2506. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +873 -0
  2507. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +873 -0
  2508. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +140 -0
  2509. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +140 -0
  2510. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +61 -0
  2511. package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +61 -0
  2512. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +82 -0
  2513. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +82 -0
  2514. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +370 -0
  2515. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +370 -0
  2516. package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
  2517. package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
  2518. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +322 -0
  2519. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +322 -0
  2520. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
  2521. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
  2522. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
  2523. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
  2524. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
  2525. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
  2526. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +2358 -0
  2527. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +2358 -0
  2528. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +489 -0
  2529. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +489 -0
  2530. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
  2531. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
  2532. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
  2533. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
  2534. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
  2535. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
  2536. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
  2537. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
  2538. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
  2539. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
  2540. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
  2541. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
  2542. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +85 -0
  2543. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +85 -0
  2544. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
  2545. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
  2546. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
  2547. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
  2548. package/templates/saas/i18n/engine/resources/files.en.ts +363 -0
  2549. package/templates/saas/i18n/engine/resources/files.fr.ts +363 -0
  2550. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
  2551. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
  2552. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +273 -0
  2553. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +273 -0
  2554. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
  2555. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
  2556. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +1740 -0
  2557. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +1740 -0
  2558. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +396 -0
  2559. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +396 -0
  2560. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
  2561. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
  2562. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
  2563. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
  2564. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
  2565. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
  2566. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +153 -0
  2567. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +153 -0
  2568. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +496 -0
  2569. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +496 -0
  2570. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +142 -0
  2571. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +142 -0
  2572. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
  2573. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
  2574. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
  2575. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
  2576. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +788 -0
  2577. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +788 -0
  2578. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +1636 -0
  2579. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +1636 -0
  2580. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +180 -0
  2581. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +180 -0
  2582. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
  2583. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
  2584. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +370 -0
  2585. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +370 -0
  2586. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +669 -0
  2587. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +669 -0
  2588. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +426 -0
  2589. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +426 -0
  2590. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +180 -0
  2591. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +180 -0
  2592. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
  2593. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
  2594. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +229 -0
  2595. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +229 -0
  2596. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +313 -0
  2597. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +313 -0
  2598. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +547 -0
  2599. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +547 -0
  2600. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +548 -0
  2601. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +548 -0
  2602. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +145 -0
  2603. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +145 -0
  2604. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +154 -0
  2605. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +154 -0
  2606. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +824 -0
  2607. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +824 -0
  2608. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +92 -0
  2609. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +92 -0
  2610. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +223 -0
  2611. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +223 -0
  2612. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +382 -0
  2613. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +382 -0
  2614. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +222 -0
  2615. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +222 -0
  2616. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +232 -0
  2617. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +232 -0
  2618. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +260 -0
  2619. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +260 -0
  2620. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +290 -0
  2621. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +290 -0
  2622. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +253 -0
  2623. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +253 -0
  2624. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +193 -0
  2625. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +193 -0
  2626. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +336 -0
  2627. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +336 -0
  2628. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +458 -0
  2629. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +458 -0
  2630. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +1020 -0
  2631. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +1020 -0
  2632. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +629 -0
  2633. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +629 -0
  2634. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +206 -0
  2635. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +206 -0
  2636. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +461 -0
  2637. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +461 -0
  2638. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +270 -0
  2639. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +270 -0
  2640. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +301 -0
  2641. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +301 -0
  2642. package/templates/saas/i18n/engine/resources/organizations.en.ts +1905 -0
  2643. package/templates/saas/i18n/engine/resources/organizations.fr.ts +1905 -0
  2644. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +265 -0
  2645. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +265 -0
  2646. package/templates/saas/i18n/engine/resources/prices.en.ts +324 -0
  2647. package/templates/saas/i18n/engine/resources/prices.fr.ts +324 -0
  2648. package/templates/saas/i18n/engine/resources/products.en.ts +518 -0
  2649. package/templates/saas/i18n/engine/resources/products.fr.ts +518 -0
  2650. package/templates/saas/i18n/engine/resources/promotions.en.ts +358 -0
  2651. package/templates/saas/i18n/engine/resources/promotions.fr.ts +358 -0
  2652. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
  2653. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
  2654. package/templates/saas/i18n/engine/resources/referrals.en.ts +371 -0
  2655. package/templates/saas/i18n/engine/resources/referrals.fr.ts +371 -0
  2656. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
  2657. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
  2658. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
  2659. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
  2660. package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
  2661. package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
  2662. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
  2663. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
  2664. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
  2665. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
  2666. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
  2667. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
  2668. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
  2669. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
  2670. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
  2671. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
  2672. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
  2673. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
  2674. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +496 -0
  2675. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +496 -0
  2676. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +142 -0
  2677. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +142 -0
  2678. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
  2679. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
  2680. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
  2681. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
  2682. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +1621 -0
  2683. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +1621 -0
  2684. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +311 -0
  2685. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +311 -0
  2686. package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +180 -0
  2687. package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +180 -0
  2688. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +216 -0
  2689. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +216 -0
  2690. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +669 -0
  2691. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +669 -0
  2692. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +426 -0
  2693. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +426 -0
  2694. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +196 -0
  2695. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +196 -0
  2696. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +180 -0
  2697. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +180 -0
  2698. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +239 -0
  2699. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +239 -0
  2700. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +214 -0
  2701. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +214 -0
  2702. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +305 -0
  2703. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +305 -0
  2704. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +145 -0
  2705. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +145 -0
  2706. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +337 -0
  2707. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +337 -0
  2708. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +397 -0
  2709. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +397 -0
  2710. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +228 -0
  2711. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +228 -0
  2712. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +221 -0
  2713. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +221 -0
  2714. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +338 -0
  2715. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +338 -0
  2716. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +224 -0
  2717. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +224 -0
  2718. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +614 -0
  2719. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +614 -0
  2720. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +255 -0
  2721. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +255 -0
  2722. package/templates/saas/i18n/engine/resources/user_self.en.ts +540 -0
  2723. package/templates/saas/i18n/engine/resources/user_self.fr.ts +540 -0
  2724. package/templates/saas/i18n/engine/resources/users.en.ts +927 -0
  2725. package/templates/saas/i18n/engine/resources/users.fr.ts +927 -0
  2726. package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +590 -0
  2727. package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +574 -0
  2728. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +293 -0
  2729. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +293 -0
  2730. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
  2731. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
  2732. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +198 -0
  2733. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +198 -0
  2734. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +198 -0
  2735. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +190 -0
  2736. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
  2737. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
  2738. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +150 -0
  2739. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +142 -0
  2740. package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +150 -0
  2741. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +142 -0
  2742. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +150 -0
  2743. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +142 -0
  2744. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +270 -0
  2745. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +270 -0
  2746. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +214 -0
  2747. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +214 -0
  2748. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +306 -0
  2749. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +306 -0
  2750. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +758 -0
  2751. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +758 -0
  2752. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +238 -0
  2753. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +238 -0
  2754. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
  2755. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
  2756. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +150 -0
  2757. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +142 -0
  2758. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
  2759. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
  2760. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +150 -0
  2761. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +142 -0
  2762. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +246 -0
  2763. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +246 -0
  2764. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
  2765. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
  2766. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
  2767. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
  2768. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
  2769. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
  2770. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
  2771. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
  2772. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
  2773. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
  2774. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
  2775. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
  2776. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
  2777. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
  2778. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
  2779. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
  2780. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
  2781. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
  2782. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
  2783. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
  2784. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
  2785. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
  2786. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
  2787. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
  2788. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +198 -0
  2789. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +198 -0
  2790. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +150 -0
  2791. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +142 -0
  2792. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +150 -0
  2793. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +142 -0
  2794. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
  2795. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
  2796. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +326 -0
  2797. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +326 -0
  2798. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +206 -0
  2799. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +206 -0
  2800. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
  2801. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
  2802. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +534 -0
  2803. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +534 -0
  2804. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
  2805. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
  2806. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
  2807. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
  2808. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
  2809. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
  2810. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
  2811. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
  2812. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
  2813. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
  2814. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +390 -0
  2815. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +390 -0
  2816. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +534 -0
  2817. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +534 -0
  2818. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +308 -0
  2819. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +308 -0
  2820. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +230 -0
  2821. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +230 -0
  2822. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
  2823. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
  2824. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
  2825. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
  2826. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
  2827. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
  2828. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
  2829. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
  2830. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +230 -0
  2831. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +222 -0
  2832. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +606 -0
  2833. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +598 -0
  2834. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +198 -0
  2835. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +190 -0
  2836. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +150 -0
  2837. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +142 -0
  2838. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +270 -0
  2839. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +262 -0
  2840. package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +270 -0
  2841. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +262 -0
  2842. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +990 -0
  2843. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +990 -0
  2844. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +350 -0
  2845. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +342 -0
  2846. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +198 -0
  2847. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +190 -0
  2848. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +422 -0
  2849. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +414 -0
  2850. package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +270 -0
  2851. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +262 -0
  2852. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +518 -0
  2853. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +510 -0
  2854. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +342 -0
  2855. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +334 -0
  2856. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +366 -0
  2857. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +358 -0
  2858. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +294 -0
  2859. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +294 -0
  2860. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +286 -0
  2861. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +278 -0
  2862. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +534 -0
  2863. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +534 -0
  2864. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +172 -0
  2865. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +172 -0
  2866. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +254 -0
  2867. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +254 -0
  2868. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +190 -0
  2869. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +182 -0
  2870. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +262 -0
  2871. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +262 -0
  2872. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +520 -0
  2873. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +520 -0
  2874. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +286 -0
  2875. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +286 -0
  2876. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +150 -0
  2877. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +142 -0
  2878. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +150 -0
  2879. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +142 -0
  2880. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
  2881. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
  2882. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +134 -0
  2883. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +134 -0
  2884. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +478 -0
  2885. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +478 -0
  2886. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +559 -0
  2887. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +559 -0
  2888. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +246 -0
  2889. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +246 -0
  2890. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +394 -0
  2891. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +394 -0
  2892. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +190 -0
  2893. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +182 -0
  2894. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +150 -0
  2895. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +142 -0
  2896. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +150 -0
  2897. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +142 -0
  2898. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +150 -0
  2899. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +142 -0
  2900. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +390 -0
  2901. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +390 -0
  2902. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +214 -0
  2903. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +214 -0
  2904. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
  2905. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
  2906. package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
  2907. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
  2908. package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
  2909. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +9 -0
  2910. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +74 -0
  2911. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +84 -14
  2912. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
  2913. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
  2914. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
  2915. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +5 -2
  2916. package/templates/saas/scenarios/add-module/scenario.json +8 -1
  2917. package/templates/saas/scenarios/add-provider/scenario.json +10 -16
  2918. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +3 -1
  2919. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +57 -0
  2920. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +31 -5
  2921. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
  2922. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +2 -0
  2923. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +45 -2
  2924. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
  2925. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
  2926. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
  2927. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-provider-service.generated.json +1 -0
  2928. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/frontend-providers.generated.ts +3 -0
  2929. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +19 -3
  2930. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
  2931. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
  2932. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
  2933. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +15 -7
  2934. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
  2935. package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
  2936. package/templates/saas/scenarios/add-website/files/website/Dockerfile +39 -0
  2937. package/templates/saas/scenarios/add-website/files/website/public/.gitkeep +0 -0
  2938. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +12 -0
  2939. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +9 -2
  2940. package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
  2941. package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-provider-service.generated.json +1 -0
  2942. package/templates/saas/scenarios/add-website/files/website/src/generated/frontend-providers.generated.ts +3 -0
  2943. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +17 -1
  2944. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
  2945. package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
  2946. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +2 -0
  2947. package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
  2948. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +4 -1
  2949. package/templates/saas/scenarios/add-website/scenario.json +3 -4
  2950. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +4 -1
  2951. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +7 -4
  2952. package/templates/saas/scenarios/add-worker-rust/scenario.json +1 -1
  2953. package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +27 -10
  2954. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +29 -1
  2955. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +39 -2
  2956. package/templates/saas/skeleton/CLAUDE.md.hbs +44 -39
  2957. package/templates/saas/skeleton/backend-api/Dockerfile +54 -0
  2958. package/templates/saas/skeleton/backend-api/package.json.hbs +2 -1
  2959. package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +8 -5
  2960. package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
  2961. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +76 -6
  2962. package/templates/saas/skeleton/dockerignore +40 -0
  2963. package/templates/saas/skeleton/frontend/package.json.hbs +5 -3
  2964. package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +9 -6
  2965. package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
  2966. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
  2967. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
  2968. package/templates/saas/skeleton/frontend/src/generated/frontend-provider-service.generated.json +1 -0
  2969. package/templates/saas/skeleton/frontend/src/generated/frontend-providers.generated.ts +3 -0
  2970. package/templates/saas/skeleton/frontend/src/index.css.hbs +23 -17
  2971. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
  2972. package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +46 -0
  2973. package/templates/saas/skeleton/frontend/src/resource-ui-behaviors.exports.ts +60 -0
  2974. package/templates/saas/skeleton/frontend/tsconfig.library.json +1 -0
  2975. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
  2976. package/templates/saas/skeleton/gitignore +21 -0
  2977. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +112 -1
  2978. package/templates/saas/skeleton/prettierignore +7 -0
  2979. package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
  2980. package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
  2981. package/templates/saas/skeleton/tsconfig.common.json +21 -0
  2982. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +133 -9
  2983. package/templates/saas/skeleton-ownership.json +17 -0
  2984. package/wildo-framework.info.json +1 -1
  2985. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
  2986. package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
  2987. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
  2988. package/dist/src/services/brand/brand-asset-projection.js +0 -68
  2989. package/dist/src/services/brand/brand-destination-utils.js +0 -227
  2990. package/dist/src/services/brand/brand-propagation.types.js +0 -22
  2991. package/dist/src/services/brand/brand-ssot-reader.js +0 -146
  2992. package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
  2993. package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
  2994. package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
  2995. package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
  2996. package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
  2997. package/dist/tsconfig.build.tsbuildinfo +0 -1
  2998. package/dist/tsconfig.tsbuildinfo +0 -1
  2999. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
  3000. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
  3001. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
  3002. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
  3003. package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
  3004. /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
  3005. /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"env-configuration-generator.service.js","sourceRoot":"","sources":["../../../../src/services/environment/env-configuration-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,IAAI,WAAW,EACxB,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa,EACb,SAAS,GACV,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OA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;;GAOG;AACH,SAAS,uCAAuC,CAAC,eAAuB;IACtE,MAAM,sBAAsB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACxD,MAAM,MAAM,GAAG,SAAS,CAAC,sBAAsB,CAAC,CAAC;IACjD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,6DAA6D,sBAAsB,GAAG,CAAC,CAAC;IAC1G,CAAC;IACD,OAAO,YAAY,CAAC,sBAAsB,CAAC,CAAC;AAC9C,CAAC","sourcesContent":["import {\n closeSync,\n constants as fsConstants,\n existsSync,\n fchmodSync,\n fstatSync,\n ftruncateSync,\n lstatSync,\n mkdirSync,\n openSync,\n readFileSync,\n realpathSync,\n unlinkSync,\n writeFileSync,\n writeSync,\n} from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport {\n resolveFrameworkLayout,\n type AppBootstrapCredentials,\n type K8sIngressRoute,\n BOOTSTRAP_PLATFORM_SERVICES,\n ApplicationCreationVerificationEnvKey,\n WildoLocationType,\n type RuntimeAccessDeclaration,\n} from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { PlatformWildoServices } from '@wildo-ai/platform-config-lib';\nimport { PLATFORM_SERVICE_CATALOG } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { APPLICATION_BACKEND_ENV_KEY_LIST } from '@wildo-ai/platform-core-shared';\n\nconst APPLICATION_BACKEND_RESERVED_ENV_KEYS = new Set<string>(APPLICATION_BACKEND_ENV_KEY_LIST);\n\nfunction assertNoApplicationBackendReservedEnvOverrides(extraEnv: Readonly<Record<string, string>> | undefined, targetDescription: string): void {\n const overriddenKeys = Object.keys(extraEnv ?? {}).filter((key) => APPLICATION_BACKEND_RESERVED_ENV_KEYS.has(key)).sort();\n if (overriddenKeys.length > 0) {\n throw new Error(`${targetDescription} extraEnv cannot override canonical application-backend environment keys: ${overriddenKeys.join(', ')}`);\n }\n}\n\n/**\n * Read a host package.json `version` for OTel `service.version` (audit A-10). Returns undefined\n * when the file or field is absent — `service.version` is then simply omitted (graceful).\n */\nfunction readHostVersion(repositoryRoot: string, relativeDir: string): string | undefined {\n try {\n const pkg = JSON.parse(\n readFileSync(join(repositoryRoot, relativeDir, 'package.json'), 'utf8'),\n ) as { version?: unknown };\n return typeof pkg.version === 'string' ? pkg.version : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Hydrate the infra `logging` / `observability` posture onto a freshly-loaded `config.json` from the\n * registry `env` (refreshed from authored infra by `RuntimeBootstrap.refreshEnvFromAuthored`).\n *\n * The setup-time `config.json` (`credentials.service.ts`) OMITS these blocks, and `ensureConfigJson`\n * only self-heals a MISSING file — so a config.json authored before those blocks existed never gains\n * them. The registry `env` is the live TRUTH and must WIN over a (possibly stale) block in config.json\n * (audit A-6 — `env.x ?? config.x`, not `config.x ?? env.x`: authored changes always propagate, while\n * an env that genuinely lacks the block still falls back to config.json). Without this hydration,\n * `emitLoggingEnv` / `emitObservabilityEnv` silently drop `LOG_LEVEL` / `OTEL_*` (Slice 2 Phase 5b).\n *\n * Shared by BOTH `buildPlatformServiceEnvMap` (platform hosts: apps-manager, crontabs, registry) and\n * `generatePlatformServiceEnvFiles` (app hosts). The platform hosts run the same\n * `--import @wildo-ai/saas-backend-lib/otel-preload` and MUST enable OTel identically, so a single\n * shared hydration keeps every host in lockstep — a prior split left the platform-service env map\n * (built from a SEPARATE un-hydrated config load) with no `OTEL_*` while the app hosts had it.\n */\nfunction hydrateInfraPostureFromEnv(\n config: PlatformEnvConfigJson,\n env: PlatformEnvironmentConfiguration,\n): void {\n config.logging = env.logging ?? config.logging;\n config.observability = env.observability ?? config.observability;\n config.providerSelection = env.providerSelection ?? config.providerSelection;\n}\n\n/**\n * The SINGLE seam every env-emitting path uses to obtain the config that feeds an `emit*Env`\n * builder — the local `.env` files AND every deploy generator (compose, k8s, CI). The on-disk\n * config.json is a FROZEN setup snapshot (written by `credentials.service.ts`) that OMITS the\n * infra-posture blocks (`logging`/`observability`/`providerSelection`); those are authored on the\n * infra config and kept fresh only in the registry `env`. Any builder that reads config.json raw\n * therefore emits no `OTEL_*`/`LOG_LEVEL`/provider-selection (the `emit*Env` builders early-return\n * on the absent block). Centralising the load+hydrate here makes that invariant UNBYPASSABLE: no\n * emit path constructs its own un-hydrated config. `providedConfig` covers the deploy callers that\n * already hold a config object (k8s/CI receive it through their options).\n */\nexport function loadInfraHydratedConfig(\n env: PlatformEnvironmentConfiguration,\n providedConfig?: PlatformEnvConfigJson | null,\n): PlatformEnvConfigJson {\n const config = providedConfig ?? EnvironmentUtils.loadConfigJson(env.name);\n if (!config) {\n throw new Error(`config.json not found for env '${env.name}' — run setup first`);\n }\n hydrateInfraPostureFromEnv(config, env);\n return config;\n}\n\n/**\n * A single container/Service port on the single-pod app deployment. `name` is a\n * K8s-valid port name (lowercase, `[a-z0-9-]`, ≤15 chars); `containerPort` is the\n * authored/derived port the app process listens on.\n */\nexport interface K8sPodPort {\n name: string;\n containerPort: number;\n}\n\n/**\n * ## Where an application's runtime targets are anchored\n *\n * Every application runtime target — backend, companion, frontend, worker, minion, and the operator\n * `.env` at the application root — carries the APPLICATION root (absolute) and a path relative to\n * it. Writers join the two; nothing about a target refers to the framework.\n *\n * Until 2026-09-06 `relativeDir` was relative to the FRAMEWORK repository root and every writer\n * joined it onto the framework path (`examples/wonder-todos/backend-api`). That assumed an\n * application lives under `examples/` of a checkout, which is true of the framework-developer lane\n * and of nothing else: an app-creator application (npm-installed CLI, application at `~/my-app`)\n * resolved every target as \"outside the framework root\" and could never receive a `.env`, so it\n * could bring the platform up and never register against it. The framework root is not a property\n * of an application; the application root is, and the framework-developer paths are unchanged by\n * the move (`<checkout>/examples/wonder-todos` + `backend-api` is the same file as before).\n */\nexport interface ApplicationRuntimeTargetAnchor {\n /** The application root (absolute): the directory holding `wildo.saas.config.ts`. */\n applicationRoot: string;\n /** Path from {@link applicationRoot} to the target's own directory. */\n relativeDir: string;\n}\n\nexport interface ApplicationBackendEnvTarget extends ApplicationRuntimeTargetAnchor {\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n bootstrapCredentials: AppBootstrapCredentials;\n serviceName: string;\n /**\n * The APPLICATION root (absolute) every target of this application is anchored on — the\n * directory holding `wildo.saas.config.ts`. See {@link ApplicationRuntimeTargetAnchor}.\n */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the backend-api directory (e.g. `backend-api`). */\n relativeDir: string;\n /** Absolute app-layout authority shared by every local backend/minion and the companion, independent of service nesting depth. */\n applicationRuntimeSignalsHome: string;\n appDatabaseName?: string;\n /**\n * Authored `wildo.saas.config.dataServices.redis.keyPrefix` (Slice 3.6).\n * Emitted as `REDIS_KEY_PREFIX` in the per-app `.env` and consumed by\n * `RedisService` as the canonical app-level Redis key namespace.\n */\n redisKeyPrefix?: string;\n /**\n * Authored `wildo.saas.config.dataServices.s3.bucketPrefix` (Slice 3.6).\n * Emitted as `STORAGE_BUCKET_PREFIX` in the per-app `.env` and prepended\n * to every application object key by `WildoManagedStorageProvider`.\n */\n storageBucketPrefix?: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n /**\n * App-level deploy context (identical across a given app's backend targets,\n * like {@link runtimeEndpoints}): the app slug + serviceHosts-driven ingress\n * routes (each targeting a per-service Service) the CI render path emits for\n * the k8s ingress / compose Traefik lane. Populated for REMOTE only.\n */\n appName?: string;\n ingressRoutes?: K8sIngressRoute[];\n /**\n * Per-service model: the BACKEND pod's ports (NOT the whole app) — the primary\n * backend + its internal-only API siblings (`health`/`webhook`/`oauth`/`mcp` =\n * `mainBackendApiPort - 1..-4`, mirroring `buildK8sApplicationRuntimeEndpoints`).\n * Frontends are separate nginx Deployments ({@link frontends}), not folded in\n * here. The internal siblings must be Service-exposed too — other in-cluster\n * pods reach them via cluster-DNS on those ports. REMOTE only.\n */\n podPorts?: K8sPodPort[];\n /** Primary-backend health port (`mainBackendApiPort - 1`); drives the backend's k8s probes. Remote only. */\n healthPort?: number;\n /**\n * Per-service model: the app's public frontends, each deploying as its OWN\n * nginx Deployment + Service. `serviceName` is the k8s object + built image\n * name; `port` is the authored `defaultPort` the frontend Service exposes\n * (→ nginx :80). Same value across a given app's backend targets. REMOTE only.\n */\n frontends?: Array<{\n serviceName: string;\n port: number;\n /** Effective isolation for this frontend's nginx pod — see {@link ApplicationBackendEnvTarget.isolation}. */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n }>;\n /**\n * Effective container isolation for the BACKEND pod, already resolved through\n * `resolveAppServiceIsolation` — the authored block merged with the\n * kind-correct defaults, never the raw authored value.\n *\n * Resolved once at the config boundary rather than at each renderer because\n * two renderers consume it (k8s manifests, the compose app lane) and a\n * per-renderer fallback is how the same service row ends up running as\n * different users in two lanes.\n *\n * Carries only the authorable knobs. The floor — non-root, read-only rootfs,\n * dropped capabilities, seccomp, no service-account token — is emitted\n * unconditionally by both renderers and is deliberately not representable\n * here, so no caller can hand a value that lowers it.\n */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n /**\n * Backend→worker dispatch URLs (G-8 / MW4), keyed by the worker's\n * `wildo.saas.config.ts` bucket name → `http://{appSlug}-worker-{name}:{port}`.\n * Emitted into the backend env as `WILDO_WORKER_<NAME>_URL` so the backend's\n * `WorkerRemoteClientFactory` can reach each declared worker's per-app k8s\n * Service — or, for LOCAL, the supervised worker process on loopback at its\n * authored port. Populated for BOTH location types since #426: it was REMOTE\n * only, which left the dispatch address absent in the one environment where\n * anyone could exercise the chain, so nobody ever had. Same value across a\n * given app's backend targets, like {@link runtimeEndpoints}.\n */\n workerUrls?: Record<string, string>;\n extraEnv?: Record<string, string>;\n}\n\nexport interface CompanionPlatformEnvTarget extends ApplicationRuntimeTargetAnchor {\n bootstrapCredentials: AppBootstrapCredentials;\n serviceName: string;\n /** The application root the companion belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the generated companion package (`.wildo-saas/wildo-dev-companion`). */\n relativeDir: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n extraEnv?: Record<string, string>;\n}\n\nexport interface ApplicationFrontendEnvExampleTarget extends ApplicationRuntimeTargetAnchor {\n serviceName: string;\n /** The application root the frontend belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the frontend directory (e.g. `frontend`). */\n relativeDir: string;\n envExample: Record<string, string>;\n}\n\n/**\n * App-root operator environment generated from authored infra configuration.\n * This target is deliberately distinct from backend/frontend runtime targets:\n * it serves local developer tools and must never carry deployment secrets.\n */\nexport enum ApplicationOperatorEnvFileDisposition {\n WRITE = 'WRITE',\n REMOVE = 'REMOVE',\n}\n\ninterface ApplicationOperatorEnvTargetBase {\n /** The SaaS application root (absolute) whose `.env` this target owns — the anchor of {@link ApplicationRuntimeTargetAnchor}, with no `relativeDir` because the target IS the root. */\n applicationRoot: string;\n}\n\nexport type ApplicationOperatorEnvTarget = ApplicationOperatorEnvTargetBase & (\n | {\n disposition: ApplicationOperatorEnvFileDisposition.WRITE;\n env: {\n [ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY]: string;\n [ApplicationCreationVerificationEnvKey.SILENT]: string;\n };\n }\n | {\n disposition: ApplicationOperatorEnvFileDisposition.REMOVE;\n }\n);\n\nexport interface ApplicationWorkerEnvTarget extends ApplicationRuntimeTargetAnchor {\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n bootstrapCredentials: AppBootstrapCredentials;\n workerName: string;\n serviceName: string;\n /** The application root the worker belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the worker directory (e.g. `workers/my-rust-worker`). */\n relativeDir: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n extraEnv?: Record<string, string>;\n /**\n * Authored `wildo.worker.config.ts > http`, default-applied (WorkerHttpSchema:\n * port 8080, healthPath /healthz, readyPath /readyz). Nested `http` object\n * (structurally a `WorkerHttp`) populated for every env — projected into the\n * worker `.env` (WORKER_HTTP_PORT/…) AND, for REMOTE, driving the per-worker\n * k8s Deployment container port + probes (shared by env-gen and k8s render).\n */\n http?: { port: number; healthPath: string; readyPath: string; metricsPath?: string };\n /**\n * REMOTE k8s deploy context (Phase 8) — the app slug this worker belongs to\n * plus the authored `replicas`. Drives the per-worker Deployment + ClusterIP\n * Service render. Populated for REMOTE only.\n */\n appName?: string;\n replicas?: number;\n /**\n * Authored `wildo.worker.config.ts > isolation`, schema-defaulted. Same shape,\n * same floor/authorable split and same two-renderer consumption as the minion\n * field below — see its JSDoc for why the floor is absent from this type.\n *\n * `runAsUser` genuinely varies per worker image and is why the uid stays\n * authorable at all: Wonder Todos' Node worker runs as `USER node` (1000)\n * while its Rust worker is distroless `nonroot` (65532). A single hardcoded\n * uid would make one of the two unable to read its own image layers.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n}\n\n/**\n * Minions run the full backend pipeline (headless mode), so their env\n * contract mirrors ApplicationBackendEnvTarget: same data-service keys,\n * same bootstrap identity, same runtime topology. The `minionName` field\n * carries the authored bucket key from `wildo.saas.config.ts > minions`\n * for logging and error messages; it is deliberately NOT emitted as an\n * `APP_OWNED_SERVICE_NAME` env var. The Node minion runtime sources its\n * identity from its compiled-in `defineMinionInit({ minionName })` config\n * (cross-validated against the fetched `appConfig.minions[name]`), so an\n * env identity would be a second, drift-prone authority. See the\n * `BackgroundRuntimeType` model JSDoc in `@wildo-ai/saas-models` for the\n * worker (env-read) vs minion (compiled-in) identity distinction.\n */\nexport interface ApplicationMinionEnvTarget extends ApplicationRuntimeTargetAnchor {\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n /**\n * What this minion DECLARED about its access — forwarded to the env builder,\n * which withholds a backing service's topology from a runtime that may not\n * reach it (Step 5-egress / R-COHERENCE). Required, because an omitted\n * declaration and a declaration of nothing are different statements.\n */\n accessDeclaration: RuntimeAccessDeclaration;\n bootstrapCredentials: AppBootstrapCredentials;\n minionName: string;\n serviceName: string;\n /** The application root the minion belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the minion directory (e.g. `services/minions/marketing-scrapper`). */\n relativeDir: string;\n /** Absolute app-layout authority shared with the companion; never derive it from the minion directory. */\n applicationRuntimeSignalsHome: string;\n appDatabaseName?: string;\n redisKeyPrefix?: string;\n storageBucketPrefix?: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n /**\n * Authored `wildo.minion.config.ts > isolation`, schema-defaulted. Consumed by\n * BOTH deploy renderers (k8s securityContext + volumes; compose\n * `user`/`read_only`/`tmpfs`/`pids_limit`), which is why it is not confined to\n * the REMOTE-only fields below.\n *\n * Carries only the authorable knobs. The security floor — non-root, read-only\n * root filesystem, dropped capabilities, seccomp, no service-account token —\n * is emitted unconditionally by the renderers and is deliberately absent from\n * this shape, so no caller can hand a value that lowers it.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n extraEnv?: Record<string, string>;\n /**\n * REMOTE k8s deploy context (Phase 8) — the app slug this minion belongs to\n * plus the authored `wildo.minion.config.ts > reinstantiation` + `liveness`.\n * The render maps `reinstantiationPolicy` → K8s strategy\n * (`kill_previous`→Recreate, `let_run`→RollingUpdate) and builds the liveness\n * `exec` command from the liveness spec. Populated for REMOTE only.\n */\n appName?: string;\n reinstantiationPolicy?: 'kill_previous' | 'let_run';\n gracePeriodSec?: number;\n liveness?: {\n kind: 'file' | 'exec';\n filePath?: string;\n staleAfterSec?: number;\n execCommand?: string[];\n };\n}\n\nexport function buildPlatformServiceEnvMap(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n frameworkPath: string,\n): Record<string, Record<string, string>> {\n // Single load+hydrate seam (loadInfraHydratedConfig): the setup-time config.json omits the\n // infra-posture blocks, so the platform hosts (same otel-preload `--import` + flush logic) would\n // emit no OTEL_*/LOG_LEVEL without this. Reached from BOTH `local up` (platform-lifecycle) and the\n // env-file wrapper below.\n const config = loadInfraHydratedConfig(env);\n\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.HOST_FACING);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n // Each platform host tags its OTel `service.version` from its OWN package.json version (audit A-10\n // parity with the app hosts). Resolved here because this is where the framework repository root is\n // available; the pure env-map builders receive the already-read version string.\n const repositoryRoot = resolveFrameworkLayout(frameworkPath).repositoryRoot;\n\n const envByDir: Record<string, Record<string, string>> = {\n [PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir]:\n PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, config, env, {\n serviceVersion: readHostVersion(\n repositoryRoot,\n PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir,\n ),\n }),\n };\n\n for (const service of BOOTSTRAP_PLATFORM_SERVICES) {\n envByDir[PLATFORM_SERVICE_CATALOG[service].sourceDir] = PlatformEnvVarsBuilder.buildBootstrapEnv(\n service,\n credentials,\n addresses,\n config,\n env,\n readHostVersion(repositoryRoot, PLATFORM_SERVICE_CATALOG[service].sourceDir),\n );\n }\n\n return envByDir;\n}\n\nexport function generatePlatformServiceEnvFiles(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n credentials: PlatformEnvSecretsJson,\n log: Logger,\n applicationBackends?: ApplicationBackendEnvTarget[],\n companionApis?: CompanionPlatformEnvTarget[],\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[],\n applicationWorkers?: ApplicationWorkerEnvTarget[],\n applicationMinions?: ApplicationMinionEnvTarget[],\n applicationOperators?: ApplicationOperatorEnvTarget[],\n writePolicy?: {\n /**\n * Skip the SHARED platform-service `.env` writes (apps-manager, module-registry, crontabs) while\n * still writing the invoking application's own targets. Set by `env-sync` when a FOREIGN\n * `wildo local dev` session owns the platform (issue #50): those files carry the running\n * platform's credential basis and are the owner's to regenerate.\n */\n skipPlatformServiceEnvs?: boolean;\n },\n): void {\n const platformServiceEnvs = buildPlatformServiceEnvMap(env, credentials, frameworkPath);\n // Single load+hydrate seam (loadInfraHydratedConfig) for the app-host loops below; the platform\n // hosts are hydrated the same way inside buildPlatformServiceEnvMap above.\n const config = loadInfraHydratedConfig(env);\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.HOST_FACING);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const frameworkLayout = resolveFrameworkLayout(frameworkPath);\n let serviceCount = 0;\n\n // Provider-secrets sink (LOCAL only). Written here — the SOLE writer of every\n // Wildo non-compose `.env` — so it is present exactly whenever the backend\n // `.env` is, after `wildo config sync` AND after the `wildo local dev`\n // bootstrap, for out-of-band consumers (framework-dev test harnesses).\n const providerSecretsEnvPath = generateProviderSecretsEnvFile(env, credentials);\n if (providerSecretsEnvPath) {\n log.success(` Generated provider-secrets env file: ${providerSecretsEnvPath}`);\n }\n\n if (writePolicy?.skipPlatformServiceEnvs !== true) {\n writeEnvFile(\n join(\n frameworkLayout.repositoryRoot,\n PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir,\n FILE_NAMES.DOT_ENV,\n ),\n platformServiceEnvs[PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir],\n );\n serviceCount++;\n\n for (const [dir, serviceEnv] of Object.entries(platformServiceEnvs)) {\n if (dir === PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir) {\n continue;\n }\n writeEnvFile(join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV), serviceEnv);\n serviceCount++;\n }\n\n log.success(` Generated .env files for ${serviceCount} platform services`);\n }\n\n if (applicationOperators?.length) {\n for (const operator of applicationOperators) {\n applyApplicationOperatorEnvTarget(operator);\n }\n log.success(` Reconciled .env files for ${applicationOperators.length} application operator root(s)`);\n }\n\n if (applicationBackends?.length) {\n let appCount = 0;\n for (const app of applicationBackends) {\n assertNoApplicationBackendReservedEnvOverrides(app.extraEnv, `application backend ${app.serviceName}`);\n const appEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n app.bootstrapCredentials,\n app.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n declaredProviderScope(app.scopedProviderRefs),\n {\n serviceVersion: readHostVersion(app.applicationRoot, app.relativeDir),\n appDatabaseName: app.appDatabaseName,\n redisKeyPrefix: app.redisKeyPrefix,\n storageBucketPrefix: app.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n runtimeSignalsHome: env.locationType === WildoLocationType.LOCAL\n ? app.applicationRuntimeSignalsHome\n : undefined,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: app.runtimeEndpoints,\n /*\n * Backend→worker dispatch URLs (#426). The target has carried these since G-8 and this\n * writer did not forward them, so `WILDO_WORKER_<NAME>_URL` reached the k8s render and\n * never reached a developer's `backend-api/.env` — the second site of the same invariant,\n * and the reason the chain was unreachable in the only environment anyone could try it in.\n *\n * Forwarded unconditionally: whether a LOCAL target HAS a URL is decided once, in\n * `buildApplicationWorkerDispatchUrls`, and re-deciding it here would be a second opinion\n * about the same question.\n */\n workerUrls: app.workerUrls,\n },\n ),\n ...(app.extraEnv ?? {}),\n };\n // LOCAL-lane durable trust-anchor dir for the immudb audit provider (cross-restart tamper-evidence).\n // Provision it ONLY when immudb audit is configured (its connection secret is present) and not\n // already pinned by the operator. The value is a host absolute path under the durable local_data\n // tier — preserved by `wildo local down`, wiped by `reset` (on reset immudb re-provisions with a\n // new uuid, so a lingering anchor safely re-bootstraps rather than false-alarming). This is the\n // LOCAL mechanism ONLY: a host path is meaningless inside a container. REMOTE (staging/production)\n // provisions the anchor on a durable IN-CONTAINER volume instead — the k8s app-backend Deployment\n // mounts a PVC and sets IMMUDB_STATE_DIR (`K8sManifestGenerator.buildForApplication` /\n // `renderApplicationForTarget` + `backend.immudb-audit-state.pvc.yaml.hbs`), and the compose app\n // backend mounts a named volume and sets IMMUDB_STATE_DIR (`docker-compose.app.yml.hbs`, wired in\n // `generateCiDeployArtifacts`). Both use `IMMUDB_AUDIT_STATE_CONTAINER_DIR`.\n if (\n env.locationType === WildoLocationType.LOCAL &&\n credentials.providerEnv?.IMMUDB_HOST &&\n !appEnv['IMMUDB_STATE_DIR']\n ) {\n appEnv['IMMUDB_STATE_DIR'] = EnvironmentPaths.resolveScopedLocalDataServiceDir(app.applicationRoot, 'immudb-audit-state');\n }\n writeEnvFile(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV), appEnv);\n appCount++;\n }\n log.success(` Generated .env files for ${appCount} application backend(s)`);\n }\n\n if (companionApis?.length) {\n let companionCount = 0;\n for (const companion of companionApis) {\n const companionEnv = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(\n companion.bootstrapCredentials,\n companion.serviceName,\n credentials,\n addresses,\n config,\n env,\n {\n runtimeEndpoints: companion.runtimeEndpoints,\n host: companion.extraEnv?.HOST,\n port: companion.extraEnv?.PORT ? Number(companion.extraEnv.PORT) : undefined,\n serviceVersion: readHostVersion(companion.applicationRoot, companion.relativeDir),\n },\n );\n writeEnvFile(\n join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV),\n companionEnv,\n );\n companionCount++;\n }\n log.success(` Generated .env files for ${companionCount} companion API service(s)`);\n }\n\n if (applicationFrontends?.length) {\n let frontendCount = 0;\n for (const frontend of applicationFrontends) {\n // BOTH files, and `.env` is the one that matters.\n //\n // Every other service kind here writes `FILE_NAMES.DOT_ENV`. Frontends stopped at\n // `.env.example`, which Vite's `loadEnv` never reads — so the file the dev server actually\n // consumes was generated by nobody and maintained by hand. That is not a cosmetic gap:\n // `environment-hydration.utils.ts` records what it cost on 2026-08-13. Sync reconciled an\n // edge scheme into `.env.example` and `APPLICATION_RUNTIME_ENDPOINTS`, the hand-written\n // `app/.env` kept its older value, the browser sent an `Origin` the backend did not expect,\n // and `_validateFrontendAppOrigin` refused every `POST /auth/identify` with a 403. Login was\n // completely broken and nothing in any log named the cause.\n //\n // Generating `.env` makes the frontend match every sibling: the file the runtime reads is the\n // file this generator owns, so it cannot drift from the topology it was derived from. A\n // developer who needs a local override still has Vite's `.env.local`, which takes precedence\n // and is not generated — the supported seam for that, rather than editing a derived file.\n //\n // `.env.example` is still written, unchanged, as the committed reference for a fresh clone.\n const frontendDirectory = join(frontend.applicationRoot, frontend.relativeDir);\n writeEnvFile(join(frontendDirectory, '.env.example'), frontend.envExample);\n writeEnvFile(join(frontendDirectory, FILE_NAMES.DOT_ENV), frontend.envExample);\n frontendCount++;\n }\n log.success(` Generated .env and .env.example files for ${frontendCount} application frontend(s)`);\n }\n\n if (applicationWorkers?.length) {\n let workerCount = 0;\n for (const worker of applicationWorkers) {\n const workerEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationWorkerEnv(\n worker.bootstrapCredentials,\n worker.workerName,\n worker.serviceName,\n credentials,\n config,\n env.name,\n declaredProviderScope(worker.scopedProviderRefs),\n {\n // Project the authored HTTP surface (carried on the target,\n // default-applied from `wildo.worker.config.ts > http` and shared\n // with the REMOTE k8s render) into the worker `.env`.\n http: worker.http,\n serviceVersion: readHostVersion(worker.applicationRoot, worker.relativeDir),\n runtimeEndpoints: worker.runtimeEndpoints,\n },\n ),\n ...(worker.extraEnv ?? {}),\n };\n writeEnvFile(join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV), workerEnv);\n workerCount++;\n }\n log.success(` Generated .env files for ${workerCount} application worker(s)`);\n }\n\n if (applicationMinions?.length) {\n let minionCount = 0;\n for (const minion of applicationMinions) {\n assertNoApplicationBackendReservedEnvOverrides(minion.extraEnv, `application minion ${minion.serviceName}`);\n const minionEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationMinionEnv(\n minion.bootstrapCredentials,\n minion.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n declaredProviderScope(minion.scopedProviderRefs),\n minion.accessDeclaration,\n {\n appDatabaseName: minion.appDatabaseName,\n redisKeyPrefix: minion.redisKeyPrefix,\n storageBucketPrefix: minion.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n runtimeSignalsHome: env.locationType === WildoLocationType.LOCAL\n ? minion.applicationRuntimeSignalsHome\n : undefined,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: minion.runtimeEndpoints,\n serviceVersion: readHostVersion(minion.applicationRoot, minion.relativeDir),\n },\n ),\n ...(minion.extraEnv ?? {}),\n };\n writeEnvFile(join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV), minionEnv);\n minionCount++;\n }\n log.success(` Generated .env files for ${minionCount} application minion(s)`);\n }\n}\n\n/**\n * Emit the per-env provider-SECRETS env file — the exact runtime provider env\n * (`PlatformEnvVarsBuilder.buildRuntimeProviderEnv`: authored `providerEnv` +\n * framework-injected immudb state key) the backend/companion/worker receive,\n * projected as a standalone `.env` for out-of-band consumers that are NOT\n * launched by `wildo local dev` (framework-dev integration test harnesses,\n * ad-hoc scripts). Carries the SAME provider VALUES as the backend `.env` (one\n * authority — `buildRuntimeProviderEnv`), so it never drifts.\n *\n * Serialized with dotenv double-quote escaping (see {@link encodeDotenvValue}),\n * NOT the raw `writeEnvFile` used for the backend `.env`: the framework-injected\n * `IMMUDB_STATE_PUBLIC_KEY` is a MULTI-LINE SPKI PEM, and a bare `key=value`\n * would split it across physical lines and break the harness loader. Escaping\n * keeps every value on one physical line and round-trips through the matched\n * loader (`engine-behavior-e2e/src/provider-env.ts`) and a standard `.env`\n * parser. Single-line values (API keys) are emitted bare, unchanged.\n *\n * DISTINCT from the runtime-SCOPE `.wildo-providers.env`\n * (`PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME`), which carries the provider\n * allow-list artifact PATH, not secret values. Never conflate them.\n *\n * LOCAL-only: remote/CI provider secrets are delivered via k8s `providers-secret`,\n * never a local plaintext file. Returns the written path, or `null` when skipped\n * (non-local env, or zero provider secrets to emit).\n */\nexport function generateProviderSecretsEnvFile(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n): string | null {\n if (env.locationType !== WildoLocationType.LOCAL) return null;\n const providerEnv = PlatformEnvVarsBuilder.buildRuntimeProviderEnv(credentials);\n if (Object.keys(providerEnv).length === 0) return null;\n const filePath = join(\n EnvironmentPaths.resolveGeneratedProvidersDir(env.name),\n FILE_NAMES.PROVIDER_SECRETS_ENV,\n );\n const dir = dirname(filePath);\n if (!existsSync(dir)) mkdirSync(dir, { recursive: true });\n const content = Object.entries(providerEnv)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n writeFileSync(filePath, `${GENERATED_FILE_HEADER}\\n\\n${content}\\n`);\n return filePath;\n}\n\n/**\n * dotenv encoding — the single escaping authority for EVERY `.env` this module writes\n * (the per-service files via {@link writeEnvFile} and the provider-secrets sink).\n *\n * ## What the reader actually does\n *\n * These files are read by Node processes through the `dotenv` package, whose quoting rules are\n * asymmetric and are the whole reason this function is not a one-liner:\n *\n * | Form | dotenv behaviour |\n * |-----------------|-----------------------------------------------------------------------|\n * | bare | verbatim to end of line, but TRIMMED and truncated at an inline `#` |\n * | `\"…\"` | quotes stripped, `\\n` / `\\r` EXPANDED — but `\\\"` and `\\\\` are NOT unescaped |\n * | `'…'` | quotes stripped, contents fully VERBATIM (real newlines included) |\n * | `` `…` `` | same as single quotes, verbatim |\n *\n * The double-quoted row is the trap. Escaping `\"` as `\\\"` (the JSON/shell reflex) is silently\n * LOSSY here: dotenv hands the consumer the literal backslashes. That is exactly how every\n * JSON-valued var — `APPLICATION_RUNTIME_ENDPOINTS`, `WILDO_PROVIDER_SELECTION_OVERRIDES`,\n * `WILDO_SERVICE_HOSTS` — reached `JSON.parse` as `{\\\"k\\\":…}` and threw\n * `Expected property name or '}' at position 1`, crash-looping backend-api, every minion and the\n * dev companion at startup while the error surfaced as an env *validation* failure. The same\n * lossiness applies to `\\\\`, so a value containing a real backslash was corrupted too.\n *\n * ## The encoding chosen here\n *\n * Escape only what the reader unescapes, and otherwise quote VERBATIM:\n *\n * 1. bare — for clean single-line values (API keys, URLs, ports), keeping files readable/diff-stable;\n * 2. double quotes with `\\n` / `\\r` escaped — the ONLY branch that escapes anything, and it is\n * entered only when the value has no `\"` and no `\\`, so nothing lossy can be emitted. This keeps\n * a multi-line SPKI PEM (`IMMUDB_STATE_PUBLIC_KEY`) on ONE physical line exactly as before;\n * 3. single quotes, verbatim — carries `\"` and `\\` (the JSON case) losslessly;\n * 4. backticks, verbatim — for a value carrying `'` as well;\n * 5. throw — a value carrying all three quote characters has no lossless dotenv form. Fail closed\n * at generation time rather than write config that silently misparses at startup.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`) — never pre-quoted — so encoding happens exactly once, here.\n *\n * This is the LOCAL dotenv sink only. The compose (`encodeComposeEnvValue`), CI (`formatEnvFile`)\n * and k8s (raw base64) sinks have different readers and therefore different contracts — do not\n * unify them, and do not push encoding back onto the builders.\n */\nfunction encodeDotenvValue(key: string, value: string): string {\n const hasNewline = /[\\n\\r]/.test(value);\n const hasDoubleQuote = value.includes('\"');\n const hasSingleQuote = value.includes(\"'\");\n const hasBacktick = value.includes('`');\n const hasBackslash = value.includes('\\\\');\n\n if (\n !hasNewline &&\n !hasDoubleQuote &&\n !hasSingleQuote &&\n !hasBacktick &&\n !value.includes('#') &&\n value !== '' &&\n value === value.trim()\n ) {\n return value;\n }\n\n // Safe ONLY without `\"` / `\\`, the two characters dotenv refuses to unescape.\n if (!hasDoubleQuote && !hasBackslash) {\n return `\"${value.replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r')}\"`;\n }\n\n if (!hasSingleQuote) return `'${value}'`;\n\n if (!hasBacktick) return `\\`${value}\\``;\n\n throw new Error(\n `Cannot encode env var \"${key}\" for a dotenv file: its value contains a double quote, a single quote and a backtick, ` +\n `so no dotenv quoting form can carry it without corruption. Reshape the value at its builder.`,\n );\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\n/**\n * Write one generated `.env`, serializing every value through {@link encodeDotenvValue}.\n *\n * These files are loaded by Node processes through the `dotenv` package. That reader — not any\n * general notion of \"escaped\" — is the contract {@link encodeDotenvValue} is written against.\n *\n * Two defects came from ignoring it, in opposite directions, and both are pinned by tests:\n * - a bare `key=value` silently BROKE every multi-line value: the immudb `IMMUDB_STATE_PUBLIC_KEY`\n * SPKI PEM spilled across four physical lines and dotenv kept only `-----BEGIN PUBLIC KEY-----`,\n * so the audit client could not parse its pinned key and fail-closed into a FALSE\n * \"immudb audit store TAMPER DETECTED\";\n * - the escaping added to fix that then over-reached and escaped `\"` as `\\\"`, which dotenv does NOT\n * unescape, so every JSON-valued var (`APPLICATION_RUNTIME_ENDPOINTS`, …) reached `JSON.parse`\n * with literal backslashes and crash-looped backend-api, the minions and the companion.\n *\n * Encoding is the serializer's job — do not push it back onto the builders (the k8s and compose\n * sinks have different readers and would then receive literal quotes).\n */\nfunction writeEnvFile(filePath: string, env: Record<string, string>): void {\n const dir = dirname(filePath);\n if (!existsSync(dir)) {\n mkdirSync(dir, { recursive: true });\n }\n\n const content = Object.entries(env)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n\n writeFileSync(filePath, GENERATED_FILE_HEADER + '\\n\\n' + content + '\\n');\n}\n\nconst APPLICATION_OPERATOR_ENV_HEADER = `${GENERATED_FILE_HEADER}\\n# application-creation-verification operator environment`;\nconst APPLICATION_OPERATOR_WRITABLE_ENV_KEYS = [\n ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY,\n ApplicationCreationVerificationEnvKey.SILENT,\n] as const;\n\n/**\n * Reconcile the CLI-owned app-root operator env without following symlinks.\n *\n * The component checks cover hostile state that already exists when sync owns\n * the path. Descriptor-relative publication is not available through Node's\n * portable filesystem API, so this does not claim race freedom against an\n * actively mutating same-UID process; the final file itself is opened with\n * `O_NOFOLLOW` and rechecked against its pathname identity.\n */\nfunction applyApplicationOperatorEnvTarget(target: ApplicationOperatorEnvTarget): void {\n const applicationRoot = resolveCanonicalApplicationOperatorRoot(target.applicationRoot);\n const filePath = join(applicationRoot, FILE_NAMES.DOT_ENV);\n\n if (target.disposition === ApplicationOperatorEnvFileDisposition.REMOVE) {\n removeOwnedApplicationOperatorEnvFile(filePath);\n return;\n }\n\n const suppliedKeys = Object.keys(target.env).sort();\n const expectedKeys = [...APPLICATION_OPERATOR_WRITABLE_ENV_KEYS].sort();\n if (suppliedKeys.length !== expectedKeys.length || suppliedKeys.some((key, index) => key !== expectedKeys[index])) {\n throw new Error(`Application operator environment must contain exactly: ${expectedKeys.join(', ')}.`);\n }\n\n const content = Object.entries(target.env)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n let created = false;\n let descriptor: number;\n try {\n descriptor = openSync(\n filePath,\n fsConstants.O_WRONLY | fsConstants.O_CREAT | fsConstants.O_EXCL | fsConstants.O_NOFOLLOW,\n 0o600,\n );\n created = true;\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code !== 'EEXIST') throw error;\n descriptor = openSync(filePath, fsConstants.O_RDWR | fsConstants.O_NOFOLLOW);\n }\n try {\n const opened = fstatSync(descriptor);\n if (!opened.isFile()) {\n throw new Error(`Application operator environment target is not a regular file: ${filePath}.`);\n }\n assertCurrentUserSingleLinkFile(opened, filePath, ApplicationOperatorEnvironmentFileOperation.PUBLICATION);\n if (!created && !readFileSync(descriptor, 'utf8').startsWith(`${APPLICATION_OPERATOR_ENV_HEADER}\\n`)) {\n throw new Error(`Refusing to overwrite an app-root .env file not owned by application-creation verification: ${filePath}.`);\n }\n fchmodSync(descriptor, 0o600);\n ftruncateSync(descriptor, 0);\n // ⚠️ Written at an EXPLICIT position 0, not via `writeFileSync(fd, …)`.\n //\n // The ownership check above calls `readFileSync(descriptor)`, which ADVANCES\n // the descriptor's file position to EOF. `ftruncateSync` resets the file's\n // LENGTH but not that position, so a positionless write lands at the old\n // offset and the kernel fills the gap with NUL bytes.\n //\n // The failure is self-inflicting and delayed, which is what made it hard to\n // see: the write SUCCEEDS and the file reads correctly to a human (the NULs\n // are invisible in most editors), but the header no longer sits at byte 0 —\n // so the NEXT sync fails the `startsWith(HEADER)` check and refuses to\n // overwrite a file the framework itself had just written. Observed on Wonder\n // Todos as exactly 240 NUL bytes in front of 240 bytes of correct content.\n writeSync(descriptor, `${APPLICATION_OPERATOR_ENV_HEADER}\\n\\n${content}\\n`, 0, 'utf8');\n const current = lstatSync(filePath);\n assertCurrentUserSingleLinkFile(current, filePath, ApplicationOperatorEnvironmentFileOperation.PUBLICATION);\n if (current.isSymbolicLink() || current.dev !== opened.dev || current.ino !== opened.ino) {\n throw new Error(`Application operator environment pathname identity changed during publication: ${filePath}.`);\n }\n } finally {\n closeSync(descriptor);\n }\n}\n\nfunction removeOwnedApplicationOperatorEnvFile(filePath: string): void {\n try {\n lstatSync(filePath);\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code === 'ENOENT') return;\n throw error;\n }\n\n const descriptor = openSync(filePath, fsConstants.O_RDONLY | fsConstants.O_NOFOLLOW);\n try {\n const opened = fstatSync(descriptor);\n if (!opened.isFile()) {\n throw new Error(`Application operator environment removal target is not a regular file: ${filePath}.`);\n }\n assertCurrentUserSingleLinkFile(opened, filePath, ApplicationOperatorEnvironmentFileOperation.REMOVAL);\n const content = readFileSync(descriptor, 'utf8');\n if (!content.startsWith(`${APPLICATION_OPERATOR_ENV_HEADER}\\n`)) {\n throw new Error(`Refusing to remove an app-root .env file not owned by application-creation verification: ${filePath}.`);\n }\n const current = lstatSync(filePath);\n assertCurrentUserSingleLinkFile(current, filePath, ApplicationOperatorEnvironmentFileOperation.REMOVAL);\n if (current.isSymbolicLink() || current.dev !== opened.dev || current.ino !== opened.ino) {\n throw new Error(`Application operator environment pathname identity changed before removal: ${filePath}.`);\n }\n unlinkSync(filePath);\n } finally {\n closeSync(descriptor);\n }\n}\n\n/**\n * Which side of the operator-environment file lifecycle a single-link assertion is guarding.\n *\n * The member VALUES are interpolated verbatim into the thrown messages (\"… environment publication\n * requires …\"), so they read as prose while still being a closed two-member vocabulary rather than\n * a free-form string an caller could mistype into an incoherent error.\n */\nenum ApplicationOperatorEnvironmentFileOperation {\n /** Writing the operator environment file. */\n PUBLICATION = 'publication',\n /** Unlinking the operator environment file. */\n REMOVAL = 'removal',\n}\n\nfunction assertCurrentUserSingleLinkFile(\n status: { uid: number; nlink: number },\n filePath: string,\n operation: ApplicationOperatorEnvironmentFileOperation,\n): void {\n if (typeof process.getuid !== 'function') {\n throw new Error(`Application operator environment ${operation} cannot establish current-user ownership on this platform: ${filePath}.`);\n }\n if (status.uid !== process.getuid() || status.nlink !== 1) {\n throw new Error(`Application operator environment ${operation} requires a current-user-owned single-link file: ${filePath}.`);\n }\n}\n\n/**\n * The canonical directory the operator `.env` is written into: the application root, symlinks\n * resolved, and proven to be a real directory. Until 2026-09-06 this walked every path segment\n * from the FRAMEWORK repository root down to the application and refused anything that was not\n * strictly below it — an application was assumed to live under `examples/` of a checkout. An\n * app-creator application lives wherever its author put it, so the anchor is the application\n * root itself; the write below still opens the file `O_NOFOLLOW` and re-checks its identity.\n */\nfunction resolveCanonicalApplicationOperatorRoot(applicationRoot: string): string {\n const lexicalApplicationRoot = resolve(applicationRoot);\n const status = lstatSync(lexicalApplicationRoot);\n if (!status.isDirectory()) {\n throw new Error(`Application operator environment root is not a directory: ${lexicalApplicationRoot}.`);\n }\n return realpathSync(lexicalApplicationRoot);\n}\n"]}
1
+ {"version":3,"file":"env-configuration-generator.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/env-configuration-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,IAAI,WAAW,EACxB,UAAU,EACV,UAAU,EACV,SAAS,EACT,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa,EACb,SAAS,GACV,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EACL,sBAAsB,EAGtB,2BAA2B,EAC3B,qCAAqC,EACrC,iBAAiB,GAElB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,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CAAC,eAAe,CAAC,CAAC;IACxD,MAAM,MAAM,GAAG,SAAS,CAAC,sBAAsB,CAAC,CAAC;IACjD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,6DAA6D,sBAAsB,GAAG,CAAC,CAAC;IAC1G,CAAC;IACD,OAAO,YAAY,CAAC,sBAAsB,CAAC,CAAC;AAC9C,CAAC","sourcesContent":["import {\n closeSync,\n constants as fsConstants,\n existsSync,\n fchmodSync,\n fstatSync,\n ftruncateSync,\n lstatSync,\n mkdirSync,\n openSync,\n readFileSync,\n realpathSync,\n unlinkSync,\n writeFileSync,\n writeSync,\n} from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport {\n resolveFrameworkLayout,\n type AppBootstrapCredentials,\n type K8sIngressRoute,\n BOOTSTRAP_PLATFORM_SERVICES,\n ApplicationCreationVerificationEnvKey,\n WildoLocationType,\n type RuntimeAccessDeclaration,\n} from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvConfigJson, PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { PlatformWildoServices } from '@wildo-ai/platform-config-lib';\nimport { PLATFORM_SERVICE_CATALOG } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { declaredProviderScope } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport { APPLICATION_BACKEND_ENV_KEY_LIST } from '@wildo-ai/platform-core-shared';\n\nconst APPLICATION_BACKEND_RESERVED_ENV_KEYS = new Set<string>(APPLICATION_BACKEND_ENV_KEY_LIST);\n\nfunction assertNoApplicationBackendReservedEnvOverrides(extraEnv: Readonly<Record<string, string>> | undefined, targetDescription: string): void {\n const overriddenKeys = Object.keys(extraEnv ?? {}).filter((key) => APPLICATION_BACKEND_RESERVED_ENV_KEYS.has(key)).sort();\n if (overriddenKeys.length > 0) {\n throw new Error(`${targetDescription} extraEnv cannot override canonical application-backend environment keys: ${overriddenKeys.join(', ')}`);\n }\n}\n\n/**\n * Read a host package.json `version` for OTel `service.version` (audit A-10). Returns undefined\n * when the file or field is absent — `service.version` is then simply omitted (graceful).\n */\nfunction readHostVersion(repositoryRoot: string, relativeDir: string): string | undefined {\n try {\n const pkg = JSON.parse(\n readFileSync(join(repositoryRoot, relativeDir, 'package.json'), 'utf8'),\n ) as { version?: unknown };\n return typeof pkg.version === 'string' ? pkg.version : undefined;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Hydrate the infra `logging` / `observability` posture onto a freshly-loaded `config.json` from the\n * registry `env` (refreshed from authored infra by `RuntimeBootstrap.refreshEnvFromAuthored`).\n *\n * The setup-time `config.json` (`credentials.service.ts`) OMITS these blocks, and `ensureConfigJson`\n * only self-heals a MISSING file — so a config.json authored before those blocks existed never gains\n * them. The registry `env` is the live TRUTH and must WIN over a (possibly stale) block in config.json\n * (audit A-6 — `env.x ?? config.x`, not `config.x ?? env.x`: authored changes always propagate, while\n * an env that genuinely lacks the block still falls back to config.json). Without this hydration,\n * `emitLoggingEnv` / `emitObservabilityEnv` silently drop `LOG_LEVEL` / `OTEL_*` (Slice 2 Phase 5b).\n *\n * Shared by BOTH `buildPlatformServiceEnvMap` (platform hosts: apps-manager, crontabs, registry) and\n * `generatePlatformServiceEnvFiles` (app hosts). The platform hosts run the same\n * `--import @wildo-ai/saas-backend-lib/otel-preload` and MUST enable OTel identically, so a single\n * shared hydration keeps every host in lockstep — a prior split left the platform-service env map\n * (built from a SEPARATE un-hydrated config load) with no `OTEL_*` while the app hosts had it.\n */\nfunction hydrateInfraPostureFromEnv(\n config: PlatformEnvConfigJson,\n env: PlatformEnvironmentConfiguration,\n): void {\n config.logging = env.logging ?? config.logging;\n config.observability = env.observability ?? config.observability;\n config.providerSelection = env.providerSelection ?? config.providerSelection;\n}\n\n/**\n * The SINGLE seam every env-emitting path uses to obtain the config that feeds an `emit*Env`\n * builder — the local `.env` files AND every deploy generator (compose, k8s, CI). The on-disk\n * config.json is a FROZEN setup snapshot (written by `credentials.service.ts`) that OMITS the\n * infra-posture blocks (`logging`/`observability`/`providerSelection`); those are authored on the\n * infra config and kept fresh only in the registry `env`. Any builder that reads config.json raw\n * therefore emits no `OTEL_*`/`LOG_LEVEL`/provider-selection (the `emit*Env` builders early-return\n * on the absent block). Centralising the load+hydrate here makes that invariant UNBYPASSABLE: no\n * emit path constructs its own un-hydrated config. `providedConfig` covers the deploy callers that\n * already hold a config object (k8s/CI receive it through their options).\n */\nexport function loadInfraHydratedConfig(\n env: PlatformEnvironmentConfiguration,\n providedConfig?: PlatformEnvConfigJson | null,\n): PlatformEnvConfigJson {\n const config = providedConfig ?? EnvironmentUtils.loadConfigJson(env.name);\n if (!config) {\n throw new Error(`config.json not found for env '${env.name}' — run setup first`);\n }\n hydrateInfraPostureFromEnv(config, env);\n return config;\n}\n\n/**\n * A single container/Service port on the single-pod app deployment. `name` is a\n * K8s-valid port name (lowercase, `[a-z0-9-]`, ≤15 chars); `containerPort` is the\n * authored/derived port the app process listens on.\n */\nexport interface K8sPodPort {\n name: string;\n containerPort: number;\n}\n\n/**\n * ## Where an application's runtime targets are anchored\n *\n * Every application runtime target — backend, companion, frontend, worker, minion, and the operator\n * `.env` at the application root — carries the APPLICATION root (absolute) and a path relative to\n * it. Writers join the two; nothing about a target refers to the framework.\n *\n * Until 2026-09-06 `relativeDir` was relative to the FRAMEWORK repository root and every writer\n * joined it onto the framework path (`examples/wonder-todos/backend-api`). That assumed an\n * application lives under `examples/` of a checkout, which is true of the framework-developer lane\n * and of nothing else: an app-creator application (npm-installed CLI, application at `~/my-app`)\n * resolved every target as \"outside the framework root\" and could never receive a `.env`, so it\n * could bring the platform up and never register against it. The framework root is not a property\n * of an application; the application root is, and the framework-developer paths are unchanged by\n * the move (`<checkout>/examples/wonder-todos` + `backend-api` is the same file as before).\n */\nexport interface ApplicationRuntimeTargetAnchor {\n /** The application root (absolute): the directory holding `wildo.saas.config.ts`. */\n applicationRoot: string;\n /** Path from {@link applicationRoot} to the target's own directory. */\n relativeDir: string;\n}\n\nexport interface ApplicationBackendEnvTarget extends ApplicationRuntimeTargetAnchor {\n /** Authored SaaS service key for replica binding. Optional for secret-only targets. */\n serviceKey?: string;\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n bootstrapCredentials: AppBootstrapCredentials;\n serviceName: string;\n /**\n * The APPLICATION root (absolute) every target of this application is anchored on — the\n * directory holding `wildo.saas.config.ts`. See {@link ApplicationRuntimeTargetAnchor}.\n */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the backend-api directory (e.g. `backend-api`). */\n relativeDir: string;\n /** Absolute app-layout authority shared by every local backend/minion and the companion, independent of service nesting depth. */\n applicationRuntimeSignalsHome: string;\n appDatabaseName?: string;\n /**\n * Authored `wildo.saas.config.dataServices.redis.keyPrefix` (Slice 3.6).\n * Emitted as `REDIS_KEY_PREFIX` in the per-app `.env` and consumed by\n * `RedisService` as the canonical app-level Redis key namespace.\n */\n redisKeyPrefix?: string;\n /**\n * Authored `wildo.saas.config.dataServices.s3.bucketPrefix` (Slice 3.6).\n * Emitted as `STORAGE_BUCKET_PREFIX` in the per-app `.env` and prepended\n * to every application object key by `WildoManagedStorageProvider`.\n */\n storageBucketPrefix?: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n /**\n * App-level deploy context (identical across a given app's backend targets,\n * like {@link runtimeEndpoints}): the app slug + serviceHosts-driven ingress\n * routes (each targeting a per-service Service) the CI render path emits for\n * the k8s ingress / compose Traefik lane. Populated for REMOTE only.\n */\n appName?: string;\n ingressRoutes?: K8sIngressRoute[];\n /**\n * Per-service model: the BACKEND pod's ports (NOT the whole app) — the one port\n * its process binds, where health, webhooks, the OAuth provider and MCP are\n * routes (#1783). Frontends are separate nginx Deployments ({@link frontends}),\n * not folded in here. REMOTE only.\n */\n podPorts?: K8sPodPort[];\n /** The port the backend's k8s probes call: the backend's OWN port, where its health routes are served (#1760). Remote only. */\n healthPort?: number;\n /**\n * Per-service model: the app's public frontends, each deploying as its OWN\n * nginx Deployment + Service. `serviceName` is the k8s object + built image\n * name; `port` is the authored `defaultPort` the frontend Service exposes\n * (→ nginx :80). Same value across a given app's backend targets. REMOTE only.\n */\n frontends?: Array<{\n /** Authored SaaS service key, distinct from the generated service/image name. */\n serviceKey?: string;\n serviceName: string;\n port: number;\n /** Effective isolation for this frontend's nginx pod — see {@link ApplicationBackendEnvTarget.isolation}. */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n }>;\n /**\n * Effective container isolation for the BACKEND pod, already resolved through\n * `resolveAppServiceIsolation` — the authored block merged with the\n * kind-correct defaults, never the raw authored value.\n *\n * Resolved once at the config boundary rather than at each renderer because\n * two renderers consume it (k8s manifests, the compose app lane) and a\n * per-renderer fallback is how the same service row ends up running as\n * different users in two lanes.\n *\n * Carries only the authorable knobs. The floor — non-root, read-only rootfs,\n * dropped capabilities, seccomp, no service-account token — is emitted\n * unconditionally by both renderers and is deliberately not representable\n * here, so no caller can hand a value that lowers it.\n */\n isolation?: { runAsUser: number; runAsGroup: number; writablePaths: string[] };\n /**\n * Backend→worker dispatch URLs (G-8 / MW4), keyed by the worker's\n * `wildo.saas.config.ts` bucket name → `http://{appSlug}-worker-{name}:{port}`.\n * Emitted into the backend env as `WILDO_WORKER_<NAME>_URL` so the backend's\n * `WorkerRemoteClientFactory` can reach each declared worker's per-app k8s\n * Service — or, for LOCAL, the supervised worker process on loopback at its\n * authored port. Populated for BOTH location types since #426: it was REMOTE\n * only, which left the dispatch address absent in the one environment where\n * anyone could exercise the chain, so nobody ever had. Same value across a\n * given app's backend targets, like {@link runtimeEndpoints}.\n */\n workerUrls?: Record<string, string>;\n extraEnv?: Record<string, string>;\n}\n\nexport interface CompanionPlatformEnvTarget extends ApplicationRuntimeTargetAnchor {\n bootstrapCredentials: AppBootstrapCredentials;\n serviceName: string;\n /** The application root the companion belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the generated companion package (`.wildo-saas/wildo-dev-companion`). */\n relativeDir: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n extraEnv?: Record<string, string>;\n}\n\nexport interface ApplicationFrontendEnvExampleTarget extends ApplicationRuntimeTargetAnchor {\n serviceName: string;\n /** The application root the frontend belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the frontend directory (e.g. `frontend`). */\n relativeDir: string;\n envExample: Record<string, string>;\n}\n\n/**\n * App-root operator environment generated from authored infra configuration.\n * This target is deliberately distinct from backend/frontend runtime targets:\n * it serves local developer tools and must never carry deployment secrets.\n */\nexport enum ApplicationOperatorEnvFileDisposition {\n WRITE = 'WRITE',\n REMOVE = 'REMOVE',\n}\n\ninterface ApplicationOperatorEnvTargetBase {\n /** The SaaS application root (absolute) whose `.env` this target owns — the anchor of {@link ApplicationRuntimeTargetAnchor}, with no `relativeDir` because the target IS the root. */\n applicationRoot: string;\n}\n\nexport type ApplicationOperatorEnvTarget = ApplicationOperatorEnvTargetBase & (\n | {\n disposition: ApplicationOperatorEnvFileDisposition.WRITE;\n env: {\n [ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY]: string;\n [ApplicationCreationVerificationEnvKey.SILENT]: string;\n };\n }\n | {\n disposition: ApplicationOperatorEnvFileDisposition.REMOVE;\n }\n);\n\nexport interface ApplicationWorkerEnvTarget extends ApplicationRuntimeTargetAnchor {\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n bootstrapCredentials: AppBootstrapCredentials;\n workerName: string;\n serviceName: string;\n /** The application root the worker belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the worker directory (e.g. `workers/my-rust-worker`). */\n relativeDir: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n extraEnv?: Record<string, string>;\n /**\n * Authored `wildo.worker.config.ts > http`, default-applied (WorkerHttpSchema:\n * port 8080, healthPath /healthz, readyPath /readyz). Nested `http` object\n * (structurally a `WorkerHttp`) populated for every env — projected into the\n * worker `.env` (WORKER_HTTP_PORT/…) AND, for REMOTE, driving the per-worker\n * k8s Deployment container port + probes (shared by env-gen and k8s render).\n */\n http?: { port: number; healthPath: string; readyPath: string; metricsPath?: string };\n /**\n * REMOTE k8s deploy context (Phase 8) — the app slug this worker belongs to\n * plus the authored `replicas`. Drives the per-worker Deployment + ClusterIP\n * Service render. Populated for REMOTE only.\n */\n appName?: string;\n replicas?: number;\n /**\n * Authored `wildo.worker.config.ts > isolation`, schema-defaulted. Same shape,\n * same floor/authorable split and same two-renderer consumption as the minion\n * field below — see its JSDoc for why the floor is absent from this type.\n *\n * `runAsUser` genuinely varies per worker image and is why the uid stays\n * authorable at all: Wonder Todos' Node worker runs as `USER node` (1000)\n * while its Rust worker is distroless `nonroot` (65532). A single hardcoded\n * uid would make one of the two unable to read its own image layers.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n}\n\n/**\n * Minions run the full backend pipeline (headless mode), so their env\n * contract mirrors ApplicationBackendEnvTarget: same data-service keys,\n * same bootstrap identity, same runtime topology. The `minionName` field\n * carries the authored bucket key from `wildo.saas.config.ts > minions`\n * for logging and error messages; it is deliberately NOT emitted as an\n * `APP_OWNED_SERVICE_NAME` env var. The Node minion runtime sources its\n * identity from its compiled-in `defineMinionInit({ minionName })` config\n * (cross-validated against the fetched `appConfig.minions[name]`), so an\n * env identity would be a second, drift-prone authority. See the\n * `BackgroundRuntimeType` model JSDoc in `@wildo-ai/saas-models` for the\n * worker (env-read) vs minion (compiled-in) identity distinction.\n */\nexport interface ApplicationMinionEnvTarget extends ApplicationRuntimeTargetAnchor {\n /**\n * Provider refs this runtime's `providers.scopes.*` declares.\n *\n * Threaded so the env builder can drop every provider secret outside the\n * declared scope. Previously the whole `providerEnv` bag was copied into every\n * application runtime, so a minion scoped to `openai` still received the\n * application's `STRIPE_SECRET_KEY` — an authored boundary the credential\n * layer never read.\n */\n scopedProviderRefs: readonly string[];\n /**\n * What this minion DECLARED about its access — forwarded to the env builder,\n * which withholds a backing service's topology from a runtime that may not\n * reach it (Step 5-egress / R-COHERENCE). Required, because an omitted\n * declaration and a declaration of nothing are different statements.\n */\n accessDeclaration: RuntimeAccessDeclaration;\n bootstrapCredentials: AppBootstrapCredentials;\n minionName: string;\n serviceName: string;\n /** The application root the minion belongs to (absolute). See {@link ApplicationRuntimeTargetAnchor}. */\n applicationRoot: string;\n /** Relative path from {@link applicationRoot} to the minion directory (e.g. `services/minions/marketing-scrapper`). */\n relativeDir: string;\n /** Absolute app-layout authority shared with the companion; never derive it from the minion directory. */\n applicationRuntimeSignalsHome: string;\n appDatabaseName?: string;\n redisKeyPrefix?: string;\n storageBucketPrefix?: string;\n runtimeEndpoints?: Record<string, { publicUrl: string; internalUrl: string }>;\n /**\n * Authored `wildo.minion.config.ts > isolation`, schema-defaulted. Consumed by\n * BOTH deploy renderers (k8s securityContext + volumes; compose\n * `user`/`read_only`/`tmpfs`/`pids_limit`), which is why it is not confined to\n * the REMOTE-only fields below.\n *\n * Carries only the authorable knobs. The security floor — non-root, read-only\n * root filesystem, dropped capabilities, seccomp, no service-account token —\n * is emitted unconditionally by the renderers and is deliberately absent from\n * this shape, so no caller can hand a value that lowers it.\n */\n isolation?: { runAsUser?: number; runAsGroup?: number; writablePaths?: string[]; pidsLimit?: number };\n extraEnv?: Record<string, string>;\n /**\n * REMOTE k8s deploy context (Phase 8) — the app slug this minion belongs to\n * plus the authored `wildo.minion.config.ts > reinstantiation` + `liveness`.\n * The render maps `reinstantiationPolicy` → K8s strategy\n * (`kill_previous`→Recreate, `let_run`→RollingUpdate) and builds the liveness\n * `exec` command from the liveness spec. Populated for REMOTE only.\n */\n appName?: string;\n reinstantiationPolicy?: 'kill_previous' | 'let_run';\n gracePeriodSec?: number;\n liveness?: {\n kind: 'file' | 'exec';\n filePath?: string;\n staleAfterSec?: number;\n execCommand?: string[];\n };\n}\n\nexport function buildPlatformServiceEnvMap(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n frameworkPath: string,\n): Record<string, Record<string, string>> {\n // Single load+hydrate seam (loadInfraHydratedConfig): the setup-time config.json omits the\n // infra-posture blocks, so the platform hosts (same otel-preload `--import` + flush logic) would\n // emit no OTEL_*/LOG_LEVEL without this. Reached from BOTH `local up` (platform-lifecycle) and the\n // env-file wrapper below.\n const config = loadInfraHydratedConfig(env);\n\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.HOST_FACING);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n // Each platform host tags its OTel `service.version` from its OWN package.json version (audit A-10\n // parity with the app hosts). Resolved here because this is where the framework repository root is\n // available; the pure env-map builders receive the already-read version string.\n const repositoryRoot = resolveFrameworkLayout(frameworkPath).repositoryRoot;\n\n const envByDir: Record<string, Record<string, string>> = {\n [PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir]:\n PlatformEnvVarsBuilder.buildAppsManagerFullEnv(credentials, addresses, config, env, {\n serviceVersion: readHostVersion(\n repositoryRoot,\n PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir,\n ),\n }),\n };\n\n for (const service of BOOTSTRAP_PLATFORM_SERVICES) {\n envByDir[PLATFORM_SERVICE_CATALOG[service].sourceDir] = PlatformEnvVarsBuilder.buildBootstrapEnv(\n service,\n credentials,\n addresses,\n config,\n env,\n readHostVersion(repositoryRoot, PLATFORM_SERVICE_CATALOG[service].sourceDir),\n );\n }\n\n return envByDir;\n}\n\nexport function generatePlatformServiceEnvFiles(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n credentials: PlatformEnvSecretsJson,\n log: Logger,\n applicationBackends?: ApplicationBackendEnvTarget[],\n companionApis?: CompanionPlatformEnvTarget[],\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[],\n applicationWorkers?: ApplicationWorkerEnvTarget[],\n applicationMinions?: ApplicationMinionEnvTarget[],\n applicationOperators?: ApplicationOperatorEnvTarget[],\n writePolicy?: {\n /**\n * Skip the SHARED platform-service `.env` writes (apps-manager, module-registry, crontabs) while\n * still writing the invoking application's own targets. Set by `env-sync` when a FOREIGN\n * `wildo local dev` session owns the platform (issue #50): those files carry the running\n * platform's credential basis and are the owner's to regenerate.\n */\n skipPlatformServiceEnvs?: boolean;\n },\n): void {\n const platformServiceEnvs = buildPlatformServiceEnvMap(env, credentials, frameworkPath);\n // Single load+hydrate seam (loadInfraHydratedConfig) for the app-host loops below; the platform\n // hosts are hydrated the same way inside buildPlatformServiceEnvMap above.\n const config = loadInfraHydratedConfig(env);\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.HOST_FACING);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const frameworkLayout = resolveFrameworkLayout(frameworkPath);\n let serviceCount = 0;\n\n // Provider-secrets sink (LOCAL only). Written here — the SOLE writer of every\n // Wildo non-compose `.env` — so it is present exactly whenever the backend\n // `.env` is, after `wildo config sync` AND after the `wildo local dev`\n // bootstrap, for out-of-band consumers (framework-dev test harnesses).\n const providerSecretsEnvPath = generateProviderSecretsEnvFile(env, credentials);\n if (providerSecretsEnvPath) {\n log.success(` Generated provider-secrets env file: ${providerSecretsEnvPath}`);\n }\n\n /*\n * A HOSTED environment never writes the platform services' env files, whatever the caller asked: those\n * files are its host's platform generation. Skipped here rather than refused, because this function\n * also writes the application's OWN targets below, which are exactly what a hosted application needs.\n */\n if (writePolicy?.skipPlatformServiceEnvs !== true && !InfrastructureHost.isHosted(env)) {\n writeEnvFile(\n join(\n frameworkLayout.repositoryRoot,\n PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir,\n FILE_NAMES.DOT_ENV,\n ),\n platformServiceEnvs[PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir],\n );\n serviceCount++;\n\n for (const [dir, serviceEnv] of Object.entries(platformServiceEnvs)) {\n if (dir === PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].sourceDir) {\n continue;\n }\n writeEnvFile(join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV), serviceEnv);\n serviceCount++;\n }\n\n log.success(` Generated .env files for ${serviceCount} platform services`);\n }\n\n if (applicationOperators?.length) {\n for (const operator of applicationOperators) {\n applyApplicationOperatorEnvTarget(operator);\n }\n log.success(` Reconciled .env files for ${applicationOperators.length} application operator root(s)`);\n }\n\n if (applicationBackends?.length) {\n let appCount = 0;\n for (const app of applicationBackends) {\n assertNoApplicationBackendReservedEnvOverrides(app.extraEnv, `application backend ${app.serviceName}`);\n const appEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationBackendEnv(\n app.bootstrapCredentials,\n app.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n declaredProviderScope(app.scopedProviderRefs),\n {\n serviceVersion: readHostVersion(app.applicationRoot, app.relativeDir),\n appDatabaseName: app.appDatabaseName,\n redisKeyPrefix: app.redisKeyPrefix,\n storageBucketPrefix: app.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n runtimeSignalsHome: env.locationType === WildoLocationType.LOCAL\n ? app.applicationRuntimeSignalsHome\n : undefined,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: app.runtimeEndpoints,\n /*\n * Backend→worker dispatch URLs (#426). The target has carried these since G-8 and this\n * writer did not forward them, so `WILDO_WORKER_<NAME>_URL` reached the k8s render and\n * never reached a developer's `backend-api/.env` — the second site of the same invariant,\n * and the reason the chain was unreachable in the only environment anyone could try it in.\n *\n * Forwarded unconditionally: whether a LOCAL target HAS a URL is decided once, in\n * `buildApplicationWorkerDispatchUrls`, and re-deciding it here would be a second opinion\n * about the same question.\n */\n workerUrls: app.workerUrls,\n },\n ),\n ...(app.extraEnv ?? {}),\n };\n // LOCAL-lane durable trust-anchor dir for the immudb audit provider (cross-restart tamper-evidence).\n // Provision it ONLY when immudb audit is configured (its connection secret is present) and not\n // already pinned by the operator. The value is a host absolute path under the durable local_data\n // tier — preserved by `wildo local down`, wiped by `reset` (on reset immudb re-provisions with a\n // new uuid, so a lingering anchor safely re-bootstraps rather than false-alarming). This is the\n // LOCAL mechanism ONLY: a host path is meaningless inside a container. REMOTE (staging/production)\n // provisions the anchor on a durable IN-CONTAINER volume instead — the k8s app-backend Deployment\n // mounts a PVC and sets IMMUDB_STATE_DIR (`K8sManifestGenerator.buildForApplication` /\n // `renderApplicationForTarget` + `backend.immudb-audit-state.pvc.yaml.hbs`), and the compose app\n // backend mounts a named volume and sets IMMUDB_STATE_DIR (`docker-compose.app.yml.hbs`, wired in\n // `generateCiDeployArtifacts`). Both use `IMMUDB_AUDIT_STATE_CONTAINER_DIR`.\n if (\n env.locationType === WildoLocationType.LOCAL &&\n credentials.providerEnv?.IMMUDB_HOST &&\n !appEnv['IMMUDB_STATE_DIR']\n ) {\n appEnv['IMMUDB_STATE_DIR'] = EnvironmentPaths.resolveScopedLocalDataServiceDir(app.applicationRoot, 'immudb-audit-state');\n }\n writeEnvFile(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV), appEnv);\n appCount++;\n }\n log.success(` Generated .env files for ${appCount} application backend(s)`);\n }\n\n if (companionApis?.length) {\n let companionCount = 0;\n for (const companion of companionApis) {\n const companionEnv = PlatformEnvVarsBuilder.buildCompanionPlatformEnv(\n companion.bootstrapCredentials,\n companion.serviceName,\n credentials,\n addresses,\n config,\n env,\n {\n runtimeEndpoints: companion.runtimeEndpoints,\n host: companion.extraEnv?.HOST,\n port: companion.extraEnv?.PORT ? Number(companion.extraEnv.PORT) : undefined,\n serviceVersion: readHostVersion(companion.applicationRoot, companion.relativeDir),\n },\n );\n writeEnvFile(\n join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV),\n companionEnv,\n );\n companionCount++;\n }\n log.success(` Generated .env files for ${companionCount} companion API service(s)`);\n }\n\n if (applicationFrontends?.length) {\n let frontendCount = 0;\n for (const frontend of applicationFrontends) {\n // BOTH files, and `.env` is the one that matters.\n //\n // Every other service kind here writes `FILE_NAMES.DOT_ENV`. Frontends stopped at\n // `.env.example`, which Vite's `loadEnv` never reads — so the file the dev server actually\n // consumes was generated by nobody and maintained by hand. That is not a cosmetic gap:\n // `environment-hydration.utils.ts` records what it cost on 2026-08-13. Sync reconciled an\n // edge scheme into `.env.example` and `APPLICATION_RUNTIME_ENDPOINTS`, the hand-written\n // `app/.env` kept its older value, the browser sent an `Origin` the backend did not expect,\n // and `_validateFrontendAppOrigin` refused every `POST /auth/identify` with a 403. Login was\n // completely broken and nothing in any log named the cause.\n //\n // Generating `.env` makes the frontend match every sibling: the file the runtime reads is the\n // file this generator owns, so it cannot drift from the topology it was derived from. A\n // developer who needs a local override still has Vite's `.env.local`, which takes precedence\n // and is not generated — the supported seam for that, rather than editing a derived file.\n //\n // `.env.example` is still written, unchanged, as the committed reference for a fresh clone.\n const frontendDirectory = join(frontend.applicationRoot, frontend.relativeDir);\n writeEnvFile(join(frontendDirectory, '.env.example'), frontend.envExample);\n writeEnvFile(join(frontendDirectory, FILE_NAMES.DOT_ENV), frontend.envExample);\n frontendCount++;\n }\n log.success(` Generated .env and .env.example files for ${frontendCount} application frontend(s)`);\n }\n\n if (applicationWorkers?.length) {\n let workerCount = 0;\n for (const worker of applicationWorkers) {\n const workerEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationWorkerEnv(\n worker.bootstrapCredentials,\n worker.workerName,\n worker.serviceName,\n credentials,\n config,\n env.name,\n declaredProviderScope(worker.scopedProviderRefs),\n {\n // Project the authored HTTP surface (carried on the target,\n // default-applied from `wildo.worker.config.ts > http` and shared\n // with the REMOTE k8s render) into the worker `.env`.\n http: worker.http,\n serviceVersion: readHostVersion(worker.applicationRoot, worker.relativeDir),\n runtimeEndpoints: worker.runtimeEndpoints,\n },\n ),\n ...(worker.extraEnv ?? {}),\n };\n writeEnvFile(join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV), workerEnv);\n workerCount++;\n }\n log.success(` Generated .env files for ${workerCount} application worker(s)`);\n }\n\n if (applicationMinions?.length) {\n let minionCount = 0;\n for (const minion of applicationMinions) {\n assertNoApplicationBackendReservedEnvOverrides(minion.extraEnv, `application minion ${minion.serviceName}`);\n const minionEnv = {\n ...PlatformEnvVarsBuilder.buildApplicationMinionEnv(\n minion.bootstrapCredentials,\n minion.serviceName,\n credentials,\n addresses,\n config,\n env.name,\n declaredProviderScope(minion.scopedProviderRefs),\n minion.accessDeclaration,\n {\n appDatabaseName: minion.appDatabaseName,\n redisKeyPrefix: minion.redisKeyPrefix,\n storageBucketPrefix: minion.storageBucketPrefix,\n deploymentLocationType: env.locationType,\n runtimeSignalsHome: env.locationType === WildoLocationType.LOCAL\n ? minion.applicationRuntimeSignalsHome\n : undefined,\n mongodbDirectConnection: env.locationType === WildoLocationType.LOCAL,\n runtimeEndpoints: minion.runtimeEndpoints,\n serviceVersion: readHostVersion(minion.applicationRoot, minion.relativeDir),\n },\n ),\n ...(minion.extraEnv ?? {}),\n };\n writeEnvFile(join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV), minionEnv);\n minionCount++;\n }\n log.success(` Generated .env files for ${minionCount} application minion(s)`);\n }\n}\n\n/**\n * Emit the per-env provider-SECRETS env file — the exact runtime provider env\n * (`PlatformEnvVarsBuilder.buildRuntimeProviderEnv`: authored `providerEnv` +\n * framework-injected immudb state key) the backend/companion/worker receive,\n * projected as a standalone `.env` for out-of-band consumers that are NOT\n * launched by `wildo local dev` (framework-dev integration test harnesses,\n * ad-hoc scripts). Carries the SAME provider VALUES as the backend `.env` (one\n * authority — `buildRuntimeProviderEnv`), so it never drifts.\n *\n * Serialized with dotenv double-quote escaping (see {@link encodeDotenvValue}),\n * NOT the raw `writeEnvFile` used for the backend `.env`: the framework-injected\n * `IMMUDB_STATE_PUBLIC_KEY` is a MULTI-LINE SPKI PEM, and a bare `key=value`\n * would split it across physical lines and break the harness loader. Escaping\n * keeps every value on one physical line and round-trips through the matched\n * loader (`engine-behavior-e2e/src/provider-env.ts`) and a standard `.env`\n * parser. Single-line values (API keys) are emitted bare, unchanged.\n *\n * DISTINCT from the runtime-SCOPE `.wildo-providers.env`\n * (`PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME`), which carries the provider\n * allow-list artifact PATH, not secret values. Never conflate them.\n *\n * LOCAL-only: remote/CI provider secrets are delivered via k8s `providers-secret`,\n * never a local plaintext file. Returns the written path, or `null` when skipped\n * (non-local env, or zero provider secrets to emit).\n */\nexport function generateProviderSecretsEnvFile(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n): string | null {\n if (env.locationType !== WildoLocationType.LOCAL) return null;\n const providerEnv = PlatformEnvVarsBuilder.buildRuntimeProviderEnv(credentials);\n if (Object.keys(providerEnv).length === 0) return null;\n const filePath = join(\n EnvironmentPaths.resolveGeneratedProvidersDir(env.name),\n FILE_NAMES.PROVIDER_SECRETS_ENV,\n );\n const dir = dirname(filePath);\n if (!existsSync(dir)) mkdirSync(dir, { recursive: true });\n const content = Object.entries(providerEnv)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n writeFileSync(filePath, `${GENERATED_FILE_HEADER}\\n\\n${content}\\n`);\n return filePath;\n}\n\n/**\n * dotenv encoding — the single escaping authority for EVERY `.env` this module writes\n * (the per-service files via {@link writeEnvFile} and the provider-secrets sink).\n *\n * ## What the reader actually does\n *\n * These files are read by Node processes through the `dotenv` package, whose quoting rules are\n * asymmetric and are the whole reason this function is not a one-liner:\n *\n * | Form | dotenv behaviour |\n * |-----------------|-----------------------------------------------------------------------|\n * | bare | verbatim to end of line, but TRIMMED and truncated at an inline `#` |\n * | `\"…\"` | quotes stripped, `\\n` / `\\r` EXPANDED — but `\\\"` and `\\\\` are NOT unescaped |\n * | `'…'` | quotes stripped, contents fully VERBATIM (real newlines included) |\n * | `` `…` `` | same as single quotes, verbatim |\n *\n * The double-quoted row is the trap. Escaping `\"` as `\\\"` (the JSON/shell reflex) is silently\n * LOSSY here: dotenv hands the consumer the literal backslashes. That is exactly how every\n * JSON-valued var — `APPLICATION_RUNTIME_ENDPOINTS`, `WILDO_PROVIDER_SELECTION_OVERRIDES`,\n * `WILDO_SERVICE_HOSTS` — reached `JSON.parse` as `{\\\"k\\\":…}` and threw\n * `Expected property name or '}' at position 1`, crash-looping backend-api, every minion and the\n * dev companion at startup while the error surfaced as an env *validation* failure. The same\n * lossiness applies to `\\\\`, so a value containing a real backslash was corrupted too.\n *\n * ## The encoding chosen here\n *\n * Escape only what the reader unescapes, and otherwise quote VERBATIM:\n *\n * 1. bare — for clean single-line values (API keys, URLs, ports), keeping files readable/diff-stable;\n * 2. double quotes with `\\n` / `\\r` escaped — the ONLY branch that escapes anything, and it is\n * entered only when the value has no `\"` and no `\\`, so nothing lossy can be emitted. This keeps\n * a multi-line SPKI PEM (`IMMUDB_STATE_PUBLIC_KEY`) on ONE physical line exactly as before;\n * 3. single quotes, verbatim — carries `\"` and `\\` (the JSON case) losslessly;\n * 4. backticks, verbatim — for a value carrying `'` as well;\n * 5. throw — a value carrying all three quote characters has no lossless dotenv form. Fail closed\n * at generation time rather than write config that silently misparses at startup.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`) — never pre-quoted — so encoding happens exactly once, here.\n *\n * This is the LOCAL dotenv sink only. The compose (`encodeComposeEnvValue`), CI (`formatEnvFile`)\n * and k8s (raw base64) sinks have different readers and therefore different contracts — do not\n * unify them, and do not push encoding back onto the builders.\n */\nfunction encodeDotenvValue(key: string, value: string): string {\n const hasNewline = /[\\n\\r]/.test(value);\n const hasDoubleQuote = value.includes('\"');\n const hasSingleQuote = value.includes(\"'\");\n const hasBacktick = value.includes('`');\n const hasBackslash = value.includes('\\\\');\n\n if (\n !hasNewline &&\n !hasDoubleQuote &&\n !hasSingleQuote &&\n !hasBacktick &&\n !value.includes('#') &&\n value !== '' &&\n value === value.trim()\n ) {\n return value;\n }\n\n // Safe ONLY without `\"` / `\\`, the two characters dotenv refuses to unescape.\n if (!hasDoubleQuote && !hasBackslash) {\n return `\"${value.replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r')}\"`;\n }\n\n if (!hasSingleQuote) return `'${value}'`;\n\n if (!hasBacktick) return `\\`${value}\\``;\n\n throw new Error(\n `Cannot encode env var \"${key}\" for a dotenv file: its value contains a double quote, a single quote and a backtick, ` +\n `so no dotenv quoting form can carry it without corruption. Reshape the value at its builder.`,\n );\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\n/**\n * Write one generated `.env`, serializing every value through {@link encodeDotenvValue}.\n *\n * These files are loaded by Node processes through the `dotenv` package. That reader — not any\n * general notion of \"escaped\" — is the contract {@link encodeDotenvValue} is written against.\n *\n * Two defects came from ignoring it, in opposite directions, and both are pinned by tests:\n * - a bare `key=value` silently BROKE every multi-line value: the immudb `IMMUDB_STATE_PUBLIC_KEY`\n * SPKI PEM spilled across four physical lines and dotenv kept only `-----BEGIN PUBLIC KEY-----`,\n * so the audit client could not parse its pinned key and fail-closed into a FALSE\n * \"immudb audit store TAMPER DETECTED\";\n * - the escaping added to fix that then over-reached and escaped `\"` as `\\\"`, which dotenv does NOT\n * unescape, so every JSON-valued var (`APPLICATION_RUNTIME_ENDPOINTS`, …) reached `JSON.parse`\n * with literal backslashes and crash-looped backend-api, the minions and the companion.\n *\n * Encoding is the serializer's job — do not push it back onto the builders (the k8s and compose\n * sinks have different readers and would then receive literal quotes).\n */\nfunction writeEnvFile(filePath: string, env: Record<string, string>): void {\n const dir = dirname(filePath);\n if (!existsSync(dir)) {\n mkdirSync(dir, { recursive: true });\n }\n\n const content = Object.entries(env)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n\n writeFileSync(filePath, GENERATED_FILE_HEADER + '\\n\\n' + content + '\\n');\n}\n\nconst APPLICATION_OPERATOR_ENV_HEADER = `${GENERATED_FILE_HEADER}\\n# application-creation-verification operator environment`;\nconst APPLICATION_OPERATOR_WRITABLE_ENV_KEYS = [\n ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY,\n ApplicationCreationVerificationEnvKey.SILENT,\n] as const;\n\n/**\n * Reconcile the CLI-owned app-root operator env without following symlinks.\n *\n * The component checks cover hostile state that already exists when sync owns\n * the path. Descriptor-relative publication is not available through Node's\n * portable filesystem API, so this does not claim race freedom against an\n * actively mutating same-UID process; the final file itself is opened with\n * `O_NOFOLLOW` and rechecked against its pathname identity.\n */\nfunction applyApplicationOperatorEnvTarget(target: ApplicationOperatorEnvTarget): void {\n const applicationRoot = resolveCanonicalApplicationOperatorRoot(target.applicationRoot);\n const filePath = join(applicationRoot, FILE_NAMES.DOT_ENV);\n\n if (target.disposition === ApplicationOperatorEnvFileDisposition.REMOVE) {\n removeOwnedApplicationOperatorEnvFile(filePath);\n return;\n }\n\n const suppliedKeys = Object.keys(target.env).sort();\n const expectedKeys = [...APPLICATION_OPERATOR_WRITABLE_ENV_KEYS].sort();\n if (suppliedKeys.length !== expectedKeys.length || suppliedKeys.some((key, index) => key !== expectedKeys[index])) {\n throw new Error(`Application operator environment must contain exactly: ${expectedKeys.join(', ')}.`);\n }\n\n const content = Object.entries(target.env)\n .map(([key, value]) => `${key}=${encodeDotenvValue(key, value)}`)\n .join('\\n');\n let created = false;\n let descriptor: number;\n try {\n descriptor = openSync(\n filePath,\n fsConstants.O_WRONLY | fsConstants.O_CREAT | fsConstants.O_EXCL | fsConstants.O_NOFOLLOW,\n 0o600,\n );\n created = true;\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code !== 'EEXIST') throw error;\n descriptor = openSync(filePath, fsConstants.O_RDWR | fsConstants.O_NOFOLLOW);\n }\n try {\n const opened = fstatSync(descriptor);\n if (!opened.isFile()) {\n throw new Error(`Application operator environment target is not a regular file: ${filePath}.`);\n }\n assertCurrentUserSingleLinkFile(opened, filePath, ApplicationOperatorEnvironmentFileOperation.PUBLICATION);\n if (!created && !readFileSync(descriptor, 'utf8').startsWith(`${APPLICATION_OPERATOR_ENV_HEADER}\\n`)) {\n throw new Error(`Refusing to overwrite an app-root .env file not owned by application-creation verification: ${filePath}.`);\n }\n fchmodSync(descriptor, 0o600);\n ftruncateSync(descriptor, 0);\n // ⚠️ Written at an EXPLICIT position 0, not via `writeFileSync(fd, …)`.\n //\n // The ownership check above calls `readFileSync(descriptor)`, which ADVANCES\n // the descriptor's file position to EOF. `ftruncateSync` resets the file's\n // LENGTH but not that position, so a positionless write lands at the old\n // offset and the kernel fills the gap with NUL bytes.\n //\n // The failure is self-inflicting and delayed, which is what made it hard to\n // see: the write SUCCEEDS and the file reads correctly to a human (the NULs\n // are invisible in most editors), but the header no longer sits at byte 0 —\n // so the NEXT sync fails the `startsWith(HEADER)` check and refuses to\n // overwrite a file the framework itself had just written. Observed on Wonder\n // Todos as exactly 240 NUL bytes in front of 240 bytes of correct content.\n writeSync(descriptor, `${APPLICATION_OPERATOR_ENV_HEADER}\\n\\n${content}\\n`, 0, 'utf8');\n const current = lstatSync(filePath);\n assertCurrentUserSingleLinkFile(current, filePath, ApplicationOperatorEnvironmentFileOperation.PUBLICATION);\n if (current.isSymbolicLink() || current.dev !== opened.dev || current.ino !== opened.ino) {\n throw new Error(`Application operator environment pathname identity changed during publication: ${filePath}.`);\n }\n } finally {\n closeSync(descriptor);\n }\n}\n\nfunction removeOwnedApplicationOperatorEnvFile(filePath: string): void {\n try {\n lstatSync(filePath);\n } catch (error) {\n if ((error as NodeJS.ErrnoException).code === 'ENOENT') return;\n throw error;\n }\n\n const descriptor = openSync(filePath, fsConstants.O_RDONLY | fsConstants.O_NOFOLLOW);\n try {\n const opened = fstatSync(descriptor);\n if (!opened.isFile()) {\n throw new Error(`Application operator environment removal target is not a regular file: ${filePath}.`);\n }\n assertCurrentUserSingleLinkFile(opened, filePath, ApplicationOperatorEnvironmentFileOperation.REMOVAL);\n const content = readFileSync(descriptor, 'utf8');\n if (!content.startsWith(`${APPLICATION_OPERATOR_ENV_HEADER}\\n`)) {\n throw new Error(`Refusing to remove an app-root .env file not owned by application-creation verification: ${filePath}.`);\n }\n const current = lstatSync(filePath);\n assertCurrentUserSingleLinkFile(current, filePath, ApplicationOperatorEnvironmentFileOperation.REMOVAL);\n if (current.isSymbolicLink() || current.dev !== opened.dev || current.ino !== opened.ino) {\n throw new Error(`Application operator environment pathname identity changed before removal: ${filePath}.`);\n }\n unlinkSync(filePath);\n } finally {\n closeSync(descriptor);\n }\n}\n\n/**\n * Which side of the operator-environment file lifecycle a single-link assertion is guarding.\n *\n * The member VALUES are interpolated verbatim into the thrown messages (\"… environment publication\n * requires …\"), so they read as prose while still being a closed two-member vocabulary rather than\n * a free-form string an caller could mistype into an incoherent error.\n */\nenum ApplicationOperatorEnvironmentFileOperation {\n /** Writing the operator environment file. */\n PUBLICATION = 'publication',\n /** Unlinking the operator environment file. */\n REMOVAL = 'removal',\n}\n\nfunction assertCurrentUserSingleLinkFile(\n status: { uid: number; nlink: number },\n filePath: string,\n operation: ApplicationOperatorEnvironmentFileOperation,\n): void {\n if (typeof process.getuid !== 'function') {\n throw new Error(`Application operator environment ${operation} cannot establish current-user ownership on this platform: ${filePath}.`);\n }\n if (status.uid !== process.getuid() || status.nlink !== 1) {\n throw new Error(`Application operator environment ${operation} requires a current-user-owned single-link file: ${filePath}.`);\n }\n}\n\n/**\n * The canonical directory the operator `.env` is written into: the application root, symlinks\n * resolved, and proven to be a real directory. Until 2026-09-06 this walked every path segment\n * from the FRAMEWORK repository root down to the application and refused anything that was not\n * strictly below it — an application was assumed to live under `examples/` of a checkout. An\n * app-creator application lives wherever its author put it, so the anchor is the application\n * root itself; the write below still opens the file `O_NOFOLLOW` and re-checks its identity.\n */\nfunction resolveCanonicalApplicationOperatorRoot(applicationRoot: string): string {\n const lexicalApplicationRoot = resolve(applicationRoot);\n const status = lstatSync(lexicalApplicationRoot);\n if (!status.isDirectory()) {\n throw new Error(`Application operator environment root is not a directory: ${lexicalApplicationRoot}.`);\n }\n return realpathSync(lexicalApplicationRoot);\n}\n"]}
@@ -6,6 +6,8 @@
6
6
  */
7
7
  import type { PlatformEnvironmentConfiguration } from '../../services/environment/environment.schemas';
8
8
  import type { PlatformEnvSecretsJson } from '../../services/credentials/credentials.schemas';
9
+ import { InfrastructureHost } from '../../services/environment/infrastructure-host.service';
10
+ import { readLiveLocalDevPlatformOwner } from '../../services/deployment/local-dev-session-lease.service';
9
11
  import { type ApplicationBackendEnvTarget, type CompanionPlatformEnvTarget, type ApplicationFrontendEnvExampleTarget, type ApplicationWorkerEnvTarget, type ApplicationMinionEnvTarget, type ApplicationOperatorEnvTarget } from '../../services/environment/env-configuration-generator.service';
10
12
  import type { Logger } from '../../kernel/types';
11
13
  export interface EnvSyncResult {
@@ -24,10 +26,43 @@ export interface EnvSyncOptions {
24
26
  applicationMinions?: ApplicationMinionEnvTarget[];
25
27
  applicationOperators?: ApplicationOperatorEnvTarget[];
26
28
  }
29
+ /**
30
+ * WHICH SHARED surfaces this invocation may write — the one decision {@link checkExisting} and
31
+ * {@link sync} must agree on, computed once so they cannot disagree.
32
+ *
33
+ * Both answer a question about the same act: `checkExisting` says what would be overwritten, `sync`
34
+ * does the overwriting. They drifted, and the drift was expensive in the quiet direction. Until
35
+ * 2026-09-18 `checkExisting` consulted neither the infrastructure host nor the live platform owner,
36
+ * so for a HOSTED application it listed the shared compose project, `.env.wildo-platform` and both
37
+ * platform services' `.env` — every one of which `sync` then correctly skipped. The operator was shown
38
+ * a prompt saying the shared platform was about to be rewritten, by a command that would not touch it,
39
+ * and the honest reading of that prompt is to answer N — which declines the write of the
40
+ * application's OWN env files, the entire purpose of the command. A second application could not
41
+ * complete `config sync` while reading the output correctly, and the apparent remedy was to stop the
42
+ * application that owns the platform.
43
+ *
44
+ * So this is not a display fix. A prompt that misnames what is at stake is a refusal mechanism that
45
+ * fires on the wrong thing.
46
+ */
47
+ export interface SharedEnvSurfaceOwnership {
48
+ /** The host of this environment, or `null` when this application owns its infrastructure. */
49
+ readonly hostedBy: ReturnType<typeof InfrastructureHost.resolve>;
50
+ /** A live `wildo local dev` session owning the platform from a DIFFERENT app root, if any. */
51
+ readonly foreignPlatformOwner: ReturnType<typeof readLiveLocalDevPlatformOwner>;
52
+ /** The shared compose project and its `.env.wildo-platform`. */
53
+ readonly writesSharedComposeProject: boolean;
54
+ /** The platform services' own `.env` files under the framework checkout. */
55
+ readonly writesPlatformServiceEnvs: boolean;
56
+ }
57
+ export declare function resolveSharedEnvSurfaceOwnership(env: PlatformEnvironmentConfiguration, options: Pick<EnvSyncOptions, 'frameworkPath' | 'isFrameworkDeveloper' | 'invokingAppRoot'>): SharedEnvSurfaceOwnership;
27
58
  /**
28
59
  * Return paths of env files that would be generated and that already exist.
60
+ *
61
+ * "Would be generated" is load-bearing: a path this invocation will NOT write must not appear, or the
62
+ * prompt built from it describes a different command than the one about to run. See
63
+ * {@link SharedEnvSurfaceOwnership}.
29
64
  */
30
- export declare function checkExisting(env: PlatformEnvironmentConfiguration, frameworkPath: string, isFrameworkDeveloper: boolean, applicationBackends?: ApplicationBackendEnvTarget[], companionApis?: CompanionPlatformEnvTarget[], applicationFrontends?: ApplicationFrontendEnvExampleTarget[], applicationWorkers?: ApplicationWorkerEnvTarget[], applicationMinions?: ApplicationMinionEnvTarget[], applicationOperators?: ApplicationOperatorEnvTarget[]): string[];
65
+ export declare function checkExisting(env: PlatformEnvironmentConfiguration, options: EnvSyncOptions): string[];
31
66
  /**
32
67
  * Regenerate all env files. Always overwrites when called.
33
68
  * The command is responsible for prompting when files exist (unless --force).
@@ -1 +1 @@
1
- {"version":3,"file":"env-sync.service.d.ts","sourceRoot":"","sources":["../../../../src/services/environment/env-sync.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAK5G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAKlG,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EAClC,MAAM,qEAAqE,CAAC;AAG7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,mHAAmH;IACnH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,2BAA2B,EAAE,CAAC;IACpD,aAAa,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC7C,oBAAoB,CAAC,EAAE,mCAAmC,EAAE,CAAC;IAC7D,kBAAkB,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAClD,kBAAkB,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAClD,oBAAoB,CAAC,EAAE,4BAA4B,EAAE,CAAC;CACvD;AAOD;;GAEG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,OAAO,EAC7B,mBAAmB,CAAC,EAAE,2BAA2B,EAAE,EACnD,aAAa,CAAC,EAAE,0BAA0B,EAAE,EAC5C,oBAAoB,CAAC,EAAE,mCAAmC,EAAE,EAC5D,kBAAkB,CAAC,EAAE,0BAA0B,EAAE,EACjD,kBAAkB,CAAC,EAAE,0BAA0B,EAAE,EACjD,oBAAoB,CAAC,EAAE,4BAA4B,EAAE,GACpD,MAAM,EAAE,CAmEV;AAED;;;GAGG;AACH,wBAAsB,IAAI,CACxB,GAAG,EAAE,gCAAgC,EACrC,WAAW,EAAE,sBAAsB,EACnC,OAAO,EAAE,cAAc,EACvB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,aAAa,CAAC,CA4FxB"}
1
+ {"version":3,"file":"env-sync.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/environment/env-sync.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAK5G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAGlG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AAEjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AAC/G,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/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G,EAAE,gCAAgC,EACrC,OAAO,EAAE,cAAc,GACtB,MAAM,EAAE,CA6EV;AAED;;;GAGG;AACH,wBAAsB,IAAI,CACxB,GAAG,EAAE,gCAAgC,EACrC,WAAW,EAAE,sBAAsB,EACnC,OAAO,EAAE,cAAc,EACvB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,aAAa,CAAC,CA2GxB"}
@@ -9,6 +9,7 @@ import { join, resolve } from 'path';
9
9
  import { resolveFrameworkLayout, WildoDeploymentRuntime, } from '@wildo-ai/platform-config-lib';
10
10
  import { FILE_NAMES } from '../../infrastructure/io/io.schemas.js';
11
11
  import { EnvironmentPaths } from '../../services/environment/environment-paths.service.js';
12
+ import { InfrastructureHost } from '../../services/environment/infrastructure-host.service.js';
12
13
  import { generateEnvWildoPlatform, renderDockerComposeTemplate } from '../../services/deployment/docker/docker-compose-generator.service.js';
13
14
  import { readLiveLocalDevPlatformOwner } from '../../services/deployment/local-dev-session-lease.service.js';
14
15
  import { generatePlatformServiceEnvFiles, } from '../../services/environment/env-configuration-generator.service.js';
@@ -18,14 +19,39 @@ const PLATFORM_SERVICES_WITH_ENV = [
18
19
  PlatformWildoServices.APPS_MANAGER,
19
20
  PlatformWildoServices.CRONTABS_BATCHES_MANAGER,
20
21
  ];
22
+ export function resolveSharedEnvSurfaceOwnership(env, options) {
23
+ const hostedBy = InfrastructureHost.resolve(env);
24
+ const livePlatformOwner = options.isFrameworkDeveloper
25
+ ? readLiveLocalDevPlatformOwner(resolveFrameworkLayout(options.frameworkPath).repositoryRoot)
26
+ : null;
27
+ const foreignPlatformOwner = livePlatformOwner !== null
28
+ && options.invokingAppRoot !== undefined
29
+ && resolve(livePlatformOwner.appRoot) !== resolve(options.invokingAppRoot)
30
+ ? livePlatformOwner
31
+ : null;
32
+ return {
33
+ hostedBy,
34
+ foreignPlatformOwner,
35
+ writesSharedComposeProject: env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE && hostedBy === null,
36
+ // An app-creator install has no framework checkout to write them into; a hosted application and a
37
+ // foreign live owner are two different reasons they are not this invocation's to write.
38
+ writesPlatformServiceEnvs: options.isFrameworkDeveloper && hostedBy === null && foreignPlatformOwner === null,
39
+ };
40
+ }
21
41
  /**
22
42
  * Return paths of env files that would be generated and that already exist.
43
+ *
44
+ * "Would be generated" is load-bearing: a path this invocation will NOT write must not appear, or the
45
+ * prompt built from it describes a different command than the one about to run. See
46
+ * {@link SharedEnvSurfaceOwnership}.
23
47
  */
24
- export function checkExisting(env, frameworkPath, isFrameworkDeveloper, applicationBackends, companionApis, applicationFrontends, applicationWorkers, applicationMinions, applicationOperators) {
48
+ export function checkExisting(env, options) {
49
+ const { frameworkPath, applicationBackends, companionApis, applicationFrontends, applicationWorkers, applicationMinions, applicationOperators, } = options;
25
50
  const existing = [];
26
51
  const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);
27
52
  const frameworkLayout = resolveFrameworkLayout(frameworkPath);
28
- if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {
53
+ const ownership = resolveSharedEnvSurfaceOwnership(env, options);
54
+ if (ownership.writesSharedComposeProject) {
29
55
  const composeFile = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);
30
56
  const envFile = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);
31
57
  if (existsSync(composeFile))
@@ -33,7 +59,7 @@ export function checkExisting(env, frameworkPath, isFrameworkDeveloper, applicat
33
59
  if (existsSync(envFile))
34
60
  existing.push(envFile);
35
61
  }
36
- if (isFrameworkDeveloper) {
62
+ if (ownership.writesPlatformServiceEnvs) {
37
63
  for (const service of PLATFORM_SERVICES_WITH_ENV) {
38
64
  const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;
39
65
  const envPath = join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV);
@@ -97,33 +123,46 @@ export async function sync(env, credentials, options, log) {
97
123
  const updated = [];
98
124
  const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);
99
125
  const frameworkLayout = resolveFrameworkLayout(options.frameworkPath);
100
- if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {
126
+ // THE SAME decision `checkExisting` reported, so the prompt and the write cannot describe
127
+ // different commands. See `SharedEnvSurfaceOwnership`.
128
+ const ownership = resolveSharedEnvSurfaceOwnership(env, options);
129
+ const { hostedBy, foreignPlatformOwner } = ownership;
130
+ if (hostedBy !== null) {
131
+ log.info(` '${env.name}' runs on the infrastructure of ${hostedBy.applicationRoot}: the shared compose project, `
132
+ + '.env.wildo-platform and platform-service env files are the host\'s; writing this application\'s own targets only.');
133
+ }
134
+ if (ownership.writesSharedComposeProject) {
101
135
  await renderDockerComposeTemplate(env, options.frameworkPath, options.isFrameworkDeveloper, undefined);
102
136
  updated.push(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM));
103
137
  generateEnvWildoPlatform(env, options.isFrameworkDeveloper, credentials);
104
138
  updated.push(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM));
105
139
  }
106
- if (options.isFrameworkDeveloper) {
140
+ {
107
141
  /*
108
142
  * The platform services' `.env` files are SHARED substrate: one running platform, one credential
109
143
  * basis. Regenerating them from a second app root swaps that basis out from under the owning
110
144
  * session (issue #50 — this exact write was one keypress away from repeating the 2026-08-25
111
145
  * outage; only the interactive prompt's default stopped it). Under a live FOREIGN owner they are
112
146
  * skipped with a notice; the app's own targets below are always this invocation's to write.
147
+ *
148
+ * That last clause was TRUE OF THE INTENT and false of the code until 2026-09-10: the whole
149
+ * block sat behind `if (options.isFrameworkDeveloper)`, so in app-creator mode the app's own
150
+ * backend / companion / frontend `.env` files were never written either. A freshly created
151
+ * app-creator application had ZERO env files while `local init` reported its runtime
152
+ * "materialized", and the failure surfaced later as the companion dying on `APPLICATION_ID ...
153
+ * undefined` inside `pnpm --parallel`, taking the rest of the stack with it.
154
+ *
155
+ * The mode now selects WHICH files are written, never WHETHER the application's own are:
156
+ * `skipPlatformServiceEnvs` already expresses exactly that, and a foreign owner and an
157
+ * app-creator install are two reasons to reach for the same switch.
113
158
  */
114
- const livePlatformOwner = readLiveLocalDevPlatformOwner(frameworkLayout.repositoryRoot);
115
- const foreignPlatformOwner = livePlatformOwner !== null
116
- && options.invokingAppRoot !== undefined
117
- && resolve(livePlatformOwner.appRoot) !== resolve(options.invokingAppRoot)
118
- ? livePlatformOwner
119
- : null;
120
159
  if (foreignPlatformOwner) {
121
160
  log.warn(` Skipping the shared platform-service env files: the platform is owned by another `
122
161
  + `\`wildo local dev\` session (pid ${foreignPlatformOwner.pid}, app ${foreignPlatformOwner.appRoot}). `
123
162
  + 'Regenerate them from the owning app root.');
124
163
  }
125
- generatePlatformServiceEnvFiles(env, options.frameworkPath, credentials, log, options.applicationBackends, options.companionApis, options.applicationFrontends, options.applicationWorkers, options.applicationMinions, options.applicationOperators, { skipPlatformServiceEnvs: foreignPlatformOwner !== null });
126
- if (!foreignPlatformOwner) {
164
+ generatePlatformServiceEnvFiles(env, options.frameworkPath, credentials, log, options.applicationBackends, options.companionApis, options.applicationFrontends, options.applicationWorkers, options.applicationMinions, options.applicationOperators, { skipPlatformServiceEnvs: !ownership.writesPlatformServiceEnvs });
165
+ if (ownership.writesPlatformServiceEnvs) {
127
166
  for (const service of PLATFORM_SERVICES_WITH_ENV) {
128
167
  const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;
129
168
  updated.push(join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV));
@@ -1 +1 @@
1
- {"version":3,"file":"env-sync.service.js","sourceRoot":"","sources":["../../../../src/services/environment/env-sync.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,UAAU,EAA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/C,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC;gBACzE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/E,CAAC;QACH,CAAC;QACD,IAAI,OAAO,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC;YACvC,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;gBAChD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;YACrF,CAAC;QACH,CAAC;QACD,IAAI,OAAO,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC;YACvC,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;gBAChD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;YACrF,CAAC;QACH,CAAC;QACD,IAAI,OAAO,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC;YACzC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;gBACpD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;YACnE,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AACnD,CAAC","sourcesContent":["/**\n * EnvSyncService — regenerate env files from secrets.json + config.json.\n *\n * IMPLEMENTATION: DONE — sync(), checkExisting(). Used by `wildo config sync --domain env-files`.\n * Command handles prompting when files exist; service overwrites on sync().\n */\n\nimport { existsSync } from 'fs';\nimport { join, resolve } from 'path';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport {\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { generateEnvWildoPlatform, renderDockerComposeTemplate } from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport { readLiveLocalDevPlatformOwner } from '~wildo-cli/services/deployment/local-dev-session-lease.service';\nimport {\n generatePlatformServiceEnvFiles,\n type ApplicationBackendEnvTarget,\n type CompanionPlatformEnvTarget,\n type ApplicationFrontendEnvExampleTarget,\n type ApplicationWorkerEnvTarget,\n type ApplicationMinionEnvTarget,\n type ApplicationOperatorEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { PLATFORM_SERVICE_CATALOG } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { PlatformWildoServices } from '@wildo-ai/platform-config-lib';\nimport type { Logger } from '~wildo-cli/kernel/types';\n\nexport interface EnvSyncResult {\n envFilesUpdated: string[];\n skipped: string[];\n}\n\nexport interface EnvSyncOptions {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n /** The invoking app root, so shared-substrate writes can be refused under a FOREIGN platform owner (issue #50). */\n invokingAppRoot?: string;\n applicationBackends?: ApplicationBackendEnvTarget[];\n companionApis?: CompanionPlatformEnvTarget[];\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[];\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n applicationOperators?: ApplicationOperatorEnvTarget[];\n}\n\nconst PLATFORM_SERVICES_WITH_ENV = [\n PlatformWildoServices.APPS_MANAGER,\n PlatformWildoServices.CRONTABS_BATCHES_MANAGER,\n] as const;\n\n/**\n * Return paths of env files that would be generated and that already exist.\n */\nexport function checkExisting(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n applicationBackends?: ApplicationBackendEnvTarget[],\n companionApis?: CompanionPlatformEnvTarget[],\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[],\n applicationWorkers?: ApplicationWorkerEnvTarget[],\n applicationMinions?: ApplicationMinionEnvTarget[],\n applicationOperators?: ApplicationOperatorEnvTarget[],\n): string[] {\n const existing: string[] = [];\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const frameworkLayout = resolveFrameworkLayout(frameworkPath);\n\n if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {\n const composeFile = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFile = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n if (existsSync(composeFile)) existing.push(composeFile);\n if (existsSync(envFile)) existing.push(envFile);\n }\n\n if (isFrameworkDeveloper) {\n for (const service of PLATFORM_SERVICES_WITH_ENV) {\n const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;\n const envPath = join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationBackends?.length) {\n for (const app of applicationBackends) {\n const envPath = join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (companionApis?.length) {\n for (const companion of companionApis) {\n const envPath = join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationFrontends?.length) {\n // BOTH, since the generator now writes both. `.env` is the file Vite actually reads, so a scan\n // that saw only `.env.example` would omit the one whose loss or overwrite a developer notices.\n for (const app of applicationFrontends) {\n for (const fileName of ['.env.example', FILE_NAMES.DOT_ENV]) {\n const envPath = join(app.applicationRoot, app.relativeDir, fileName);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n }\n\n if (applicationWorkers?.length) {\n for (const worker of applicationWorkers) {\n const envPath = join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationMinions?.length) {\n for (const minion of applicationMinions) {\n const envPath = join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationOperators?.length) {\n for (const operator of applicationOperators) {\n const envPath = join(operator.applicationRoot, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n return existing;\n}\n\n/**\n * Regenerate all env files. Always overwrites when called.\n * The command is responsible for prompting when files exist (unless --force).\n */\nexport async function sync(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n options: EnvSyncOptions,\n log: Logger,\n): Promise<EnvSyncResult> {\n const updated: string[] = [];\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const frameworkLayout = resolveFrameworkLayout(options.frameworkPath);\n\n if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {\n await renderDockerComposeTemplate(\n env,\n options.frameworkPath,\n options.isFrameworkDeveloper,\n undefined,\n );\n updated.push(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM));\n\n generateEnvWildoPlatform(env, options.isFrameworkDeveloper, credentials);\n updated.push(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM));\n }\n\n if (options.isFrameworkDeveloper) {\n /*\n * The platform services' `.env` files are SHARED substrate: one running platform, one credential\n * basis. Regenerating them from a second app root swaps that basis out from under the owning\n * session (issue #50 — this exact write was one keypress away from repeating the 2026-08-25\n * outage; only the interactive prompt's default stopped it). Under a live FOREIGN owner they are\n * skipped with a notice; the app's own targets below are always this invocation's to write.\n */\n const livePlatformOwner = readLiveLocalDevPlatformOwner(frameworkLayout.repositoryRoot);\n const foreignPlatformOwner = livePlatformOwner !== null\n && options.invokingAppRoot !== undefined\n && resolve(livePlatformOwner.appRoot) !== resolve(options.invokingAppRoot)\n ? livePlatformOwner\n : null;\n if (foreignPlatformOwner) {\n log.warn(\n ` Skipping the shared platform-service env files: the platform is owned by another `\n + `\\`wildo local dev\\` session (pid ${foreignPlatformOwner.pid}, app ${foreignPlatformOwner.appRoot}). `\n + 'Regenerate them from the owning app root.',\n );\n }\n generatePlatformServiceEnvFiles(\n env,\n options.frameworkPath,\n credentials,\n log,\n options.applicationBackends,\n options.companionApis,\n options.applicationFrontends,\n options.applicationWorkers,\n options.applicationMinions,\n options.applicationOperators,\n { skipPlatformServiceEnvs: foreignPlatformOwner !== null },\n );\n if (!foreignPlatformOwner) {\n for (const service of PLATFORM_SERVICES_WITH_ENV) {\n const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;\n updated.push(join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationBackends?.length) {\n for (const app of options.applicationBackends) {\n updated.push(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.companionApis?.length) {\n for (const companion of options.companionApis) {\n updated.push(join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationFrontends?.length) {\n for (const app of options.applicationFrontends) {\n updated.push(join(app.applicationRoot, app.relativeDir, '.env.example'));\n updated.push(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationWorkers?.length) {\n for (const worker of options.applicationWorkers) {\n updated.push(join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationMinions?.length) {\n for (const minion of options.applicationMinions) {\n updated.push(join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationOperators?.length) {\n for (const operator of options.applicationOperators) {\n updated.push(join(operator.applicationRoot, FILE_NAMES.DOT_ENV));\n }\n }\n }\n\n return { envFilesUpdated: updated, skipped: [] };\n}\n"]}
1
+ {"version":3,"file":"env-sync.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/env-sync.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACL,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6DAA6D,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAC/I,OAAO,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AAC/G,OAAO,EACL,+BAA+B,GAOhC,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAqBtE,MAAM,0BAA0B,GAAG;IACjC,qBAAqB,CAAC,YAAY;IAClC,qBAAqB,CAAC,wBAAwB;CACtC,CAAC;AA+BX,MAAM,UAAU,gCAAgC,CAC9C,GAAqC,EACrC,OAA2F;IAE3F,MAAM,QAAQ,GAAG,kBAAkB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACjD,MAAM,iBAAiB,GAAG,OAAO,CAAC,oBAAoB;QACpD,CAAC,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC;QAC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AAe,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AACnD,CAAC","sourcesContent":["/**\n * EnvSyncService — regenerate env files from secrets.json + config.json.\n *\n * IMPLEMENTATION: DONE — sync(), checkExisting(). Used by `wildo config sync --domain env-files`.\n * Command handles prompting when files exist; service overwrites on sync().\n */\n\nimport { existsSync } from 'fs';\nimport { join, resolve } from 'path';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport {\n resolveFrameworkLayout,\n WildoDeploymentRuntime,\n} from '@wildo-ai/platform-config-lib';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { generateEnvWildoPlatform, renderDockerComposeTemplate } from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport { readLiveLocalDevPlatformOwner } from '~wildo-cli/services/deployment/local-dev-session-lease.service';\nimport {\n generatePlatformServiceEnvFiles,\n type ApplicationBackendEnvTarget,\n type CompanionPlatformEnvTarget,\n type ApplicationFrontendEnvExampleTarget,\n type ApplicationWorkerEnvTarget,\n type ApplicationMinionEnvTarget,\n type ApplicationOperatorEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { PLATFORM_SERVICE_CATALOG } from '~wildo-cli/services/catalog/service-catalog.schemas';\nimport { PlatformWildoServices } from '@wildo-ai/platform-config-lib';\nimport type { Logger } from '~wildo-cli/kernel/types';\n\nexport interface EnvSyncResult {\n envFilesUpdated: string[];\n skipped: string[];\n}\n\nexport interface EnvSyncOptions {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n /** The invoking app root, so shared-substrate writes can be refused under a FOREIGN platform owner (issue #50). */\n invokingAppRoot?: string;\n applicationBackends?: ApplicationBackendEnvTarget[];\n companionApis?: CompanionPlatformEnvTarget[];\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[];\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n applicationOperators?: ApplicationOperatorEnvTarget[];\n}\n\nconst PLATFORM_SERVICES_WITH_ENV = [\n PlatformWildoServices.APPS_MANAGER,\n PlatformWildoServices.CRONTABS_BATCHES_MANAGER,\n] as const;\n\n/**\n * WHICH SHARED surfaces this invocation may write — the one decision {@link checkExisting} and\n * {@link sync} must agree on, computed once so they cannot disagree.\n *\n * Both answer a question about the same act: `checkExisting` says what would be overwritten, `sync`\n * does the overwriting. They drifted, and the drift was expensive in the quiet direction. Until\n * 2026-09-18 `checkExisting` consulted neither the infrastructure host nor the live platform owner,\n * so for a HOSTED application it listed the shared compose project, `.env.wildo-platform` and both\n * platform services' `.env` — every one of which `sync` then correctly skipped. The operator was shown\n * a prompt saying the shared platform was about to be rewritten, by a command that would not touch it,\n * and the honest reading of that prompt is to answer N — which declines the write of the\n * application's OWN env files, the entire purpose of the command. A second application could not\n * complete `config sync` while reading the output correctly, and the apparent remedy was to stop the\n * application that owns the platform.\n *\n * So this is not a display fix. A prompt that misnames what is at stake is a refusal mechanism that\n * fires on the wrong thing.\n */\nexport interface SharedEnvSurfaceOwnership {\n /** The host of this environment, or `null` when this application owns its infrastructure. */\n readonly hostedBy: ReturnType<typeof InfrastructureHost.resolve>;\n /** A live `wildo local dev` session owning the platform from a DIFFERENT app root, if any. */\n readonly foreignPlatformOwner: ReturnType<typeof readLiveLocalDevPlatformOwner>;\n /** The shared compose project and its `.env.wildo-platform`. */\n readonly writesSharedComposeProject: boolean;\n /** The platform services' own `.env` files under the framework checkout. */\n readonly writesPlatformServiceEnvs: boolean;\n}\n\nexport function resolveSharedEnvSurfaceOwnership(\n env: PlatformEnvironmentConfiguration,\n options: Pick<EnvSyncOptions, 'frameworkPath' | 'isFrameworkDeveloper' | 'invokingAppRoot'>,\n): SharedEnvSurfaceOwnership {\n const hostedBy = InfrastructureHost.resolve(env);\n const livePlatformOwner = options.isFrameworkDeveloper\n ? readLiveLocalDevPlatformOwner(resolveFrameworkLayout(options.frameworkPath).repositoryRoot)\n : null;\n const foreignPlatformOwner = livePlatformOwner !== null\n && options.invokingAppRoot !== undefined\n && resolve(livePlatformOwner.appRoot) !== resolve(options.invokingAppRoot)\n ? livePlatformOwner\n : null;\n return {\n hostedBy,\n foreignPlatformOwner,\n writesSharedComposeProject: env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE && hostedBy === null,\n // An app-creator install has no framework checkout to write them into; a hosted application and a\n // foreign live owner are two different reasons they are not this invocation's to write.\n writesPlatformServiceEnvs: options.isFrameworkDeveloper && hostedBy === null && foreignPlatformOwner === null,\n };\n}\n\n/**\n * Return paths of env files that would be generated and that already exist.\n *\n * \"Would be generated\" is load-bearing: a path this invocation will NOT write must not appear, or the\n * prompt built from it describes a different command than the one about to run. See\n * {@link SharedEnvSurfaceOwnership}.\n */\nexport function checkExisting(\n env: PlatformEnvironmentConfiguration,\n options: EnvSyncOptions,\n): string[] {\n const {\n frameworkPath,\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n applicationOperators,\n } = options;\n const existing: string[] = [];\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const frameworkLayout = resolveFrameworkLayout(frameworkPath);\n const ownership = resolveSharedEnvSurfaceOwnership(env, options);\n\n if (ownership.writesSharedComposeProject) {\n const composeFile = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFile = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n if (existsSync(composeFile)) existing.push(composeFile);\n if (existsSync(envFile)) existing.push(envFile);\n }\n\n if (ownership.writesPlatformServiceEnvs) {\n for (const service of PLATFORM_SERVICES_WITH_ENV) {\n const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;\n const envPath = join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationBackends?.length) {\n for (const app of applicationBackends) {\n const envPath = join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (companionApis?.length) {\n for (const companion of companionApis) {\n const envPath = join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationFrontends?.length) {\n // BOTH, since the generator now writes both. `.env` is the file Vite actually reads, so a scan\n // that saw only `.env.example` would omit the one whose loss or overwrite a developer notices.\n for (const app of applicationFrontends) {\n for (const fileName of ['.env.example', FILE_NAMES.DOT_ENV]) {\n const envPath = join(app.applicationRoot, app.relativeDir, fileName);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n }\n\n if (applicationWorkers?.length) {\n for (const worker of applicationWorkers) {\n const envPath = join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationMinions?.length) {\n for (const minion of applicationMinions) {\n const envPath = join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n if (applicationOperators?.length) {\n for (const operator of applicationOperators) {\n const envPath = join(operator.applicationRoot, FILE_NAMES.DOT_ENV);\n if (existsSync(envPath)) existing.push(envPath);\n }\n }\n\n return existing;\n}\n\n/**\n * Regenerate all env files. Always overwrites when called.\n * The command is responsible for prompting when files exist (unless --force).\n */\nexport async function sync(\n env: PlatformEnvironmentConfiguration,\n credentials: PlatformEnvSecretsJson,\n options: EnvSyncOptions,\n log: Logger,\n): Promise<EnvSyncResult> {\n const updated: string[] = [];\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const frameworkLayout = resolveFrameworkLayout(options.frameworkPath);\n // THE SAME decision `checkExisting` reported, so the prompt and the write cannot describe\n // different commands. See `SharedEnvSurfaceOwnership`.\n const ownership = resolveSharedEnvSurfaceOwnership(env, options);\n const { hostedBy, foreignPlatformOwner } = ownership;\n if (hostedBy !== null) {\n log.info(\n ` '${env.name}' runs on the infrastructure of ${hostedBy.applicationRoot}: the shared compose project, `\n + '.env.wildo-platform and platform-service env files are the host\\'s; writing this application\\'s own targets only.',\n );\n }\n\n if (ownership.writesSharedComposeProject) {\n await renderDockerComposeTemplate(\n env,\n options.frameworkPath,\n options.isFrameworkDeveloper,\n undefined,\n );\n updated.push(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM));\n\n generateEnvWildoPlatform(env, options.isFrameworkDeveloper, credentials);\n updated.push(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM));\n }\n\n {\n /*\n * The platform services' `.env` files are SHARED substrate: one running platform, one credential\n * basis. Regenerating them from a second app root swaps that basis out from under the owning\n * session (issue #50 — this exact write was one keypress away from repeating the 2026-08-25\n * outage; only the interactive prompt's default stopped it). Under a live FOREIGN owner they are\n * skipped with a notice; the app's own targets below are always this invocation's to write.\n *\n * That last clause was TRUE OF THE INTENT and false of the code until 2026-09-10: the whole\n * block sat behind `if (options.isFrameworkDeveloper)`, so in app-creator mode the app's own\n * backend / companion / frontend `.env` files were never written either. A freshly created\n * app-creator application had ZERO env files while `local init` reported its runtime\n * \"materialized\", and the failure surfaced later as the companion dying on `APPLICATION_ID ...\n * undefined` inside `pnpm --parallel`, taking the rest of the stack with it.\n *\n * The mode now selects WHICH files are written, never WHETHER the application's own are:\n * `skipPlatformServiceEnvs` already expresses exactly that, and a foreign owner and an\n * app-creator install are two reasons to reach for the same switch.\n */\n if (foreignPlatformOwner) {\n log.warn(\n ` Skipping the shared platform-service env files: the platform is owned by another `\n + `\\`wildo local dev\\` session (pid ${foreignPlatformOwner.pid}, app ${foreignPlatformOwner.appRoot}). `\n + 'Regenerate them from the owning app root.',\n );\n }\n generatePlatformServiceEnvFiles(\n env,\n options.frameworkPath,\n credentials,\n log,\n options.applicationBackends,\n options.companionApis,\n options.applicationFrontends,\n options.applicationWorkers,\n options.applicationMinions,\n options.applicationOperators,\n { skipPlatformServiceEnvs: !ownership.writesPlatformServiceEnvs },\n );\n if (ownership.writesPlatformServiceEnvs) {\n for (const service of PLATFORM_SERVICES_WITH_ENV) {\n const dir = PLATFORM_SERVICE_CATALOG[service].sourceDir;\n updated.push(join(frameworkLayout.repositoryRoot, dir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationBackends?.length) {\n for (const app of options.applicationBackends) {\n updated.push(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.companionApis?.length) {\n for (const companion of options.companionApis) {\n updated.push(join(companion.applicationRoot, companion.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationFrontends?.length) {\n for (const app of options.applicationFrontends) {\n updated.push(join(app.applicationRoot, app.relativeDir, '.env.example'));\n updated.push(join(app.applicationRoot, app.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationWorkers?.length) {\n for (const worker of options.applicationWorkers) {\n updated.push(join(worker.applicationRoot, worker.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationMinions?.length) {\n for (const minion of options.applicationMinions) {\n updated.push(join(minion.applicationRoot, minion.relativeDir, FILE_NAMES.DOT_ENV));\n }\n }\n if (options.applicationOperators?.length) {\n for (const operator of options.applicationOperators) {\n updated.push(join(operator.applicationRoot, FILE_NAMES.DOT_ENV));\n }\n }\n }\n\n return { envFilesUpdated: updated, skipped: [] };\n}\n"]}