@wildo-ai/wildo-cli 1.1.10 → 1.1.12

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 (2284) hide show
  1. package/dist/bin/wildo.js +0 -0
  2. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  3. package/dist/src/commands/acp/probe.command.js +2 -1
  4. package/dist/src/commands/acp/probe.command.js.map +1 -1
  5. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  6. package/dist/src/commands/align-deps.command.js +21 -3
  7. package/dist/src/commands/align-deps.command.js.map +1 -1
  8. package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
  9. package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
  10. package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
  11. package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
  12. package/dist/src/commands/assurance/report.command.d.ts +14 -0
  13. package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
  14. package/dist/src/commands/assurance/report.command.js +28 -0
  15. package/dist/src/commands/assurance/report.command.js.map +1 -0
  16. package/dist/src/commands/assurance/run.command.d.ts +16 -0
  17. package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
  18. package/dist/src/commands/assurance/run.command.js +49 -0
  19. package/dist/src/commands/assurance/run.command.js.map +1 -0
  20. package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
  21. package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
  22. package/dist/src/commands/assurance/schedule.command.js +49 -0
  23. package/dist/src/commands/assurance/schedule.command.js.map +1 -0
  24. package/dist/src/commands/blueprint/pack.command.d.ts +16 -0
  25. package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -0
  26. package/dist/src/commands/blueprint/pack.command.js +86 -0
  27. package/dist/src/commands/blueprint/pack.command.js.map +1 -0
  28. package/dist/src/commands/blueprint/publish.command.d.ts +16 -0
  29. package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -0
  30. package/dist/src/commands/blueprint/publish.command.js +114 -0
  31. package/dist/src/commands/blueprint/publish.command.js.map +1 -0
  32. package/dist/src/commands/blueprint/status.command.d.ts +14 -0
  33. package/dist/src/commands/blueprint/status.command.d.ts.map +1 -0
  34. package/dist/src/commands/blueprint/status.command.js +62 -0
  35. package/dist/src/commands/blueprint/status.command.js.map +1 -0
  36. package/dist/src/commands/build/accept.command.d.ts +4 -0
  37. package/dist/src/commands/build/accept.command.d.ts.map +1 -1
  38. package/dist/src/commands/build/accept.command.js +10 -1
  39. package/dist/src/commands/build/accept.command.js.map +1 -1
  40. package/dist/src/commands/build/approve.command.d.ts +18 -0
  41. package/dist/src/commands/build/approve.command.d.ts.map +1 -0
  42. package/dist/src/commands/build/approve.command.js +45 -0
  43. package/dist/src/commands/build/approve.command.js.map +1 -0
  44. package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
  45. package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
  46. package/dist/src/commands/build/checkpoint.command.js +36 -0
  47. package/dist/src/commands/build/checkpoint.command.js.map +1 -0
  48. package/dist/src/commands/build/close.command.d.ts +26 -0
  49. package/dist/src/commands/build/close.command.d.ts.map +1 -0
  50. package/dist/src/commands/build/close.command.js +58 -0
  51. package/dist/src/commands/build/close.command.js.map +1 -0
  52. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
  53. package/dist/src/commands/build/dispatches.command.js +10 -4
  54. package/dist/src/commands/build/dispatches.command.js.map +1 -1
  55. package/dist/src/commands/build/next.command.d.ts.map +1 -1
  56. package/dist/src/commands/build/next.command.js +6 -1
  57. package/dist/src/commands/build/next.command.js.map +1 -1
  58. package/dist/src/commands/build/rearm.command.d.ts +6 -4
  59. package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
  60. package/dist/src/commands/build/rearm.command.js +12 -7
  61. package/dist/src/commands/build/rearm.command.js.map +1 -1
  62. package/dist/src/commands/build/settle-window.command.d.ts +17 -0
  63. package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
  64. package/dist/src/commands/build/settle-window.command.js +42 -0
  65. package/dist/src/commands/build/settle-window.command.js.map +1 -0
  66. package/dist/src/commands/build/stop.command.d.ts +23 -0
  67. package/dist/src/commands/build/stop.command.d.ts.map +1 -0
  68. package/dist/src/commands/build/stop.command.js +52 -0
  69. package/dist/src/commands/build/stop.command.js.map +1 -0
  70. package/dist/src/commands/config/check-resources.command.d.ts +20 -6
  71. package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
  72. package/dist/src/commands/config/check-resources.command.js +36 -13
  73. package/dist/src/commands/config/check-resources.command.js.map +1 -1
  74. package/dist/src/commands/config/document-releases.command.d.ts +3 -0
  75. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
  76. package/dist/src/commands/config/document-releases.command.js +3 -0
  77. package/dist/src/commands/config/document-releases.command.js.map +1 -1
  78. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  79. package/dist/src/commands/config/reapply-declaration.command.js +24 -0
  80. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  81. package/dist/src/commands/config/sync.command.d.ts +17 -3
  82. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  83. package/dist/src/commands/config/sync.command.js +87 -19
  84. package/dist/src/commands/config/sync.command.js.map +1 -1
  85. package/dist/src/commands/config/validate.command.d.ts +3 -2
  86. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  87. package/dist/src/commands/config/validate.command.js +44 -12
  88. package/dist/src/commands/config/validate.command.js.map +1 -1
  89. package/dist/src/commands/context/context-command.utils.d.ts +6 -1
  90. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  91. package/dist/src/commands/context/context-command.utils.js +8 -2
  92. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  93. package/dist/src/commands/context/elements.command.d.ts +5 -1
  94. package/dist/src/commands/context/elements.command.d.ts.map +1 -1
  95. package/dist/src/commands/context/elements.command.js +5 -1
  96. package/dist/src/commands/context/elements.command.js.map +1 -1
  97. package/dist/src/commands/context/journey.command.d.ts +33 -2
  98. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  99. package/dist/src/commands/context/journey.command.js +217 -36
  100. package/dist/src/commands/context/journey.command.js.map +1 -1
  101. package/dist/src/commands/context/launch-blockers.command.d.ts +4 -2
  102. package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
  103. package/dist/src/commands/context/launch-blockers.command.js +9 -6
  104. package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
  105. package/dist/src/commands/context/pipelines.command.d.ts +2 -0
  106. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
  107. package/dist/src/commands/context/pipelines.command.js +6 -3
  108. package/dist/src/commands/context/pipelines.command.js.map +1 -1
  109. package/dist/src/commands/creation/answer.command.d.ts +12 -0
  110. package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
  111. package/dist/src/commands/creation/answer.command.js +71 -3
  112. package/dist/src/commands/creation/answer.command.js.map +1 -1
  113. package/dist/src/commands/creation/brief.command.d.ts +10 -3
  114. package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
  115. package/dist/src/commands/creation/brief.command.js +22 -7
  116. package/dist/src/commands/creation/brief.command.js.map +1 -1
  117. package/dist/src/commands/creation/drive.command.d.ts +19 -0
  118. package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
  119. package/dist/src/commands/creation/drive.command.js +110 -0
  120. package/dist/src/commands/creation/drive.command.js.map +1 -0
  121. package/dist/src/commands/creation/feed.command.d.ts +11 -0
  122. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  123. package/dist/src/commands/creation/feed.command.js +78 -3
  124. package/dist/src/commands/creation/feed.command.js.map +1 -1
  125. package/dist/src/commands/creation/loop.command.d.ts +6 -0
  126. package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
  127. package/dist/src/commands/creation/loop.command.js +16 -0
  128. package/dist/src/commands/creation/loop.command.js.map +1 -1
  129. package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
  130. package/dist/src/commands/creation/preflight.command.js +3 -1
  131. package/dist/src/commands/creation/preflight.command.js.map +1 -1
  132. package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
  133. package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
  134. package/dist/src/commands/creation/prompt-hook.command.js +7 -3
  135. package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
  136. package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
  137. package/dist/src/commands/creation/questions.command.js +15 -1
  138. package/dist/src/commands/creation/questions.command.js.map +1 -1
  139. package/dist/src/commands/creation/report.command.d.ts.map +1 -1
  140. package/dist/src/commands/creation/report.command.js +12 -0
  141. package/dist/src/commands/creation/report.command.js.map +1 -1
  142. package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
  143. package/dist/src/commands/creation/revert.command.js +2 -0
  144. package/dist/src/commands/creation/revert.command.js.map +1 -1
  145. package/dist/src/commands/creation/run.command.d.ts.map +1 -1
  146. package/dist/src/commands/creation/run.command.js +2 -1
  147. package/dist/src/commands/creation/run.command.js.map +1 -1
  148. package/dist/src/commands/creation/why.command.d.ts.map +1 -1
  149. package/dist/src/commands/creation/why.command.js +14 -9
  150. package/dist/src/commands/creation/why.command.js.map +1 -1
  151. package/dist/src/commands/creation/writes.command.d.ts +7 -0
  152. package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
  153. package/dist/src/commands/creation/writes.command.js +21 -6
  154. package/dist/src/commands/creation/writes.command.js.map +1 -1
  155. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
  156. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
  157. package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
  158. package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
  159. package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
  160. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  161. package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
  162. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  163. package/dist/src/commands/db/diff.command.d.ts +1 -1
  164. package/dist/src/commands/db/diff.command.js +3 -3
  165. package/dist/src/commands/db/diff.command.js.map +1 -1
  166. package/dist/src/commands/db/generate.command.d.ts +2 -3
  167. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  168. package/dist/src/commands/db/generate.command.js +34 -8
  169. package/dist/src/commands/db/generate.command.js.map +1 -1
  170. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  171. package/dist/src/commands/db/migrate.command.js +9 -1
  172. package/dist/src/commands/db/migrate.command.js.map +1 -1
  173. package/dist/src/commands/dev/design-tokens-brand.command.d.ts +10 -0
  174. package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -0
  175. package/dist/src/commands/dev/design-tokens-brand.command.js +24 -0
  176. package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -0
  177. package/dist/src/commands/dev/design-tokens-contract.command.d.ts +10 -0
  178. package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -0
  179. package/dist/src/commands/dev/design-tokens-contract.command.js +24 -0
  180. package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -0
  181. package/dist/src/commands/dev/design-tokens-contrast.command.d.ts +10 -0
  182. package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -0
  183. package/dist/src/commands/dev/design-tokens-contrast.command.js +24 -0
  184. package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -0
  185. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  186. package/dist/src/commands/dev/start.command.js +34 -8
  187. package/dist/src/commands/dev/start.command.js.map +1 -1
  188. package/dist/src/commands/docs/check.command.d.ts +25 -0
  189. package/dist/src/commands/docs/check.command.d.ts.map +1 -0
  190. package/dist/src/commands/docs/check.command.js +103 -0
  191. package/dist/src/commands/docs/check.command.js.map +1 -0
  192. package/dist/src/commands/frontend/look.command.d.ts +26 -0
  193. package/dist/src/commands/frontend/look.command.d.ts.map +1 -0
  194. package/dist/src/commands/frontend/look.command.js +132 -0
  195. package/dist/src/commands/frontend/look.command.js.map +1 -0
  196. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  197. package/dist/src/commands/fwk/dev-skills.command.js +23 -0
  198. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  199. package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
  200. package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
  201. package/dist/src/commands/fwk/generate-blueprints.command.js +76 -0
  202. package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
  203. package/dist/src/commands/fwk/generate-providers.command.js +2 -2
  204. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  205. package/dist/src/commands/fwk/graph.command.d.ts +1 -1
  206. package/dist/src/commands/fwk/graph.command.js +1 -1
  207. package/dist/src/commands/fwk/graph.command.js.map +1 -1
  208. package/dist/src/commands/fwk/publish-all.command.d.ts +57 -3
  209. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  210. package/dist/src/commands/fwk/publish-all.command.js +424 -37
  211. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  212. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  213. package/dist/src/commands/fwk/publish-docker.command.js +9 -0
  214. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  215. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  216. package/dist/src/commands/fwk/publish-npm.command.js +15 -4
  217. package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
  218. package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
  219. package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
  220. package/dist/src/commands/fwk/publish-promote.command.js +158 -0
  221. package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
  222. package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
  223. package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
  224. package/dist/src/commands/fwk/publish-providers.command.js +88 -0
  225. package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
  226. package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
  227. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
  228. package/dist/src/commands/fwk/registry-host.command.js +393 -0
  229. package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
  230. package/dist/src/commands/fwk/release.command.d.ts +22 -0
  231. package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
  232. package/dist/src/commands/fwk/release.command.js +216 -0
  233. package/dist/src/commands/fwk/release.command.js.map +1 -0
  234. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  235. package/dist/src/commands/fwk/version-show.command.js +1 -2
  236. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  237. package/dist/src/commands/generate/email-command.utils.d.ts +15 -2
  238. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  239. package/dist/src/commands/generate/email-command.utils.js +20 -7
  240. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  241. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  242. package/dist/src/commands/generate/email-status.command.js +2 -2
  243. package/dist/src/commands/generate/email-status.command.js.map +1 -1
  244. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  245. package/dist/src/commands/generate/email-translate.command.js +2 -2
  246. package/dist/src/commands/generate/email-translate.command.js.map +1 -1
  247. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  248. package/dist/src/commands/generate/email.command.js +2 -2
  249. package/dist/src/commands/generate/email.command.js.map +1 -1
  250. package/dist/src/commands/generate/labelling-command.utils.d.ts +30 -0
  251. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  252. package/dist/src/commands/generate/labelling-command.utils.js +131 -14
  253. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  254. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  255. package/dist/src/commands/generate/labels.command.js +10 -1
  256. package/dist/src/commands/generate/labels.command.js.map +1 -1
  257. package/dist/src/commands/generate/translate.command.d.ts +10 -0
  258. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  259. package/dist/src/commands/generate/translate.command.js +37 -4
  260. package/dist/src/commands/generate/translate.command.js.map +1 -1
  261. package/dist/src/commands/help.command.d.ts.map +1 -1
  262. package/dist/src/commands/help.command.js +4 -0
  263. package/dist/src/commands/help.command.js.map +1 -1
  264. package/dist/src/commands/init.command.d.ts +70 -3
  265. package/dist/src/commands/init.command.d.ts.map +1 -1
  266. package/dist/src/commands/init.command.js +468 -33
  267. package/dist/src/commands/init.command.js.map +1 -1
  268. package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
  269. package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
  270. package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
  271. package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
  272. package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
  273. package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
  274. package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
  275. package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
  276. package/dist/src/commands/keys/rotate.command.d.ts +36 -0
  277. package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
  278. package/dist/src/commands/keys/rotate.command.js +140 -0
  279. package/dist/src/commands/keys/rotate.command.js.map +1 -0
  280. package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
  281. package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
  282. package/dist/src/commands/keys/thumbprint.command.js +64 -0
  283. package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
  284. package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
  285. package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
  286. package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
  287. package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
  288. package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
  289. package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
  290. package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
  291. package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
  292. package/dist/src/commands/local/dev-status.command.d.ts +16 -4
  293. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  294. package/dist/src/commands/local/dev-status.command.js +50 -6
  295. package/dist/src/commands/local/dev-status.command.js.map +1 -1
  296. package/dist/src/commands/local/dev.command.d.ts +17 -3
  297. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  298. package/dist/src/commands/local/dev.command.js +88 -11
  299. package/dist/src/commands/local/dev.command.js.map +1 -1
  300. package/dist/src/commands/local/doctor.command.d.ts +18 -0
  301. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  302. package/dist/src/commands/local/doctor.command.js +129 -2
  303. package/dist/src/commands/local/doctor.command.js.map +1 -1
  304. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  305. package/dist/src/commands/local/down.command.js +1 -2
  306. package/dist/src/commands/local/down.command.js.map +1 -1
  307. package/dist/src/commands/local/reinit.command.js +1 -1
  308. package/dist/src/commands/local/reinit.command.js.map +1 -1
  309. package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
  310. package/dist/src/commands/local/smoke.command.js +3 -2
  311. package/dist/src/commands/local/smoke.command.js.map +1 -1
  312. package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
  313. package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
  314. package/dist/src/commands/local/sor-addresses.command.js +65 -0
  315. package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
  316. package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
  317. package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
  318. package/dist/src/commands/local/sor-command.utils.js +28 -0
  319. package/dist/src/commands/local/sor-command.utils.js.map +1 -0
  320. package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
  321. package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
  322. package/dist/src/commands/local/sor-secrets.command.js +75 -0
  323. package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
  324. package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
  325. package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
  326. package/dist/src/commands/local/sor-simulators.command.js +55 -0
  327. package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
  328. package/dist/src/commands/local/up.command.d.ts +11 -5
  329. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  330. package/dist/src/commands/local/up.command.js +51 -145
  331. package/dist/src/commands/local/up.command.js.map +1 -1
  332. package/dist/src/commands/lock/check.command.d.ts +15 -13
  333. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  334. package/dist/src/commands/lock/check.command.js +23 -30
  335. package/dist/src/commands/lock/check.command.js.map +1 -1
  336. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  337. package/dist/src/commands/market/generate.command.js +2 -1
  338. package/dist/src/commands/market/generate.command.js.map +1 -1
  339. package/dist/src/commands/providers/application-connection-session.utils.d.ts +9 -0
  340. package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
  341. package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
  342. package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
  343. package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
  344. package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
  345. package/dist/src/commands/providers/chat-command-registrations.utils.js +121 -0
  346. package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
  347. package/dist/src/commands/providers/connect.command.d.ts +19 -0
  348. package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
  349. package/dist/src/commands/providers/connect.command.js +247 -0
  350. package/dist/src/commands/providers/connect.command.js.map +1 -0
  351. package/dist/src/commands/providers/connections.command.d.ts +14 -0
  352. package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
  353. package/dist/src/commands/providers/connections.command.js +74 -0
  354. package/dist/src/commands/providers/connections.command.js.map +1 -0
  355. package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
  356. package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
  357. package/dist/src/commands/providers/disconnect.command.js +91 -0
  358. package/dist/src/commands/providers/disconnect.command.js.map +1 -0
  359. package/dist/src/commands/providers/new.command.d.ts +14 -0
  360. package/dist/src/commands/providers/new.command.d.ts.map +1 -0
  361. package/dist/src/commands/providers/new.command.js +119 -0
  362. package/dist/src/commands/providers/new.command.js.map +1 -0
  363. package/dist/src/commands/providers/probe.command.d.ts +19 -0
  364. package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
  365. package/dist/src/commands/providers/probe.command.js +164 -0
  366. package/dist/src/commands/providers/probe.command.js.map +1 -0
  367. package/dist/src/commands/providers/prove.command.d.ts +16 -0
  368. package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
  369. package/dist/src/commands/providers/prove.command.js +174 -0
  370. package/dist/src/commands/providers/prove.command.js.map +1 -0
  371. package/dist/src/commands/providers/register.command.d.ts +34 -0
  372. package/dist/src/commands/providers/register.command.d.ts.map +1 -0
  373. package/dist/src/commands/providers/register.command.js +293 -0
  374. package/dist/src/commands/providers/register.command.js.map +1 -0
  375. package/dist/src/commands/providers/show.command.d.ts +1 -0
  376. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  377. package/dist/src/commands/providers/show.command.js +6 -46
  378. package/dist/src/commands/providers/show.command.js.map +1 -1
  379. package/dist/src/commands/registry/add.command.d.ts +3 -0
  380. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  381. package/dist/src/commands/registry/add.command.js +23 -212
  382. package/dist/src/commands/registry/add.command.js.map +1 -1
  383. package/dist/src/commands/registry/domain.command.d.ts +32 -0
  384. package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
  385. package/dist/src/commands/registry/domain.command.js +118 -0
  386. package/dist/src/commands/registry/domain.command.js.map +1 -0
  387. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  388. package/dist/src/commands/registry/login.command.js +4 -2
  389. package/dist/src/commands/registry/login.command.js.map +1 -1
  390. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  391. package/dist/src/commands/registry/publish.command.js +40 -50
  392. package/dist/src/commands/registry/publish.command.js.map +1 -1
  393. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  394. package/dist/src/commands/registry/remove.command.js +16 -1
  395. package/dist/src/commands/registry/remove.command.js.map +1 -1
  396. package/dist/src/commands/registry/repair-lockfile.command.d.ts +13 -2
  397. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  398. package/dist/src/commands/registry/repair-lockfile.command.js +137 -13
  399. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  400. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  401. package/dist/src/commands/registry/search.command.js +4 -4
  402. package/dist/src/commands/registry/search.command.js.map +1 -1
  403. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  404. package/dist/src/commands/registry/update.command.js +22 -6
  405. package/dist/src/commands/registry/update.command.js.map +1 -1
  406. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  407. package/dist/src/commands/registry/whoami.command.js +4 -2
  408. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  409. package/dist/src/commands/remote/sync.command.js +1 -1
  410. package/dist/src/commands/remote/sync.command.js.map +1 -1
  411. package/dist/src/commands/seal/dead.command.d.ts +11 -0
  412. package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
  413. package/dist/src/commands/seal/dead.command.js +45 -0
  414. package/dist/src/commands/seal/dead.command.js.map +1 -0
  415. package/dist/src/commands/seal/export.command.d.ts +12 -0
  416. package/dist/src/commands/seal/export.command.d.ts.map +1 -0
  417. package/dist/src/commands/seal/export.command.js +67 -0
  418. package/dist/src/commands/seal/export.command.js.map +1 -0
  419. package/dist/src/commands/seal/log-export.command.d.ts +18 -0
  420. package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
  421. package/dist/src/commands/seal/log-export.command.js +98 -0
  422. package/dist/src/commands/seal/log-export.command.js.map +1 -0
  423. package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
  424. package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
  425. package/dist/src/commands/seal/log-verify.command.js +75 -0
  426. package/dist/src/commands/seal/log-verify.command.js.map +1 -0
  427. package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
  428. package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
  429. package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
  430. package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
  431. package/dist/src/commands/seal/retry.command.d.ts +12 -0
  432. package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
  433. package/dist/src/commands/seal/retry.command.js +48 -0
  434. package/dist/src/commands/seal/retry.command.js.map +1 -0
  435. package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
  436. package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
  437. package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
  438. package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
  439. package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
  440. package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
  441. package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
  442. package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
  443. package/dist/src/commands/seal/verify.command.d.ts +27 -0
  444. package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
  445. package/dist/src/commands/seal/verify.command.js +172 -0
  446. package/dist/src/commands/seal/verify.command.js.map +1 -0
  447. package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
  448. package/dist/src/commands/secrets/list.command.js +3 -2
  449. package/dist/src/commands/secrets/list.command.js.map +1 -1
  450. package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
  451. package/dist/src/commands/secrets/set.command.js +8 -5
  452. package/dist/src/commands/secrets/set.command.js.map +1 -1
  453. package/dist/src/commands/update.command.d.ts.map +1 -1
  454. package/dist/src/commands/update.command.js +89 -7
  455. package/dist/src/commands/update.command.js.map +1 -1
  456. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  457. package/dist/src/commands/website/audit.command.js +15 -1
  458. package/dist/src/commands/website/audit.command.js.map +1 -1
  459. package/dist/src/commands/website/look.command.d.ts +22 -0
  460. package/dist/src/commands/website/look.command.d.ts.map +1 -0
  461. package/dist/src/commands/website/look.command.js +147 -0
  462. package/dist/src/commands/website/look.command.js.map +1 -0
  463. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  464. package/dist/src/commands/workbench/open.command.js +12 -3
  465. package/dist/src/commands/workbench/open.command.js.map +1 -1
  466. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  467. package/dist/src/commands/workbench/status.command.js +2 -1
  468. package/dist/src/commands/workbench/status.command.js.map +1 -1
  469. package/dist/src/infrastructure/io/io.schemas.d.ts +4 -4
  470. package/dist/src/infrastructure/io/io.schemas.js +4 -4
  471. package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
  472. package/dist/src/kernel/bootstrap.d.ts +10 -0
  473. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  474. package/dist/src/kernel/bootstrap.js +13 -1
  475. package/dist/src/kernel/bootstrap.js.map +1 -1
  476. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  477. package/dist/src/kernel/command-registry.js +8 -0
  478. package/dist/src/kernel/command-registry.js.map +1 -1
  479. package/dist/src/kernel/command-runner.d.ts +5 -0
  480. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  481. package/dist/src/kernel/command-runner.js +13 -1
  482. package/dist/src/kernel/command-runner.js.map +1 -1
  483. package/dist/src/kernel/hooks.d.ts.map +1 -1
  484. package/dist/src/kernel/hooks.js +5 -3
  485. package/dist/src/kernel/hooks.js.map +1 -1
  486. package/dist/src/kernel/json-document-output.d.ts +25 -0
  487. package/dist/src/kernel/json-document-output.d.ts.map +1 -0
  488. package/dist/src/kernel/json-document-output.js +29 -0
  489. package/dist/src/kernel/json-document-output.js.map +1 -0
  490. package/dist/src/kernel/logger.d.ts +16 -1
  491. package/dist/src/kernel/logger.d.ts.map +1 -1
  492. package/dist/src/kernel/logger.js +21 -4
  493. package/dist/src/kernel/logger.js.map +1 -1
  494. package/dist/src/kernel/types.d.ts +14 -1
  495. package/dist/src/kernel/types.d.ts.map +1 -1
  496. package/dist/src/kernel/types.js +13 -0
  497. package/dist/src/kernel/types.js.map +1 -1
  498. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +5 -1
  499. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
  500. package/dist/src/modules/domain/credentials/creation-essentials.module.js +1 -4
  501. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
  502. package/dist/src/services/application/ai-use-declarations.service.d.ts +89 -0
  503. package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -0
  504. package/dist/src/services/application/ai-use-declarations.service.js +178 -0
  505. package/dist/src/services/application/ai-use-declarations.service.js.map +1 -0
  506. package/dist/src/services/application/app-bootstrap.service.d.ts +47 -3
  507. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  508. package/dist/src/services/application/app-bootstrap.service.js +158 -42
  509. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  510. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -1
  511. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  512. package/dist/src/services/application/app-local-runtime-addresses.service.js +23 -5
  513. package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
  514. package/dist/src/services/application/app-runtime-targets.service.d.ts +8 -1
  515. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  516. package/dist/src/services/application/app-runtime-targets.service.js +23 -8
  517. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  518. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  519. package/dist/src/services/application/app-schema-bootstrap.service.js +5 -1
  520. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
  521. package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
  522. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  523. package/dist/src/services/application/application-assets-delivery.service.js +23 -2
  524. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  525. package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
  526. package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
  527. package/dist/src/services/application/application-browser-smoke.service.js +142 -19
  528. package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
  529. package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
  530. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
  531. package/dist/src/services/application/application-creation-readiness.service.js +74 -21
  532. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  533. package/dist/src/services/application/application-dependency-alignment.service.d.ts +62 -10
  534. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  535. package/dist/src/services/application/application-dependency-alignment.service.js +146 -22
  536. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  537. package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
  538. package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
  539. package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
  540. package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
  541. package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
  542. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  543. package/dist/src/services/application/application-initialization-verification.service.js +31 -11
  544. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
  545. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  546. package/dist/src/services/application/application-runtime-bootstrap.service.js +2 -0
  547. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  548. package/dist/src/services/application/composition-provider-plan.service.d.ts +1 -1
  549. package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
  550. package/dist/src/services/application/composition-provider-plan.service.js +53 -28
  551. package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
  552. package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
  553. package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
  554. package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
  555. package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
  556. package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
  557. package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
  558. package/dist/src/services/application/creation-host-readiness.service.js +44 -5
  559. package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
  560. package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
  561. package/dist/src/services/application/creation-preflight.service.js +2 -2
  562. package/dist/src/services/application/creation-preflight.service.js.map +1 -1
  563. package/dist/src/services/application/dev-schema-drift.service.js +1 -1
  564. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  565. package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
  566. package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
  567. package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
  568. package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
  569. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
  570. package/dist/src/services/application/environment-provider-configurations.service.js +96 -2
  571. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
  572. package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts +23 -0
  573. package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -0
  574. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +107 -0
  575. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -0
  576. package/dist/src/services/application/frontend-providers-not-configured.service.d.ts +23 -0
  577. package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -0
  578. package/dist/src/services/application/frontend-providers-not-configured.service.js +62 -0
  579. package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -0
  580. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +13 -2
  581. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
  582. package/dist/src/services/application/frontend-public-config-secret-screen.service.js +4 -2
  583. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
  584. package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
  585. package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
  586. package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
  587. package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
  588. package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
  589. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  590. package/dist/src/services/application/provider-runtime-sync.service.js +300 -116
  591. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  592. package/dist/src/services/application/saas-skeleton.service.d.ts +59 -2
  593. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  594. package/dist/src/services/application/saas-skeleton.service.js +91 -24
  595. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  596. package/dist/src/services/application/system-of-record-simulators.service.d.ts +202 -0
  597. package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
  598. package/dist/src/services/application/system-of-record-simulators.service.js +433 -0
  599. package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
  600. package/dist/src/services/application/systems-of-record-library.service.d.ts +1 -1
  601. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
  602. package/dist/src/services/application/systems-of-record-library.service.js +10 -6
  603. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
  604. package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
  605. package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
  606. package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
  607. package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
  608. package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
  609. package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
  610. package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
  611. package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
  612. package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
  613. package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
  614. package/dist/src/services/blueprint/blueprint-artifact.service.js +89 -0
  615. package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
  616. package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
  617. package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
  618. package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
  619. package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
  620. package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
  621. package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
  622. package/dist/src/services/blueprint/blueprint-export.service.js +900 -0
  623. package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
  624. package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
  625. package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
  626. package/dist/src/services/blueprint/blueprint-line.service.js +202 -0
  627. package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
  628. package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
  629. package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
  630. package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
  631. package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
  632. package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
  633. package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
  634. package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
  635. package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
  636. package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
  637. package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
  638. package/dist/src/services/blueprint/blueprint-report.js +32 -0
  639. package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
  640. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
  641. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
  642. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
  643. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
  644. package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
  645. package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
  646. package/dist/src/services/blueprint/framework-blueprints.service.js +252 -0
  647. package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
  648. package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -0
  649. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  650. package/dist/src/services/catalog/service-address-resolver.service.js +4 -0
  651. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  652. package/dist/src/services/catalog/service-catalog.schemas.d.ts +14 -35
  653. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  654. package/dist/src/services/catalog/service-catalog.schemas.js +46 -8
  655. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  656. package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
  657. package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
  658. package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
  659. package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
  660. package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
  661. package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
  662. package/dist/src/services/companion/agent-work-shortfall-words.js +54 -0
  663. package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
  664. package/dist/src/services/companion/build-console.service.d.ts +228 -7
  665. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  666. package/dist/src/services/companion/build-console.service.js +241 -17
  667. package/dist/src/services/companion/build-console.service.js.map +1 -1
  668. package/dist/src/services/companion/companion-client.service.d.ts +25 -1
  669. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  670. package/dist/src/services/companion/companion-client.service.js +61 -10
  671. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  672. package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -1
  673. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
  674. package/dist/src/services/companion/companion-health-hint.utils.js +8 -1
  675. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
  676. package/dist/src/services/companion/console-agent.d.ts +50 -0
  677. package/dist/src/services/companion/console-agent.d.ts.map +1 -0
  678. package/dist/src/services/companion/console-agent.js +67 -0
  679. package/dist/src/services/companion/console-agent.js.map +1 -0
  680. package/dist/src/services/companion/console-fast-path.d.ts +6 -4
  681. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
  682. package/dist/src/services/companion/console-fast-path.js +12 -9
  683. package/dist/src/services/companion/console-fast-path.js.map +1 -1
  684. package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
  685. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
  686. package/dist/src/services/companion/console-verb.utils.js +24 -2
  687. package/dist/src/services/companion/console-verb.utils.js.map +1 -1
  688. package/dist/src/services/companion/creation-console.service.d.ts +44 -13
  689. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  690. package/dist/src/services/companion/creation-console.service.js +121 -7
  691. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  692. package/dist/src/services/companion/creation-drive.service.d.ts +232 -0
  693. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
  694. package/dist/src/services/companion/creation-drive.service.js +442 -0
  695. package/dist/src/services/companion/creation-drive.service.js.map +1 -0
  696. package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
  697. package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
  698. package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
  699. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +22 -6
  700. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
  701. package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
  702. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
  703. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
  704. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
  705. package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
  706. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
  707. package/dist/src/services/credentials/application-secret-owners.service.d.ts +6 -1
  708. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
  709. package/dist/src/services/credentials/application-secret-owners.service.js +50 -102
  710. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
  711. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  712. package/dist/src/services/credentials/application-secrets.service.js +47 -20
  713. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  714. package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
  715. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  716. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +59 -15
  717. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  718. package/dist/src/services/credentials/composed-provider-catalogue.js +81 -6
  719. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  720. package/dist/src/services/credentials/credentials.schemas.d.ts +81 -148
  721. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  722. package/dist/src/services/credentials/credentials.schemas.js +92 -13
  723. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  724. package/dist/src/services/credentials/credentials.service.d.ts +8 -2
  725. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  726. package/dist/src/services/credentials/credentials.service.js +11 -2
  727. package/dist/src/services/credentials/credentials.service.js.map +1 -1
  728. package/dist/src/services/credentials/framework-managed-secrets.d.ts +92 -6
  729. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  730. package/dist/src/services/credentials/framework-managed-secrets.js +191 -9
  731. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  732. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
  733. package/dist/src/services/credentials/local-defaults.service.js +2 -2
  734. package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
  735. package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
  736. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
  737. package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
  738. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
  739. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  740. package/dist/src/services/credentials/provider-env-vars.utils.js +13 -1
  741. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  742. package/dist/src/services/credentials/secret-requirements.service.d.ts +144 -4
  743. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  744. package/dist/src/services/credentials/secret-requirements.service.js +467 -20
  745. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  746. package/dist/src/services/credentials/secrets-reader.service.d.ts +6 -0
  747. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  748. package/dist/src/services/credentials/secrets-reader.service.js +13 -2
  749. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  750. package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
  751. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  752. package/dist/src/services/credentials/secrets-rotation.service.js +4 -3
  753. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  754. package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
  755. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  756. package/dist/src/services/credentials/secrets-writer.service.js +4 -2
  757. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  758. package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
  759. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  760. package/dist/src/services/data-services/data-services.schemas.js +5 -0
  761. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  762. package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts +93 -0
  763. package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
  764. package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
  765. package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
  766. package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
  767. package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
  768. package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
  769. package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
  770. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +110 -0
  771. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
  772. package/dist/src/services/data-services/platform-key-vault.server-config.js +204 -0
  773. package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
  774. package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
  775. package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
  776. package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
  777. package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
  778. package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
  779. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
  780. package/dist/src/services/deployment/application-runtime-environment.js +116 -0
  781. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
  782. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  783. package/dist/src/services/deployment/ci-deploy-generator.service.js +14 -1
  784. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  785. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  786. package/dist/src/services/deployment/docker/backing-service-health-watch.js +4 -1
  787. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  788. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +185 -66
  789. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  790. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +425 -113
  791. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  792. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
  793. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  794. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
  795. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  796. package/dist/src/services/deployment/framework-pod-network-membership.d.ts +56 -0
  797. package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
  798. package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
  799. package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
  800. package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
  801. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  802. package/dist/src/services/deployment/infra-writer.service.js +5 -5
  803. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  804. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -0
  805. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  806. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +51 -2
  807. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  808. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
  809. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  810. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
  811. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
  812. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +52 -12
  813. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  814. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +235 -85
  815. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  816. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +64 -22
  817. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  818. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  819. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
  820. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  821. package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
  822. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
  823. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  824. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +53 -32
  825. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  826. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
  827. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  828. package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
  829. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
  830. package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
  831. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  832. package/dist/src/services/deployment/k8s/kind.service.js +3 -57
  833. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  834. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +38 -0
  835. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
  836. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
  837. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
  838. package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
  839. package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
  840. package/dist/src/services/deployment/local-dev-log-retention.service.js +84 -0
  841. package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
  842. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
  843. package/dist/src/services/deployment/local-dev-session-lease.service.js +2 -2
  844. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  845. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  846. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +20 -1
  847. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  848. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +67 -0
  849. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  850. package/dist/src/services/deployment/local-precondition-checks.service.js +160 -1
  851. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  852. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  853. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +32 -1
  854. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  855. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +60 -0
  856. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  857. package/dist/src/services/design-tokens/design-tokens-command.service.js +317 -64
  858. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
  859. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +21 -2
  860. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  861. package/dist/src/services/design-tokens/design-tokens-config.service.js +23 -40
  862. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
  863. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +20 -0
  864. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  865. package/dist/src/services/design-tokens/design-tokens-config.template.js +47 -5
  866. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
  867. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +28 -4
  868. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  869. package/dist/src/services/design-tokens/design-tokens-paths.service.js +67 -9
  870. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
  871. package/dist/src/services/design-tokens/design-tokens.constants.d.ts +63 -0
  872. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  873. package/dist/src/services/design-tokens/design-tokens.constants.js +63 -0
  874. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
  875. package/dist/src/services/design-tokens/design-tokens.models.d.ts +24 -0
  876. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  877. package/dist/src/services/design-tokens/design-tokens.models.js +22 -0
  878. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
  879. package/dist/src/services/environment/authored-infra-config.utils.d.ts +38 -0
  880. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  881. package/dist/src/services/environment/authored-infra-config.utils.js +59 -1
  882. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  883. package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
  884. package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
  885. package/dist/src/services/environment/authored-infra-member-authority.js +251 -0
  886. package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
  887. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
  888. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
  889. package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
  890. package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
  891. package/dist/src/services/environment/env-configuration-generator.service.d.ts +17 -12
  892. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  893. package/dist/src/services/environment/env-configuration-generator.service.js +41 -13
  894. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  895. package/dist/src/services/environment/env-sync.service.d.ts +3 -2
  896. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  897. package/dist/src/services/environment/env-sync.service.js +21 -7
  898. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  899. package/dist/src/services/environment/env-vars-builder.service.d.ts +29 -4
  900. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  901. package/dist/src/services/environment/env-vars-builder.service.js +264 -59
  902. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  903. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  904. package/dist/src/services/environment/environment-hydration.utils.js +30 -26
  905. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  906. package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
  907. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  908. package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
  909. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  910. package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
  911. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  912. package/dist/src/services/environment/environment-paths.service.js +5 -7
  913. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  914. package/dist/src/services/environment/environment-registry.service.d.ts +5 -6
  915. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  916. package/dist/src/services/environment/environment-registry.service.js +5 -6
  917. package/dist/src/services/environment/environment-registry.service.js.map +1 -1
  918. package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
  919. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
  920. package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
  921. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
  922. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  923. package/dist/src/services/environment/environment-setup.service.js +16 -20
  924. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  925. package/dist/src/services/environment/environment.schemas.d.ts +25 -10
  926. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  927. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  928. package/dist/src/services/environment/environment.service.d.ts +5 -0
  929. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  930. package/dist/src/services/environment/environment.service.js +2 -0
  931. package/dist/src/services/environment/environment.service.js.map +1 -1
  932. package/dist/src/services/environment/platform-runtime.schemas.d.ts +66 -62
  933. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  934. package/dist/src/services/environment/platform-runtime.schemas.js +69 -62
  935. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  936. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -58
  937. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  938. package/dist/src/services/environment/runtime-bootstrap.service.js +203 -104
  939. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  940. package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
  941. package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
  942. package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
  943. package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
  944. package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
  945. package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
  946. package/dist/src/services/framework/application-agent-skills-console.js +116 -0
  947. package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
  948. package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
  949. package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
  950. package/dist/src/services/framework/application-console-loaders.js +221 -0
  951. package/dist/src/services/framework/application-console-loaders.js.map +1 -0
  952. package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
  953. package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
  954. package/dist/src/services/framework/application-opencode-console.js +68 -0
  955. package/dist/src/services/framework/application-opencode-console.js.map +1 -0
  956. package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
  957. package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
  958. package/dist/src/services/framework/application-provider-skills.service.js +189 -0
  959. package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
  960. package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
  961. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  962. package/dist/src/services/framework/application-rule-imports.js +25 -7
  963. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  964. package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
  965. package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
  966. package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
  967. package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
  968. package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
  969. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
  970. package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
  971. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
  972. package/dist/src/services/framework/enum-member-docs.reader.d.ts +33 -0
  973. package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -0
  974. package/dist/src/services/framework/enum-member-docs.reader.js +63 -0
  975. package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -0
  976. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +35 -0
  977. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
  978. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +62 -0
  979. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
  980. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +25 -0
  981. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  982. package/dist/src/services/framework/framework-development-skills-sync.service.js +82 -6
  983. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  984. package/dist/src/services/framework/framework-docker-publish.service.d.ts +21 -2
  985. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  986. package/dist/src/services/framework/framework-docker-publish.service.js +42 -12
  987. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  988. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -9
  989. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  990. package/dist/src/services/framework/framework-knowledge-audit.service.js +97 -39
  991. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  992. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
  993. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  994. package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
  995. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  996. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -1
  997. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  998. package/dist/src/services/framework/framework-knowledge-scan.constants.js +13 -0
  999. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  1000. package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
  1001. package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
  1002. package/dist/src/services/framework/framework-npm-credential.js +113 -0
  1003. package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
  1004. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +173 -0
  1005. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
  1006. package/dist/src/services/framework/framework-npm-dist-tag.service.js +271 -0
  1007. package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
  1008. package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
  1009. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  1010. package/dist/src/services/framework/framework-npm-publish.service.js +135 -61
  1011. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  1012. package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
  1013. package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
  1014. package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
  1015. package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
  1016. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +28 -39
  1017. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  1018. package/dist/src/services/framework/framework-publish-manifest.service.js +58 -133
  1019. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  1020. package/dist/src/services/framework/framework-release.service.d.ts +13 -0
  1021. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  1022. package/dist/src/services/framework/framework-release.service.js +19 -3
  1023. package/dist/src/services/framework/framework-release.service.js.map +1 -1
  1024. package/dist/src/services/framework/framework-update.service.d.ts +13 -3
  1025. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  1026. package/dist/src/services/framework/framework-update.service.js +40 -17
  1027. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  1028. package/dist/src/services/framework/framework-version.service.d.ts +2 -4
  1029. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  1030. package/dist/src/services/framework/framework-version.service.js +5 -7
  1031. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  1032. package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
  1033. package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
  1034. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  1035. package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
  1036. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
  1037. package/dist/src/services/framework/package-install.service.d.ts +20 -1
  1038. package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
  1039. package/dist/src/services/framework/package-install.service.js +30 -3
  1040. package/dist/src/services/framework/package-install.service.js.map +1 -1
  1041. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  1042. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +15 -7
  1043. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  1044. package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
  1045. package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
  1046. package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
  1047. package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
  1048. package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
  1049. package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
  1050. package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
  1051. package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
  1052. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
  1053. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
  1054. package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
  1055. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
  1056. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  1057. package/dist/src/services/frontend/cloudflare-cdn.service.js +3 -6
  1058. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  1059. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
  1060. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  1061. package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
  1062. package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
  1063. package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
  1064. package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
  1065. package/dist/src/services/frontend/frontend-look.service.js +641 -0
  1066. package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
  1067. package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
  1068. package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
  1069. package/dist/src/services/registry/application-provider-connection.service.js +337 -0
  1070. package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
  1071. package/dist/src/services/registry/artifact-extractor.utils.d.ts +9 -4
  1072. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  1073. package/dist/src/services/registry/artifact-extractor.utils.js +16 -9
  1074. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
  1075. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  1076. package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
  1077. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  1078. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
  1079. package/dist/src/services/registry/git-ignored-paths.utils.js +13 -2
  1080. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
  1081. package/dist/src/services/registry/index.d.ts +0 -1
  1082. package/dist/src/services/registry/index.d.ts.map +1 -1
  1083. package/dist/src/services/registry/index.js +0 -1
  1084. package/dist/src/services/registry/index.js.map +1 -1
  1085. package/dist/src/services/registry/installed-provider-module.service.d.ts +25 -0
  1086. package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -0
  1087. package/dist/src/services/registry/installed-provider-module.service.js +56 -0
  1088. package/dist/src/services/registry/installed-provider-module.service.js.map +1 -0
  1089. package/dist/src/services/registry/local-checkout-module-source.service.d.ts +12 -10
  1090. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
  1091. package/dist/src/services/registry/local-checkout-module-source.service.js +60 -58
  1092. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
  1093. package/dist/src/services/registry/module-acquisition.utils.d.ts +6 -0
  1094. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
  1095. package/dist/src/services/registry/module-acquisition.utils.js +7 -0
  1096. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
  1097. package/dist/src/services/registry/module-install.service.d.ts +70 -0
  1098. package/dist/src/services/registry/module-install.service.d.ts.map +1 -0
  1099. package/dist/src/services/registry/module-install.service.js +199 -0
  1100. package/dist/src/services/registry/module-install.service.js.map +1 -0
  1101. package/dist/src/services/registry/module-publish.service.d.ts +49 -0
  1102. package/dist/src/services/registry/module-publish.service.d.ts.map +1 -0
  1103. package/dist/src/services/registry/module-publish.service.js +88 -0
  1104. package/dist/src/services/registry/module-publish.service.js.map +1 -0
  1105. package/dist/src/services/registry/module-registration.service.d.ts +15 -0
  1106. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
  1107. package/dist/src/services/registry/module-registration.service.js +413 -20
  1108. package/dist/src/services/registry/module-registration.service.js.map +1 -1
  1109. package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
  1110. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
  1111. package/dist/src/services/registry/module-requirements.service.js +134 -7
  1112. package/dist/src/services/registry/module-requirements.service.js.map +1 -1
  1113. package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
  1114. package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
  1115. package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
  1116. package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
  1117. package/dist/src/services/registry/provider-connect.service.d.ts +244 -0
  1118. package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
  1119. package/dist/src/services/registry/provider-connect.service.js +651 -0
  1120. package/dist/src/services/registry/provider-connect.service.js.map +1 -0
  1121. package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
  1122. package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
  1123. package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
  1124. package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
  1125. package/dist/src/services/registry/provider-install-step.d.ts +111 -14
  1126. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
  1127. package/dist/src/services/registry/provider-install-step.js +234 -4
  1128. package/dist/src/services/registry/provider-install-step.js.map +1 -1
  1129. package/dist/src/services/registry/provider-module-checks.service.d.ts +38 -4
  1130. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
  1131. package/dist/src/services/registry/provider-module-checks.service.js +603 -20
  1132. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
  1133. package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
  1134. package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
  1135. package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
  1136. package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
  1137. package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
  1138. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
  1139. package/dist/src/services/registry/provider-module-scaffold.service.js +690 -0
  1140. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
  1141. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
  1142. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
  1143. package/dist/src/services/registry/provider-module-vendor-packages.service.js +364 -0
  1144. package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
  1145. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +117 -0
  1146. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
  1147. package/dist/src/services/registry/provider-openapi-conformance.service.js +555 -0
  1148. package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
  1149. package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
  1150. package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
  1151. package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
  1152. package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
  1153. package/dist/src/services/registry/provider-probe.service.d.ts +268 -0
  1154. package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
  1155. package/dist/src/services/registry/provider-probe.service.js +444 -0
  1156. package/dist/src/services/registry/provider-probe.service.js.map +1 -0
  1157. package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
  1158. package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
  1159. package/dist/src/services/registry/provider-proof.service.js +640 -0
  1160. package/dist/src/services/registry/provider-proof.service.js.map +1 -0
  1161. package/dist/src/services/registry/provider-publication.service.d.ts +43 -0
  1162. package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
  1163. package/dist/src/services/registry/provider-publication.service.js +216 -0
  1164. package/dist/src/services/registry/provider-publication.service.js.map +1 -0
  1165. package/dist/src/services/registry/provider-vendor-registration.service.d.ts +83 -0
  1166. package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
  1167. package/dist/src/services/registry/provider-vendor-registration.service.js +122 -0
  1168. package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
  1169. package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
  1170. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
  1171. package/dist/src/services/registry/provider-wiring.service.js +90 -16
  1172. package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
  1173. package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
  1174. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  1175. package/dist/src/services/registry/registry-command.utils.js +35 -2
  1176. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  1177. package/dist/src/services/security/csp-sync.service.d.ts +20 -1
  1178. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  1179. package/dist/src/services/security/csp-sync.service.js +58 -35
  1180. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  1181. package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
  1182. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
  1183. package/dist/src/services/website/website-label-pack-audit.service.js +5 -4
  1184. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
  1185. package/dist/src/services/website/website-look.service.d.ts +167 -0
  1186. package/dist/src/services/website/website-look.service.d.ts.map +1 -0
  1187. package/dist/src/services/website/website-look.service.js +430 -0
  1188. package/dist/src/services/website/website-look.service.js.map +1 -0
  1189. package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
  1190. package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
  1191. package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
  1192. package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
  1193. package/dist/src/services/website/website-structured-data-audit.service.d.ts +37 -5
  1194. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  1195. package/dist/src/services/website/website-structured-data-audit.service.js +82 -35
  1196. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  1197. package/dist/src/services/website/website-workspace.service.d.ts +51 -0
  1198. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
  1199. package/dist/src/services/website/website-workspace.service.js +130 -4
  1200. package/dist/src/services/website/website-workspace.service.js.map +1 -1
  1201. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1202. package/framework-root-package.json +129 -60
  1203. package/package.json +188 -100
  1204. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +70 -37
  1205. package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
  1206. package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
  1207. package/scripts/pnpm-workspace-members.mjs +146 -0
  1208. package/scripts/pnpm-workspace-settings.mjs +418 -0
  1209. package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
  1210. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
  1211. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +292 -62
  1212. package/templates/infra/docker-images/platform/Dockerfile.platform-base +24 -5
  1213. package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
  1214. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
  1215. package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
  1216. package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
  1217. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
  1218. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +7 -1
  1219. package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
  1220. package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
  1221. package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
  1222. package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +127 -0
  1223. package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
  1224. package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
  1225. package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
  1226. package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
  1227. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +51 -76
  1228. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +22 -75
  1229. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +23 -75
  1230. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +30 -1
  1231. package/templates/infra/registry-host/Caddyfile +33 -0
  1232. package/templates/infra/registry-host/backup.sh +73 -0
  1233. package/templates/infra/registry-host/docker-compose.yml +332 -0
  1234. package/templates/infra/registry-host/restore-check.sh +43 -0
  1235. package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
  1236. package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
  1237. package/templates/infra/yara-service/requirements.txt +1 -1
  1238. package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
  1239. package/templates/saas/blueprints/internal-tool/blueprint.json +59 -0
  1240. package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
  1241. package/templates/saas/engine-peer-closure.json +66 -8
  1242. package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
  1243. package/templates/saas/i18n/email/components/labels.en.ts +14 -0
  1244. package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
  1245. package/templates/saas/i18n/email/email-template-definitions.ts +8 -0
  1246. package/templates/saas/i18n/email/index.ts +1 -1
  1247. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
  1248. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
  1249. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
  1250. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
  1251. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
  1252. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
  1253. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
  1254. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
  1255. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
  1256. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
  1257. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
  1258. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
  1259. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
  1260. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
  1261. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
  1262. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
  1263. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
  1264. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
  1265. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
  1266. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
  1267. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
  1268. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
  1269. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
  1270. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
  1271. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
  1272. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
  1273. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
  1274. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
  1275. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
  1276. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
  1277. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
  1278. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
  1279. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
  1280. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
  1281. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
  1282. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
  1283. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
  1284. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
  1285. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
  1286. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
  1287. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
  1288. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
  1289. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
  1290. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
  1291. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
  1292. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
  1293. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
  1294. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
  1295. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
  1296. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
  1297. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
  1298. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
  1299. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
  1300. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
  1301. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
  1302. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
  1303. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +21 -0
  1304. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
  1305. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
  1306. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +21 -0
  1307. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
  1308. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
  1309. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
  1310. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1311. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
  1312. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
  1313. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
  1314. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
  1315. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
  1316. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
  1317. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
  1318. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1319. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
  1320. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
  1321. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
  1322. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
  1323. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
  1324. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
  1325. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
  1326. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
  1327. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
  1328. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
  1329. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1330. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
  1331. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
  1332. package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
  1333. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-user-management/template.tsx +77 -0
  1334. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
  1335. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
  1336. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
  1337. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
  1338. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
  1339. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
  1340. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
  1341. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
  1342. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
  1343. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
  1344. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
  1345. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
  1346. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
  1347. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
  1348. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
  1349. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
  1350. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
  1351. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
  1352. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
  1353. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
  1354. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
  1355. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
  1356. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
  1357. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
  1358. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
  1359. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
  1360. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
  1361. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
  1362. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
  1363. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
  1364. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
  1365. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
  1366. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
  1367. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
  1368. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
  1369. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
  1370. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
  1371. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
  1372. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
  1373. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
  1374. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
  1375. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
  1376. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
  1377. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
  1378. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
  1379. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
  1380. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
  1381. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
  1382. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
  1383. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
  1384. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
  1385. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
  1386. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
  1387. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
  1388. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
  1389. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
  1390. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
  1391. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1392. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
  1393. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
  1394. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
  1395. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
  1396. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
  1397. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
  1398. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
  1399. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
  1400. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
  1401. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
  1402. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
  1403. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
  1404. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
  1405. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
  1406. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
  1407. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
  1408. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
  1409. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
  1410. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
  1411. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
  1412. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
  1413. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
  1414. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
  1415. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
  1416. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
  1417. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
  1418. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
  1419. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
  1420. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
  1421. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
  1422. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
  1423. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
  1424. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
  1425. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
  1426. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
  1427. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
  1428. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
  1429. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
  1430. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
  1431. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
  1432. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
  1433. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
  1434. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
  1435. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
  1436. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
  1437. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
  1438. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
  1439. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
  1440. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
  1441. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
  1442. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
  1443. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
  1444. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
  1445. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
  1446. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
  1447. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
  1448. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
  1449. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
  1450. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
  1451. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1452. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
  1453. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
  1454. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
  1455. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
  1456. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +24 -0
  1457. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
  1458. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
  1459. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +26 -0
  1460. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
  1461. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
  1462. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +24 -0
  1463. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
  1464. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
  1465. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +26 -0
  1466. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
  1467. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
  1468. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
  1469. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
  1470. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
  1471. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
  1472. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
  1473. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
  1474. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
  1475. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
  1476. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
  1477. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
  1478. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
  1479. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
  1480. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
  1481. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
  1482. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
  1483. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
  1484. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
  1485. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
  1486. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
  1487. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
  1488. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
  1489. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
  1490. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
  1491. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
  1492. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
  1493. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
  1494. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
  1495. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
  1496. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
  1497. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
  1498. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
  1499. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
  1500. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
  1501. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
  1502. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
  1503. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
  1504. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
  1505. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
  1506. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
  1507. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
  1508. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
  1509. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
  1510. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
  1511. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
  1512. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
  1513. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
  1514. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
  1515. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
  1516. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
  1517. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
  1518. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
  1519. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
  1520. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
  1521. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
  1522. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
  1523. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
  1524. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
  1525. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
  1526. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
  1527. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
  1528. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
  1529. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
  1530. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
  1531. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
  1532. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
  1533. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
  1534. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
  1535. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +20 -0
  1536. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
  1537. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
  1538. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +20 -0
  1539. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
  1540. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
  1541. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +23 -0
  1542. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
  1543. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
  1544. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +25 -0
  1545. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
  1546. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
  1547. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +23 -0
  1548. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
  1549. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
  1550. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +25 -0
  1551. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
  1552. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
  1553. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
  1554. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
  1555. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
  1556. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
  1557. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
  1558. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
  1559. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
  1560. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
  1561. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
  1562. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
  1563. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
  1564. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
  1565. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
  1566. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
  1567. package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
  1568. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +7 -9
  1569. package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
  1570. package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
  1571. package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
  1572. package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
  1573. package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
  1574. package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
  1575. package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
  1576. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
  1577. package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
  1578. package/templates/saas/i18n/engine/README.md +8 -3
  1579. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +3 -2
  1580. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +3 -2
  1581. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
  1582. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
  1583. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
  1584. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
  1585. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
  1586. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
  1587. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +7 -2
  1588. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +7 -2
  1589. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
  1590. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
  1591. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
  1592. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
  1593. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
  1594. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
  1595. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +56 -0
  1596. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +56 -0
  1597. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +50 -10
  1598. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +50 -10
  1599. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
  1600. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
  1601. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
  1602. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
  1603. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +41 -0
  1604. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +41 -0
  1605. package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
  1606. package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
  1607. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
  1608. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +17 -7
  1609. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
  1610. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
  1611. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +9 -8
  1612. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +9 -8
  1613. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
  1614. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
  1615. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
  1616. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
  1617. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +44 -11
  1618. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +44 -11
  1619. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
  1620. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
  1621. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
  1622. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
  1623. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +97 -0
  1624. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +97 -0
  1625. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
  1626. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
  1627. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
  1628. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
  1629. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
  1630. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
  1631. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +24 -0
  1632. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +24 -0
  1633. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
  1634. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
  1635. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
  1636. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
  1637. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
  1638. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
  1639. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
  1640. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
  1641. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
  1642. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
  1643. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
  1644. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
  1645. package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
  1646. package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
  1647. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
  1648. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
  1649. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
  1650. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
  1651. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
  1652. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
  1653. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
  1654. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
  1655. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
  1656. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
  1657. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
  1658. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
  1659. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
  1660. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
  1661. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
  1662. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
  1663. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
  1664. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
  1665. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
  1666. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
  1667. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
  1668. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
  1669. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
  1670. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
  1671. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
  1672. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
  1673. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
  1674. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
  1675. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
  1676. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
  1677. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
  1678. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
  1679. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
  1680. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
  1681. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
  1682. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
  1683. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
  1684. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
  1685. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
  1686. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
  1687. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
  1688. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
  1689. package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
  1690. package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
  1691. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
  1692. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
  1693. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
  1694. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
  1695. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
  1696. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
  1697. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +6 -1
  1698. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +6 -1
  1699. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
  1700. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
  1701. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
  1702. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
  1703. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
  1704. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
  1705. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
  1706. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
  1707. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
  1708. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
  1709. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
  1710. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
  1711. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
  1712. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
  1713. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
  1714. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
  1715. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
  1716. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
  1717. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
  1718. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
  1719. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
  1720. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
  1721. package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
  1722. package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
  1723. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
  1724. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
  1725. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +342 -0
  1726. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +342 -0
  1727. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +390 -0
  1728. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +390 -0
  1729. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
  1730. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
  1731. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
  1732. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
  1733. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
  1734. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
  1735. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +10 -1
  1736. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +10 -1
  1737. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +74 -4
  1738. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +74 -4
  1739. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
  1740. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
  1741. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
  1742. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
  1743. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -28
  1744. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +34 -44
  1745. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
  1746. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
  1747. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
  1748. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
  1749. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +469 -21
  1750. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +469 -21
  1751. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -20
  1752. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -17
  1753. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +112 -0
  1754. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +112 -0
  1755. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +17 -1
  1756. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +17 -1
  1757. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -21
  1758. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +21 -32
  1759. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
  1760. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
  1761. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
  1762. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
  1763. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +20 -6
  1764. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +17 -3
  1765. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -25
  1766. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +44 -25
  1767. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
  1768. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
  1769. package/templates/saas/i18n/engine/resources/applications.en.ts +616 -8
  1770. package/templates/saas/i18n/engine/resources/applications.fr.ts +615 -7
  1771. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
  1772. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
  1773. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
  1774. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
  1775. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
  1776. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
  1777. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
  1778. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
  1779. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
  1780. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
  1781. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +337 -252
  1782. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +252 -167
  1783. package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
  1784. package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
  1785. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
  1786. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
  1787. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
  1788. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
  1789. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +74 -50
  1790. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +76 -52
  1791. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
  1792. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
  1793. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
  1794. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
  1795. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
  1796. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
  1797. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
  1798. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
  1799. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
  1800. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
  1801. package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
  1802. package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
  1803. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
  1804. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
  1805. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +253 -129
  1806. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +209 -85
  1807. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
  1808. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
  1809. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +24 -1
  1810. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +24 -1
  1811. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -0
  1812. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +16 -0
  1813. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +16 -0
  1814. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +16 -0
  1815. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
  1816. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
  1817. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +699 -0
  1818. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +699 -0
  1819. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
  1820. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
  1821. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
  1822. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
  1823. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
  1824. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
  1825. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +18 -25
  1826. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +33 -40
  1827. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +40 -22
  1828. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +40 -22
  1829. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
  1830. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
  1831. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
  1832. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -10
  1833. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -10
  1834. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +469 -21
  1835. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +469 -21
  1836. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -20
  1837. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -17
  1838. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +112 -0
  1839. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +112 -0
  1840. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
  1841. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
  1842. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
  1843. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
  1844. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +17 -1
  1845. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +17 -1
  1846. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +36 -9
  1847. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +51 -24
  1848. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +166 -0
  1849. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +166 -0
  1850. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +38 -45
  1851. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +19 -26
  1852. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +166 -0
  1853. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
  1854. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
  1855. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
  1856. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
  1857. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
  1858. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
  1859. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
  1860. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +30 -11
  1861. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +20 -1
  1862. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +629 -0
  1863. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +629 -0
  1864. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +340 -0
  1865. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +340 -0
  1866. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
  1867. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
  1868. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -20
  1869. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +9 -9
  1870. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
  1871. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
  1872. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
  1873. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
  1874. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +21 -7
  1875. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +18 -4
  1876. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -50
  1877. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +69 -50
  1878. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
  1879. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
  1880. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +6 -6
  1881. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +10 -10
  1882. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
  1883. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
  1884. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
  1885. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
  1886. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -1
  1887. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +9 -1
  1888. package/templates/saas/i18n/engine/resources/organizations.en.ts +116 -21
  1889. package/templates/saas/i18n/engine/resources/organizations.fr.ts +116 -21
  1890. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -4
  1891. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +43 -1
  1892. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +181 -0
  1893. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +181 -0
  1894. package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
  1895. package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
  1896. package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
  1897. package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
  1898. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
  1899. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
  1900. package/templates/saas/i18n/engine/resources/promotions.en.ts +30 -2
  1901. package/templates/saas/i18n/engine/resources/promotions.fr.ts +30 -2
  1902. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +69 -1
  1903. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +69 -1
  1904. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
  1905. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
  1906. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +291 -0
  1907. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +291 -0
  1908. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +325 -0
  1909. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +325 -0
  1910. package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +169 -0
  1911. package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +169 -0
  1912. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +626 -0
  1913. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +626 -0
  1914. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
  1915. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
  1916. package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +147 -0
  1917. package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +147 -0
  1918. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
  1919. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
  1920. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
  1921. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
  1922. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
  1923. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
  1924. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +47 -31
  1925. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +47 -31
  1926. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +469 -21
  1927. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +469 -21
  1928. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -20
  1929. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -17
  1930. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
  1931. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
  1932. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
  1933. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
  1934. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
  1935. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
  1936. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +23 -2
  1937. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +23 -2
  1938. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
  1939. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
  1940. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
  1941. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
  1942. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
  1943. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
  1944. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +23 -4
  1945. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +23 -4
  1946. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
  1947. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
  1948. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
  1949. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
  1950. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
  1951. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
  1952. package/templates/saas/i18n/engine/resources/user_self.en.ts +157 -42
  1953. package/templates/saas/i18n/engine/resources/user_self.fr.ts +170 -55
  1954. package/templates/saas/i18n/engine/resources/users.en.ts +38 -51
  1955. package/templates/saas/i18n/engine/resources/users.fr.ts +34 -47
  1956. package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
  1957. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
  1958. package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
  1959. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
  1960. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
  1961. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
  1962. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
  1963. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +14 -12
  1964. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +5 -2
  1965. package/templates/saas/scenarios/add-locale/scenario.json +7 -5
  1966. package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
  1967. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +5 -2
  1968. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
  1969. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
  1970. package/templates/saas/scenarios/add-marketing-page/scenario.json +71 -19
  1971. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +6 -6
  1972. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
  1973. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
  1974. package/templates/saas/scenarios/add-minion/scenario.json +3 -3
  1975. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
  1976. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
  1977. package/templates/saas/scenarios/add-module/scenario.json +2 -0
  1978. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +7 -1
  1979. package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
  1980. package/templates/saas/scenarios/add-resource/scenario.json +3 -2
  1981. package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
  1982. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +25 -17
  1983. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
  1984. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
  1985. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
  1986. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +5 -4
  1987. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
  1988. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
  1989. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
  1990. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
  1991. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
  1992. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
  1993. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
  1994. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
  1995. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
  1996. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +10 -7
  1997. package/templates/saas/scenarios/add-technical-doc/scenario.json +9 -5
  1998. package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
  1999. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +53 -14
  2000. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +5 -5
  2001. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
  2002. package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
  2003. package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +25 -20
  2004. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
  2005. package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
  2006. package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
  2007. package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
  2008. package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
  2009. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +13 -12
  2010. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +5 -2
  2011. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
  2012. package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
  2013. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
  2014. package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
  2015. package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +46 -411
  2016. package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
  2017. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
  2018. package/templates/saas/scenarios/add-website/scenario.json +5 -3
  2019. package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
  2020. package/templates/saas/scenarios/add-website-section/scenario.json +10 -14
  2021. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +5 -4
  2022. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
  2023. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
  2024. package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
  2025. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
  2026. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +13 -3
  2027. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
  2028. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
  2029. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -149
  2030. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
  2031. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
  2032. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
  2033. package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
  2034. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
  2035. package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
  2036. package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
  2037. package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
  2038. package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
  2039. package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +8 -0
  2040. package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
  2041. package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
  2042. package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
  2043. package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
  2044. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
  2045. package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
  2046. package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
  2047. package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
  2048. package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
  2049. package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
  2050. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +16 -12
  2051. package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
  2052. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
  2053. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
  2054. package/templates/saas/skeleton/frontend/src/index.css.hbs +170 -148
  2055. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +9 -2
  2056. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
  2057. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +57 -3
  2058. package/templates/saas/skeleton/gitignore +14 -0
  2059. package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
  2060. package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
  2061. package/templates/saas/skeleton/tsconfig.common.json +6 -2
  2062. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
  2063. package/wildo-framework.info.json +1 -1
  2064. package/dist/src/services/application/provider-package-links.service.d.ts +0 -209
  2065. package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
  2066. package/dist/src/services/application/provider-package-links.service.js +0 -420
  2067. package/dist/src/services/application/provider-package-links.service.js.map +0 -1
  2068. package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
  2069. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
  2070. package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
  2071. package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
  2072. package/dist/tsconfig.tsbuildinfo +0 -1
  2073. package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
  2074. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +0 -77
  2075. package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
  2076. package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
  2077. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
  2078. package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
  2079. package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
  2080. package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
  2081. package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
  2082. package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
  2083. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
  2084. package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
  2085. package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
  2086. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
  2087. package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
  2088. package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
  2089. package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +0 -169
  2090. package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +0 -169
  2091. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +0 -368
  2092. package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +0 -368
  2093. package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +0 -321
  2094. package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +0 -321
  2095. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +0 -237
  2096. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +0 -237
  2097. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
  2098. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
  2099. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +0 -275
  2100. package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +0 -275
  2101. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +0 -431
  2102. package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +0 -431
  2103. package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
  2104. package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
  2105. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
  2106. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
  2107. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
  2108. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
  2109. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
  2110. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
  2111. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
  2112. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
  2113. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
  2114. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
  2115. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -150
  2116. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -142
  2117. package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -150
  2118. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -142
  2119. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -150
  2120. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -142
  2121. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -270
  2122. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -270
  2123. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -214
  2124. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -214
  2125. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -306
  2126. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -306
  2127. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -758
  2128. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -758
  2129. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
  2130. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
  2131. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
  2132. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
  2133. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
  2134. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
  2135. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
  2136. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
  2137. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.en.ts +0 -150
  2138. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
  2139. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
  2140. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
  2141. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
  2142. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
  2143. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
  2144. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
  2145. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
  2146. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
  2147. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
  2148. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
  2149. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
  2150. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
  2151. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
  2152. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
  2153. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
  2154. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
  2155. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
  2156. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
  2157. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
  2158. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
  2159. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
  2160. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
  2161. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +0 -198
  2162. package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +0 -198
  2163. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
  2164. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
  2165. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
  2166. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
  2167. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
  2168. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
  2169. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
  2170. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
  2171. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
  2172. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
  2173. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -326
  2174. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -326
  2175. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
  2176. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
  2177. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -366
  2178. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -366
  2179. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
  2180. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
  2181. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -273
  2182. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -273
  2183. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
  2184. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
  2185. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
  2186. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
  2187. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
  2188. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
  2189. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -478
  2190. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -478
  2191. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
  2192. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
  2193. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -534
  2194. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -534
  2195. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
  2196. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
  2197. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
  2198. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
  2199. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
  2200. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
  2201. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
  2202. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
  2203. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
  2204. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
  2205. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
  2206. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
  2207. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
  2208. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
  2209. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
  2210. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
  2211. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
  2212. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
  2213. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
  2214. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -142
  2215. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
  2216. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
  2217. package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
  2218. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
  2219. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
  2220. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
  2221. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
  2222. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
  2223. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
  2224. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
  2225. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
  2226. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
  2227. package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -270
  2228. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -262
  2229. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
  2230. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
  2231. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
  2232. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
  2233. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
  2234. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
  2235. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
  2236. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
  2237. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
  2238. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
  2239. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -534
  2240. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -534
  2241. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +0 -172
  2242. package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +0 -172
  2243. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
  2244. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
  2245. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
  2246. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
  2247. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -262
  2248. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -262
  2249. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -520
  2250. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -520
  2251. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
  2252. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
  2253. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
  2254. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
  2255. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
  2256. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
  2257. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
  2258. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
  2259. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
  2260. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
  2261. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
  2262. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
  2263. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -559
  2264. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -559
  2265. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -246
  2266. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -246
  2267. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
  2268. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
  2269. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
  2270. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
  2271. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
  2272. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
  2273. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
  2274. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
  2275. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
  2276. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
  2277. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
  2278. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
  2279. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
  2280. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
  2281. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
  2282. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
  2283. /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
  2284. /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"sync.command.js","sourceRoot":"","sources":["../../../../src/commands/config/sync.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,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AAO,EAAE,SAAS,CAAC,OAAO;gBAC1B,SAAS;gBACT,mBAAmB;gBACnB,kBAAkB;gBAClB,kBAAkB;gBAClB,sEAAsE;gBACtE,uEAAuE;gBACvE,6DAA6D;gBAC7D,uDAAuD;gBACvD,aAAa,EAAE,aAAa,IAAI,QAAQ;aACzC,EACD,GAAG,CAAC,GAAG,CACR,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,KAAK,CAAC,4BAA4B,CAAC,GAAmB,EAAE,QAAgB,EAAE,QAAkB;QAClG,MAAM,eAAe,GAAG,sCAAsC,CAAC,QAAQ,EAAE,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC9F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,4DAA4D,eAAe,IAAI,CAAC,CAAC,CAAC;QACzG,+FAA+F;QAC/F,MAAM,MAAM,GAAG,MAAM,kCAAkC,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,eAAe,EAAE;YAC1F,aAAa,EAAE,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,cAAc,IAAI,IAAI;SAC7E,CAAC,CAAC;QACH,OAAO,MAAM,CAAC,OAAO,CAAC;IACxB,CAAC;CACF","sourcesContent":["/**\n * config sync — Sync configuration: regenerate .env files, manifests,\n * secrets, and CI/CD workflows.\n *\n * Domain filter (`--domain`) selects which operations run:\n * - `env-files`: per-service `.env` files (saas-app, app backends, companions)\n * - `secrets`: regenerate / rotate `secrets.json` for the targeted env\n * - `config`: render deploy artifacts under `.wildo-saas/deploy/<env>/`\n * (K8s Secrets/ConfigMaps + per-service `.env` files for compose runtimes).\n * This is what the generated deploy workflows\n * (`templates/infra/ci/deploy-{k8s,docker-compose}.yml.hbs`) call as\n * `npx wildo config sync --ci --env=<env>`.\n * NOTE: the output location is the SAME with or without `--ci`; `--ci` only\n * switches where credentials come from (flat `WILDO_SECRET_*` env vars vs\n * the on-disk `secrets.json`). A local run therefore also deposits\n * secret-bearing files there — which is why the zone is self-ignoring (see\n * `generateCiDeployArtifacts`).\n * - `manifest`: regenerate K8s manifests under `.wildo-saas/deploy/<env>/k8s/`\n * - `cicd`: write `.github/workflows/deploy-<env>.yml` from the per-env\n * deploy-workflow templates (`templates/infra/ci/deploy-*.yml.hbs`)\n * plus the per-app `wildo-config-validation.yml` validation workflow\n * (`templates/infra/ci/wildo-config-validation.yml.hbs`).\n *\n * `wildo config sync` is the canonical CI/CD entry point — there is\n * intentionally no `wildo deploy` command surface. Build steps (Docker)\n * and apply steps (kubectl / docker compose) live inside the generated\n * GitHub Actions workflow itself, not behind a CLI wrapper.\n */\n\nimport chalk from 'chalk';\nimport { join } from 'path';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { confirm } from '@inquirer/prompts';\nimport { existsSync, readdirSync } from 'fs';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { checkExisting, sync as envSync } from '~wildo-cli/services/environment/env-sync.service';\nimport { reconstructSecretsFromEnv, type ApplicationCiSecretKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { SecretsRotation } from '~wildo-cli/services/credentials/secrets-rotation.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { SecretOwner } from '~wildo-cli/services/credentials/credentials.schemas';\nimport {\n SecretsProvisioning,\n SecretsProvisioningStatus,\n} from '~wildo-cli/services/credentials/secrets-provisioning.service';\nimport { ConfigSecretsUtils } from '~wildo-cli/services/credentials/credentials.service';\nimport type {\n PlatformEnvConfigJson,\n PlatformEnvSecretsJson,\n} from '~wildo-cli/services/credentials/credentials.schemas';\nimport { renderDockerComposeTemplate } from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport { K8sManifestGenerator } from '~wildo-cli/services/deployment/k8s/k8s-manifest-generator.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\nimport { AppFrontendType, overlayEnvironmentProviderConfigurations } from '@wildo-ai/platform-config-lib';\nimport { writeWorkflows, resolveServiceImageDockerfilePath, resolveServiceImageBuildArgs } from '~wildo-cli/services/deployment/ci-workflow-generator.service';\nimport type { WorkflowEnvConfig } from '~wildo-cli/services/deployment/ci-workflow-generator.service';\nimport { generateCiDeployArtifacts } from '~wildo-cli/services/deployment/ci-deploy-generator.service';\nimport {\n AppBootstrapService,\n AppsManagerUnavailableReason,\n classifyAppsManagerUnavailable,\n} from '~wildo-cli/services/application/app-bootstrap.service';\nimport type {\n ApplicationBackendEnvTarget,\n CompanionPlatformEnvTarget,\n ApplicationFrontendEnvExampleTarget,\n ApplicationWorkerEnvTarget,\n ApplicationMinionEnvTarget,\n ApplicationOperatorEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { getProviderSecretEnvBindings } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { SystemOfRecordDeclarationForSecrets } from '~wildo-cli/services/credentials/application-secret-owners.service';\nimport {\n deriveDeployForwardedSecretKeys,\n loadNonProviderSecretOwners,\n systemOfRecordPresenceOf,\n} from '~wildo-cli/services/credentials/secret-requirements.service';\nimport { getComposedProviderEntry } from '~wildo-cli/services/credentials/composed-provider-catalogue';\nimport {\n describeUnservableBackingServiceDeclaration,\n findUnservableBackingServiceDeclarations,\n getWorkspaceMutationLockPath,\n loadSaasConfig,\n resolveAppLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n K8S_LOCAL_DEFAULTS,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\nimport { ApplicationSecretKind, buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport {\n PlatformEnvOperatingSystem,\n parsePlatformEnvironmentId,\n SetupStatus,\n} from '~wildo-cli/services/environment/environment.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { hydrateEnvironmentFromConfig } from '~wildo-cli/services/environment/environment-hydration.utils';\nimport {\n buildConfigJsonFromInfraEnvConfig,\n getUnsupportedAuthoredConfigFallbackReason,\n loadAuthoredInfraEnvConfig,\n type LoadedAuthoredInfraEnvConfig,\n} from '~wildo-cli/services/environment/authored-infra-config.utils';\nimport {\n PlatformEngineChangeDecision,\n decidePlatformEngineChange,\n describePlatformEngineChange,\n} from '~wildo-cli/services/environment/platform-engine-change.utils';\nimport {\n loadAuthoredInfraEnvSelections,\n resolveProviderArtifactEnvironmentName,\n syncProviderRuntimeArtifactsForApp,\n} from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport { collectServableInfraProviders } from '@wildo-ai/platform-infra-providers';\nimport {\n RuntimeBootstrap,\n RuntimeConfigReconcileStatus,\n} from '~wildo-cli/services/environment/runtime-bootstrap.service';\n\nconst DOMAINS = ['cicd', 'secrets', 'config', 'manifest', 'env-files'] as const;\ntype DomainFilter = (typeof DOMAINS)[number];\nconst APP_ROOT_ONLY_DOMAINS = new Set<DomainFilter>(['cicd', 'manifest']);\n\ninterface PreparedEnvFilesSyncEntry {\n envName: string;\n resolvedEnv: PlatformEnvironmentConfiguration;\n applicationBackends?: ApplicationBackendEnvTarget[];\n companionApis?: CompanionPlatformEnvTarget[];\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[];\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n applicationOperators?: ApplicationOperatorEnvTarget[];\n}\n\ninterface PreparedEnvFilesSyncExecution {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n entries: PreparedEnvFilesSyncEntry[];\n /**\n * Why the APPLICATION's env targets could not be prepared, when they could not. The platform's own env files are\n * still written (see the catch in `prepareEnvFilesSyncExecution`), and the phase still fails, naming this.\n */\n applicationTargetsRefusal?: string;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction extractServiceReplicas(raw: unknown): Record<string, number> | undefined {\n if (!isRecord(raw)) {\n return undefined;\n }\n\n const replicas: Record<string, number> = {};\n const serviceBuckets: Array<Record<string, unknown>> = [];\n\n if (isRecord(raw.services)) {\n serviceBuckets.push(raw.services);\n }\n if (isRecord(raw.kubernetes) && isRecord(raw.kubernetes.services)) {\n serviceBuckets.push(raw.kubernetes.services);\n }\n\n for (const services of serviceBuckets) {\n for (const [key, service] of Object.entries(services)) {\n if (isRecord(service) && typeof service.replicas === 'number') {\n replicas[key] = service.replicas;\n }\n }\n }\n\n return Object.keys(replicas).length > 0 ? replicas : undefined;\n}\n\n/**\n * Note: the {@link buildConfigJsonFromInfraEnvConfig} projection used to live\n * inline here. It now lives in\n * `~wildo-cli/services/environment/authored-infra-config.utils` so the new\n * runtime-bootstrap service (used by `wildo local up` pre-flight) can reuse\n * the exact same projection — single source of truth keeps the runtime\n * artifacts written by `local up` byte-identical to the ones\n * `wildo config sync --domain manifest` would produce later.\n *\n * The `devCompanion` exclusion (Slice 3 deep-review M-5, 2026-04-13) is\n * documented inside that shared module — same dual-config-json design\n * rationale, same author-versus-runtime split.\n */\n\nfunction createCiEnvConfig(envName: string, config: PlatformEnvConfigJson): PlatformEnvironmentConfiguration {\n const now = new Date().toISOString();\n const validatedEnvName = parsePlatformEnvironmentId(envName);\n const isLocalKubernetes =\n config.runtime === WildoDeploymentRuntime.KUBERNETES\n && config.type === WildoLocationType.LOCAL;\n return {\n name: validatedEnvName,\n locationType: config.type,\n runtime: config.runtime,\n runtimeEnvironment: config.runtimeEnvironment,\n /*\n * Carried from `config.json` so a CI render produces the same compose file as the developer's.\n * Absent on a `config.json` written before the field existed, which `resolveLocalDataStorage`\n * answers from `locationType` — the same value this environment would have been given anyway.\n */\n localDataStorage: config.localDataStorage,\n os: PlatformEnvOperatingSystem.LINUX,\n secretsPath: '',\n configPath: '',\n infraPath: '',\n database: config.database,\n setupStatus: SetupStatus.NOT_STARTED,\n createdAt: now,\n updatedAt: now,\n publicDomain: config.publicDomain,\n // Threaded at every site that projects the authored infra config — this is the environment's\n // FIRST materialisation, and a field missing here is absent for the environment's whole life.\n serviceHosts: config.serviceHosts,\n cdn: config.cdn,\n kubernetes: config.kubernetes\n ? {\n ...config.kubernetes,\n imageRegistry: config.remoteProvider?.registryEndpoint,\n }\n : isLocalKubernetes\n ? {\n namespace: K8S_LOCAL_DEFAULTS.NAMESPACE,\n }\n : undefined,\n remoteProvider: config.remoteProvider,\n backingServices: config.backingServices,\n serviceAuth: config.serviceAuth,\n logging: config.logging,\n observability: config.observability,\n providerSelection: config.providerSelection,\n documentationSite: config.documentationSite,\n };\n}\n\nfunction hasRequiredRemoteKubernetesMetadata(config: PlatformEnvConfigJson): boolean {\n if (\n config.type !== WildoLocationType.REMOTE\n || config.runtime !== WildoDeploymentRuntime.KUBERNETES\n ) {\n return true;\n }\n\n return Boolean(config.kubernetes?.namespace && config.remoteProvider?.registryEndpoint);\n}\n\nexport default class ConfigSyncCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'config sync',\n description: 'Sync configuration — regenerate .env files, manifests, secrets, and CI/CD workflows',\n category: CommandCategory.Config,\n flags: {\n env: { type: 'string', description: 'Target specific environment', default: undefined },\n local: { type: 'boolean', description: 'Only local environments', default: false },\n remote: { type: 'boolean', description: 'Only remote environments', default: false },\n domain: { type: 'string', description: 'Filter by domain: cicd, secrets, config, manifest, env-files', default: undefined },\n app: { type: 'string', description: 'Application slug for app backend env generation', default: undefined },\n force: { type: 'boolean', description: 'Overwrite without confirmation (does NOT authorize destructive secret rotation — see --rotate-secrets)', default: false },\n 'rotate-secrets': {\n type: 'boolean',\n description:\n 'Explicitly opt in to destructive `secrets.json` rotation. Required for the `secrets` domain to do anything; --force alone never rotates secrets.',\n default: false,\n },\n 'accept-platform-engine-change': {\n type: 'boolean',\n description:\n 'Explicitly accept ABANDONING an initialized LOCAL platform\\'s data when the authored '\n + '`database.engine` differs from the engine it is running on. There is no Mongo/PostgreSQL '\n + 'migration; INIT re-creates the platform. --force never carries this meaning, and no flag '\n + 'authorizes the change on a REMOTE environment.',\n default: false,\n },\n ci: { type: 'boolean', description: 'CI mode — read secrets from env vars', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const scope = ctx.cliContext.scope;\n const domainFilter = this.resolveDomainFilter(ctx);\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const isCi = ctx.flags.ci === true;\n const envNames = this.resolveEnvNames(ctx, isCi);\n const force = ctx.flags.force === true;\n const rotateSecrets = ctx.flags.rotateSecrets === true || ctx.flags['rotate-secrets'] === true;\n\n const missingAppRootDomains = domainFilter.filter((domain) => APP_ROOT_ONLY_DOMAINS.has(domain));\n if (missingAppRootDomains.length > 0 && !saasRoot) {\n ctx.log.error(\n `Config sync domains [${missingAppRootDomains.join(', ')}] require a targeted app root with wildo.saas.config.ts.`,\n );\n return { success: false };\n }\n\n if (envNames.length === 0 && !domainFilter.includes('cicd')) {\n ctx.log.error(\n isCi\n ? 'No environments to sync. In CI mode, specify --env or pre-seed local environment state.'\n : 'No environments to sync. Run `wildo init` first or specify --env.',\n );\n return { success: false };\n }\n\n ctx.log.info(chalk.cyan(`\\n Config sync — scope: ${scope}, domains: ${domainFilter.join(', ') || 'all'}\\n`));\n\n const runSyncDomains = async (): Promise<CommandResult> => {\n // NOTE: there is deliberately no separate `anyFailure` flag. Failure is\n // DERIVED from the recorded outcomes below, so a phase cannot fail the\n // command without also appearing in the report — the two cannot drift.\n // A hand-maintained boolean alongside the list is exactly how the report\n // would come to claim every phase succeeded on a failed run.\n /**\n * Per-phase outcome, so a failure reports what SUCCEEDED alongside what did\n * not.\n *\n * `config sync` bundles pure generation (compose files, provider artifacts,\n * config.json) with phases that require a RUNNING apps-manager to mint\n * per-app secrets. When apps-manager is down the command previously printed\n * only `✖ config sync failed` — while the generation phases had completed and\n * written their files. Readers reasonably concluded nothing had happened, and\n * re-ran or hand-edited on that assumption.\n *\n * The exit code is unchanged: any failed phase still fails the command. What\n * changes is that the report distinguishes \"did not run / did not succeed\"\n * from \"succeeded, and its output is on disk\".\n */\n const phaseOutcomes: Array<{ phase: string; ok: boolean }> = [];\n const runPhase = async (phase: string, run: () => Promise<boolean>): Promise<boolean> => {\n const ok = await run();\n phaseOutcomes.push({ phase, ok });\n return ok;\n };\n let preparedEnvFilesSync: PreparedEnvFilesSyncExecution | null = null;\n\n // Root fix for the stale-config-json bug: BEFORE any domain reads the\n // generated `config.json` / `environments.json` snapshot, reconcile them\n // from the authored `wildo.infra.<env>.config.ts` for every LOCAL env so\n // authored backing-service / port / source changes deterministically\n // reach the generated compose + env files. Remote/CI envs (which\n // reconstruct config from env vars / a sibling secrets repo) are left\n // untouched — see `reconcileLocalConfigFromAuthoredInfra`.\n // MUST run BEFORE the reconcile below, and the ordering is load-bearing rather than\n // stylistic: `reconcileLocalConfigFromAuthoredInfra` writes the authored engine INTO\n // `config.json` unconditionally, which destroys the very baseline this guard compares\n // against. Run it after, and every engine change looks like no change at all.\n // #1693: refuse a backing-service declaration the platform cannot serve BEFORE any phase writes\n // a compose file, a config.json or a lockfile. The provider-runtime phase's lockfile projection\n // refuses the same declarations through the same function, but only after earlier phases have\n // already generated a stack without the service in it.\n if (saasRoot) {\n const servable = await this.refuseUnservableBackingServices(ctx, saasRoot);\n if (!servable) return { success: false };\n }\n\n if (!isCi && saasRoot && envNames.length > 0) {\n const authorized = await this.assertPlatformEngineChangeIsAuthorized(ctx, envNames, saasRoot);\n if (!authorized) return { success: false };\n }\n\n if (!isCi && saasRoot && envNames.length > 0) {\n const reconciled = await this.reconcileLocalConfigFromAuthoredInfra(ctx, envNames, saasRoot);\n if (!reconciled) return { success: false };\n }\n\n // Same ordering rationale, for the OTHER generated input every domain reads:\n // `secrets.json`. Mint any framework-managed credential material the environment\n // predates BEFORE the env-file / manifest renderers project it. Additive and\n // idempotent — it is not the destructive `--rotate-secrets` path. Skipped in CI,\n // which reconstructs secrets from published env vars and has no file to persist to.\n if (!isCi && envNames.length > 0) {\n this.provisionFrameworkManagedSecrets(ctx, envNames);\n }\n\n if (domainFilter.includes('config') && envNames.length > 0) {\n await runPhase('config (compose + config.json + deploy artifacts)', () => this.syncConfig(ctx, envNames, isCi));\n }\n\n if (domainFilter.includes('env-files') && envNames.length > 0) {\n if (!domainFilter.includes('config') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('provider runtime artifacts', () =>\n this.syncProviderRuntimeArtifacts(ctx, ctx.cliContext.resolvedHomes.app.declarationRoot!, envNames));\n }\n if (domainFilter.includes('secrets') && !isCi) {\n await runPhase('env-files (needs apps-manager)', async () => {\n preparedEnvFilesSync = await this.prepareEnvFilesSyncExecution(ctx, envNames, force, isCi);\n return Boolean(preparedEnvFilesSync);\n });\n } else {\n await runPhase('env-files', () => this.syncEnvFiles(ctx, envNames, force, isCi));\n }\n }\n\n if (domainFilter.includes('secrets') && envNames.length > 0) {\n await runPhase('secrets', () => this.syncSecrets(ctx, envNames, force, rotateSecrets));\n }\n\n if (preparedEnvFilesSync) {\n await runPhase('env-files (write)', () => this.syncPreparedEnvFiles(ctx, preparedEnvFilesSync!, isCi));\n }\n\n if (domainFilter.includes('manifest') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('manifest', () => this.syncManifest(ctx));\n }\n\n if (domainFilter.includes('cicd') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('cicd', () => this.syncCicd(ctx, force));\n }\n\n const anyFailure = phaseOutcomes.some((entry) => !entry.ok);\n\n if (anyFailure) {\n // Printed only on failure: on success the existing per-phase output is\n // already sufficient and a summary would be noise.\n const failed = phaseOutcomes.filter((entry) => !entry.ok).map((entry) => entry.phase);\n const succeeded = phaseOutcomes.filter((entry) => entry.ok).map((entry) => entry.phase);\n\n ctx.log.info('');\n ctx.log.info(chalk.cyan(' Phase outcomes:'));\n for (const { phase, ok } of phaseOutcomes) {\n ctx.log.info(ok ? chalk.green(` ✔ ${phase} — completed, output written`) : chalk.red(` ✖ ${phase}`));\n }\n if (succeeded.length > 0) {\n ctx.log.info(chalk.yellow(' Some phases succeeded — their generated files are on disk and do NOT need re-running.'));\n }\n /*\n * ONE SENTENCE naming the split, printed LAST so it sits directly above the runner's bare\n * `✖ config sync failed`.\n *\n * The per-phase list above already carries the facts; what it does not do is survive the\n * distance between a failure REASON and its outcome. Measured 2026-09-18: the reason\n * (\"Provider runtime artifact generation failed: …\") printed fifteen lines before the\n * successes, with provider-catalogue and env-builder chatter between them, and the verdict\n * underneath said \"failed\". An operator reading top-down concludes nothing landed and\n * re-runs; one reading bottom-up reads \"failed\" and concludes the same. A partial run is a\n * NORMAL outcome here — a hosted application legitimately skips shared domains — so the\n * report has to be built for it rather than treating it as an exception.\n */\n if (succeeded.length > 0) {\n ctx.log.info(chalk.yellow(\n ` In one line: ${succeeded.join(', ')} landed; ${failed.join(', ')} did not. `\n + `Each ✖ printed its own reason above, under its phase's output.`,\n ));\n }\n }\n\n ctx.log.info('');\n return { success: !anyFailure };\n };\n\n // Without a targeted app root there is no application worktree to\n // protect — run unlocked (platform-scope syncs).\n if (!saasRoot) {\n return runSyncDomains();\n }\n\n // Workspace-mutation lock (meta-workflows P-20): `config sync` writes\n // generated files across the application worktree, so it serializes\n // against companion coding-agent dispatch runs (which hold this same\n // lock for their whole run) and against concurrent syncs. Fail-fast on\n // contention — a dispatched agent run can hold the lock for many\n // minutes and silently queueing behind it would look like a hang.\n // Human/parallel-session EDITS are deliberately not gated (P-19b).\n try {\n return await withDedicatedFileLock(\n getWorkspaceMutationLockPath(saasRoot),\n runSyncDomains,\n { retries: { retries: 2 } },\n );\n } catch (error) {\n if ((error as { code?: string })?.code === 'ELOCKED') {\n ctx.log.error(\n `The workspace-mutation lock is held (${getWorkspaceMutationLockPath(saasRoot)}) — `\n + 'an active coding-agent dispatch run or another worktree-writing command owns the '\n + 'application worktree right now. Retry after it completes.',\n );\n return { success: false };\n }\n throw error;\n }\n }\n\n private resolveDefaultDomainFilter(ctx: CommandContext): DomainFilter[] {\n if (ctx.flags.ci === true) {\n return ctx.cliContext.resolvedHomes.app.declarationRoot\n ? ['cicd', 'config', 'env-files']\n : ['config', 'env-files'];\n }\n\n // 'secrets' is intentionally NOT in the default domain set — it\n // performs a DESTRUCTIVE rotation of `secrets.json` and is opt-in via\n // either `--domain secrets` (to scope only to secrets) or by passing\n // `--rotate-secrets` alongside the default invocation. See the\n // `--rotate-secrets` flag description and `syncSecrets` for the full\n // rationale (Fix M, 2026-04-21): the previous behavior caused\n // `wildo config sync --local --force` to silently rotate secrets and\n // overwrite a freshly-imported canonical `secrets.json`, which is\n // exactly the surprise this decoupling prevents.\n return ['config', 'env-files'];\n }\n\n private resolveDomainFilter(ctx: CommandContext): DomainFilter[] {\n const raw = ctx.flags.domain as string | undefined;\n if (!raw) {\n return this.resolveDefaultDomainFilter(ctx);\n }\n const value = raw.toLowerCase();\n if (DOMAINS.includes(value as DomainFilter)) return [value as DomainFilter];\n ctx.log.warn(chalk.yellow(` Unknown domain '${raw}', using default domains. Valid: ${DOMAINS.join(', ')}`));\n return this.resolveDefaultDomainFilter(ctx);\n }\n\n private resolveEnvNames(ctx: CommandContext, isCi: boolean): string[] {\n const envFlag = ctx.flags.env as string | undefined;\n const localOnly = ctx.flags.local === true;\n const remoteOnly = ctx.flags.remote === true;\n\n if (envFlag) {\n let validatedEnvName: string;\n try {\n validatedEnvName = parsePlatformEnvironmentId(envFlag);\n } catch {\n ctx.log.error(`Invalid environment name '${envFlag}'.`);\n return [];\n }\n\n if (isCi) {\n return [validatedEnvName];\n }\n\n const env = EnvironmentRegistry.get(validatedEnvName);\n if (!env) {\n ctx.log.error(`Environment '${validatedEnvName}' not found.`);\n return [];\n }\n return [validatedEnvName];\n }\n\n const all = EnvironmentRegistry.getAll();\n const names = Object.keys(all);\n\n if (localOnly) {\n return names.filter((n) => all[n]!.locationType === WildoLocationType.LOCAL);\n }\n if (remoteOnly) {\n return names.filter((n) => all[n]!.locationType === WildoLocationType.REMOTE);\n }\n\n const current = ctx.activeEnv?.name;\n if (current && all[current]) return [current];\n return names;\n }\n\n private loadConfigJsonFromSiblingSecretsRepo(\n envName: string,\n root: string | null | undefined,\n ): PlatformEnvConfigJson | null {\n if (!root) {\n return null;\n }\n\n const siblingSecretsRepo = EnvironmentUtils.detectSiblingSecretsRepo(root);\n if (!siblingSecretsRepo) {\n return null;\n }\n\n const configDir = join(siblingSecretsRepo, 'environments', envName);\n return EnvironmentRegistry.loadConfigJson(envName, configDir);\n }\n\n /**\n * Regenerate the persisted `config.json` + env-registry snapshot for every\n * LOCAL environment from its authored `wildo.infra.<env>.config.ts`, so a\n * subsequent domain (config / env-files / manifest) reads the authored\n * source of truth instead of a stale generated artifact.\n *\n * WHY this exists (root cause). `loadConfigForSync` reads the generated\n * `config.json` FIRST and only falls back to the authored descriptor when\n * that file is ABSENT; the docker-compose renderer additionally reads the\n * generated `config.json` + the `env.backingServices` registry snapshot\n * directly. None of these were ever refreshed from the authored `.ts`, so a\n * newly-authored backing service (e.g. `immudb: { source: SELF }`) never\n * reached the generated compose and `wildo local up` never started its\n * container. Reconciling here closes that gap deterministically.\n *\n * Scope + guards (delegated to {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}):\n * - LOCAL only — remote/CI keep their generated / env-var-reconstructed\n * config.json (this method is already gated on `!isCi` at the call site).\n * - Atlas-backed Mongo is skipped (its generated config.json carries API\n * metadata the authored descriptor omits); the existing file is kept.\n * - Envs with no registry state or no authored descriptor are skipped.\n *\n * Authored-load/schema failures are fatal. Falling back to a prior generated\n * snapshot would silently preserve revoked or invalid policy, so no later\n * config/env-file domain may execute after reconciliation fails. Deliberate\n * `SKIPPED_UNSUPPORTED` results (for example Atlas metadata) remain distinct\n * and keep the generated snapshot explicitly.\n */\n /**\n * Refuse every `backingServices` declaration, in ANY authored environment, that the platform cannot\n * serve — one resolving to no infrastructure provider, or to a provider no provider module can\n * serve (#1693). Every environment rather than the targeted ones, because the lockfile's infra\n * section records all of them and its projection refuses on any.\n *\n * The judgement is `findUnservableBackingServiceDeclarations`, the same function the lockfile\n * projection (`materializeInfraSection`) and `wildo config validate` use; only the reporting is here.\n * No opt-out, by design — see that function's file header.\n *\n * @returns `false` when the sync must stop.\n */\n private async refuseUnservableBackingServices(ctx: CommandContext, saasRoot: string): Promise<boolean> {\n let envs: Awaited<ReturnType<typeof loadAuthoredInfraEnvSelections>>;\n try {\n envs = await loadAuthoredInfraEnvSelections(saasRoot);\n } catch (error) {\n // Not this check's finding: an environment that cannot be LOADED is reported by the phases that\n // load it (and the lockfile projection refuses it with its own error). Failing here would turn a\n // `--domain secrets` run into a failure it never had, over a file it does not read.\n ctx.log.warn(` Backing-service servability not checked — an authored environment could not be read: ${ErrorUtils.extractErrorMessage(error)}`);\n return true;\n }\n const servableProviders = collectServableInfraProviders();\n const findings = envs.flatMap((env) => findUnservableBackingServiceDeclarations({ ...env, servableProviders }));\n if (findings.length === 0) return true;\n\n ctx.log.error('Backing-service declarations the platform cannot serve — the application would receive a credential for a server it never connects to:');\n for (const finding of findings) {\n ctx.log.error(` ${describeUnservableBackingServiceDeclaration(finding)}`);\n }\n return false;\n }\n\n /**\n * Refuse an authored platform-engine change that would abandon data.\n *\n * The authored `database.engine` makes the platform's store a one-line, reviewable edit — which is\n * the goal, and also the hazard: the flip is fresh-install-only, so applying it to an environment\n * that has already been initialized does not migrate anything, it abandons it.\n *\n * Policy lives in `decidePlatformEngineChange`; this method only supplies the four facts it needs\n * and reports. Gated on `!isCi` for the same reason the reconcile is: CI reconstructs its config\n * from published env vars rather than from the authored descriptor, so it has no baseline this\n * comparison could trust.\n *\n * @returns `false` when the sync must stop.\n */\n private async assertPlatformEngineChangeIsAuthorized(\n ctx: CommandContext,\n envNames: string[],\n saasRoot: string,\n ): Promise<boolean> {\n /**\n * BOTH spellings, mirroring `rotateSecrets` above: the kernel exposes a kebab-case flag under\n * its camelCase name, and reading only one form leaves the flag inert while `--help` advertises\n * it. Found by running the real CLI — a unit test cannot catch this, because the test mocks\n * whichever key the implementation happens to read.\n */\n const acknowledged = ctx.flags.acceptPlatformEngineChange === true\n || ctx.flags['accept-platform-engine-change'] === true;\n\n for (const envName of envNames) {\n const env = EnvironmentRegistry.get(envName);\n if (!env) continue;\n\n const authored = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n if (!authored) continue;\n\n const decision = decidePlatformEngineChange({\n locationType: env.locationType,\n authoredEngine: authored.config.database?.engine,\n // The engine currently in force, read BEFORE the reconcile overwrites it.\n baselineEngine: EnvironmentUtils.loadConfigJson(envName)?.database?.engine,\n platformInitialized: EnvironmentUtils.isPlatformInitialized(envName),\n acknowledged,\n });\n\n const message = describePlatformEngineChange(decision, {\n envName,\n authoredEngine: authored.config.database?.engine,\n baselineEngine: EnvironmentUtils.loadConfigJson(envName)?.database?.engine,\n });\n\n switch (decision) {\n case PlatformEngineChangeDecision.NO_AUTHORED_ENGINE:\n case PlatformEngineChangeDecision.UNCHANGED:\n break;\n case PlatformEngineChangeDecision.DECLARED_FOR_NEW_BASELINE:\n if (message) ctx.log.info(chalk.dim(` ${message}`));\n break;\n case PlatformEngineChangeDecision.ALLOWED_LOCAL_UNINITIALIZED:\n case PlatformEngineChangeDecision.ALLOWED_LOCAL_ACKNOWLEDGED:\n if (message) ctx.log.warn(chalk.yellow(` ${message}`));\n break;\n case PlatformEngineChangeDecision.REFUSED_LOCAL_INITIALIZED:\n case PlatformEngineChangeDecision.REFUSED_REMOTE:\n if (message) ctx.log.error(message);\n return false;\n }\n }\n\n return true;\n }\n\n private async reconcileLocalConfigFromAuthoredInfra(\n ctx: CommandContext,\n envNames: string[],\n saasRoot: string,\n ): Promise<boolean> {\n for (const envName of envNames) {\n const env = EnvironmentRegistry.get(envName);\n if (!env) {\n // No registry state (CI/remote-reconstructed) — nothing to reconcile.\n continue;\n }\n\n try {\n const result = await RuntimeBootstrap.reconcileGeneratedConfigFromAuthored({\n env,\n saasRoot,\n });\n\n if (result.status === RuntimeConfigReconcileStatus.RECONCILED) {\n ctx.log.info(\n chalk.dim(\n result.refreshedEnvState\n ? ` Reconciled '${envName}' config.json + env state from authored infra.`\n : ` Reconciled '${envName}' config.json from authored infra (env state already current).`,\n ),\n );\n } else if (result.status === RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED) {\n ctx.log.warn(\n chalk.yellow(\n ` Keeping generated config.json for '${envName}' (cannot reconcile from authored infra): ${result.reason}`,\n ),\n );\n }\n } catch (error) {\n ctx.log.error(\n `Could not reconcile '${envName}' from authored infra; refusing stale generated config: `\n + ErrorUtils.extractErrorMessage(error),\n );\n return false;\n }\n }\n return true;\n }\n\n /**\n * Mint + persist every framework-managed credential material missing from each target\n * environment's `secrets.json`, so the downstream domains render artifacts that carry\n * it.\n *\n * WHY this exists (root cause). Framework-GENERATED material used to be minted only by\n * the interactive `wildo setup` of a brand-new environment; nothing ever backfilled an\n * existing one. Every material introduced after an environment was created was\n * therefore permanently absent there, and the resulting failures were silent by design\n * — the crontabs-batches-manager signing keypair dead-lettering every scheduled tick,\n * and the immudb state-signing keypair leaving the audit store's whole-server\n * substitution defense off (\"state-signature pinning is OFF\"). This is the sibling of\n * {@link ConfigSyncCommand.reconcileLocalConfigFromAuthoredInfra}: same \"refresh the\n * generated INPUT before any domain consumes it\" discipline, applied to secrets.\n *\n * NOT a rotation. Only absent/blank material is minted; anything already present is\n * untouched, so this can never invalidate a credential a running deployment holds.\n * Destructive rotation remains behind `--rotate-secrets` (see {@link syncSecrets}).\n *\n * NON-FATAL by design: an environment with no readable `secrets.json` (never set up, or\n * remote-reconstructed) is skipped silently — the domain that actually needs secrets\n * fails loudly with its own actionable message.\n */\n private provisionFrameworkManagedSecrets(ctx: CommandContext, envNames: string[]): void {\n for (const envName of envNames) {\n try {\n const outcome = SecretsProvisioning.ensureForEnvironment(envName);\n if (outcome.status === SecretsProvisioningStatus.PROVISIONED) {\n ctx.log.info(\n chalk.dim(\n ` Provisioned missing framework-managed secret material for '${envName}': `\n + `${outcome.mintedRefs.join(', ')}.`,\n ),\n );\n }\n } catch (error) {\n ctx.log.warn(\n chalk.yellow(\n ` Could not provision framework-managed secrets for '${envName}': `\n + `${ErrorUtils.extractErrorMessage(error)}.`,\n ),\n );\n }\n }\n }\n\n private async loadConfigForSync(\n envName: string,\n frameworkPath: string | null,\n ctx: CommandContext,\n saasRoot?: string,\n ): Promise<PlatformEnvConfigJson | null> {\n /*\n * Whether this environment runs on ANOTHER application's infrastructure is decided by the authored descriptor\n * alone (`infrastructureHost`). A persisted config.json — generated, or in a sibling secrets repository — written\n * before that changed still names the old owner, and every guard downstream reads it: a hosted remote environment\n * would regenerate its host's platform and infrastructure material (#1171). So the authored descriptor, when there\n * is one, is loaded FIRST, and a persisted copy that disagrees with it about the host is passed over for the\n * authored projection — the rule `RuntimeBootstrap.ensureConfigJson` applies to the local lane. On every other\n * member the persisted copy still wins, because it carries what an authored descriptor cannot (Atlas API metadata,\n * external endpoints).\n *\n * An authored descriptor that EXISTS and cannot be loaded refuses, even beside a persisted copy: a hosted\n * descriptor whose host is missing is exactly that case, and the persisted copy is the stale answer.\n */\n let authoredConfig: LoadedAuthoredInfraEnvConfig | null = null;\n if (saasRoot) {\n try {\n authoredConfig = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n } catch (error) {\n ctx.log.error(\n `Failed to load authored env descriptor for '${envName}': ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return null;\n }\n }\n const describesAuthoredHosting = (persisted: PlatformEnvConfigJson, source: string): boolean => {\n if (authoredConfig === null) return true;\n const persistedHost = persisted.infrastructureHost?.applicationRoot ?? null;\n const authoredHost = authoredConfig.config.infrastructureHost?.applicationRoot ?? null;\n if (persistedHost === authoredHost) return true;\n const describe = (host: string | null): string => host === null ? 'owning its infrastructure' : `running on the infrastructure of ${host}`;\n ctx.log.info(\n ` ${source} describes '${envName}' as ${describe(persistedHost)}, but ${authoredConfig.path} declares it as `\n + `${describe(authoredHost)}: using the authored descriptor.`,\n );\n return false;\n };\n\n try {\n const configured = EnvironmentUtils.loadConfigJson(envName);\n if (configured && describesAuthoredHosting(configured, 'The generated config.json')) {\n if (!hasRequiredRemoteKubernetesMetadata(configured)) {\n return null;\n }\n return configured;\n }\n } catch {\n // Fall through to external or authored config sources when the generated\n // scoped config payload is missing or unreadable.\n }\n\n if (saasRoot) {\n const appSiblingConfig = this.loadConfigJsonFromSiblingSecretsRepo(envName, saasRoot);\n if (appSiblingConfig && describesAuthoredHosting(appSiblingConfig, 'The sibling secrets repository config.json')) {\n if (!hasRequiredRemoteKubernetesMetadata(appSiblingConfig)) {\n return null;\n }\n return appSiblingConfig;\n }\n\n if (authoredConfig) {\n const unsupportedFallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n envName,\n authoredConfig.path,\n authoredConfig.config,\n );\n if (unsupportedFallbackReason) {\n ctx.log.error(unsupportedFallbackReason);\n return null;\n }\n\n const configJson = buildConfigJsonFromInfraEnvConfig(authoredConfig.config);\n if (!hasRequiredRemoteKubernetesMetadata(configJson)) {\n return null;\n }\n return configJson;\n }\n }\n\n const frameworkSiblingConfig = this.loadConfigJsonFromSiblingSecretsRepo(envName, frameworkPath);\n if (frameworkSiblingConfig) {\n if (!hasRequiredRemoteKubernetesMetadata(frameworkSiblingConfig)) {\n return null;\n }\n return frameworkSiblingConfig;\n }\n\n return null;\n }\n\n /**\n * Every provider env var the generated CI workflow must carry as a `WILDO_SECRET_PROVIDER_ENV_*`\n * input, for every provider this application declares.\n *\n * ## Both halves of a provider's secrets, not just the bindings (#361)\n *\n * A provider states its credentials TWICE, and the two sets are not the same size:\n *\n * | source | what it names | shipped by |\n * |---|---|---|\n * | `secretsContract` | every env var the provider needs, whatever it is for | engine module OR companion contribution |\n * | protocol `runtimeContract` bindings | the subset a PROTOCOL resolves through (base URL, auth header, …) | engine module only |\n *\n * The contract is a strict SUPERSET. Measured 2026-09-06 against the built engine registry: 13\n * engine contract keys are named by no binding at all — every `IMMUDB_*`,\n * `POSTHOG_PROJECT_API_KEY`, `BETTERSTACK_SOURCE_TOKEN`, `ODOO_BASE_URL`/`_DB`/`_LOGIN` — while\n * the reverse inclusion holds exactly (25 binding `secretRef`s, all of them contract\n * `envVarName`s, zero exceptions). This collector enumerated bindings alone, so those 13 had no\n * input in any generated workflow: the deployment authenticated with nothing and failed at the\n * vendor, three layers from the cause.\n *\n * It gets worse rather than merely staying incomplete. A provider known only from a companion\n * contribution has ZERO protocol bindings BY CONSTRUCTION — a runtime contract is code and a\n * contribution is values-free data — so the moment package-provider discovery registers one, it\n * contributes not a subset but nothing at all. Reading the contract half fixes both cases with\n * one source, and is why the composed catalogue exposes `secrets` independently of `protocols`.\n *\n * ## An unresolvable ref contributes nothing, silently, and that is calibrated rather than lazy\n *\n * A declared ref the composed catalogue cannot name yields no keys and no warning. Measured on\n * the dogfood applications: Wonder Todos declares `sentry` and `wonderTodosFilePicker`, neither of\n * which is an engine provider — they are FRONTEND_SDK providers whose material is public config\n * delivered through the frontend build, not a backend secret. Warning here would fire on correct\n * declarations, which is how an operator learns to skim the output. (`recaptcha` was the third until\n * 1783ec83 gave it a backend module; its verification secret is now a contract key like any other.)\n */\n private async loadConfiguredProviderEnvKeys(saasRoot: string): Promise<Omit<ApplicationCiSecretKey, 'kind'>[]> {\n const providerEnvKeys = new Map<string, Omit<ApplicationCiSecretKey, 'kind'>>();\n\n /**\n * `required` is merged with OR across sources, and the direction is deliberate: the contract\n * and the bindings each carry the flag and CAN disagree about the same env var. It decides only\n * which half of the generated block a key lands in — both halves are emitted, one under an\n * \"Optional\" comment — so an over-required key costs a comment line, while an under-required\n * one is the silent missing input this whole method exists to stop.\n */\n const addProviderEnvKey = (envVarName: string, required?: boolean) => {\n const previous = providerEnvKeys.get(envVarName);\n providerEnvKeys.set(envVarName, {\n envVarName,\n required: previous?.required === true || required === true,\n });\n };\n\n type ProviderConfiguredProtocols = Parameters<typeof getProviderSecretEnvBindings>[1];\n const collectProviderEnvKeys = (\n providerConfigurations: Record<string, ProviderConfiguredProtocols | undefined> | undefined,\n ) => {\n if (!providerConfigurations) {\n return;\n }\n\n for (const [providerRef, configuredProtocols] of Object.entries(providerConfigurations)) {\n if (!configuredProtocols) {\n continue;\n }\n\n for (const binding of getProviderSecretEnvBindings(providerRef, configuredProtocols)) {\n addProviderEnvKey(binding.envVarName, binding.required);\n }\n }\n };\n const collectProviderRefsFromScopes = (providersBlock: unknown): Set<string> => {\n const providerRefs = new Set<string>();\n\n const collectRuntimeScope = (scope: unknown) => {\n if (!scope || typeof scope !== 'object') {\n return;\n }\n const providers = (scope as { providers?: unknown }).providers;\n if (!providers || typeof providers !== 'object') {\n return;\n }\n for (const providerRef of Object.keys(providers)) {\n providerRefs.add(providerRef);\n }\n };\n\n const scopes = (providersBlock as { scopes?: Record<string, unknown> } | undefined)?.scopes;\n if (!scopes) {\n return providerRefs;\n }\n\n collectRuntimeScope(scopes.backend);\n collectRuntimeScope(scopes.companion);\n\n for (const scopeGroup of [scopes.frontendServices, scopes.minions, scopes.workers]) {\n if (!scopeGroup || typeof scopeGroup !== 'object') {\n continue;\n }\n for (const scope of Object.values(scopeGroup)) {\n collectRuntimeScope(scope);\n }\n }\n\n return providerRefs;\n };\n\n const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n if (!saasConfig) {\n return [];\n }\n\n // `ProviderConfigurationsSchema` (in `define-saas-config.ts`) types each\n // per-provider entry as `Record<string, unknown>` — the protocol layer is\n // left intentionally loose at the schema level. `getProviderSecretEnvBindings`\n // narrows that to `Partial<Record<protocolKind, Record<string, unknown>>>`\n // (the runtime contract). The cast bridges the schema/function gap without\n // weakening the schema or over-tightening the runtime contract.\n collectProviderEnvKeys(\n saasConfig.providerConfigurations as Record<string, ProviderConfiguredProtocols | undefined>,\n );\n for (const providerRef of collectProviderRefsFromScopes(saasConfig.providers)) {\n const configuredProtocols = saasConfig.providerConfigurations[providerRef] as ProviderConfiguredProtocols | undefined;\n for (const binding of getProviderSecretEnvBindings(\n providerRef,\n configuredProtocols,\n )) {\n addProviderEnvKey(binding.envVarName, binding.required);\n }\n }\n\n // The contract half (#361), over EVERY declared ref from both populations above — a provider\n // configured but not scoped, or scoped but not configured, is declared either way, and the\n // secret it needs does not depend on which of the two the author wrote it in.\n //\n // Order relative to the binding passes is irrelevant: `addProviderEnvKey` merges `required`\n // with OR, so a key both halves name gets the same answer whichever runs last. (Measured\n // 2026-09-06 across all 22 engine providers: the two halves disagree about `required` for zero\n // keys today, so the merge is currently inert as well as order-free.)\n const declaredProviderRefs = new Set<string>([\n ...Object.keys(saasConfig.providerConfigurations ?? {}),\n ...collectProviderRefsFromScopes(saasConfig.providers),\n ]);\n for (const providerRef of declaredProviderRefs) {\n for (const secret of getComposedProviderEntry(providerRef)?.secrets ?? []) {\n addProviderEnvKey(secret.envVarName, secret.required);\n }\n }\n\n return [...providerEnvKeys.values()];\n }\n\n private async syncEnvFiles(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n isCi: boolean,\n ): Promise<boolean> {\n const prepared = await this.prepareEnvFilesSyncExecution(ctx, envNames, force, isCi);\n if (!prepared) {\n return false;\n }\n\n return this.syncPreparedEnvFiles(ctx, prepared, isCi);\n }\n\n private loadSyncCredentials(\n ctx: CommandContext,\n envName: string,\n isCi: boolean,\n ): PlatformEnvSecretsJson | null {\n if (isCi) {\n try {\n return reconstructSecretsFromEnv();\n } catch (err) {\n ctx.log.error(`Failed to reconstruct secrets: ${ErrorUtils.extractErrorMessage(err)}`);\n return null;\n }\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return null;\n }\n\n return credentials;\n }\n\n private async prepareEnvFilesSyncExecution(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n isCi: boolean,\n ): Promise<PreparedEnvFilesSyncExecution | null> {\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error(\n 'Framework path not set. Re-run the CLI install script, or set `frameworkPath` in your machine preferences.',\n );\n return null;\n }\n\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n const entries: PreparedEnvFilesSyncEntry[] = [];\n let applicationTargetsRefusal: string | undefined;\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const shouldPrepareApplicationTargets =\n isFrameworkDeveloper && Boolean(saasRoot);\n if (isFrameworkDeveloper && !saasRoot) {\n ctx.log.warn(\n 'Skipping application env target generation because config sync is running outside a targeted app root.',\n );\n }\n\n for (const envName of envNames) {\n const config = await this.loadConfigForSync(envName, frameworkPath, ctx, saasRoot ?? undefined);\n if (!config) {\n ctx.log.error(`No valid config for '${envName}'.`);\n return null;\n }\n\n const env = EnvironmentRegistry.get(envName);\n const resolvedEnv = hydrateEnvironmentFromConfig(\n env ?? createCiEnvConfig(envName, config),\n config,\n );\n if (!env && !isCi) {\n ctx.log.error(`Environment '${envName}' not found.`);\n return null;\n }\n\n if (resolvedEnv.locationType === WildoLocationType.REMOTE && !isCi) {\n ctx.log.warn(chalk.yellow(` Skipping env-files for remote '${envName}' (requires --ci).`));\n continue;\n }\n\n const credentials = this.loadSyncCredentials(ctx, envName, isCi);\n if (!credentials) {\n return null;\n }\n\n let applicationBackends: ApplicationBackendEnvTarget[] | undefined;\n let companionApis: CompanionPlatformEnvTarget[] | undefined;\n let applicationFrontends: ApplicationFrontendEnvExampleTarget[] | undefined;\n let applicationWorkers: ApplicationWorkerEnvTarget[] | undefined;\n let applicationMinions: ApplicationMinionEnvTarget[] | undefined;\n let applicationOperators: ApplicationOperatorEnvTarget[] | undefined;\n if (shouldPrepareApplicationTargets) {\n try {\n applicationBackends = await AppBootstrapService.buildApplicationBackendTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n companionApis = await AppBootstrapService.buildApplicationCompanionTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationFrontends = await AppBootstrapService.buildApplicationFrontendTargets({\n saasRoot,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationMinions = await AppBootstrapService.buildApplicationMinionTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationOperators = AppBootstrapService.buildApplicationOperatorEnvTargets({\n env: resolvedEnv,\n config,\n saasRoot,\n });\n } catch (error) {\n /*\n * Preparing the application's targets REGISTERS it with apps-manager, and apps-manager answers from the env\n * this very phase writes. So a platform env that lags the platform's code (a key added since it was written)\n * made the registration fail, and the refusal stopped the one command that writes the missing key: a\n * deadlock whose remedy needed itself (measured 2026-09-29, #2019: apps-manager refused Wonder Todos' immudb\n * for want of IMMUDB_ADMIN_*, which only this phase writes). The platform half does not depend on the\n * registration, so it is written anyway; the phase still fails, and says what to run once apps-manager has\n * restarted on the new env.\n */\n applicationTargetsRefusal = ErrorUtils.extractErrorMessage(error);\n ctx.log.error(`Failed to prepare application env files: ${applicationTargetsRefusal}`);\n ctx.log.warn(\n chalk.yellow(\n \" Writing the platform's env files anyway: they do not need the registration, and a platform env that is out of date \"\n + 'is one reason it can fail. Once apps-manager has restarted on them, run `wildo config sync` again for the application.',\n ),\n );\n applicationBackends = undefined;\n companionApis = undefined;\n applicationFrontends = undefined;\n applicationWorkers = undefined;\n applicationMinions = undefined;\n applicationOperators = undefined;\n }\n }\n\n /*\n * The SAME options object shape the write below is given, so what the prompt names and what\n * `sync` writes are computed from one input. `invokingAppRoot` in particular is what tells a\n * foreign live platform owner from this session's own — omit it here and the prompt offers\n * shared files the write then skips.\n */\n const existing = checkExisting(resolvedEnv, {\n frameworkPath,\n isFrameworkDeveloper,\n ...(ctx.cliContext.resolvedHomes.app.declarationRoot\n ? { invokingAppRoot: ctx.cliContext.resolvedHomes.app.declarationRoot }\n : {}),\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n applicationOperators,\n });\n if (existing.length > 0 && !force) {\n if (ctx.globalFlags.nonInteractive) {\n ctx.log.warn('Skipping env-files regeneration in non-interactive mode. Use --force to override.');\n continue;\n }\n ctx.log.info(chalk.bold(' Existing env files'));\n for (const p of existing) ctx.log.info(chalk.dim(` ${p}`));\n const proceed = await confirm({\n message: 'Regenerate all env files? (existing files will be overwritten)',\n default: false,\n });\n if (!proceed) continue;\n }\n\n entries.push({\n envName,\n resolvedEnv,\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n applicationOperators,\n });\n }\n\n return {\n frameworkPath,\n isFrameworkDeveloper,\n entries,\n ...(applicationTargetsRefusal === undefined ? {} : { applicationTargetsRefusal }),\n };\n }\n\n private async syncPreparedEnvFiles(\n ctx: CommandContext,\n prepared: PreparedEnvFilesSyncExecution,\n isCi: boolean,\n ): Promise<boolean> {\n for (const entry of prepared.entries) {\n const credentials = this.loadSyncCredentials(ctx, entry.envName, isCi);\n if (!credentials) {\n return false;\n }\n\n ctx.log.info(chalk.cyan(` Syncing env files for ${entry.envName}...`));\n const result = await envSync(\n entry.resolvedEnv,\n credentials,\n {\n frameworkPath: prepared.frameworkPath,\n isFrameworkDeveloper: prepared.isFrameworkDeveloper,\n ...(ctx.cliContext.resolvedHomes.app.declarationRoot\n ? { invokingAppRoot: ctx.cliContext.resolvedHomes.app.declarationRoot }\n : {}),\n applicationBackends: entry.applicationBackends,\n companionApis: entry.companionApis,\n applicationFrontends: entry.applicationFrontends,\n applicationWorkers: entry.applicationWorkers,\n applicationMinions: entry.applicationMinions,\n applicationOperators: entry.applicationOperators,\n },\n ctx.log,\n );\n ctx.log.success(` Updated ${result.envFilesUpdated.length} file(s) for ${entry.envName}`);\n }\n // The platform's files were written; the application's were not, so the phase has not done its job.\n return prepared.applicationTargetsRefusal === undefined;\n }\n\n private async syncSecrets(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n rotateSecrets: boolean,\n ): Promise<boolean> {\n // Fix M (2026-04-21) — `--force` and `--rotate-secrets` are now\n // ORTHOGONAL. `--force` only authorizes skipping confirmation prompts;\n // it never authorizes the destructive rotation that this domain\n // performs. Operators must explicitly pass `--rotate-secrets` to opt\n // into rewriting `secrets.json`. This prevents the prior surprise\n // where `wildo config sync --local --force` (intended as \"skip\n // confirmations\") silently overwrote a freshly-imported canonical\n // `secrets.json` with newly generated values.\n if (!rotateSecrets) {\n ctx.log.warn(\n chalk.yellow(\n ' Skipping secrets domain: pass --rotate-secrets to explicitly opt in to destructive `secrets.json` rotation.',\n ),\n );\n return true;\n }\n\n for (const envName of envNames) {\n const secrets = SecretsReader.loadSecrets(envName);\n if (!secrets) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return false;\n }\n\n if (!force) {\n if (ctx.globalFlags.nonInteractive) {\n ctx.log.warn(\n 'Skipping secrets rotation in non-interactive mode. Combine --rotate-secrets with --force (or run interactively) to confirm.',\n );\n continue;\n }\n ctx.log.warn(chalk.yellow(` ⚠ Rotating secrets for '${envName}' will regenerate ALL auto-generated secrets.`));\n const proceed = await confirm({ message: `Rotate secrets for ${envName}?` });\n if (!proceed) continue;\n }\n\n const rotatable = structuredClone(secrets);\n // The AUTHORED descriptor decides (the persisted copies may predate a newly added or removed host).\n const hostedBy = await InfrastructureHost.resolveForCommand(\n ctx.cliContext.resolvedHomes.app.declarationRoot,\n EnvironmentRegistry.get(envName) ?? { name: envName },\n );\n if (hostedBy) {\n ctx.log.info(\n ` '${envName}' runs on the infrastructure of ${hostedBy.applicationRoot}: rotating this application's own secrets only. `\n + `Shared credentials are rotated from the host (cd ${hostedBy.applicationRoot} && wildo config sync --domain secrets --rotate-secrets).`,\n );\n }\n const result = SecretsRotation.rotate(rotatable, hostedBy ? { owners: new Set([SecretOwner.APPLICATION]) } : undefined);\n ConfigSecretsUtils.writeSecretsJson(envName, rotatable);\n ctx.log.success(` Rotated ${result.rotatedKeys.length} secrets for ${envName}`);\n const environment = EnvironmentRegistry.get(envName);\n if (environment?.locationType === WildoLocationType.LOCAL) {\n ctx.log.warn(\n chalk.yellow(\n ' Running local platform services and backing infra may still use the previous generated secrets until they are reprovisioned/restarted together.',\n ),\n );\n }\n }\n return true;\n }\n\n private async syncManifest(ctx: CommandContext): Promise<boolean> {\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return false;\n }\n\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.warn(chalk.yellow(' Manifest regeneration: remote environments not yet supported.'));\n return true;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error('Framework path not set.');\n return false;\n }\n\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root. Run `wildo init` first.');\n return false;\n }\n\n const hostedBy = await InfrastructureHost.resolveForCommand(saasRoot, env);\n if (hostedBy) {\n ctx.log.info(\n ` Manifest regeneration skipped: '${env.name}' runs on the infrastructure of ${hostedBy.applicationRoot}, `\n + `which renders the shared manifests (cd ${hostedBy.applicationRoot} && wildo config sync --domain manifest).`,\n );\n return true;\n }\n\n const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n if (!saasConfig) {\n ctx.log.error('Manifest regeneration now requires a targeted app root with wildo.saas.config.ts.');\n return false;\n }\n\n try {\n if (env.runtime === WildoDeploymentRuntime.KUBERNETES) {\n const serviceReplicas = await this.loadServiceReplicas(saasRoot, env);\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n const result = K8sManifestGenerator.renderAllManifests(env, frameworkPath, {\n serviceReplicas,\n isFrameworkDeveloper,\n });\n ctx.log.success(` Regenerated ${result.total} K8s manifests.`);\n if (!shouldDeployPlatformServicesInRuntime(env, isFrameworkDeveloper)) {\n ctx.log.info(' Platform manifests skipped because local framework developers run platform services natively.');\n }\n } else {\n await renderDockerComposeTemplate(env, frameworkPath, ctx.preferences?.isFrameworkDeveloper ?? false);\n ctx.log.success(' Regenerated Docker Compose file.');\n }\n } catch (err) {\n ctx.log.error(`Manifest regeneration failed: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n return true;\n }\n\n /**\n * Load per-service replica counts from the infra config file for K8s environments.\n * Returns `undefined` if no infra config or no services are defined.\n */\n private async loadServiceReplicas(\n saasRoot: string,\n env: PlatformEnvironmentConfiguration,\n ): Promise<Record<string, number> | undefined> {\n const authoredConfig = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!authoredConfig) {\n return undefined;\n }\n\n return extractServiceReplicas(authoredConfig.config);\n }\n\n private async syncCicd(ctx: CommandContext, force: boolean): Promise<boolean> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root. Run this from within a SaaS application directory.');\n return false;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error('Framework path not set.');\n return false;\n }\n\n const saasConfigPath = join(saasRoot, 'wildo.saas.config.ts');\n const saasConfig = await loadSaasConfig(saasConfigPath);\n if (!saasConfig) {\n ctx.log.error(`No SaaS config found at ${saasConfigPath}.`);\n return false;\n }\n\n const environments: WorkflowEnvConfig[] = [];\n const contractProviderEnvSecretKeys = await this.loadConfiguredProviderEnvKeys(saasRoot);\n\n // Per-service image build targets (per-service deploy model) — each app\n // service (backend + every frontend) AND each app-owned minion/worker builds\n // its OWN image from its OWN Dockerfile. Same across every env (derived from\n // the app's declared topology in wildo.saas.config.ts).\n //\n // `serviceName` is the pushed image name and MUST match the k8s/compose\n // manifest image refs (else CI builds an image the deploy can't pull):\n // - services: the raw authored `services.<key>.serviceName`\n // - minions: `buildMinionServiceName(appSlug, bucketKey)` = `{appSlug}-minion-{dnsName}`\n // — the SAME helper `renderMinionForTarget` + the compose render use, so the\n // bucket key is RFC1123-normalized identically everywhere (a camelCase key\n // `marketingScrapper` → `marketing-scrapper`, a valid lowercase Docker tag).\n // - workers: `buildWorkerServiceName(appSlug, bucketKey)` (same on the worker axis).\n // `dockerfile` is `<path>/Dockerfile` (the bucket entry's folder + Dockerfile,\n // build context = the app root) — `resolveServiceImageDockerfilePath`, the mapping the\n // template contract also reads, so every shipped service path is held to it (#984).\n const dockerfileFor = resolveServiceImageDockerfilePath;\n // Minion/worker image names key on the app SLUG (the lowercase-hyphen\n // identifier the render uses via `runtimeTarget.appSlug`), NOT `appName`\n // (which prefers `name`). `slug` is a required saas-config field; the `?? name`\n // is defensive only.\n const appSlug = saasConfig.slug ?? saasConfig.name;\n const appServices = [\n ...Object.values(saasConfig.services ?? {}).map((svc) => ({\n serviceName: svc.serviceName,\n dockerfile: dockerfileFor(svc.path),\n frontendType: svc.frontendType,\n })),\n ...Object.entries(saasConfig.minions ?? {}).map(([minionKey, ref]) => ({\n serviceName: buildMinionServiceName(appSlug, minionKey),\n dockerfile: dockerfileFor(ref.path),\n frontendType: undefined,\n })),\n ...Object.entries(saasConfig.workers ?? {}).map(([workerKey, ref]) => ({\n serviceName: buildWorkerServiceName(appSlug, workerKey),\n dockerfile: dockerfileFor(ref.path),\n frontendType: undefined,\n })),\n ];\n // What a frontend image's build args resolve against (#1125): the main backend API's service key (the host its\n // public URL is built from — `backendApi`, else the first backend, the rule the runtime topology uses), the SaaS\n // app's key (the documentation site deep-links to it), and the display name the app's own bootstrap bakes in.\n const serviceEntries = Object.entries(saasConfig.services ?? {});\n const backendServiceKeys = serviceEntries.filter(([, svc]) => svc.frontendType === undefined).map(([key]) => key);\n const mainBackendApiServiceKey = backendServiceKeys.includes('backendApi') ? 'backendApi' : backendServiceKeys[0];\n const saasAppServiceKey = serviceEntries.find(([, svc]) => svc.frontendType === AppFrontendType.SAAS_APP)?.[0];\n const appDisplayName = saasConfig.displayName ?? saasConfig.name ?? appSlug;\n\n const infraDir = resolveAppLayout(saasRoot).authoredInfrastructureHome;\n if (!existsSync(infraDir)) {\n ctx.log.error(`No app-owned infrastructure directory found at ${infraDir}.`);\n return false;\n }\n\n const envDirs = readdirSync(infraDir, { withFileTypes: true })\n .filter((d) => d.isDirectory() && d.name !== 'local')\n .map((d) => d.name);\n\n /*\n * What owns the system-of-record credentials and inbound endpoint secrets (#1650): read ONCE, and only when an\n * environment actually deploys, because reading the endpoints runs the built backend. What could not be read is\n * said once, followed by which secrets the workflows will therefore not forward and how to regenerate them.\n * A failure to read them at all is named as such, not blamed on the environment being processed.\n */\n let nonProviderOwners: Awaited<ReturnType<typeof loadNonProviderSecretOwners>> | undefined;\n const loadNonProviderOwnersOnce = async (): Promise<Awaited<ReturnType<typeof loadNonProviderSecretOwners>>> => {\n if (nonProviderOwners !== undefined) return nonProviderOwners;\n const declaredSystems = (saasConfig as { systemsOfRecord?: Record<string, SystemOfRecordDeclarationForSecrets> }).systemsOfRecord ?? {};\n try {\n nonProviderOwners = await loadNonProviderSecretOwners(saasRoot, declaredSystems);\n } catch (error) {\n throw new Error(`Could not read the system-of-record credentials and inbound endpoints to forward: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n for (const note of nonProviderOwners.incomplete) {\n ctx.log.warn(` CI/CD: ${note}`);\n }\n const unlistedSystems = nonProviderOwners.systemsOfRecord.filter((system) => system.secretSlots === null).map((system) => system.name);\n if (unlistedSystems.length > 0) {\n ctx.log.warn(\n ` CI/CD: the deploy workflows therefore forward no credential for ${unlistedSystems.join(', ')} beyond what an `\n + 'environment already stores, and a deploy whose backend needs one refuses to boot. Fix what is named above, then '\n + 'run `wildo config sync --domain cicd --force`.',\n );\n }\n if (nonProviderOwners.inboundEndpointKeys === null) {\n ctx.log.warn(\n ' CI/CD: the deploy workflows therefore forward only the inbound endpoint secrets an environment already '\n + 'stores; a declared endpoint\\'s route stays withheld in a deploy until its secret is forwarded. Build '\n + 'backend-api, then run `wildo config sync --domain cicd --force`.',\n );\n }\n return nonProviderOwners;\n };\n\n for (const envName of envDirs) {\n const configPath = join(infraDir, envName, 'wildo.infra.remote.config.ts');\n if (!existsSync(configPath)) continue;\n\n try {\n const authoredConfig = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n if (!authoredConfig) {\n continue;\n }\n const infraConfig = authoredConfig.config;\n if (!infraConfig.deployment) continue;\n const providerEnvSecretKeysByName = new Map(\n contractProviderEnvSecretKeys.map((entry) => [entry.envVarName, entry]),\n );\n // THIS environment's provider configuration can name a secret the application layer does not (a binding authored\n // in `wildo.infra.<env>.config.ts > providerConfigurations`), so its workflow's secrets block collects the bindings\n // of the merged configuration too — for the providers this environment overlays; the rest are already above.\n const environmentProviderConfigurations = overlayEnvironmentProviderConfigurations(\n saasConfig.providerConfigurations,\n infraConfig.providerConfigurations,\n );\n for (const providerRef of Object.keys(infraConfig.providerConfigurations ?? {})) {\n const configuredProtocols = environmentProviderConfigurations[providerRef] as Parameters<typeof getProviderSecretEnvBindings>[1];\n for (const binding of getProviderSecretEnvBindings(providerRef, configuredProtocols)) {\n providerEnvSecretKeysByName.set(binding.envVarName, {\n envVarName: binding.envVarName,\n required: providerEnvSecretKeysByName.get(binding.envVarName)?.required === true || binding.required === true,\n });\n }\n }\n const storedSecrets = (() => {\n try {\n return EnvironmentUtils.loadSecretsJson(envName);\n } catch {\n return null;\n }\n })();\n for (const envVarName of Object.keys(storedSecrets?.providerEnv ?? {})) {\n providerEnvSecretKeysByName.set(envVarName, {\n envVarName,\n required: providerEnvSecretKeysByName.get(envVarName)?.required,\n });\n }\n /*\n * Every kind of application secret, each under its own CI prefix (#1650): the provider secrets above, the\n * credentials of the declared systems of record and the secrets of the declared inbound endpoints — the rows\n * `wildo secrets list` shows for this environment — and, optional, any such secret the environment already\n * stores, so a stored value keeps reaching the deploy even where its owner could not be read.\n */\n const owners = await loadNonProviderOwnersOnce();\n const applicationSecretKeys: ApplicationCiSecretKey[] = [\n ...[...providerEnvSecretKeysByName.values()].map((entry) => ({ kind: ApplicationSecretKind.PROVIDER, ...entry })),\n ...deriveDeployForwardedSecretKeys(owners, systemOfRecordPresenceOf(infraConfig.systemsOfRecord)),\n ...Object.keys(storedSecrets?.systemsOfRecordEnv ?? {}).map((envVarName) => ({ kind: ApplicationSecretKind.SYSTEM_OF_RECORD, envVarName })),\n ...Object.keys(storedSecrets?.inboundEndpointEnv ?? {}).map((envVarName) => ({ kind: ApplicationSecretKind.INBOUND_ENDPOINT, envVarName })),\n ];\n environments.push({\n envName: infraConfig.environment,\n deployment: infraConfig.deployment,\n // The registry the deploy manifests pull from — the workflow pushes to the same one.\n registryEndpoint: infraConfig.remoteProvider?.registryEndpoint,\n appName: saasConfig.name ?? saasConfig.slug,\n services: appServices.map(({ frontendType, ...service }) => {\n const { buildArgs, unresolved } = resolveServiceImageBuildArgs({\n frontendType,\n serviceName: service.serviceName,\n appDisplayName,\n envName: infraConfig.environment,\n runtimeEnvironment: infraConfig.runtimeEnvironment,\n publicDomain: infraConfig.publicDomain,\n serviceHosts: infraConfig.serviceHosts,\n mainBackendApiServiceKey,\n saasAppServiceKey,\n documentationSite: infraConfig.documentationSite,\n });\n if (unresolved.length > 0) {\n ctx.log.warn(\n ` CI/CD (${envName}): ${service.serviceName} is built without ${unresolved.join(', ')} — this environment `\n + 'declares nothing to derive them from, so its image bakes in no value for them.',\n );\n }\n return { ...service, buildArgs, unresolvedBuildArgs: unresolved };\n }),\n applicationSecretKeys,\n // A hosted environment deploys into its host's cluster and installs no cluster-wide controllers.\n ownsClusterInfrastructure: infraConfig.infrastructureHost === undefined,\n });\n } catch (error) {\n ctx.log.error(\n `Failed to load CI/CD config for '${envName}': ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return false;\n }\n }\n\n if (environments.length === 0) {\n ctx.log.warn(chalk.yellow(' No environments with deployment config found.'));\n return true;\n }\n\n const result = writeWorkflows(saasRoot, environments, frameworkPath, force);\n ctx.log.success(` CI/CD: created ${result.created.length}, skipped ${result.skipped.length}`);\n return true;\n }\n\n private async syncConfig(ctx: CommandContext, envNames: string[], isCi: boolean): Promise<boolean> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('`wildo config sync --domain config` requires a targeted app root with wildo.saas.config.ts.');\n return false;\n }\n\n const providerArtifactsSynced = await this.syncProviderRuntimeArtifacts(ctx, saasRoot, envNames);\n if (!providerArtifactsSynced) {\n return false;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n\n for (const envName of envNames) {\n const outputDir = EnvironmentPaths.resolveScopedDeployArtifactsDir(saasRoot, envName);\n const env = EnvironmentRegistry.get(envName);\n const config = await this.loadConfigForSync(envName, frameworkPath, ctx, saasRoot);\n if (!config) {\n ctx.log.error(`No valid config for '${envName}'.`);\n return false;\n }\n\n let credentials;\n if (isCi) {\n try {\n credentials = reconstructSecretsFromEnv();\n } catch (err) {\n ctx.log.error(`Failed to reconstruct secrets: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n } else {\n credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.warn(chalk.yellow(` Skipping config for ${envName}: no secrets`));\n continue;\n }\n }\n\n const envConfig: PlatformEnvironmentConfiguration = hydrateEnvironmentFromConfig(\n env ?? createCiEnvConfig(envName, config),\n config,\n );\n let applicationBackends;\n let applicationWorkers;\n let applicationMinions;\n\n try {\n const targetInput = {\n env: envConfig,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n };\n applicationBackends = await AppBootstrapService.buildApplicationBackendTargets(targetInput);\n applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets(targetInput);\n applicationMinions = await AppBootstrapService.buildApplicationMinionTargets(targetInput);\n } catch (error) {\n /*\n * The deploy-artifact step needs a RUNNING platform with THIS application registered — it\n * builds CI inputs under `.wildo-saas/deploy/` by asking apps-manager about the\n * application's backends, workers and minions. A first-time creator runs `config sync`\n * BEFORE any platform exists (because `wildo init`'s next steps say to), so on a fresh\n * machine this step cannot succeed and never could.\n *\n * Failing the phase for that was wrong twice over: everything else the phase produces —\n * compose, config.json, env files, provider runtime — is COMPLETE and is exactly what\n * `wildo local up` consumes next, and the remedy printed (\"Check PLATFORM_ADMIN_SECRET\")\n * is not the fix for either real cause. On a shared development host the 401 is almost\n * never a wrong secret; it is another application's platform answering on the port.\n *\n * So the two creator-facing causes SKIP with a line that names the cause and the order that\n * works, and the phase keeps its other outputs. Anything unclassified still fails: a real\n * defect in artifact generation must not be swallowed by a convenience for fresh machines.\n */\n const unavailable = classifyAppsManagerUnavailable(error);\n if (unavailable === null) {\n ctx.log.error(\n `Failed to prepare application deploy artifacts: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return false;\n }\n ctx.log.warn(chalk.yellow(\n unavailable === AppsManagerUnavailableReason.PLATFORM_NOT_RUNNING\n ? ' Deploy artifacts skipped: no platform is running for this application yet.'\n : ' Deploy artifacts skipped: the platform answering for this application refused our credentials '\n + '— on a shared host that usually means ANOTHER application\\'s platform holds the port.',\n ));\n ctx.log.info(chalk.dim(\n ' Local artifacts (compose, config.json, env files, provider runtime) are complete. '\n + 'Bring the platform up and register this application, then re-run to produce deploy artifacts:',\n ));\n ctx.log.info(chalk.dim(' wildo local up → wildo local init --register-only → wildo config sync'));\n continue;\n }\n\n ctx.log.info(chalk.cyan(` Generating deploy artifacts for ${envName}...`));\n generateCiDeployArtifacts(\n {\n env: envConfig,\n credentials,\n config,\n runtime: envConfig.runtime,\n outputDir,\n applicationBackends,\n applicationWorkers,\n applicationMinions,\n // Remote-cluster TLS manifests (ClusterIssuer + tls-config) + Traefik\n // Helm values are rendered from `templates/infra/k8s/**`, resolved via\n // the framework repo root (falls back to the app root — same\n // convention as buildApplicationBackendTargets above).\n frameworkPath: frameworkPath ?? saasRoot,\n },\n ctx.log,\n );\n }\n return true;\n }\n\n private async syncProviderRuntimeArtifacts(ctx: CommandContext, saasRoot: string, envNames: string[]): Promise<boolean> {\n const environmentName = resolveProviderArtifactEnvironmentName(envNames, ctx.activeEnv?.name);\n ctx.log.info(chalk.dim(` Provider runtime artifacts: generated for environment '${environmentName}'.`));\n // The frameworkPath lets the sync declare and link the system-of-record facet library (#2013).\n const result = await syncProviderRuntimeArtifactsForApp(ctx.log, saasRoot, environmentName, {\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null,\n });\n return result.success;\n }\n}\n"]}
1
+ {"version":3,"file":"sync.command.js","sourceRoot":"","sources":["../../../../src/commands/config/sync.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAA+B,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,OAAO,MAAM,CAAC,OAAO,CAAC;IACxB,CAAC;CACF","sourcesContent":["/**\n * config sync — Sync configuration: regenerate .env files, manifests,\n * secrets, and CI/CD workflows.\n *\n * Domain filter (`--domain`) selects which operations run:\n * - `env-files`: per-service `.env` files (saas-app, app backends, companions)\n * - `secrets`: regenerate / rotate `secrets.json` for the targeted env\n * - `config`: render deploy artifacts under `.wildo-saas/deploy/<env>/`\n * (K8s Secrets/ConfigMaps + per-service `.env` files for compose runtimes).\n * This is what the generated deploy workflows\n * (`templates/infra/ci/deploy-{k8s,docker-compose}.yml.hbs`) call as\n * `npx wildo config sync --ci --env=<env>`.\n * NOTE: the output location is the SAME with or without `--ci`; `--ci` only\n * switches where credentials come from (flat `WILDO_SECRET_*` env vars vs\n * the on-disk `secrets.json`). A local run therefore also deposits\n * secret-bearing files there — which is why the zone is self-ignoring (see\n * `generateCiDeployArtifacts`).\n * - `manifest`: regenerate K8s manifests under `.wildo-saas/deploy/<env>/k8s/`\n * - `cicd`: write `.github/workflows/deploy-<env>.yml` from the per-env\n * deploy-workflow templates (`templates/infra/ci/deploy-*.yml.hbs`)\n * plus the per-app `wildo-config-validation.yml` validation workflow\n * (`templates/infra/ci/wildo-config-validation.yml.hbs`).\n *\n * `wildo config sync` is the canonical CI/CD entry point — there is\n * intentionally no `wildo deploy` command surface. Build steps (Docker)\n * and apply steps (kubectl / docker compose) live inside the generated\n * GitHub Actions workflow itself, not behind a CLI wrapper.\n */\n\nimport chalk from 'chalk';\nimport { join } from 'path';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { confirm } from '@inquirer/prompts';\nimport { existsSync, readdirSync } from 'fs';\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandMeta, CommandContext, CommandResult } from '~wildo-cli/kernel/types';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { checkExisting, sync as envSync } from '~wildo-cli/services/environment/env-sync.service';\nimport { reconstructSecretsFromEnv, type ApplicationCiSecretKey } from '~wildo-cli/services/credentials/ci-secrets-adapter.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { SecretsRotation } from '~wildo-cli/services/credentials/secrets-rotation.service';\nimport { InfrastructureHost } from '~wildo-cli/services/environment/infrastructure-host.service';\nimport { SecretOwner } from '~wildo-cli/services/credentials/credentials.schemas';\nimport {\n SecretsProvisioning,\n SecretsProvisioningStatus,\n} from '~wildo-cli/services/credentials/secrets-provisioning.service';\nimport { ConfigSecretsUtils } from '~wildo-cli/services/credentials/credentials.service';\nimport type {\n PlatformEnvConfigJson,\n PlatformEnvSecretsJson,\n} from '~wildo-cli/services/credentials/credentials.schemas';\nimport { renderDockerComposeTemplate } from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport { K8sManifestGenerator } from '~wildo-cli/services/deployment/k8s/k8s-manifest-generator.service';\nimport { shouldDeployPlatformServicesInRuntime } from '~wildo-cli/services/deployment/platform-runtime-policy.service';\nimport { AppFrontendType, overlayEnvironmentProviderConfigurations } from '@wildo-ai/platform-config-lib';\nimport { writeWorkflows, resolveServiceImageDockerfilePath, resolveServiceImageBuildArgs } from '~wildo-cli/services/deployment/ci-workflow-generator.service';\nimport type { WorkflowEnvConfig } from '~wildo-cli/services/deployment/ci-workflow-generator.service';\nimport { generateCiDeployArtifacts } from '~wildo-cli/services/deployment/ci-deploy-generator.service';\nimport {\n AppBootstrapService,\n AppsManagerUnavailableReason,\n classifyAppsManagerUnavailable,\n} from '~wildo-cli/services/application/app-bootstrap.service';\nimport type {\n ApplicationBackendEnvTarget,\n CompanionPlatformEnvTarget,\n ApplicationFrontendEnvExampleTarget,\n ApplicationWorkerEnvTarget,\n ApplicationMinionEnvTarget,\n ApplicationOperatorEnvTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { getProviderSecretEnvBindings } from '~wildo-cli/services/credentials/provider-env-vars.utils';\nimport type { SystemOfRecordDeclarationForSecrets } from '~wildo-cli/services/credentials/application-secret-owners.service';\nimport {\n deriveDeployForwardedSecretKeys,\n deriveDeployProviderSecretRequirements,\n loadNonProviderSecretOwners,\n loadSecretRequirementInputs,\n systemOfRecordPresenceOf,\n} from '~wildo-cli/services/credentials/secret-requirements.service';\nimport { getComposedProviderEntry } from '~wildo-cli/services/credentials/composed-provider-catalogue';\nimport {\n describeUnservableBackingServiceDeclaration,\n findUnservableBackingServiceDeclarations,\n getWorkspaceMutationLockPath,\n loadSaasConfig,\n resolveAppLayout,\n WildoDeploymentRuntime,\n WildoLocationType,\n K8S_LOCAL_DEFAULTS,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\nimport { ApplicationSecretKind, buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport {\n PlatformEnvOperatingSystem,\n parsePlatformEnvironmentId,\n SetupStatus,\n} from '~wildo-cli/services/environment/environment.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { hydrateEnvironmentFromConfig } from '~wildo-cli/services/environment/environment-hydration.utils';\nimport { overlayAuthoredInfraMembers, persistAuthoredOverlay } from '~wildo-cli/services/environment/authored-infra-member-authority';\nimport {\n buildConfigJsonFromInfraEnvConfig,\n getUnsupportedAuthoredConfigFallbackReason,\n loadAuthoredInfraEnvConfig,\n type LoadedAuthoredInfraEnvConfig,\n} from '~wildo-cli/services/environment/authored-infra-config.utils';\nimport {\n PlatformEngineChangeDecision,\n decidePlatformEngineChange,\n describePlatformEngineChange,\n} from '~wildo-cli/services/environment/platform-engine-change.utils';\nimport {\n loadAuthoredInfraEnvSelections,\n resolveProviderArtifactEnvironmentName,\n syncProviderRuntimeArtifactsForApp,\n} from '~wildo-cli/services/application/provider-runtime-sync.service';\nimport { collectServableInfraProviders } from '@wildo-ai/platform-infra-providers';\nimport {\n RuntimeBootstrap,\n RuntimeConfigReconcileStatus,\n} from '~wildo-cli/services/environment/runtime-bootstrap.service';\n\nconst DOMAINS = ['cicd', 'secrets', 'config', 'manifest', 'env-files'] as const;\ntype DomainFilter = (typeof DOMAINS)[number];\nconst APP_ROOT_ONLY_DOMAINS = new Set<DomainFilter>(['cicd', 'manifest']);\n\ninterface PreparedEnvFilesSyncEntry {\n envName: string;\n resolvedEnv: PlatformEnvironmentConfiguration;\n applicationBackends?: ApplicationBackendEnvTarget[];\n companionApis?: CompanionPlatformEnvTarget[];\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[];\n applicationWorkers?: ApplicationWorkerEnvTarget[];\n applicationMinions?: ApplicationMinionEnvTarget[];\n applicationOperators?: ApplicationOperatorEnvTarget[];\n}\n\ninterface PreparedEnvFilesSyncExecution {\n frameworkPath: string;\n isFrameworkDeveloper: boolean;\n entries: PreparedEnvFilesSyncEntry[];\n /**\n * Why the APPLICATION's env targets could not be prepared, when they could not. The platform's own env files are\n * still written (see the catch in `prepareEnvFilesSyncExecution`), and the phase still fails, naming this.\n */\n applicationTargetsRefusal?: string;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction extractServiceReplicas(raw: unknown): Record<string, number> | undefined {\n if (!isRecord(raw)) {\n return undefined;\n }\n\n const replicas: Record<string, number> = {};\n const serviceBuckets: Array<Record<string, unknown>> = [];\n\n if (isRecord(raw.services)) {\n serviceBuckets.push(raw.services);\n }\n if (isRecord(raw.kubernetes) && isRecord(raw.kubernetes.services)) {\n serviceBuckets.push(raw.kubernetes.services);\n }\n\n for (const services of serviceBuckets) {\n for (const [key, service] of Object.entries(services)) {\n if (isRecord(service) && typeof service.replicas === 'number') {\n replicas[key] = service.replicas;\n }\n }\n }\n\n return Object.keys(replicas).length > 0 ? replicas : undefined;\n}\n\n/**\n * Note: the {@link buildConfigJsonFromInfraEnvConfig} projection used to live\n * inline here. It now lives in\n * `~wildo-cli/services/environment/authored-infra-config.utils` so the new\n * runtime-bootstrap service (used by `wildo local up` pre-flight) can reuse\n * the exact same projection — single source of truth keeps the runtime\n * artifacts written by `local up` byte-identical to the ones\n * `wildo config sync --domain manifest` would produce later.\n *\n * The `devCompanion` exclusion (Slice 3 deep-review M-5, 2026-04-13) is\n * documented inside that shared module — same dual-config-json design\n * rationale, same author-versus-runtime split.\n */\n\nfunction createCiEnvConfig(envName: string, config: PlatformEnvConfigJson): PlatformEnvironmentConfiguration {\n const now = new Date().toISOString();\n const validatedEnvName = parsePlatformEnvironmentId(envName);\n const isLocalKubernetes =\n config.runtime === WildoDeploymentRuntime.KUBERNETES\n && config.type === WildoLocationType.LOCAL;\n return {\n name: validatedEnvName,\n locationType: config.type,\n runtime: config.runtime,\n runtimeEnvironment: config.runtimeEnvironment,\n /*\n * Carried from `config.json` so a CI render produces the same compose file as the developer's.\n * Absent on a `config.json` written before the field existed, which `resolveLocalDataStorage`\n * answers from `locationType` — the same value this environment would have been given anyway.\n */\n localDataStorage: config.localDataStorage,\n /** Carried for the same reason: a CI render must omit the services the developer's render omits (#2303). */\n serviceProfile: config.serviceProfile,\n os: PlatformEnvOperatingSystem.LINUX,\n secretsPath: '',\n configPath: '',\n infraPath: '',\n database: config.database,\n setupStatus: SetupStatus.NOT_STARTED,\n createdAt: now,\n updatedAt: now,\n publicDomain: config.publicDomain,\n // Threaded at every site that projects the authored infra config — this is the environment's\n // FIRST materialisation, and a field missing here is absent for the environment's whole life.\n serviceHosts: config.serviceHosts,\n cdn: config.cdn,\n kubernetes: config.kubernetes\n ? {\n ...config.kubernetes,\n imageRegistry: config.remoteProvider?.registryEndpoint,\n }\n : isLocalKubernetes\n ? {\n namespace: K8S_LOCAL_DEFAULTS.NAMESPACE,\n }\n : undefined,\n remoteProvider: config.remoteProvider,\n backingServices: config.backingServices,\n serviceAuth: config.serviceAuth,\n logging: config.logging,\n observability: config.observability,\n providerSelection: config.providerSelection,\n email: config.email,\n ownershipDnsStandIn: config.ownershipDnsStandIn,\n platformKeyManagement: config.platformKeyManagement,\n };\n}\n\nfunction hasRequiredRemoteKubernetesMetadata(config: PlatformEnvConfigJson): boolean {\n if (\n config.type !== WildoLocationType.REMOTE\n || config.runtime !== WildoDeploymentRuntime.KUBERNETES\n ) {\n return true;\n }\n\n return Boolean(config.kubernetes?.namespace && config.remoteProvider?.registryEndpoint);\n}\n\nexport default class ConfigSyncCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'config sync',\n description: 'Sync configuration — regenerate .env files, manifests, secrets, and CI/CD workflows',\n category: CommandCategory.Config,\n flags: {\n env: { type: 'string', description: 'Target specific environment', default: undefined },\n local: { type: 'boolean', description: 'Only local environments', default: false },\n remote: { type: 'boolean', description: 'Only remote environments', default: false },\n domain: { type: 'string', description: 'Filter by domain: cicd, secrets, config, manifest, env-files', default: undefined },\n app: { type: 'string', description: 'Application slug for app backend env generation', default: undefined },\n force: { type: 'boolean', description: 'Overwrite without confirmation (does NOT authorize destructive secret rotation — see --rotate-secrets)', default: false },\n 'rotate-secrets': {\n type: 'boolean',\n description:\n 'Explicitly opt in to destructive `secrets.json` rotation. Required for the `secrets` domain to do anything; --force alone never rotates secrets.',\n default: false,\n },\n 'accept-platform-engine-change': {\n type: 'boolean',\n description:\n 'Explicitly accept ABANDONING an initialized LOCAL platform\\'s data when the authored '\n + '`database.engine` differs from the engine it is running on. There is no Mongo/PostgreSQL '\n + 'migration; INIT re-creates the platform. --force never carries this meaning, and no flag '\n + 'authorizes the change on a REMOTE environment.',\n default: false,\n },\n ci: { type: 'boolean', description: 'CI mode — read secrets from env vars', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const scope = ctx.cliContext.scope;\n const domainFilter = this.resolveDomainFilter(ctx);\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const isCi = ctx.flags.ci === true;\n const envNames = this.resolveEnvNames(ctx, isCi);\n const force = ctx.flags.force === true;\n const rotateSecrets = ctx.flags.rotateSecrets === true || ctx.flags['rotate-secrets'] === true;\n\n const missingAppRootDomains = domainFilter.filter((domain) => APP_ROOT_ONLY_DOMAINS.has(domain));\n if (missingAppRootDomains.length > 0 && !saasRoot) {\n ctx.log.error(\n `Config sync domains [${missingAppRootDomains.join(', ')}] require a targeted app root with wildo.saas.config.ts.`,\n );\n return { success: false };\n }\n\n if (envNames.length === 0 && !domainFilter.includes('cicd')) {\n ctx.log.error(\n isCi\n ? 'No environments to sync. In CI mode, specify --env or pre-seed local environment state.'\n : 'No environments to sync. Run `wildo init` first or specify --env.',\n );\n return { success: false };\n }\n\n ctx.log.info(chalk.cyan(`\\n Config sync — scope: ${scope}, domains: ${domainFilter.join(', ') || 'all'}\\n`));\n\n const runSyncDomains = async (): Promise<CommandResult> => {\n // NOTE: there is deliberately no separate `anyFailure` flag. Failure is\n // DERIVED from the recorded outcomes below, so a phase cannot fail the\n // command without also appearing in the report — the two cannot drift.\n // A hand-maintained boolean alongside the list is exactly how the report\n // would come to claim every phase succeeded on a failed run.\n /**\n * Per-phase outcome, so a failure reports what SUCCEEDED alongside what did\n * not.\n *\n * `config sync` bundles pure generation (compose files, provider artifacts,\n * config.json) with phases that require a RUNNING apps-manager to mint\n * per-app secrets. When apps-manager is down the command previously printed\n * only `✖ config sync failed` — while the generation phases had completed and\n * written their files. Readers reasonably concluded nothing had happened, and\n * re-ran or hand-edited on that assumption.\n *\n * The exit code is unchanged: any failed phase still fails the command. What\n * changes is that the report distinguishes \"did not run / did not succeed\"\n * from \"succeeded, and its output is on disk\".\n */\n const phaseOutcomes: Array<{ phase: string; ok: boolean }> = [];\n const runPhase = async (phase: string, run: () => Promise<boolean>): Promise<boolean> => {\n const ok = await run();\n phaseOutcomes.push({ phase, ok });\n return ok;\n };\n let preparedEnvFilesSync: PreparedEnvFilesSyncExecution | null = null;\n\n // Root fix for the stale-config-json bug: BEFORE any domain reads the\n // generated `config.json` / `environments.json` snapshot, reconcile them\n // from the authored `wildo.infra.<env>.config.ts` for every LOCAL env so\n // authored backing-service / port / source changes deterministically\n // reach the generated compose + env files. Remote/CI envs (which\n // reconstruct config from env vars / a sibling secrets repo) are left\n // untouched — see `reconcileLocalConfigFromAuthoredInfra`.\n // MUST run BEFORE the reconcile below, and the ordering is load-bearing rather than\n // stylistic: `reconcileLocalConfigFromAuthoredInfra` writes the authored engine INTO\n // `config.json` unconditionally, which destroys the very baseline this guard compares\n // against. Run it after, and every engine change looks like no change at all.\n // #1693: refuse a backing-service declaration the platform cannot serve BEFORE any phase writes\n // a compose file, a config.json or a lockfile. The provider-runtime phase's lockfile projection\n // refuses the same declarations through the same function, but only after earlier phases have\n // already generated a stack without the service in it.\n if (saasRoot) {\n const servable = await this.refuseUnservableBackingServices(ctx, saasRoot);\n if (!servable) return { success: false };\n }\n\n if (!isCi && saasRoot && envNames.length > 0) {\n const authorized = await this.assertPlatformEngineChangeIsAuthorized(ctx, envNames, saasRoot);\n if (!authorized) return { success: false };\n }\n\n if (!isCi && saasRoot && envNames.length > 0) {\n const reconciled = await this.reconcileLocalConfigFromAuthoredInfra(ctx, envNames, saasRoot);\n if (!reconciled) return { success: false };\n }\n\n // Same ordering rationale, for the OTHER generated input every domain reads:\n // `secrets.json`. Mint any framework-managed credential material the environment\n // predates BEFORE the env-file / manifest renderers project it. Additive and\n // idempotent — it is not the destructive `--rotate-secrets` path. Skipped in CI,\n // which reconstructs secrets from published env vars and has no file to persist to.\n if (!isCi && envNames.length > 0) {\n this.provisionFrameworkManagedSecrets(ctx, envNames);\n }\n\n if (domainFilter.includes('config') && envNames.length > 0) {\n await runPhase('config (compose + config.json + deploy artifacts)', () => this.syncConfig(ctx, envNames, isCi));\n }\n\n if (domainFilter.includes('env-files') && envNames.length > 0) {\n if (!domainFilter.includes('config') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('provider runtime artifacts', () =>\n this.syncProviderRuntimeArtifacts(ctx, ctx.cliContext.resolvedHomes.app.declarationRoot!, envNames));\n }\n if (domainFilter.includes('secrets') && !isCi) {\n await runPhase('env-files (needs apps-manager)', async () => {\n preparedEnvFilesSync = await this.prepareEnvFilesSyncExecution(ctx, envNames, force, isCi);\n return Boolean(preparedEnvFilesSync);\n });\n } else {\n await runPhase('env-files', () => this.syncEnvFiles(ctx, envNames, force, isCi));\n }\n }\n\n if (domainFilter.includes('secrets') && envNames.length > 0) {\n await runPhase('secrets', () => this.syncSecrets(ctx, envNames, force, rotateSecrets));\n }\n\n if (preparedEnvFilesSync) {\n await runPhase('env-files (write)', () => this.syncPreparedEnvFiles(ctx, preparedEnvFilesSync!, isCi));\n }\n\n if (domainFilter.includes('manifest') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('manifest', () => this.syncManifest(ctx));\n }\n\n if (domainFilter.includes('cicd') && ctx.cliContext.resolvedHomes.app.declarationRoot) {\n await runPhase('cicd', () => this.syncCicd(ctx, force));\n }\n\n const anyFailure = phaseOutcomes.some((entry) => !entry.ok);\n\n if (anyFailure) {\n // Printed only on failure: on success the existing per-phase output is\n // already sufficient and a summary would be noise.\n const failed = phaseOutcomes.filter((entry) => !entry.ok).map((entry) => entry.phase);\n const succeeded = phaseOutcomes.filter((entry) => entry.ok).map((entry) => entry.phase);\n\n ctx.log.info('');\n ctx.log.info(chalk.cyan(' Phase outcomes:'));\n for (const { phase, ok } of phaseOutcomes) {\n ctx.log.info(ok ? chalk.green(` ✔ ${phase} — completed, output written`) : chalk.red(` ✖ ${phase}`));\n }\n if (succeeded.length > 0) {\n ctx.log.info(chalk.yellow(' Some phases succeeded — their generated files are on disk and do NOT need re-running.'));\n }\n /*\n * ONE SENTENCE naming the split, printed LAST so it sits directly above the runner's bare\n * `✖ config sync failed`.\n *\n * The per-phase list above already carries the facts; what it does not do is survive the\n * distance between a failure REASON and its outcome. Measured 2026-09-18: the reason\n * (\"Provider runtime artifact generation failed: …\") printed fifteen lines before the\n * successes, with provider-catalogue and env-builder chatter between them, and the verdict\n * underneath said \"failed\". An operator reading top-down concludes nothing landed and\n * re-runs; one reading bottom-up reads \"failed\" and concludes the same. A partial run is a\n * NORMAL outcome here — a hosted application legitimately skips shared domains — so the\n * report has to be built for it rather than treating it as an exception.\n */\n if (succeeded.length > 0) {\n ctx.log.info(chalk.yellow(\n ` In one line: ${succeeded.join(', ')} landed; ${failed.join(', ')} did not. `\n + `Each ✖ printed its own reason above, under its phase's output.`,\n ));\n }\n }\n\n ctx.log.info('');\n return { success: !anyFailure };\n };\n\n // Without a targeted app root there is no application worktree to\n // protect — run unlocked (platform-scope syncs).\n if (!saasRoot) {\n return runSyncDomains();\n }\n\n // Workspace-mutation lock (meta-workflows P-20): `config sync` writes\n // generated files across the application worktree, so it serializes\n // against companion coding-agent dispatch runs (which hold this same\n // lock for their whole run) and against concurrent syncs. Fail-fast on\n // contention — a dispatched agent run can hold the lock for many\n // minutes and silently queueing behind it would look like a hang.\n // Human/parallel-session EDITS are deliberately not gated (P-19b).\n try {\n return await withDedicatedFileLock(\n getWorkspaceMutationLockPath(saasRoot),\n runSyncDomains,\n { retries: { retries: 2 } },\n );\n } catch (error) {\n if ((error as { code?: string })?.code === 'ELOCKED') {\n ctx.log.error(\n `The workspace-mutation lock is held (${getWorkspaceMutationLockPath(saasRoot)}) — `\n + 'an active coding-agent dispatch run or another worktree-writing command owns the '\n + 'application worktree right now. Retry after it completes.',\n );\n return { success: false };\n }\n throw error;\n }\n }\n\n private resolveDefaultDomainFilter(ctx: CommandContext): DomainFilter[] {\n if (ctx.flags.ci === true) {\n return ctx.cliContext.resolvedHomes.app.declarationRoot\n ? ['cicd', 'config', 'env-files']\n : ['config', 'env-files'];\n }\n\n // 'secrets' is intentionally NOT in the default domain set — it\n // performs a DESTRUCTIVE rotation of `secrets.json` and is opt-in via\n // either `--domain secrets` (to scope only to secrets) or by passing\n // `--rotate-secrets` alongside the default invocation. See the\n // `--rotate-secrets` flag description and `syncSecrets` for the full\n // rationale (Fix M, 2026-04-21): the previous behavior caused\n // `wildo config sync --local --force` to silently rotate secrets and\n // overwrite a freshly-imported canonical `secrets.json`, which is\n // exactly the surprise this decoupling prevents.\n return ['config', 'env-files'];\n }\n\n private resolveDomainFilter(ctx: CommandContext): DomainFilter[] {\n const raw = ctx.flags.domain as string | undefined;\n if (!raw) {\n return this.resolveDefaultDomainFilter(ctx);\n }\n const value = raw.toLowerCase();\n if (DOMAINS.includes(value as DomainFilter)) return [value as DomainFilter];\n ctx.log.warn(chalk.yellow(` Unknown domain '${raw}', using default domains. Valid: ${DOMAINS.join(', ')}`));\n return this.resolveDefaultDomainFilter(ctx);\n }\n\n private resolveEnvNames(ctx: CommandContext, isCi: boolean): string[] {\n const envFlag = ctx.flags.env as string | undefined;\n const localOnly = ctx.flags.local === true;\n const remoteOnly = ctx.flags.remote === true;\n\n if (envFlag) {\n let validatedEnvName: string;\n try {\n validatedEnvName = parsePlatformEnvironmentId(envFlag);\n } catch {\n ctx.log.error(`Invalid environment name '${envFlag}'.`);\n return [];\n }\n\n if (isCi) {\n return [validatedEnvName];\n }\n\n const env = EnvironmentRegistry.get(validatedEnvName);\n if (!env) {\n ctx.log.error(`Environment '${validatedEnvName}' not found.`);\n return [];\n }\n return [validatedEnvName];\n }\n\n const all = EnvironmentRegistry.getAll();\n const names = Object.keys(all);\n\n if (localOnly) {\n return names.filter((n) => all[n]!.locationType === WildoLocationType.LOCAL);\n }\n if (remoteOnly) {\n return names.filter((n) => all[n]!.locationType === WildoLocationType.REMOTE);\n }\n\n const current = ctx.activeEnv?.name;\n if (current && all[current]) return [current];\n return names;\n }\n\n private loadConfigJsonFromSiblingSecretsRepo(\n envName: string,\n root: string | null | undefined,\n ): PlatformEnvConfigJson | null {\n if (!root) {\n return null;\n }\n\n const siblingSecretsRepo = EnvironmentUtils.detectSiblingSecretsRepo(root);\n if (!siblingSecretsRepo) {\n return null;\n }\n\n const configDir = join(siblingSecretsRepo, 'environments', envName);\n return EnvironmentRegistry.loadConfigJson(envName, configDir);\n }\n\n /**\n * Regenerate the persisted `config.json` + env-registry snapshot for every\n * LOCAL environment from its authored `wildo.infra.<env>.config.ts`, so a\n * subsequent domain (config / env-files / manifest) reads the authored\n * source of truth instead of a stale generated artifact.\n *\n * WHY this exists (root cause). `loadConfigForSync` used to read the generated\n * `config.json` FIRST and fall back to the authored descriptor only when\n * that file was ABSENT (it now lays the descriptor's members over a persisted\n * copy, #2310, but this reconcile predates that); the docker-compose renderer additionally reads the\n * generated `config.json` + the `env.backingServices` registry snapshot\n * directly. None of these were ever refreshed from the authored `.ts`, so a\n * newly-authored backing service (e.g. `immudb: { source: SELF }`) never\n * reached the generated compose and `wildo local up` never started its\n * container. Reconciling here closes that gap deterministically.\n *\n * Scope + guards (delegated to {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}):\n * - LOCAL only — remote/CI keep their generated / env-var-reconstructed\n * config.json (this method is already gated on `!isCi` at the call site).\n * - Atlas-backed Mongo is skipped (its generated config.json carries API\n * metadata the authored descriptor omits); the existing file is kept.\n * - Envs with no registry state or no authored descriptor are skipped.\n *\n * Authored-load/schema failures are fatal. Falling back to a prior generated\n * snapshot would silently preserve revoked or invalid policy, so no later\n * config/env-file domain may execute after reconciliation fails. Deliberate\n * `SKIPPED_UNSUPPORTED` results (for example Atlas metadata) remain distinct\n * and keep the generated snapshot explicitly.\n */\n /**\n * Refuse every `backingServices` declaration, in ANY authored environment, that the platform cannot\n * serve — one resolving to no infrastructure provider, or to a provider no provider module can\n * serve (#1693). Every environment rather than the targeted ones, because the lockfile's infra\n * section records all of them and its projection refuses on any.\n *\n * The judgement is `findUnservableBackingServiceDeclarations`, the same function the lockfile\n * projection (`materializeInfraSection`) and `wildo config validate` use; only the reporting is here.\n * No opt-out, by design — see that function's file header.\n *\n * @returns `false` when the sync must stop.\n */\n private async refuseUnservableBackingServices(ctx: CommandContext, saasRoot: string): Promise<boolean> {\n let envs: Awaited<ReturnType<typeof loadAuthoredInfraEnvSelections>>;\n try {\n envs = await loadAuthoredInfraEnvSelections(saasRoot);\n } catch (error) {\n // Not this check's finding: an environment that cannot be LOADED is reported by the phases that\n // load it (and the lockfile projection refuses it with its own error). Failing here would turn a\n // `--domain secrets` run into a failure it never had, over a file it does not read.\n ctx.log.warn(` Backing-service servability not checked — an authored environment could not be read: ${ErrorUtils.extractErrorMessage(error)}`);\n return true;\n }\n const servableProviders = collectServableInfraProviders();\n const findings = envs.flatMap((env) => findUnservableBackingServiceDeclarations({ ...env, servableProviders }));\n if (findings.length === 0) return true;\n\n ctx.log.error('Backing-service declarations the platform cannot serve — the application would receive a credential for a server it never connects to:');\n for (const finding of findings) {\n ctx.log.error(` ${describeUnservableBackingServiceDeclaration(finding)}`);\n }\n return false;\n }\n\n /**\n * Refuse an authored platform-engine change that would abandon data.\n *\n * The authored `database.engine` makes the platform's store a one-line, reviewable edit — which is\n * the goal, and also the hazard: the flip is fresh-install-only, so applying it to an environment\n * that has already been initialized does not migrate anything, it abandons it.\n *\n * Policy lives in `decidePlatformEngineChange`; this method only supplies the four facts it needs\n * and reports. Gated on `!isCi` for the same reason the reconcile is: CI reconstructs its config\n * from published env vars rather than from the authored descriptor, so it has no baseline this\n * comparison could trust.\n *\n * @returns `false` when the sync must stop.\n */\n private async assertPlatformEngineChangeIsAuthorized(\n ctx: CommandContext,\n envNames: string[],\n saasRoot: string,\n ): Promise<boolean> {\n /**\n * BOTH spellings, mirroring `rotateSecrets` above: the kernel exposes a kebab-case flag under\n * its camelCase name, and reading only one form leaves the flag inert while `--help` advertises\n * it. Found by running the real CLI — a unit test cannot catch this, because the test mocks\n * whichever key the implementation happens to read.\n */\n const acknowledged = ctx.flags.acceptPlatformEngineChange === true\n || ctx.flags['accept-platform-engine-change'] === true;\n\n for (const envName of envNames) {\n const env = EnvironmentRegistry.get(envName);\n if (!env) continue;\n\n const authored = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n if (!authored) continue;\n\n const decision = decidePlatformEngineChange({\n locationType: env.locationType,\n authoredEngine: authored.config.database?.engine,\n // The engine currently in force, read BEFORE the reconcile overwrites it.\n baselineEngine: EnvironmentUtils.loadConfigJson(envName)?.database?.engine,\n platformInitialized: EnvironmentUtils.isPlatformInitialized(envName),\n acknowledged,\n });\n\n const message = describePlatformEngineChange(decision, {\n envName,\n authoredEngine: authored.config.database?.engine,\n baselineEngine: EnvironmentUtils.loadConfigJson(envName)?.database?.engine,\n });\n\n switch (decision) {\n case PlatformEngineChangeDecision.NO_AUTHORED_ENGINE:\n case PlatformEngineChangeDecision.UNCHANGED:\n break;\n case PlatformEngineChangeDecision.DECLARED_FOR_NEW_BASELINE:\n if (message) ctx.log.info(chalk.dim(` ${message}`));\n break;\n case PlatformEngineChangeDecision.ALLOWED_LOCAL_UNINITIALIZED:\n case PlatformEngineChangeDecision.ALLOWED_LOCAL_ACKNOWLEDGED:\n if (message) ctx.log.warn(chalk.yellow(` ${message}`));\n break;\n case PlatformEngineChangeDecision.REFUSED_LOCAL_INITIALIZED:\n case PlatformEngineChangeDecision.REFUSED_REMOTE:\n if (message) ctx.log.error(message);\n return false;\n }\n }\n\n return true;\n }\n\n private async reconcileLocalConfigFromAuthoredInfra(\n ctx: CommandContext,\n envNames: string[],\n saasRoot: string,\n ): Promise<boolean> {\n for (const envName of envNames) {\n const env = EnvironmentRegistry.get(envName);\n if (!env) {\n // No registry state (CI/remote-reconstructed) — nothing to reconcile.\n continue;\n }\n\n try {\n const result = await RuntimeBootstrap.reconcileGeneratedConfigFromAuthored({\n env,\n saasRoot,\n });\n\n if (result.status === RuntimeConfigReconcileStatus.RECONCILED) {\n ctx.log.info(\n chalk.dim(\n result.refreshedEnvState\n ? ` Reconciled '${envName}' config.json + env state from authored infra.`\n : ` Reconciled '${envName}' config.json from authored infra (env state already current).`,\n ),\n );\n } else if (result.status === RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED) {\n ctx.log.warn(\n chalk.yellow(\n ` Keeping generated config.json for '${envName}' (cannot reconcile from authored infra): ${result.reason}`,\n ),\n );\n }\n } catch (error) {\n ctx.log.error(\n `Could not reconcile '${envName}' from authored infra; refusing stale generated config: `\n + ErrorUtils.extractErrorMessage(error),\n );\n return false;\n }\n }\n return true;\n }\n\n /**\n * Mint + persist every framework-managed credential material missing from each target\n * environment's `secrets.json`, so the downstream domains render artifacts that carry\n * it.\n *\n * WHY this exists (root cause). Framework-GENERATED material used to be minted only by\n * the interactive `wildo setup` of a brand-new environment; nothing ever backfilled an\n * existing one. Every material introduced after an environment was created was\n * therefore permanently absent there, and the resulting failures were silent by design\n * — the crontabs-batches-manager signing keypair dead-lettering every scheduled tick,\n * and the immudb state-signing keypair leaving the audit store's whole-server\n * substitution defense off (\"state-signature pinning is OFF\"). This is the sibling of\n * {@link ConfigSyncCommand.reconcileLocalConfigFromAuthoredInfra}: same \"refresh the\n * generated INPUT before any domain consumes it\" discipline, applied to secrets.\n *\n * NOT a rotation. Only absent/blank material is minted; anything already present is\n * untouched, so this can never invalidate a credential a running deployment holds.\n * Destructive rotation remains behind `--rotate-secrets` (see {@link syncSecrets}).\n *\n * NON-FATAL by design: an environment with no readable `secrets.json` (never set up, or\n * remote-reconstructed) is skipped silently — the domain that actually needs secrets\n * fails loudly with its own actionable message.\n */\n private provisionFrameworkManagedSecrets(ctx: CommandContext, envNames: string[]): void {\n for (const envName of envNames) {\n try {\n const outcome = SecretsProvisioning.ensureForEnvironment(envName);\n if (outcome.status === SecretsProvisioningStatus.PROVISIONED) {\n ctx.log.info(\n chalk.dim(\n ` Provisioned missing framework-managed secret material for '${envName}': `\n + `${outcome.mintedRefs.join(', ')}.`,\n ),\n );\n }\n } catch (error) {\n ctx.log.warn(\n chalk.yellow(\n ` Could not provision framework-managed secrets for '${envName}': `\n + `${ErrorUtils.extractErrorMessage(error)}.`,\n ),\n );\n }\n }\n }\n\n private async loadConfigForSync(\n envName: string,\n frameworkPath: string | null,\n ctx: CommandContext,\n saasRoot?: string,\n ): Promise<PlatformEnvConfigJson | null> {\n /*\n * Whether this environment runs on ANOTHER application's infrastructure is decided by the authored descriptor\n * alone (`infrastructureHost`). A persisted config.json — generated, or in a sibling secrets repository — written\n * before that changed still names the old owner, and every guard downstream reads it: a hosted remote environment\n * would regenerate its host's platform and infrastructure material (#1171). So the authored descriptor, when there\n * is one, is loaded FIRST, and a persisted copy that disagrees with it about the host is passed over for the\n * authored projection — the rule `RuntimeBootstrap.ensureConfigJson` applies to the local lane.\n *\n * A persisted copy that agrees about the host is still not taken as it is (#2310). Every member the descriptor\n * decides (`AUTHORED_INFRA_MEMBER_AUTHORITY`) is laid over it from the authored projection, absence included\n * (`overlayAuthoredInfraMembers`): a remote environment used to render whatever logging, exporter, provider choice\n * or receiving domain its persisted file said, often none, and kept a value removed from the descriptor. The\n * persisted copy keeps only what a descriptor cannot carry (Atlas API metadata, external endpoints) and the setup\n * answers of a member the descriptor leaves unauthored.\n *\n * An authored descriptor that EXISTS and cannot be loaded refuses, even beside a persisted copy: a hosted\n * descriptor whose host is missing is exactly that case, and the persisted copy is the stale answer.\n */\n let authoredConfig: LoadedAuthoredInfraEnvConfig | null = null;\n if (saasRoot) {\n try {\n authoredConfig = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n } catch (error) {\n ctx.log.error(\n `Failed to load authored env descriptor for '${envName}': ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return null;\n }\n }\n const describesAuthoredHosting = (persisted: PlatformEnvConfigJson, source: string): boolean => {\n if (authoredConfig === null) return true;\n const persistedHost = persisted.infrastructureHost?.applicationRoot ?? null;\n const authoredHost = authoredConfig.config.infrastructureHost?.applicationRoot ?? null;\n if (persistedHost === authoredHost) return true;\n const describe = (host: string | null): string => host === null ? 'owning its infrastructure' : `running on the infrastructure of ${host}`;\n ctx.log.info(\n ` ${source} describes '${envName}' as ${describe(persistedHost)}, but ${authoredConfig.path} declares it as `\n + `${describe(authoredHost)}: using the authored descriptor.`,\n );\n return false;\n };\n\n const followAuthored = (persisted: PlatformEnvConfigJson, source: string, writeBack: boolean): PlatformEnvConfigJson => {\n if (authoredConfig === null) return persisted;\n const overlay = overlayAuthoredInfraMembers(persisted, authoredConfig.config);\n if (overlay.correctedMembers.length > 0) {\n ctx.log.info(\n ` ${source} for '${envName}' disagrees with ${authoredConfig.path} on ${overlay.correctedMembers.join(', ')}: `\n + 'using the authored descriptor for those.',\n );\n // The env-file and compose lanes read the GENERATED file from disk, not this return value. A sibling secrets\n // repository is the operator's, and is never written.\n const persisted = writeBack ? persistAuthoredOverlay(envName, overlay.config) : { written: false };\n if (persisted.refusal !== undefined) {\n ctx.log.warn(` Kept the generated config.json for '${envName}': the corrected copy does not validate (${persisted.refusal}).`);\n }\n }\n return overlay.config;\n };\n\n let generated: PlatformEnvConfigJson | null = null;\n try {\n generated = EnvironmentUtils.loadConfigJson(envName);\n } catch {\n // Fall through to external or authored config sources when the generated\n // scoped config payload is missing or unreadable.\n }\n // Outside the `try`: a failure to write the corrected copy back is not an unreadable config.json.\n if (generated && describesAuthoredHosting(generated, 'The generated config.json')) {\n const configured = followAuthored(generated, 'The generated config.json', true);\n if (!hasRequiredRemoteKubernetesMetadata(configured)) {\n return null;\n }\n return configured;\n }\n\n if (saasRoot) {\n const appSiblingPersisted = this.loadConfigJsonFromSiblingSecretsRepo(envName, saasRoot);\n if (appSiblingPersisted && describesAuthoredHosting(appSiblingPersisted, 'The sibling secrets repository config.json')) {\n const appSiblingConfig = followAuthored(appSiblingPersisted, 'The sibling secrets repository config.json', false);\n if (!hasRequiredRemoteKubernetesMetadata(appSiblingConfig)) {\n return null;\n }\n return appSiblingConfig;\n }\n\n if (authoredConfig) {\n const unsupportedFallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n envName,\n authoredConfig.path,\n authoredConfig.config,\n );\n if (unsupportedFallbackReason) {\n ctx.log.error(unsupportedFallbackReason);\n return null;\n }\n\n const configJson = buildConfigJsonFromInfraEnvConfig(authoredConfig.config);\n if (!hasRequiredRemoteKubernetesMetadata(configJson)) {\n return null;\n }\n return configJson;\n }\n }\n\n const frameworkSiblingConfig = this.loadConfigJsonFromSiblingSecretsRepo(envName, frameworkPath);\n if (frameworkSiblingConfig) {\n if (!hasRequiredRemoteKubernetesMetadata(frameworkSiblingConfig)) {\n return null;\n }\n return frameworkSiblingConfig;\n }\n\n return null;\n }\n\n /**\n * Every provider env var the generated CI workflow must carry as a `WILDO_SECRET_PROVIDER_ENV_*`\n * input, for every provider this application declares.\n *\n * ## Both halves of a provider's secrets, not just the bindings (#361)\n *\n * A provider states its credentials TWICE, and the two sets are not the same size:\n *\n * | source | what it names | shipped by |\n * |---|---|---|\n * | `secretsContract` | every env var the provider needs, whatever it is for | engine module OR companion contribution |\n * | protocol `runtimeContract` bindings | the subset a PROTOCOL resolves through (base URL, auth header, …) | engine module only |\n *\n * The contract is a strict SUPERSET. Measured 2026-09-06 against the built engine registry: 13\n * engine contract keys are named by no binding at all — every `IMMUDB_*`,\n * `POSTHOG_PROJECT_API_KEY`, `BETTERSTACK_SOURCE_TOKEN`, `ODOO_BASE_URL`/`_DB`/`_LOGIN` — while\n * the reverse inclusion holds exactly (25 binding `secretRef`s, all of them contract\n * `envVarName`s, zero exceptions). This collector enumerated bindings alone, so those 13 had no\n * input in any generated workflow: the deployment authenticated with nothing and failed at the\n * vendor, three layers from the cause.\n *\n * It gets worse rather than merely staying incomplete. A provider known only from a companion\n * contribution has ZERO protocol bindings BY CONSTRUCTION — a runtime contract is code and a\n * contribution is values-free data — so the moment package-provider discovery registers one, it\n * contributes not a subset but nothing at all. Reading the contract half fixes both cases with\n * one source, and is why the composed catalogue exposes `secrets` independently of `protocols`.\n *\n * ## An unresolvable ref contributes nothing, silently, and that is calibrated rather than lazy\n *\n * A declared ref the composed catalogue cannot name yields no keys and no warning. Measured on\n * the dogfood applications: Wonder Todos declares `sentry` and `wonderTodosFilePicker`, neither of\n * which is an engine provider — they are FRONTEND_SDK providers whose material is public config\n * delivered through the frontend build, not a backend secret. Warning here would fire on correct\n * declarations, which is how an operator learns to skim the output. (`recaptcha` was the third until\n * 1783ec83 gave it a backend module; its verification secret is now a contract key like any other.)\n */\n private async loadConfiguredProviderEnvKeys(saasRoot: string): Promise<Omit<ApplicationCiSecretKey, 'kind'>[]> {\n const providerEnvKeys = new Map<string, Omit<ApplicationCiSecretKey, 'kind'>>();\n\n /**\n * `required` is merged with OR across sources, and the direction is deliberate: the contract\n * and the bindings each carry the flag and CAN disagree about the same env var. It decides only\n * which half of the generated block a key lands in — both halves are emitted, one under an\n * \"Optional\" comment — so an over-required key costs a comment line, while an under-required\n * one is the silent missing input this whole method exists to stop.\n *\n * For a SCOPED provider's contract key this is no longer the final answer: `syncCicd` places it by the derivation\n * `wildo secrets list` uses (`loadDeployProviderSecretRequirements`, #2977), which knows which arm reads which slot.\n * This merge decides every other key, and every key when that derivation cannot be loaded.\n */\n const addProviderEnvKey = (envVarName: string, required?: boolean) => {\n const previous = providerEnvKeys.get(envVarName);\n providerEnvKeys.set(envVarName, {\n envVarName,\n required: previous?.required === true || required === true,\n });\n };\n\n type ProviderConfiguredProtocols = Parameters<typeof getProviderSecretEnvBindings>[1];\n const collectProviderEnvKeys = (\n providerConfigurations: Record<string, ProviderConfiguredProtocols | undefined> | undefined,\n ) => {\n if (!providerConfigurations) {\n return;\n }\n\n for (const [providerRef, configuredProtocols] of Object.entries(providerConfigurations)) {\n if (!configuredProtocols) {\n continue;\n }\n\n for (const binding of getProviderSecretEnvBindings(providerRef, configuredProtocols)) {\n addProviderEnvKey(binding.envVarName, binding.required);\n }\n }\n };\n const collectProviderRefsFromScopes = (providersBlock: unknown): Set<string> => {\n const providerRefs = new Set<string>();\n\n const collectRuntimeScope = (scope: unknown) => {\n if (!scope || typeof scope !== 'object') {\n return;\n }\n const providers = (scope as { providers?: unknown }).providers;\n if (!providers || typeof providers !== 'object') {\n return;\n }\n for (const providerRef of Object.keys(providers)) {\n providerRefs.add(providerRef);\n }\n };\n\n const scopes = (providersBlock as { scopes?: Record<string, unknown> } | undefined)?.scopes;\n if (!scopes) {\n return providerRefs;\n }\n\n collectRuntimeScope(scopes.backend);\n collectRuntimeScope(scopes.companion);\n\n for (const scopeGroup of [scopes.frontendServices, scopes.minions, scopes.workers]) {\n if (!scopeGroup || typeof scopeGroup !== 'object') {\n continue;\n }\n for (const scope of Object.values(scopeGroup)) {\n collectRuntimeScope(scope);\n }\n }\n\n return providerRefs;\n };\n\n const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n if (!saasConfig) {\n return [];\n }\n\n // `ProviderConfigurationsSchema` (in `define-saas-config.ts`) types each\n // per-provider entry as `Record<string, unknown>` — the protocol layer is\n // left intentionally loose at the schema level. `getProviderSecretEnvBindings`\n // narrows that to `Partial<Record<protocolKind, Record<string, unknown>>>`\n // (the runtime contract). The cast bridges the schema/function gap without\n // weakening the schema or over-tightening the runtime contract.\n collectProviderEnvKeys(\n saasConfig.providerConfigurations as Record<string, ProviderConfiguredProtocols | undefined>,\n );\n for (const providerRef of collectProviderRefsFromScopes(saasConfig.providers)) {\n const configuredProtocols = saasConfig.providerConfigurations[providerRef] as ProviderConfiguredProtocols | undefined;\n for (const binding of getProviderSecretEnvBindings(\n providerRef,\n configuredProtocols,\n )) {\n addProviderEnvKey(binding.envVarName, binding.required);\n }\n }\n\n // The contract half (#361), over EVERY declared ref from both populations above — a provider\n // configured but not scoped, or scoped but not configured, is declared either way, and the\n // secret it needs does not depend on which of the two the author wrote it in.\n //\n // Order relative to the binding passes is irrelevant: `addProviderEnvKey` merges `required`\n // with OR, so a key both halves name gets the same answer whichever runs last. (Measured\n // 2026-09-06 across all 22 engine providers: the two halves disagree about `required` for zero\n // keys today, so the merge is currently inert as well as order-free.)\n const declaredProviderRefs = new Set<string>([\n ...Object.keys(saasConfig.providerConfigurations ?? {}),\n ...collectProviderRefsFromScopes(saasConfig.providers),\n ]);\n for (const providerRef of declaredProviderRefs) {\n for (const secret of getComposedProviderEntry(providerRef)?.secrets ?? []) {\n addProviderEnvKey(secret.envVarName, secret.required);\n }\n }\n\n return [...providerEnvKeys.values()];\n }\n\n /**\n * Which scoped provider secrets the deploy job REQUIRES, by the derivation `wildo secrets list` uses (#2977), so the\n * workflow files a secret no enabled arm reads under its \"Optional\" comment exactly where the listing reports it\n * `required: false`. Before, the collector above OR-merged the contract's `required` over every declared ref, so\n * `MICROSOFT_OAUTH2_CLIENT_SECRET` landed among Wonder Todos' required GitHub secrets though its `microsoft` scope\n * enables `REST_API` alone and only the sign-in arm reads that slot.\n *\n * The derivation is not re-done here; this only loads its inputs and asks it. When they cannot be loaded (a provider\n * package's companion barrel fails to import, the SaaS config fails to bundle) the answer is `undefined`, and every\n * key keeps the OR-merge, whose error is to require too much: an over-required key costs a comment line, an\n * under-required one a deploy that boots without it.\n */\n private async loadDeployProviderSecretRequirements(ctx: CommandContext, saasRoot: string): Promise<ReadonlyMap<string, boolean> | undefined> {\n try {\n return deriveDeployProviderSecretRequirements(await loadSecretRequirementInputs(saasRoot));\n } catch (error) {\n ctx.log.warn(\n ` CI/CD: could not derive which provider secrets an enabled arm reads (${ErrorUtils.extractErrorMessage(error)}), so every `\n + 'provider secret a contract marks required is filed as a required GitHub secret.',\n );\n return undefined;\n }\n }\n\n private async syncEnvFiles(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n isCi: boolean,\n ): Promise<boolean> {\n const prepared = await this.prepareEnvFilesSyncExecution(ctx, envNames, force, isCi);\n if (!prepared) {\n return false;\n }\n\n return this.syncPreparedEnvFiles(ctx, prepared, isCi);\n }\n\n private loadSyncCredentials(\n ctx: CommandContext,\n envName: string,\n isCi: boolean,\n ): PlatformEnvSecretsJson | null {\n if (isCi) {\n try {\n return reconstructSecretsFromEnv();\n } catch (err) {\n ctx.log.error(`Failed to reconstruct secrets: ${ErrorUtils.extractErrorMessage(err)}`);\n return null;\n }\n }\n\n const credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return null;\n }\n\n return credentials;\n }\n\n private async prepareEnvFilesSyncExecution(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n isCi: boolean,\n ): Promise<PreparedEnvFilesSyncExecution | null> {\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error(\n 'Framework path not set. Re-run the CLI install script, or set `frameworkPath` in your machine preferences.',\n );\n return null;\n }\n\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n const entries: PreparedEnvFilesSyncEntry[] = [];\n let applicationTargetsRefusal: string | undefined;\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const shouldPrepareApplicationTargets =\n isFrameworkDeveloper && Boolean(saasRoot);\n if (isFrameworkDeveloper && !saasRoot) {\n ctx.log.warn(\n 'Skipping application env target generation because config sync is running outside a targeted app root.',\n );\n }\n\n for (const envName of envNames) {\n const config = await this.loadConfigForSync(envName, frameworkPath, ctx, saasRoot ?? undefined);\n if (!config) {\n ctx.log.error(`No valid config for '${envName}'.`);\n return null;\n }\n\n const env = EnvironmentRegistry.get(envName);\n const resolvedEnv = hydrateEnvironmentFromConfig(\n env ?? createCiEnvConfig(envName, config),\n config,\n );\n if (!env && !isCi) {\n ctx.log.error(`Environment '${envName}' not found.`);\n return null;\n }\n\n if (resolvedEnv.locationType === WildoLocationType.REMOTE && !isCi) {\n ctx.log.warn(chalk.yellow(` Skipping env-files for remote '${envName}' (requires --ci).`));\n continue;\n }\n\n const credentials = this.loadSyncCredentials(ctx, envName, isCi);\n if (!credentials) {\n return null;\n }\n\n let applicationBackends: ApplicationBackendEnvTarget[] | undefined;\n let companionApis: CompanionPlatformEnvTarget[] | undefined;\n let applicationFrontends: ApplicationFrontendEnvExampleTarget[] | undefined;\n let applicationWorkers: ApplicationWorkerEnvTarget[] | undefined;\n let applicationMinions: ApplicationMinionEnvTarget[] | undefined;\n let applicationOperators: ApplicationOperatorEnvTarget[] | undefined;\n if (shouldPrepareApplicationTargets) {\n try {\n applicationBackends = await AppBootstrapService.buildApplicationBackendTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n companionApis = await AppBootstrapService.buildApplicationCompanionTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationFrontends = await AppBootstrapService.buildApplicationFrontendTargets({\n saasRoot,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationMinions = await AppBootstrapService.buildApplicationMinionTargets({\n env: resolvedEnv,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n });\n applicationOperators = AppBootstrapService.buildApplicationOperatorEnvTargets({\n env: resolvedEnv,\n config,\n saasRoot,\n });\n } catch (error) {\n /*\n * Preparing the application's targets REGISTERS it with apps-manager, and apps-manager answers from the env\n * this very phase writes. So a platform env that lags the platform's code (a key added since it was written)\n * made the registration fail, and the refusal stopped the one command that writes the missing key: a\n * deadlock whose remedy needed itself (measured 2026-09-29, #2019: apps-manager refused Wonder Todos' immudb\n * for want of IMMUDB_ADMIN_*, which only this phase writes). The platform half does not depend on the\n * registration, so it is written anyway; the phase still fails, and says what to run once apps-manager has\n * restarted on the new env.\n */\n applicationTargetsRefusal = ErrorUtils.extractErrorMessage(error);\n ctx.log.error(`Failed to prepare application env files: ${applicationTargetsRefusal}`);\n ctx.log.warn(\n chalk.yellow(\n \" Writing the platform's env files anyway: they do not need the registration, and a platform env that is out of date \"\n + 'is one reason it can fail. Once apps-manager has restarted on them, run `wildo config sync` again for the application.',\n ),\n );\n applicationBackends = undefined;\n companionApis = undefined;\n applicationFrontends = undefined;\n applicationWorkers = undefined;\n applicationMinions = undefined;\n applicationOperators = undefined;\n }\n }\n\n /*\n * The SAME options object shape the write below is given, so what the prompt names and what\n * `sync` writes are computed from one input. `invokingAppRoot` in particular is what tells a\n * foreign live platform owner from this session's own — omit it here and the prompt offers\n * shared files the write then skips.\n */\n const existing = checkExisting(resolvedEnv, {\n frameworkPath,\n isFrameworkDeveloper,\n ...(ctx.cliContext.resolvedHomes.app.declarationRoot\n ? { invokingAppRoot: ctx.cliContext.resolvedHomes.app.declarationRoot }\n : {}),\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n applicationOperators,\n });\n if (existing.length > 0 && !force) {\n if (ctx.globalFlags.nonInteractive) {\n ctx.log.warn('Skipping env-files regeneration in non-interactive mode. Use --force to override.');\n continue;\n }\n ctx.log.info(chalk.bold(' Existing env files'));\n for (const p of existing) ctx.log.info(chalk.dim(` ${p}`));\n const proceed = await confirm({\n message: 'Regenerate all env files? (existing files will be overwritten)',\n default: false,\n });\n if (!proceed) continue;\n }\n\n entries.push({\n envName,\n resolvedEnv,\n applicationBackends,\n companionApis,\n applicationFrontends,\n applicationWorkers,\n applicationMinions,\n applicationOperators,\n });\n }\n\n return {\n frameworkPath,\n isFrameworkDeveloper,\n entries,\n ...(applicationTargetsRefusal === undefined ? {} : { applicationTargetsRefusal }),\n };\n }\n\n private async syncPreparedEnvFiles(\n ctx: CommandContext,\n prepared: PreparedEnvFilesSyncExecution,\n isCi: boolean,\n ): Promise<boolean> {\n for (const entry of prepared.entries) {\n const credentials = this.loadSyncCredentials(ctx, entry.envName, isCi);\n if (!credentials) {\n return false;\n }\n\n ctx.log.info(chalk.cyan(` Syncing env files for ${entry.envName}...`));\n const result = await envSync(\n entry.resolvedEnv,\n credentials,\n {\n frameworkPath: prepared.frameworkPath,\n isFrameworkDeveloper: prepared.isFrameworkDeveloper,\n ...(ctx.cliContext.resolvedHomes.app.declarationRoot\n ? { invokingAppRoot: ctx.cliContext.resolvedHomes.app.declarationRoot }\n : {}),\n applicationBackends: entry.applicationBackends,\n companionApis: entry.companionApis,\n applicationFrontends: entry.applicationFrontends,\n applicationWorkers: entry.applicationWorkers,\n applicationMinions: entry.applicationMinions,\n applicationOperators: entry.applicationOperators,\n },\n ctx.log,\n );\n ctx.log.success(` Updated ${result.envFilesUpdated.length} file(s) for ${entry.envName}`);\n }\n // The platform's files were written; the application's were not, so the phase has not done its job.\n return prepared.applicationTargetsRefusal === undefined;\n }\n\n private async syncSecrets(\n ctx: CommandContext,\n envNames: string[],\n force: boolean,\n rotateSecrets: boolean,\n ): Promise<boolean> {\n // Fix M (2026-04-21) — `--force` and `--rotate-secrets` are now\n // ORTHOGONAL. `--force` only authorizes skipping confirmation prompts;\n // it never authorizes the destructive rotation that this domain\n // performs. Operators must explicitly pass `--rotate-secrets` to opt\n // into rewriting `secrets.json`. This prevents the prior surprise\n // where `wildo config sync --local --force` (intended as \"skip\n // confirmations\") silently overwrote a freshly-imported canonical\n // `secrets.json` with newly generated values.\n if (!rotateSecrets) {\n ctx.log.warn(\n chalk.yellow(\n ' Skipping secrets domain: pass --rotate-secrets to explicitly opt in to destructive `secrets.json` rotation.',\n ),\n );\n return true;\n }\n\n for (const envName of envNames) {\n const secrets = SecretsReader.loadSecrets(envName);\n if (!secrets) {\n ctx.log.error(`No secrets for '${envName}'. Run 'wildo init' first.`);\n return false;\n }\n\n if (!force) {\n if (ctx.globalFlags.nonInteractive) {\n ctx.log.warn(\n 'Skipping secrets rotation in non-interactive mode. Combine --rotate-secrets with --force (or run interactively) to confirm.',\n );\n continue;\n }\n ctx.log.warn(chalk.yellow(` ⚠ Rotating secrets for '${envName}' will regenerate ALL auto-generated secrets.`));\n const proceed = await confirm({ message: `Rotate secrets for ${envName}?` });\n if (!proceed) continue;\n }\n\n const rotatable = structuredClone(secrets);\n // The AUTHORED descriptor decides (the persisted copies may predate a newly added or removed host).\n const hostedBy = await InfrastructureHost.resolveForCommand(\n ctx.cliContext.resolvedHomes.app.declarationRoot,\n EnvironmentRegistry.get(envName) ?? { name: envName },\n );\n if (hostedBy) {\n ctx.log.info(\n ` '${envName}' runs on the infrastructure of ${hostedBy.applicationRoot}: rotating this application's own secrets only. `\n + `Shared credentials are rotated from the host (cd ${hostedBy.applicationRoot} && wildo config sync --domain secrets --rotate-secrets).`,\n );\n }\n const result = SecretsRotation.rotate(rotatable, hostedBy ? { owners: new Set([SecretOwner.APPLICATION]) } : undefined);\n ConfigSecretsUtils.writeSecretsJson(envName, rotatable);\n ctx.log.success(` Rotated ${result.rotatedKeys.length} secrets for ${envName}`);\n // A held secret still carries its old value: say so, with why, so a rotation after a suspected leak is not read\n // as having replaced it.\n for (const { key, because } of result.heldKeys) {\n ctx.log.warn(chalk.yellow(` Not rotated: ${key} (${because})`));\n }\n const environment = EnvironmentRegistry.get(envName);\n if (environment?.locationType === WildoLocationType.LOCAL) {\n ctx.log.warn(\n chalk.yellow(\n ' Running local platform services and backing infra may still use the previous generated secrets until they are reprovisioned/restarted together.',\n ),\n );\n }\n }\n return true;\n }\n\n private async syncManifest(ctx: CommandContext): Promise<boolean> {\n const env = ctx.activeEnv;\n if (!env) {\n ctx.log.error('No active environment. Run `wildo init` first.');\n return false;\n }\n\n if (env.locationType === WildoLocationType.REMOTE) {\n ctx.log.warn(chalk.yellow(' Manifest regeneration: remote environments not yet supported.'));\n return true;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error('Framework path not set.');\n return false;\n }\n\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root. Run `wildo init` first.');\n return false;\n }\n\n const hostedBy = await InfrastructureHost.resolveForCommand(saasRoot, env);\n if (hostedBy) {\n ctx.log.info(\n ` Manifest regeneration skipped: '${env.name}' runs on the infrastructure of ${hostedBy.applicationRoot}, `\n + `which renders the shared manifests (cd ${hostedBy.applicationRoot} && wildo config sync --domain manifest).`,\n );\n return true;\n }\n\n const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n if (!saasConfig) {\n ctx.log.error('Manifest regeneration now requires a targeted app root with wildo.saas.config.ts.');\n return false;\n }\n\n try {\n if (env.runtime === WildoDeploymentRuntime.KUBERNETES) {\n const serviceReplicas = await this.loadServiceReplicas(saasRoot, env);\n const isFrameworkDeveloper = ctx.preferences?.isFrameworkDeveloper ?? false;\n const result = K8sManifestGenerator.renderAllManifests(env, frameworkPath, {\n serviceReplicas,\n isFrameworkDeveloper,\n });\n ctx.log.success(` Regenerated ${result.total} K8s manifests.`);\n if (!shouldDeployPlatformServicesInRuntime(env, isFrameworkDeveloper)) {\n ctx.log.info(' Platform manifests skipped because local framework developers run platform services natively.');\n }\n } else {\n const wroteCompose = await renderDockerComposeTemplate(env, frameworkPath, ctx.preferences?.isFrameworkDeveloper ?? false);\n ctx.log.success(wroteCompose ? ' Regenerated Docker Compose file.' : ' Docker Compose file is current (unchanged).');\n }\n } catch (err) {\n ctx.log.error(`Manifest regeneration failed: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n return true;\n }\n\n /**\n * Load per-service replica counts from the infra config file for K8s environments.\n * Returns `undefined` if no infra config or no services are defined.\n */\n private async loadServiceReplicas(\n saasRoot: string,\n env: PlatformEnvironmentConfiguration,\n ): Promise<Record<string, number> | undefined> {\n const authoredConfig = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!authoredConfig) {\n return undefined;\n }\n\n return extractServiceReplicas(authoredConfig.config);\n }\n\n private async syncCicd(ctx: CommandContext, force: boolean): Promise<boolean> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('No targeted app root. Run this from within a SaaS application directory.');\n return false;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n if (!frameworkPath) {\n ctx.log.error('Framework path not set.');\n return false;\n }\n\n const saasConfigPath = join(saasRoot, 'wildo.saas.config.ts');\n const saasConfig = await loadSaasConfig(saasConfigPath);\n if (!saasConfig) {\n ctx.log.error(`No SaaS config found at ${saasConfigPath}.`);\n return false;\n }\n\n const environments: WorkflowEnvConfig[] = [];\n const contractProviderEnvSecretKeys = await this.loadConfiguredProviderEnvKeys(saasRoot);\n const derivedProviderSecretRequirements = await this.loadDeployProviderSecretRequirements(ctx, saasRoot);\n\n // Per-service image build targets (per-service deploy model) — each app\n // service (backend + every frontend) AND each app-owned minion/worker builds\n // its OWN image from its OWN Dockerfile. Same across every env (derived from\n // the app's declared topology in wildo.saas.config.ts).\n //\n // `serviceName` is the pushed image name and MUST match the k8s/compose\n // manifest image refs (else CI builds an image the deploy can't pull):\n // - services: the raw authored `services.<key>.serviceName`\n // - minions: `buildMinionServiceName(appSlug, bucketKey)` = `{appSlug}-minion-{dnsName}`\n // — the SAME helper `renderMinionForTarget` + the compose render use, so the\n // bucket key is RFC1123-normalized identically everywhere (a camelCase key\n // `marketingScrapper` → `marketing-scrapper`, a valid lowercase Docker tag).\n // - workers: `buildWorkerServiceName(appSlug, bucketKey)` (same on the worker axis).\n // `dockerfile` is `<path>/Dockerfile` (the bucket entry's folder + Dockerfile,\n // build context = the app root) — `resolveServiceImageDockerfilePath`, the mapping the\n // template contract also reads, so every shipped service path is held to it (#984).\n const dockerfileFor = resolveServiceImageDockerfilePath;\n // Minion/worker image names key on the app SLUG (the lowercase-hyphen\n // identifier the render uses via `runtimeTarget.appSlug`), NOT `appName`\n // (which prefers `name`). `slug` is a required saas-config field; the `?? name`\n // is defensive only.\n const appSlug = saasConfig.slug ?? saasConfig.name;\n const appServices = [\n ...Object.values(saasConfig.services ?? {}).map((svc) => ({\n serviceName: svc.serviceName,\n dockerfile: dockerfileFor(svc.path),\n frontendType: svc.frontendType,\n })),\n ...Object.entries(saasConfig.minions ?? {}).map(([minionKey, ref]) => ({\n serviceName: buildMinionServiceName(appSlug, minionKey),\n dockerfile: dockerfileFor(ref.path),\n frontendType: undefined,\n })),\n ...Object.entries(saasConfig.workers ?? {}).map(([workerKey, ref]) => ({\n serviceName: buildWorkerServiceName(appSlug, workerKey),\n dockerfile: dockerfileFor(ref.path),\n frontendType: undefined,\n })),\n ];\n // What a frontend image's build args resolve against (#1125): the main backend API's service key (the host its\n // public URL is built from — `backendApi`, else the first backend, the rule the runtime topology uses), the SaaS\n // app's key (the documentation site deep-links to it), and the display name the app's own bootstrap bakes in.\n const serviceEntries = Object.entries(saasConfig.services ?? {});\n const backendServiceKeys = serviceEntries.filter(([, svc]) => svc.frontendType === undefined).map(([key]) => key);\n const mainBackendApiServiceKey = backendServiceKeys.includes('backendApi') ? 'backendApi' : backendServiceKeys[0];\n const saasAppServiceKey = serviceEntries.find(([, svc]) => svc.frontendType === AppFrontendType.SAAS_APP)?.[0];\n const appDisplayName = saasConfig.displayName ?? saasConfig.name ?? appSlug;\n\n const infraDir = resolveAppLayout(saasRoot).authoredInfrastructureHome;\n if (!existsSync(infraDir)) {\n ctx.log.error(`No app-owned infrastructure directory found at ${infraDir}.`);\n return false;\n }\n\n const envDirs = readdirSync(infraDir, { withFileTypes: true })\n .filter((d) => d.isDirectory() && d.name !== 'local')\n .map((d) => d.name);\n\n /*\n * What owns the system-of-record credentials and inbound endpoint secrets (#1650): read ONCE, and only when an\n * environment actually deploys, because reading the endpoints runs the built backend. What could not be read is\n * said once, followed by which secrets the workflows will therefore not forward and how to regenerate them.\n * A failure to read them at all is named as such, not blamed on the environment being processed.\n */\n let nonProviderOwners: Awaited<ReturnType<typeof loadNonProviderSecretOwners>> | undefined;\n const loadNonProviderOwnersOnce = async (): Promise<Awaited<ReturnType<typeof loadNonProviderSecretOwners>>> => {\n if (nonProviderOwners !== undefined) return nonProviderOwners;\n const declaredSystems = (saasConfig as { systemsOfRecord?: Record<string, SystemOfRecordDeclarationForSecrets> }).systemsOfRecord ?? {};\n try {\n nonProviderOwners = await loadNonProviderSecretOwners(saasRoot, declaredSystems);\n } catch (error) {\n throw new Error(`Could not read the system-of-record credentials and inbound endpoints to forward: ${ErrorUtils.extractErrorMessage(error)}`);\n }\n for (const note of nonProviderOwners.incomplete) {\n ctx.log.warn(` CI/CD: ${note}`);\n }\n const unlistedSystems = nonProviderOwners.systemsOfRecord.filter((system) => system.secretSlots === null).map((system) => system.name);\n if (unlistedSystems.length > 0) {\n ctx.log.warn(\n ` CI/CD: the deploy workflows therefore forward no credential for ${unlistedSystems.join(', ')} beyond what an `\n + 'environment already stores, and a deploy whose backend needs one refuses to boot. Fix what is named above, then '\n + 'run `wildo config sync --domain cicd --force`.',\n );\n }\n if (nonProviderOwners.inboundEndpointKeys === null) {\n ctx.log.warn(\n ' CI/CD: the deploy workflows therefore forward only the inbound endpoint secrets an environment already '\n + 'stores; a declared endpoint\\'s route stays withheld in a deploy until its secret is forwarded. Build '\n + 'backend-api, then run `wildo config sync --domain cicd --force`.',\n );\n }\n return nonProviderOwners;\n };\n\n for (const envName of envDirs) {\n const configPath = join(infraDir, envName, 'wildo.infra.remote.config.ts');\n if (!existsSync(configPath)) continue;\n\n try {\n const authoredConfig = await loadAuthoredInfraEnvConfig(envName, saasRoot);\n if (!authoredConfig) {\n continue;\n }\n const infraConfig = authoredConfig.config;\n if (!infraConfig.deployment) continue;\n const providerEnvSecretKeysByName = new Map(\n contractProviderEnvSecretKeys.map((entry) => [entry.envVarName, entry]),\n );\n // THIS environment's provider configuration can name a secret the application layer does not (a binding authored\n // in `wildo.infra.<env>.config.ts > providerConfigurations`), so its workflow's secrets block collects the bindings\n // of the merged configuration too — for the providers this environment overlays; the rest are already above.\n const environmentProviderConfigurations = overlayEnvironmentProviderConfigurations(\n saasConfig.providerConfigurations,\n infraConfig.providerConfigurations,\n );\n for (const providerRef of Object.keys(infraConfig.providerConfigurations ?? {})) {\n const configuredProtocols = environmentProviderConfigurations[providerRef] as Parameters<typeof getProviderSecretEnvBindings>[1];\n for (const binding of getProviderSecretEnvBindings(providerRef, configuredProtocols)) {\n providerEnvSecretKeysByName.set(binding.envVarName, {\n envVarName: binding.envVarName,\n required: providerEnvSecretKeysByName.get(binding.envVarName)?.required === true || binding.required === true,\n });\n }\n }\n const storedSecrets = (() => {\n try {\n return EnvironmentUtils.loadSecretsJson(envName);\n } catch {\n return null;\n }\n })();\n for (const envVarName of Object.keys(storedSecrets?.providerEnv ?? {})) {\n providerEnvSecretKeysByName.set(envVarName, {\n envVarName,\n required: providerEnvSecretKeysByName.get(envVarName)?.required,\n });\n }\n /*\n * Every kind of application secret, each under its own CI prefix (#1650): the provider secrets above, the\n * credentials of the declared systems of record and the secrets of the declared inbound endpoints — the rows\n * `wildo secrets list` shows for this environment — and, optional, any such secret the environment already\n * stores, so a stored value keeps reaching the deploy even where its owner could not be read.\n */\n const owners = await loadNonProviderOwnersOnce();\n const applicationSecretKeys: ApplicationCiSecretKey[] = [\n // A scoped provider's contract key is placed by the listing's own predicate (#2977); every other key keeps the merge.\n ...[...providerEnvSecretKeysByName.values()].map((entry) => ({\n kind: ApplicationSecretKind.PROVIDER,\n ...entry,\n required: derivedProviderSecretRequirements?.get(entry.envVarName) ?? entry.required,\n })),\n ...deriveDeployForwardedSecretKeys(owners, systemOfRecordPresenceOf(infraConfig.systemsOfRecord)),\n ...Object.keys(storedSecrets?.systemsOfRecordEnv ?? {}).map((envVarName) => ({ kind: ApplicationSecretKind.SYSTEM_OF_RECORD, envVarName })),\n ...Object.keys(storedSecrets?.inboundEndpointEnv ?? {}).map((envVarName) => ({ kind: ApplicationSecretKind.INBOUND_ENDPOINT, envVarName })),\n ];\n environments.push({\n envName: infraConfig.environment,\n deployment: infraConfig.deployment,\n // The registry the deploy manifests pull from — the workflow pushes to the same one.\n registryEndpoint: infraConfig.remoteProvider?.registryEndpoint,\n appName: saasConfig.name ?? saasConfig.slug,\n services: appServices.map(({ frontendType, ...service }) => {\n const { buildArgs, unresolved } = resolveServiceImageBuildArgs({\n frontendType,\n serviceName: service.serviceName,\n appDisplayName,\n envName: infraConfig.environment,\n runtimeEnvironment: infraConfig.runtimeEnvironment,\n publicDomain: infraConfig.publicDomain,\n serviceHosts: infraConfig.serviceHosts,\n mainBackendApiServiceKey,\n saasAppServiceKey,\n documentationSite: infraConfig.documentationSite,\n });\n if (unresolved.length > 0) {\n ctx.log.warn(\n ` CI/CD (${envName}): ${service.serviceName} is built without ${unresolved.join(', ')} — this environment `\n + 'declares nothing to derive them from, so its image bakes in no value for them.',\n );\n }\n return { ...service, buildArgs, unresolvedBuildArgs: unresolved };\n }),\n applicationSecretKeys,\n // A hosted environment deploys into its host's cluster and installs no cluster-wide controllers.\n ownsClusterInfrastructure: infraConfig.infrastructureHost === undefined,\n });\n } catch (error) {\n ctx.log.error(\n `Failed to load CI/CD config for '${envName}': ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return false;\n }\n }\n\n if (environments.length === 0) {\n ctx.log.warn(chalk.yellow(' No environments with deployment config found.'));\n return true;\n }\n\n const result = writeWorkflows(saasRoot, environments, frameworkPath, force);\n ctx.log.success(` CI/CD: created ${result.created.length}, skipped ${result.skipped.length}`);\n return true;\n }\n\n private async syncConfig(ctx: CommandContext, envNames: string[], isCi: boolean): Promise<boolean> {\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n if (!saasRoot) {\n ctx.log.error('`wildo config sync --domain config` requires a targeted app root with wildo.saas.config.ts.');\n return false;\n }\n\n const providerArtifactsSynced = await this.syncProviderRuntimeArtifacts(ctx, saasRoot, envNames);\n if (!providerArtifactsSynced) {\n return false;\n }\n\n const frameworkPath = ctx.cliContext.resolvedHomes.framework.repositoryRoot;\n\n for (const envName of envNames) {\n const outputDir = EnvironmentPaths.resolveScopedDeployArtifactsDir(saasRoot, envName);\n const env = EnvironmentRegistry.get(envName);\n const config = await this.loadConfigForSync(envName, frameworkPath, ctx, saasRoot);\n if (!config) {\n ctx.log.error(`No valid config for '${envName}'.`);\n return false;\n }\n\n let credentials;\n if (isCi) {\n try {\n credentials = reconstructSecretsFromEnv();\n } catch (err) {\n ctx.log.error(`Failed to reconstruct secrets: ${ErrorUtils.extractErrorMessage(err)}`);\n return false;\n }\n } else {\n credentials = EnvironmentUtils.loadSecretsJson(envName);\n if (!credentials) {\n ctx.log.warn(chalk.yellow(` Skipping config for ${envName}: no secrets`));\n continue;\n }\n }\n\n const envConfig: PlatformEnvironmentConfiguration = hydrateEnvironmentFromConfig(\n env ?? createCiEnvConfig(envName, config),\n config,\n );\n let applicationBackends;\n let applicationWorkers;\n let applicationMinions;\n\n try {\n const targetInput = {\n env: envConfig,\n credentials,\n saasRoot,\n config,\n requestedAppSlug: ctx.flags.app as string | undefined,\n };\n applicationBackends = await AppBootstrapService.buildApplicationBackendTargets(targetInput);\n applicationWorkers = await AppBootstrapService.buildApplicationWorkerTargets(targetInput);\n applicationMinions = await AppBootstrapService.buildApplicationMinionTargets(targetInput);\n } catch (error) {\n /*\n * The deploy-artifact step needs a RUNNING platform with THIS application registered — it\n * builds CI inputs under `.wildo-saas/deploy/` by asking apps-manager about the\n * application's backends, workers and minions. A first-time creator runs `config sync`\n * BEFORE any platform exists (because `wildo init`'s next steps say to), so on a fresh\n * machine this step cannot succeed and never could.\n *\n * Failing the phase for that was wrong twice over: everything else the phase produces —\n * compose, config.json, env files, provider runtime — is COMPLETE and is exactly what\n * `wildo local up` consumes next, and the remedy printed (\"Check PLATFORM_ADMIN_SECRET\")\n * is not the fix for either real cause. On a shared development host the 401 is almost\n * never a wrong secret; it is another application's platform answering on the port.\n *\n * So the two creator-facing causes SKIP with a line that names the cause and the order that\n * works, and the phase keeps its other outputs. Anything unclassified still fails: a real\n * defect in artifact generation must not be swallowed by a convenience for fresh machines.\n */\n const unavailable = classifyAppsManagerUnavailable(error);\n if (unavailable === null) {\n ctx.log.error(\n `Failed to prepare application deploy artifacts: ${ErrorUtils.extractErrorMessage(error)}`,\n );\n return false;\n }\n ctx.log.warn(chalk.yellow(\n unavailable === AppsManagerUnavailableReason.PLATFORM_NOT_RUNNING\n ? ' Deploy artifacts skipped: no platform is running for this application yet.'\n : ' Deploy artifacts skipped: the platform answering for this application refused our credentials '\n + '— on a shared host that usually means ANOTHER application\\'s platform holds the port.',\n ));\n ctx.log.info(chalk.dim(\n ' Local artifacts (compose, config.json, env files, provider runtime) are complete. '\n + 'Bring the platform up and register this application, then re-run to produce deploy artifacts:',\n ));\n ctx.log.info(chalk.dim(' wildo local up → wildo local init --register-only → wildo config sync'));\n continue;\n }\n\n ctx.log.info(chalk.cyan(` Generating deploy artifacts for ${envName}...`));\n generateCiDeployArtifacts(\n {\n env: envConfig,\n credentials,\n config,\n runtime: envConfig.runtime,\n outputDir,\n applicationBackends,\n applicationWorkers,\n applicationMinions,\n // Remote-cluster TLS manifests (ClusterIssuer + tls-config) + Traefik\n // Helm values are rendered from `templates/infra/k8s/**`, resolved via\n // the framework repo root (falls back to the app root — same\n // convention as buildApplicationBackendTargets above).\n frameworkPath: frameworkPath ?? saasRoot,\n },\n ctx.log,\n );\n }\n return true;\n }\n\n private async syncProviderRuntimeArtifacts(ctx: CommandContext, saasRoot: string, envNames: string[]): Promise<boolean> {\n const environmentName = resolveProviderArtifactEnvironmentName(envNames, ctx.activeEnv?.name);\n ctx.log.info(chalk.dim(` Provider runtime artifacts: generated for environment '${environmentName}'.`));\n // The frameworkPath lets the sync declare and link the system-of-record facet library (#2013).\n const result = await syncProviderRuntimeArtifactsForApp(ctx.log, saasRoot, environmentName, {\n frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null,\n });\n return result.success;\n }\n}\n"]}