@wildo-ai/wildo-cli 1.1.9 → 1.1.11

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 (1606) hide show
  1. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  2. package/dist/src/commands/acp/probe.command.js +2 -1
  3. package/dist/src/commands/acp/probe.command.js.map +1 -1
  4. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  5. package/dist/src/commands/align-deps.command.js +17 -1
  6. package/dist/src/commands/align-deps.command.js.map +1 -1
  7. package/dist/src/commands/blueprint/pack.command.d.ts +16 -0
  8. package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -0
  9. package/dist/src/commands/blueprint/pack.command.js +86 -0
  10. package/dist/src/commands/blueprint/pack.command.js.map +1 -0
  11. package/dist/src/commands/blueprint/publish.command.d.ts +16 -0
  12. package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -0
  13. package/dist/src/commands/blueprint/publish.command.js +114 -0
  14. package/dist/src/commands/blueprint/publish.command.js.map +1 -0
  15. package/dist/src/commands/blueprint/status.command.d.ts +14 -0
  16. package/dist/src/commands/blueprint/status.command.d.ts.map +1 -0
  17. package/dist/src/commands/blueprint/status.command.js +62 -0
  18. package/dist/src/commands/blueprint/status.command.js.map +1 -0
  19. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
  20. package/dist/src/commands/build/dispatches.command.js +6 -1
  21. package/dist/src/commands/build/dispatches.command.js.map +1 -1
  22. package/dist/src/commands/build/rearm.command.d.ts +6 -4
  23. package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
  24. package/dist/src/commands/build/rearm.command.js +12 -7
  25. package/dist/src/commands/build/rearm.command.js.map +1 -1
  26. package/dist/src/commands/config/check-resources.command.d.ts +50 -0
  27. package/dist/src/commands/config/check-resources.command.d.ts.map +1 -0
  28. package/dist/src/commands/config/check-resources.command.js +123 -0
  29. package/dist/src/commands/config/check-resources.command.js.map +1 -0
  30. package/dist/src/commands/config/legal-notice.command.d.ts +17 -0
  31. package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -0
  32. package/dist/src/commands/config/legal-notice.command.js +59 -0
  33. package/dist/src/commands/config/legal-notice.command.js.map +1 -0
  34. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  35. package/dist/src/commands/config/reapply-declaration.command.js +24 -0
  36. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  37. package/dist/src/commands/config/sync.command.d.ts +13 -0
  38. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  39. package/dist/src/commands/config/sync.command.js +37 -2
  40. package/dist/src/commands/config/sync.command.js.map +1 -1
  41. package/dist/src/commands/config/validate.command.d.ts +11 -2
  42. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  43. package/dist/src/commands/config/validate.command.js +100 -7
  44. package/dist/src/commands/config/validate.command.js.map +1 -1
  45. package/dist/src/commands/context/context-command.utils.d.ts +6 -1
  46. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  47. package/dist/src/commands/context/context-command.utils.js +8 -2
  48. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  49. package/dist/src/commands/context/elements.command.d.ts +3 -1
  50. package/dist/src/commands/context/elements.command.d.ts.map +1 -1
  51. package/dist/src/commands/context/elements.command.js +3 -1
  52. package/dist/src/commands/context/elements.command.js.map +1 -1
  53. package/dist/src/commands/context/journey.command.d.ts +8 -2
  54. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  55. package/dist/src/commands/context/journey.command.js +143 -16
  56. package/dist/src/commands/context/journey.command.js.map +1 -1
  57. package/dist/src/commands/context/launch-blockers.command.d.ts +2 -1
  58. package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
  59. package/dist/src/commands/context/launch-blockers.command.js +6 -4
  60. package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
  61. package/dist/src/commands/context/pipelines.command.d.ts +2 -0
  62. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
  63. package/dist/src/commands/context/pipelines.command.js +6 -3
  64. package/dist/src/commands/context/pipelines.command.js.map +1 -1
  65. package/dist/src/commands/creation/accept.command.d.ts +4 -0
  66. package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
  67. package/dist/src/commands/creation/accept.command.js +29 -4
  68. package/dist/src/commands/creation/accept.command.js.map +1 -1
  69. package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
  70. package/dist/src/commands/creation/answer.command.js +2 -1
  71. package/dist/src/commands/creation/answer.command.js.map +1 -1
  72. package/dist/src/commands/creation/brand-logo.command.d.ts +18 -0
  73. package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -0
  74. package/dist/src/commands/creation/brand-logo.command.js +43 -0
  75. package/dist/src/commands/creation/brand-logo.command.js.map +1 -0
  76. package/dist/src/commands/creation/deliberate.command.d.ts +2 -2
  77. package/dist/src/commands/creation/deliberate.command.js +2 -2
  78. package/dist/src/commands/creation/deliberate.command.js.map +1 -1
  79. package/dist/src/commands/creation/depth.command.js +1 -1
  80. package/dist/src/commands/creation/depth.command.js.map +1 -1
  81. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  82. package/dist/src/commands/creation/feed.command.js +3 -2
  83. package/dist/src/commands/creation/feed.command.js.map +1 -1
  84. package/dist/src/commands/creation/persona.command.d.ts +3 -2
  85. package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
  86. package/dist/src/commands/creation/persona.command.js +10 -3
  87. package/dist/src/commands/creation/persona.command.js.map +1 -1
  88. package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
  89. package/dist/src/commands/creation/preflight.command.js +3 -1
  90. package/dist/src/commands/creation/preflight.command.js.map +1 -1
  91. package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
  92. package/dist/src/commands/creation/questions.command.js +2 -1
  93. package/dist/src/commands/creation/questions.command.js.map +1 -1
  94. package/dist/src/commands/creation/run.command.d.ts.map +1 -1
  95. package/dist/src/commands/creation/run.command.js +2 -1
  96. package/dist/src/commands/creation/run.command.js.map +1 -1
  97. package/dist/src/commands/creation/why.command.d.ts +3 -1
  98. package/dist/src/commands/creation/why.command.d.ts.map +1 -1
  99. package/dist/src/commands/creation/why.command.js +28 -9
  100. package/dist/src/commands/creation/why.command.js.map +1 -1
  101. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +17 -0
  102. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
  103. package/dist/src/commands/db/db-schema-plan-migration.utils.js +27 -0
  104. package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
  105. package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -3
  106. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  107. package/dist/src/commands/db/db-schema-plan.utils.js +71 -6
  108. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  109. package/dist/src/commands/db/diff.command.js +1 -1
  110. package/dist/src/commands/db/diff.command.js.map +1 -1
  111. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  112. package/dist/src/commands/db/generate.command.js +32 -5
  113. package/dist/src/commands/db/generate.command.js.map +1 -1
  114. package/dist/src/commands/dev/design-tokens-brand.command.d.ts +10 -0
  115. package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -0
  116. package/dist/src/commands/dev/design-tokens-brand.command.js +24 -0
  117. package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -0
  118. package/dist/src/commands/dev/design-tokens-contract.command.d.ts +10 -0
  119. package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -0
  120. package/dist/src/commands/dev/design-tokens-contract.command.js +24 -0
  121. package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -0
  122. package/dist/src/commands/dev/design-tokens-contrast.command.d.ts +10 -0
  123. package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -0
  124. package/dist/src/commands/dev/design-tokens-contrast.command.js +24 -0
  125. package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -0
  126. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  127. package/dist/src/commands/dev/start.command.js +34 -8
  128. package/dist/src/commands/dev/start.command.js.map +1 -1
  129. package/dist/src/commands/docs/check.command.d.ts +25 -0
  130. package/dist/src/commands/docs/check.command.d.ts.map +1 -0
  131. package/dist/src/commands/docs/check.command.js +91 -0
  132. package/dist/src/commands/docs/check.command.js.map +1 -0
  133. package/dist/src/commands/frontend/look.command.d.ts +26 -0
  134. package/dist/src/commands/frontend/look.command.d.ts.map +1 -0
  135. package/dist/src/commands/frontend/look.command.js +132 -0
  136. package/dist/src/commands/frontend/look.command.js.map +1 -0
  137. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  138. package/dist/src/commands/fwk/dev-skills.command.js +3 -0
  139. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  140. package/dist/src/commands/fwk/generate-blueprints.command.d.ts +12 -0
  141. package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -0
  142. package/dist/src/commands/fwk/generate-blueprints.command.js +75 -0
  143. package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -0
  144. package/dist/src/commands/fwk/publish-all.command.d.ts +4 -3
  145. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  146. package/dist/src/commands/fwk/publish-all.command.js +94 -32
  147. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  148. package/dist/src/commands/fwk/publish-promote.command.d.ts +8 -0
  149. package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -0
  150. package/dist/src/commands/fwk/publish-promote.command.js +137 -0
  151. package/dist/src/commands/fwk/publish-promote.command.js.map +1 -0
  152. package/dist/src/commands/fwk/publish-providers.command.d.ts +19 -0
  153. package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -0
  154. package/dist/src/commands/fwk/publish-providers.command.js +80 -0
  155. package/dist/src/commands/fwk/publish-providers.command.js.map +1 -0
  156. package/dist/src/commands/fwk/registry-host.command.d.ts +41 -0
  157. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -0
  158. package/dist/src/commands/fwk/registry-host.command.js +393 -0
  159. package/dist/src/commands/fwk/registry-host.command.js.map +1 -0
  160. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  161. package/dist/src/commands/fwk/version-show.command.js +1 -2
  162. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  163. package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
  164. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  165. package/dist/src/commands/generate/labelling-command.utils.js +21 -2
  166. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  167. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  168. package/dist/src/commands/generate/labels.command.js +10 -1
  169. package/dist/src/commands/generate/labels.command.js.map +1 -1
  170. package/dist/src/commands/generate/translate.command.d.ts +5 -0
  171. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  172. package/dist/src/commands/generate/translate.command.js +30 -3
  173. package/dist/src/commands/generate/translate.command.js.map +1 -1
  174. package/dist/src/commands/help.command.d.ts.map +1 -1
  175. package/dist/src/commands/help.command.js +2 -0
  176. package/dist/src/commands/help.command.js.map +1 -1
  177. package/dist/src/commands/init.command.d.ts +59 -0
  178. package/dist/src/commands/init.command.d.ts.map +1 -1
  179. package/dist/src/commands/init.command.js +401 -12
  180. package/dist/src/commands/init.command.js.map +1 -1
  181. package/dist/src/commands/keys/rotate.command.d.ts +36 -0
  182. package/dist/src/commands/keys/rotate.command.d.ts.map +1 -0
  183. package/dist/src/commands/keys/rotate.command.js +140 -0
  184. package/dist/src/commands/keys/rotate.command.js.map +1 -0
  185. package/dist/src/commands/keys/thumbprint.command.d.ts +10 -0
  186. package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -0
  187. package/dist/src/commands/keys/thumbprint.command.js +64 -0
  188. package/dist/src/commands/keys/thumbprint.command.js.map +1 -0
  189. package/dist/src/commands/local/dev.command.d.ts +8 -1
  190. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  191. package/dist/src/commands/local/dev.command.js +37 -6
  192. package/dist/src/commands/local/dev.command.js.map +1 -1
  193. package/dist/src/commands/local/doctor.command.d.ts +18 -0
  194. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  195. package/dist/src/commands/local/doctor.command.js +115 -1
  196. package/dist/src/commands/local/doctor.command.js.map +1 -1
  197. package/dist/src/commands/local/reinit.command.js +1 -1
  198. package/dist/src/commands/local/reinit.command.js.map +1 -1
  199. package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
  200. package/dist/src/commands/local/smoke.command.js +2 -1
  201. package/dist/src/commands/local/smoke.command.js.map +1 -1
  202. package/dist/src/commands/local/up.command.d.ts +11 -5
  203. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  204. package/dist/src/commands/local/up.command.js +51 -145
  205. package/dist/src/commands/local/up.command.js.map +1 -1
  206. package/dist/src/commands/lock/check.command.d.ts +8 -6
  207. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  208. package/dist/src/commands/lock/check.command.js +12 -19
  209. package/dist/src/commands/lock/check.command.js.map +1 -1
  210. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  211. package/dist/src/commands/market/generate.command.js +2 -1
  212. package/dist/src/commands/market/generate.command.js.map +1 -1
  213. package/dist/src/commands/providers/chat-command-registrations.utils.d.ts +32 -0
  214. package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -0
  215. package/dist/src/commands/providers/chat-command-registrations.utils.js +120 -0
  216. package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -0
  217. package/dist/src/commands/providers/new.command.d.ts +14 -0
  218. package/dist/src/commands/providers/new.command.d.ts.map +1 -0
  219. package/dist/src/commands/providers/new.command.js +119 -0
  220. package/dist/src/commands/providers/new.command.js.map +1 -0
  221. package/dist/src/commands/providers/probe.command.d.ts +20 -0
  222. package/dist/src/commands/providers/probe.command.d.ts.map +1 -0
  223. package/dist/src/commands/providers/probe.command.js +164 -0
  224. package/dist/src/commands/providers/probe.command.js.map +1 -0
  225. package/dist/src/commands/providers/register.command.d.ts +34 -0
  226. package/dist/src/commands/providers/register.command.d.ts.map +1 -0
  227. package/dist/src/commands/providers/register.command.js +258 -0
  228. package/dist/src/commands/providers/register.command.js.map +1 -0
  229. package/dist/src/commands/providers/show.command.d.ts +1 -0
  230. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  231. package/dist/src/commands/providers/show.command.js +6 -46
  232. package/dist/src/commands/providers/show.command.js.map +1 -1
  233. package/dist/src/commands/registry/add.command.d.ts +3 -0
  234. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  235. package/dist/src/commands/registry/add.command.js +23 -212
  236. package/dist/src/commands/registry/add.command.js.map +1 -1
  237. package/dist/src/commands/registry/domain.command.d.ts +32 -0
  238. package/dist/src/commands/registry/domain.command.d.ts.map +1 -0
  239. package/dist/src/commands/registry/domain.command.js +118 -0
  240. package/dist/src/commands/registry/domain.command.js.map +1 -0
  241. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  242. package/dist/src/commands/registry/publish.command.js +26 -50
  243. package/dist/src/commands/registry/publish.command.js.map +1 -1
  244. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  245. package/dist/src/commands/registry/remove.command.js +16 -1
  246. package/dist/src/commands/registry/remove.command.js.map +1 -1
  247. package/dist/src/commands/registry/repair-lockfile.command.d.ts +11 -1
  248. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  249. package/dist/src/commands/registry/repair-lockfile.command.js +145 -12
  250. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  251. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  252. package/dist/src/commands/registry/search.command.js +4 -4
  253. package/dist/src/commands/registry/search.command.js.map +1 -1
  254. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  255. package/dist/src/commands/registry/update.command.js +22 -6
  256. package/dist/src/commands/registry/update.command.js.map +1 -1
  257. package/dist/src/commands/seal/dead.command.d.ts +11 -0
  258. package/dist/src/commands/seal/dead.command.d.ts.map +1 -0
  259. package/dist/src/commands/seal/dead.command.js +44 -0
  260. package/dist/src/commands/seal/dead.command.js.map +1 -0
  261. package/dist/src/commands/seal/export.command.d.ts +12 -0
  262. package/dist/src/commands/seal/export.command.d.ts.map +1 -0
  263. package/dist/src/commands/seal/export.command.js +67 -0
  264. package/dist/src/commands/seal/export.command.js.map +1 -0
  265. package/dist/src/commands/seal/log-export.command.d.ts +18 -0
  266. package/dist/src/commands/seal/log-export.command.d.ts.map +1 -0
  267. package/dist/src/commands/seal/log-export.command.js +93 -0
  268. package/dist/src/commands/seal/log-export.command.js.map +1 -0
  269. package/dist/src/commands/seal/log-verify.command.d.ts +13 -0
  270. package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -0
  271. package/dist/src/commands/seal/log-verify.command.js +74 -0
  272. package/dist/src/commands/seal/log-verify.command.js.map +1 -0
  273. package/dist/src/commands/seal/retry.command.d.ts +12 -0
  274. package/dist/src/commands/seal/retry.command.d.ts.map +1 -0
  275. package/dist/src/commands/seal/retry.command.js +48 -0
  276. package/dist/src/commands/seal/retry.command.js.map +1 -0
  277. package/dist/src/commands/seal/seal-admin-door.utils.d.ts +13 -0
  278. package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -0
  279. package/dist/src/commands/seal/seal-admin-door.utils.js +88 -0
  280. package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -0
  281. package/dist/src/commands/seal/signing-log-files.utils.d.ts +9 -0
  282. package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -0
  283. package/dist/src/commands/seal/signing-log-files.utils.js +15 -0
  284. package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -0
  285. package/dist/src/commands/seal/verify.command.d.ts +18 -0
  286. package/dist/src/commands/seal/verify.command.d.ts.map +1 -0
  287. package/dist/src/commands/seal/verify.command.js +120 -0
  288. package/dist/src/commands/seal/verify.command.js.map +1 -0
  289. package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
  290. package/dist/src/commands/secrets/list.command.js +3 -2
  291. package/dist/src/commands/secrets/list.command.js.map +1 -1
  292. package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
  293. package/dist/src/commands/secrets/set.command.js +3 -2
  294. package/dist/src/commands/secrets/set.command.js.map +1 -1
  295. package/dist/src/commands/update.command.js +3 -0
  296. package/dist/src/commands/update.command.js.map +1 -1
  297. package/dist/src/commands/website/look.command.d.ts +22 -0
  298. package/dist/src/commands/website/look.command.d.ts.map +1 -0
  299. package/dist/src/commands/website/look.command.js +147 -0
  300. package/dist/src/commands/website/look.command.js.map +1 -0
  301. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  302. package/dist/src/commands/workbench/status.command.js +2 -1
  303. package/dist/src/commands/workbench/status.command.js.map +1 -1
  304. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  305. package/dist/src/kernel/command-registry.js +3 -0
  306. package/dist/src/kernel/command-registry.js.map +1 -1
  307. package/dist/src/kernel/command-runner.d.ts +5 -0
  308. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  309. package/dist/src/kernel/command-runner.js +13 -1
  310. package/dist/src/kernel/command-runner.js.map +1 -1
  311. package/dist/src/kernel/hooks.d.ts.map +1 -1
  312. package/dist/src/kernel/hooks.js +5 -3
  313. package/dist/src/kernel/hooks.js.map +1 -1
  314. package/dist/src/kernel/json-document-output.d.ts +25 -0
  315. package/dist/src/kernel/json-document-output.d.ts.map +1 -0
  316. package/dist/src/kernel/json-document-output.js +29 -0
  317. package/dist/src/kernel/json-document-output.js.map +1 -0
  318. package/dist/src/kernel/logger.d.ts +16 -1
  319. package/dist/src/kernel/logger.d.ts.map +1 -1
  320. package/dist/src/kernel/logger.js +21 -4
  321. package/dist/src/kernel/logger.js.map +1 -1
  322. package/dist/src/kernel/types.d.ts +6 -0
  323. package/dist/src/kernel/types.d.ts.map +1 -1
  324. package/dist/src/kernel/types.js +6 -0
  325. package/dist/src/kernel/types.js.map +1 -1
  326. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +5 -1
  327. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
  328. package/dist/src/modules/domain/credentials/creation-essentials.module.js +1 -4
  329. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
  330. package/dist/src/services/application/ai-use-declarations.service.d.ts +89 -0
  331. package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -0
  332. package/dist/src/services/application/ai-use-declarations.service.js +178 -0
  333. package/dist/src/services/application/ai-use-declarations.service.js.map +1 -0
  334. package/dist/src/services/application/app-bootstrap.service.d.ts +6 -1
  335. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  336. package/dist/src/services/application/app-bootstrap.service.js +12 -1
  337. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  338. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  339. package/dist/src/services/application/app-runtime-targets.service.js +6 -0
  340. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  341. package/dist/src/services/application/application-assets-delivery.service.d.ts +6 -0
  342. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  343. package/dist/src/services/application/application-assets-delivery.service.js +13 -1
  344. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  345. package/dist/src/services/application/application-creation-readiness.service.d.ts +10 -2
  346. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
  347. package/dist/src/services/application/application-creation-readiness.service.js +74 -21
  348. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  349. package/dist/src/services/application/application-dependency-alignment.service.d.ts +52 -4
  350. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  351. package/dist/src/services/application/application-dependency-alignment.service.js +118 -8
  352. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  353. package/dist/src/services/application/content-guardrail-classifier.service.d.ts +80 -0
  354. package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -0
  355. package/dist/src/services/application/content-guardrail-classifier.service.js +199 -0
  356. package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -0
  357. package/dist/src/services/application/creation-preflight.service.d.ts +2 -2
  358. package/dist/src/services/application/creation-preflight.service.js +2 -2
  359. package/dist/src/services/application/creation-preflight.service.js.map +1 -1
  360. package/dist/src/services/application/dev-schema-drift.service.js +1 -1
  361. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  362. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
  363. package/dist/src/services/application/environment-provider-configurations.service.js +96 -2
  364. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
  365. package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts +23 -0
  366. package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -0
  367. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +107 -0
  368. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -0
  369. package/dist/src/services/application/frontend-providers-not-configured.service.d.ts +23 -0
  370. package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -0
  371. package/dist/src/services/application/frontend-providers-not-configured.service.js +62 -0
  372. package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -0
  373. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +13 -2
  374. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
  375. package/dist/src/services/application/frontend-public-config-secret-screen.service.js +4 -2
  376. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
  377. package/dist/src/services/application/provider-package-links.service.d.ts +7 -6
  378. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
  379. package/dist/src/services/application/provider-package-links.service.js +7 -6
  380. package/dist/src/services/application/provider-package-links.service.js.map +1 -1
  381. package/dist/src/services/application/provider-runtime-sync.service.d.ts +68 -9
  382. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  383. package/dist/src/services/application/provider-runtime-sync.service.js +264 -108
  384. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  385. package/dist/src/services/application/saas-skeleton.service.d.ts +53 -0
  386. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  387. package/dist/src/services/application/saas-skeleton.service.js +45 -13
  388. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  389. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
  390. package/dist/src/services/application/systems-of-record-library.service.js +4 -3
  391. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
  392. package/dist/src/services/blueprint/blueprint-apply.service.d.ts +147 -0
  393. package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -0
  394. package/dist/src/services/blueprint/blueprint-apply.service.js +490 -0
  395. package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -0
  396. package/dist/src/services/blueprint/blueprint-artifact.service.d.ts +33 -0
  397. package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -0
  398. package/dist/src/services/blueprint/blueprint-artifact.service.js +88 -0
  399. package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -0
  400. package/dist/src/services/blueprint/blueprint-definition.reader.d.ts +37 -0
  401. package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -0
  402. package/dist/src/services/blueprint/blueprint-definition.reader.js +160 -0
  403. package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -0
  404. package/dist/src/services/blueprint/blueprint-export.service.d.ts +72 -0
  405. package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -0
  406. package/dist/src/services/blueprint/blueprint-export.service.js +899 -0
  407. package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -0
  408. package/dist/src/services/blueprint/blueprint-line.service.d.ts +76 -0
  409. package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -0
  410. package/dist/src/services/blueprint/blueprint-line.service.js +200 -0
  411. package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -0
  412. package/dist/src/services/blueprint/blueprint-module-references.service.d.ts +81 -0
  413. package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -0
  414. package/dist/src/services/blueprint/blueprint-module-references.service.js +185 -0
  415. package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -0
  416. package/dist/src/services/blueprint/blueprint-registry.service.d.ts +63 -0
  417. package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -0
  418. package/dist/src/services/blueprint/blueprint-registry.service.js +119 -0
  419. package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -0
  420. package/dist/src/services/blueprint/blueprint-report.d.ts +8 -0
  421. package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -0
  422. package/dist/src/services/blueprint/blueprint-report.js +32 -0
  423. package/dist/src/services/blueprint/blueprint-report.js.map +1 -0
  424. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +31 -0
  425. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -0
  426. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +65 -0
  427. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -0
  428. package/dist/src/services/blueprint/framework-blueprints.service.d.ts +68 -0
  429. package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -0
  430. package/dist/src/services/blueprint/framework-blueprints.service.js +239 -0
  431. package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -0
  432. package/dist/src/services/catalog/service-address-resolver.service.d.ts +6 -0
  433. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  434. package/dist/src/services/catalog/service-address-resolver.service.js +4 -0
  435. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  436. package/dist/src/services/catalog/service-catalog.schemas.d.ts +7 -3
  437. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  438. package/dist/src/services/catalog/service-catalog.schemas.js +24 -3
  439. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  440. package/dist/src/services/companion/agent-stop-reason-words.d.ts +5 -0
  441. package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -0
  442. package/dist/src/services/companion/agent-stop-reason-words.js +25 -0
  443. package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -0
  444. package/dist/src/services/companion/agent-work-shortfall-words.d.ts +8 -0
  445. package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -0
  446. package/dist/src/services/companion/agent-work-shortfall-words.js +35 -0
  447. package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -0
  448. package/dist/src/services/companion/build-console.service.d.ts +111 -2
  449. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  450. package/dist/src/services/companion/build-console.service.js +126 -6
  451. package/dist/src/services/companion/build-console.service.js.map +1 -1
  452. package/dist/src/services/companion/console-fast-path.d.ts +21 -3
  453. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
  454. package/dist/src/services/companion/console-fast-path.js +57 -12
  455. package/dist/src/services/companion/console-fast-path.js.map +1 -1
  456. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
  457. package/dist/src/services/companion/console-verb.utils.js +2 -1
  458. package/dist/src/services/companion/console-verb.utils.js.map +1 -1
  459. package/dist/src/services/companion/creation-console.service.d.ts +76 -0
  460. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  461. package/dist/src/services/companion/creation-console.service.js +124 -11
  462. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  463. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +5 -3
  464. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
  465. package/dist/src/services/compliance/generated-compliance-module-wiring.js +4 -2
  466. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  467. package/dist/src/services/compliance/legal-notice.generator.d.ts +45 -0
  468. package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -0
  469. package/dist/src/services/compliance/legal-notice.generator.js +97 -0
  470. package/dist/src/services/compliance/legal-notice.generator.js.map +1 -0
  471. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +5 -2
  472. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
  473. package/dist/src/services/compliance/subject-data-recipients.generator.js +7 -3
  474. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
  475. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  476. package/dist/src/services/credentials/application-secrets.service.js +5 -7
  477. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  478. package/dist/src/services/credentials/ci-secrets-adapter.service.js +2 -2
  479. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  480. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +5 -12
  481. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  482. package/dist/src/services/credentials/composed-provider-catalogue.js +12 -0
  483. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  484. package/dist/src/services/credentials/credentials.schemas.d.ts +77 -0
  485. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  486. package/dist/src/services/credentials/credentials.schemas.js +69 -1
  487. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  488. package/dist/src/services/credentials/framework-managed-secrets.d.ts +77 -5
  489. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  490. package/dist/src/services/credentials/framework-managed-secrets.js +155 -1
  491. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  492. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
  493. package/dist/src/services/credentials/local-defaults.service.js +2 -2
  494. package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
  495. package/dist/src/services/credentials/local-secrets-store.service.d.ts +14 -2
  496. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
  497. package/dist/src/services/credentials/local-secrets-store.service.js +29 -2
  498. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
  499. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  500. package/dist/src/services/credentials/provider-env-vars.utils.js +4 -0
  501. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  502. package/dist/src/services/credentials/secret-requirements.service.d.ts +144 -4
  503. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  504. package/dist/src/services/credentials/secret-requirements.service.js +467 -20
  505. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  506. package/dist/src/services/credentials/secrets-reader.service.d.ts +6 -0
  507. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  508. package/dist/src/services/credentials/secrets-reader.service.js +13 -2
  509. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  510. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  511. package/dist/src/services/credentials/secrets-rotation.service.js +3 -2
  512. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  513. package/dist/src/services/data-services/data-services.schemas.d.ts +2 -1
  514. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  515. package/dist/src/services/data-services/data-services.schemas.js +5 -0
  516. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  517. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +79 -0
  518. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -0
  519. package/dist/src/services/data-services/platform-key-vault.server-config.js +157 -0
  520. package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -0
  521. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  522. package/dist/src/services/deployment/docker/backing-service-health-watch.js +4 -1
  523. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  524. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +9 -16
  525. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  526. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +67 -25
  527. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  528. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +15 -1
  529. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  530. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +19 -6
  531. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  532. package/dist/src/services/deployment/infra-writer.service.d.ts +1 -1
  533. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  534. package/dist/src/services/deployment/infra-writer.service.js +2 -2
  535. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  536. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +38 -0
  537. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  538. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +51 -2
  539. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  540. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +69 -0
  541. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  542. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +103 -1
  543. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
  544. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -2
  545. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  546. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +59 -45
  547. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  548. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +26 -20
  549. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  550. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  551. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +26 -0
  552. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  553. package/dist/src/services/deployment/k8s/k8s-operations.service.js +79 -0
  554. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
  555. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  556. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +19 -2
  557. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  558. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +5 -2
  559. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  560. package/dist/src/services/deployment/k8s/k8s.schemas.js +5 -2
  561. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
  562. package/dist/src/services/deployment/k8s/kind.service.d.ts +10 -6
  563. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  564. package/dist/src/services/deployment/k8s/kind.service.js +3 -57
  565. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  566. package/dist/src/services/deployment/local-dev-log-retention.service.d.ts +45 -0
  567. package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -0
  568. package/dist/src/services/deployment/local-dev-log-retention.service.js +83 -0
  569. package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -0
  570. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +2 -2
  571. package/dist/src/services/deployment/local-dev-session-lease.service.js +2 -2
  572. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  573. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  574. package/dist/src/services/deployment/local-infrastructure-initialization.service.js +20 -1
  575. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  576. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +14 -0
  577. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  578. package/dist/src/services/deployment/local-precondition-checks.service.js +42 -0
  579. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  580. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +60 -0
  581. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  582. package/dist/src/services/design-tokens/design-tokens-command.service.js +317 -64
  583. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
  584. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +21 -2
  585. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  586. package/dist/src/services/design-tokens/design-tokens-config.service.js +23 -40
  587. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
  588. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +20 -0
  589. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  590. package/dist/src/services/design-tokens/design-tokens-config.template.js +47 -5
  591. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
  592. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +28 -4
  593. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  594. package/dist/src/services/design-tokens/design-tokens-paths.service.js +67 -9
  595. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
  596. package/dist/src/services/design-tokens/design-tokens.constants.d.ts +63 -0
  597. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  598. package/dist/src/services/design-tokens/design-tokens.constants.js +63 -0
  599. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
  600. package/dist/src/services/design-tokens/design-tokens.models.d.ts +24 -0
  601. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  602. package/dist/src/services/design-tokens/design-tokens.models.js +22 -0
  603. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
  604. package/dist/src/services/environment/authored-infra-config.utils.d.ts +30 -0
  605. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  606. package/dist/src/services/environment/authored-infra-config.utils.js +47 -1
  607. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  608. package/dist/src/services/environment/env-configuration-generator.service.d.ts +4 -4
  609. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  610. package/dist/src/services/environment/env-configuration-generator.service.js +18 -12
  611. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  612. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  613. package/dist/src/services/environment/env-sync.service.js +1 -1
  614. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  615. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  616. package/dist/src/services/environment/env-vars-builder.service.js +201 -6
  617. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  618. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  619. package/dist/src/services/environment/environment-hydration.utils.js +6 -0
  620. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  621. package/dist/src/services/environment/environment-paths.service.d.ts +5 -7
  622. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  623. package/dist/src/services/environment/environment-paths.service.js +5 -7
  624. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  625. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  626. package/dist/src/services/environment/environment-setup.service.js +15 -19
  627. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  628. package/dist/src/services/environment/environment.schemas.d.ts +21 -3
  629. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  630. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  631. package/dist/src/services/environment/platform-runtime.schemas.d.ts +36 -58
  632. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  633. package/dist/src/services/environment/platform-runtime.schemas.js +37 -58
  634. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  635. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +17 -12
  636. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  637. package/dist/src/services/environment/runtime-bootstrap.service.js +100 -23
  638. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  639. package/dist/src/services/framework/application-claude-settings.d.ts +39 -5
  640. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
  641. package/dist/src/services/framework/application-claude-settings.js +100 -25
  642. package/dist/src/services/framework/application-claude-settings.js.map +1 -1
  643. package/dist/src/services/framework/application-provider-skills.service.d.ts +38 -0
  644. package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -0
  645. package/dist/src/services/framework/application-provider-skills.service.js +189 -0
  646. package/dist/src/services/framework/application-provider-skills.service.js.map +1 -0
  647. package/dist/src/services/framework/application-rule-imports.d.ts +2 -1
  648. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  649. package/dist/src/services/framework/application-rule-imports.js +25 -7
  650. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  651. package/dist/src/services/framework/auditable-event-catalog.generator.d.ts +49 -0
  652. package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -0
  653. package/dist/src/services/framework/auditable-event-catalog.generator.js +84 -0
  654. package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -0
  655. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
  656. package/dist/src/services/framework/claude-plugin-compiler.js +3 -2
  657. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
  658. package/dist/src/services/framework/enum-member-docs.reader.d.ts +33 -0
  659. package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -0
  660. package/dist/src/services/framework/enum-member-docs.reader.js +63 -0
  661. package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -0
  662. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +30 -0
  663. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -0
  664. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +57 -0
  665. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -0
  666. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +6 -0
  667. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  668. package/dist/src/services/framework/framework-development-skills-sync.service.js +64 -2
  669. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  670. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  671. package/dist/src/services/framework/framework-docker-publish.service.js +3 -2
  672. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  673. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +0 -6
  674. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  675. package/dist/src/services/framework/framework-knowledge-audit.service.js +11 -36
  676. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  677. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +7 -3
  678. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  679. package/dist/src/services/framework/framework-knowledge-generation.service.js +79 -69
  680. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  681. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +6 -1
  682. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  683. package/dist/src/services/framework/framework-knowledge-scan.constants.js +13 -0
  684. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  685. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +81 -0
  686. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -0
  687. package/dist/src/services/framework/framework-npm-dist-tag.service.js +149 -0
  688. package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -0
  689. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  690. package/dist/src/services/framework/framework-npm-publish.service.js +7 -5
  691. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  692. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +10 -36
  693. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  694. package/dist/src/services/framework/framework-publish-manifest.service.js +15 -58
  695. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  696. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  697. package/dist/src/services/framework/framework-release.service.js +4 -1
  698. package/dist/src/services/framework/framework-release.service.js.map +1 -1
  699. package/dist/src/services/framework/framework-update.service.d.ts +6 -0
  700. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  701. package/dist/src/services/framework/framework-update.service.js +15 -1
  702. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  703. package/dist/src/services/framework/framework-version.service.d.ts +2 -4
  704. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  705. package/dist/src/services/framework/framework-version.service.js +5 -7
  706. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  707. package/dist/src/services/framework/frontend-library-root-exports.js +3 -3
  708. package/dist/src/services/framework/package-install.service.d.ts +9 -0
  709. package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
  710. package/dist/src/services/framework/package-install.service.js +14 -0
  711. package/dist/src/services/framework/package-install.service.js.map +1 -1
  712. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  713. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +12 -4
  714. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  715. package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts +43 -0
  716. package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -0
  717. package/dist/src/services/framework/registry-host/registry-host-monitoring.js +103 -0
  718. package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -0
  719. package/dist/src/services/framework/registry-host/registry-host-remote.d.ts +29 -0
  720. package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -0
  721. package/dist/src/services/framework/registry-host/registry-host-remote.js +98 -0
  722. package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -0
  723. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +102 -0
  724. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -0
  725. package/dist/src/services/framework/registry-host/registry-host.service.js +318 -0
  726. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -0
  727. package/dist/src/services/frontend/frontend-look.service.d.ts +264 -0
  728. package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -0
  729. package/dist/src/services/frontend/frontend-look.service.js +640 -0
  730. package/dist/src/services/frontend/frontend-look.service.js.map +1 -0
  731. package/dist/src/services/registry/artifact-extractor.utils.d.ts +9 -4
  732. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  733. package/dist/src/services/registry/artifact-extractor.utils.js +16 -9
  734. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
  735. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  736. package/dist/src/services/registry/boundary-fanout.utils.js +7 -2
  737. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  738. package/dist/src/services/registry/index.d.ts +0 -1
  739. package/dist/src/services/registry/index.d.ts.map +1 -1
  740. package/dist/src/services/registry/index.js +0 -1
  741. package/dist/src/services/registry/index.js.map +1 -1
  742. package/dist/src/services/registry/installed-provider-module.service.d.ts +25 -0
  743. package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -0
  744. package/dist/src/services/registry/installed-provider-module.service.js +56 -0
  745. package/dist/src/services/registry/installed-provider-module.service.js.map +1 -0
  746. package/dist/src/services/registry/local-checkout-module-source.service.d.ts +12 -10
  747. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
  748. package/dist/src/services/registry/local-checkout-module-source.service.js +60 -58
  749. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
  750. package/dist/src/services/registry/module-acquisition.utils.d.ts +6 -0
  751. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
  752. package/dist/src/services/registry/module-acquisition.utils.js +7 -0
  753. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
  754. package/dist/src/services/registry/module-install.service.d.ts +70 -0
  755. package/dist/src/services/registry/module-install.service.d.ts.map +1 -0
  756. package/dist/src/services/registry/module-install.service.js +199 -0
  757. package/dist/src/services/registry/module-install.service.js.map +1 -0
  758. package/dist/src/services/registry/module-publish.service.d.ts +49 -0
  759. package/dist/src/services/registry/module-publish.service.d.ts.map +1 -0
  760. package/dist/src/services/registry/module-publish.service.js +79 -0
  761. package/dist/src/services/registry/module-publish.service.js.map +1 -0
  762. package/dist/src/services/registry/module-registration.service.d.ts +26 -0
  763. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
  764. package/dist/src/services/registry/module-registration.service.js +474 -20
  765. package/dist/src/services/registry/module-registration.service.js.map +1 -1
  766. package/dist/src/services/registry/module-requirements.service.d.ts +42 -2
  767. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
  768. package/dist/src/services/registry/module-requirements.service.js +133 -6
  769. package/dist/src/services/registry/module-requirements.service.js.map +1 -1
  770. package/dist/src/services/registry/provider-install-step.d.ts +77 -14
  771. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
  772. package/dist/src/services/registry/provider-install-step.js +189 -4
  773. package/dist/src/services/registry/provider-install-step.js.map +1 -1
  774. package/dist/src/services/registry/provider-module-checks.service.d.ts +27 -4
  775. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
  776. package/dist/src/services/registry/provider-module-checks.service.js +513 -19
  777. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
  778. package/dist/src/services/registry/provider-module-scaffold.service.d.ts +156 -0
  779. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -0
  780. package/dist/src/services/registry/provider-module-scaffold.service.js +681 -0
  781. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -0
  782. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +84 -0
  783. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -0
  784. package/dist/src/services/registry/provider-module-vendor-packages.service.js +361 -0
  785. package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -0
  786. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +107 -0
  787. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -0
  788. package/dist/src/services/registry/provider-openapi-conformance.service.js +484 -0
  789. package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -0
  790. package/dist/src/services/registry/provider-probe.service.d.ts +84 -0
  791. package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -0
  792. package/dist/src/services/registry/provider-probe.service.js +230 -0
  793. package/dist/src/services/registry/provider-probe.service.js.map +1 -0
  794. package/dist/src/services/registry/provider-publication.service.d.ts +35 -0
  795. package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -0
  796. package/dist/src/services/registry/provider-publication.service.js +203 -0
  797. package/dist/src/services/registry/provider-publication.service.js.map +1 -0
  798. package/dist/src/services/registry/provider-vendor-registration.service.d.ts +73 -0
  799. package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -0
  800. package/dist/src/services/registry/provider-vendor-registration.service.js +88 -0
  801. package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -0
  802. package/dist/src/services/registry/provider-wiring.service.d.ts +21 -2
  803. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
  804. package/dist/src/services/registry/provider-wiring.service.js +90 -16
  805. package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
  806. package/dist/src/services/registry/registry-command.utils.d.ts +19 -2
  807. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  808. package/dist/src/services/registry/registry-command.utils.js +35 -2
  809. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  810. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  811. package/dist/src/services/security/csp-sync.service.js +11 -30
  812. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  813. package/dist/src/services/website/website-look.service.d.ts +167 -0
  814. package/dist/src/services/website/website-look.service.d.ts.map +1 -0
  815. package/dist/src/services/website/website-look.service.js +430 -0
  816. package/dist/src/services/website/website-look.service.js.map +1 -0
  817. package/dist/src/services/website/website-structured-data-audit.service.d.ts +5 -0
  818. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  819. package/dist/src/services/website/website-structured-data-audit.service.js +20 -0
  820. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  821. package/dist/src/services/website/website-workspace.service.d.ts +16 -0
  822. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
  823. package/dist/src/services/website/website-workspace.service.js +19 -2
  824. package/dist/src/services/website/website-workspace.service.js.map +1 -1
  825. package/framework-root-package.json +9 -2
  826. package/package.json +26 -19
  827. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +4 -11
  828. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +159 -5
  829. package/templates/infra/docker-images/platform/Dockerfile.platform-base +23 -5
  830. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +6 -1
  831. package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +20 -0
  832. package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +110 -0
  833. package/templates/infra/k8s/internal/openbao/service.yaml.hbs +20 -0
  834. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +23 -79
  835. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +21 -75
  836. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +22 -75
  837. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +27 -0
  838. package/templates/infra/registry-host/Caddyfile +33 -0
  839. package/templates/infra/registry-host/backup.sh +73 -0
  840. package/templates/infra/registry-host/docker-compose.yml +328 -0
  841. package/templates/infra/registry-host/restore-check.sh +43 -0
  842. package/templates/infra/registry-host/wildo-registry-backup.service +15 -0
  843. package/templates/infra/registry-host/wildo-registry-backup.timer +12 -0
  844. package/templates/saas/blueprints/b2b-saas/blueprint.json +26 -0
  845. package/templates/saas/blueprints/internal-tool/blueprint.json +47 -0
  846. package/templates/saas/blueprints/service-firm/blueprint.json +57 -0
  847. package/templates/saas/i18n/email/components/EmailFooter.tsx +5 -3
  848. package/templates/saas/i18n/email/components/labels.en.ts +14 -0
  849. package/templates/saas/i18n/email/components/labels.fr.ts +13 -0
  850. package/templates/saas/i18n/email/email-template-definitions.ts +13 -1
  851. package/templates/saas/i18n/email/index.ts +1 -1
  852. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +2 -2
  853. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +2 -2
  854. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +2 -2
  855. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +2 -2
  856. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +2 -2
  857. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.en.ts +16 -0
  858. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/labels.fr.ts +22 -0
  859. package/templates/saas/i18n/email/resources/applicationApiKeys/update.application-administrator/template.tsx +57 -0
  860. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +2 -2
  861. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.en.ts +17 -0
  862. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/labels.fr.ts +23 -0
  863. package/templates/saas/i18n/email/resources/applicationOAuthClients/deactivate.application-administrator/template.tsx +61 -0
  864. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.en.ts +17 -0
  865. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/labels.fr.ts +23 -0
  866. package/templates/saas/i18n/email/resources/applicationOAuthClients/reactivate.application-administrator/template.tsx +61 -0
  867. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +2 -2
  868. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +2 -2
  869. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.en.ts +17 -0
  870. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/labels.fr.ts +23 -0
  871. package/templates/saas/i18n/email/resources/applicationOAuthClients/update.application-administrator/template.tsx +62 -0
  872. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +2 -2
  873. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +2 -2
  874. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +2 -2
  875. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +2 -2
  876. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +2 -2
  877. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +2 -2
  878. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +2 -2
  879. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +2 -2
  880. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +2 -2
  881. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +2 -2
  882. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +2 -2
  883. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +2 -2
  884. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +2 -2
  885. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +4 -4
  886. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +4 -4
  887. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +4 -4
  888. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +4 -4
  889. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +4 -4
  890. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +4 -4
  891. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +4 -4
  892. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +4 -4
  893. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +4 -4
  894. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +4 -4
  895. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +4 -4
  896. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +4 -4
  897. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +2 -2
  898. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +2 -2
  899. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +2 -2
  900. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +2 -2
  901. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.en.ts +18 -0
  902. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +19 -0
  903. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/template.tsx +50 -0
  904. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.en.ts +18 -0
  905. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +19 -0
  906. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/template.tsx +50 -0
  907. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +9 -5
  908. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.en.ts +18 -0
  909. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/labels.fr.ts +21 -0
  910. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-administrative_representing-organization/template.tsx +58 -0
  911. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +2 -2
  912. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +2 -2
  913. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.en.ts +20 -0
  914. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/labels.fr.ts +22 -0
  915. package/templates/saas/i18n/email/resources/organizationMembers/makeOwner.organization-administrative/template.tsx +60 -0
  916. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.en.ts +18 -0
  917. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/labels.fr.ts +21 -0
  918. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-administrative_representing-organization/template.tsx +58 -0
  919. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +2 -2
  920. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/template.tsx +2 -2
  921. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +2 -2
  922. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +2 -2
  923. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +2 -2
  924. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.en.ts +19 -0
  925. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/labels.fr.ts +21 -0
  926. package/templates/saas/i18n/email/resources/organizationMembers/stepDownAsOwner.organization-administrative/template.tsx +63 -0
  927. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.en.ts +18 -0
  928. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/labels.fr.ts +21 -0
  929. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-administrative_representing-organization/template.tsx +58 -0
  930. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +2 -2
  931. package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/template.tsx +2 -2
  932. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +2 -2
  933. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +2 -2
  934. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +2 -2
  935. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.en.ts +17 -0
  936. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/labels.fr.ts +23 -0
  937. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.admin.organization-administrative/template.tsx +63 -0
  938. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.en.ts +17 -0
  939. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/labels.fr.ts +23 -0
  940. package/templates/saas/i18n/email/resources/organizationOAuthClients/deactivate.organization-administrative/template.tsx +63 -0
  941. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +2 -2
  942. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +2 -2
  943. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.en.ts +17 -0
  944. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/labels.fr.ts +23 -0
  945. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.admin.organization-administrative/template.tsx +62 -0
  946. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.en.ts +17 -0
  947. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/labels.fr.ts +23 -0
  948. package/templates/saas/i18n/email/resources/organizationOAuthClients/reactivate.organization-administrative/template.tsx +62 -0
  949. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +2 -2
  950. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +2 -2
  951. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +2 -2
  952. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +2 -2
  953. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.en.ts +19 -0
  954. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/labels.fr.ts +25 -0
  955. package/templates/saas/i18n/email/resources/organizationOAuthClients/setAutonomousAgents.organization-administrative/template.tsx +72 -0
  956. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.en.ts +25 -0
  957. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/labels.fr.ts +25 -0
  958. package/templates/saas/i18n/email/resources/organizationProviderCredentials/releaseRouting.organization-users/template.tsx +68 -0
  959. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.en.ts +19 -0
  960. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/labels.fr.ts +22 -0
  961. package/templates/saas/i18n/email/resources/organizationRelationships/accept.organization-administrative/template.tsx +66 -0
  962. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.en.ts +18 -0
  963. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/labels.fr.ts +21 -0
  964. package/templates/saas/i18n/email/resources/organizationRelationships/amendScope.organization-administrative/template.tsx +63 -0
  965. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.en.ts +18 -0
  966. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/labels.fr.ts +21 -0
  967. package/templates/saas/i18n/email/resources/organizationRelationships/decline.organization-administrative/template.tsx +62 -0
  968. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.en.ts +18 -0
  969. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/labels.fr.ts +21 -0
  970. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_granting-organization/template.tsx +55 -0
  971. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.en.ts +17 -0
  972. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/labels.fr.ts +20 -0
  973. package/templates/saas/i18n/email/resources/organizationRelationships/endForRemovedParty.organization-administrative_representing-organization/template.tsx +53 -0
  974. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.en.ts +19 -0
  975. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/labels.fr.ts +22 -0
  976. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-granting-organization/template.tsx +63 -0
  977. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.en.ts +19 -0
  978. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/labels.fr.ts +22 -0
  979. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_expired-representing-organization/template.tsx +65 -0
  980. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.en.ts +19 -0
  981. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/labels.fr.ts +22 -0
  982. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_granting-organization/template.tsx +61 -0
  983. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.en.ts +20 -0
  984. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/labels.fr.ts +23 -0
  985. package/templates/saas/i18n/email/resources/organizationRelationships/endWithReciprocal.organization-administrative_representing-organization/template.tsx +66 -0
  986. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.en.ts +18 -0
  987. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/labels.fr.ts +21 -0
  988. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_granting-organization/template.tsx +56 -0
  989. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.en.ts +18 -0
  990. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/labels.fr.ts +21 -0
  991. package/templates/saas/i18n/email/resources/organizationRelationships/expire.organization-administrative_representing-organization/template.tsx +63 -0
  992. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.en.ts +19 -0
  993. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/labels.fr.ts +22 -0
  994. package/templates/saas/i18n/email/resources/organizationRelationships/propose.organization-administrative/template.tsx +66 -0
  995. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.en.ts +19 -0
  996. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/labels.fr.ts +22 -0
  997. package/templates/saas/i18n/email/resources/organizationRelationships/propose.withOperator.organization-administrative/template.tsx +66 -0
  998. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.en.ts +18 -0
  999. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/labels.fr.ts +21 -0
  1000. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-granting-organization/template.tsx +58 -0
  1001. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.en.ts +18 -0
  1002. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/labels.fr.ts +21 -0
  1003. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_deleting-representing-organization/template.tsx +61 -0
  1004. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
  1005. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
  1006. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-granting-organization/template.tsx +58 -0
  1007. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
  1008. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
  1009. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_revived-representing-organization/template.tsx +61 -0
  1010. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.en.ts +18 -0
  1011. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/labels.fr.ts +21 -0
  1012. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-granting-organization/template.tsx +58 -0
  1013. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.en.ts +18 -0
  1014. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/labels.fr.ts +21 -0
  1015. package/templates/saas/i18n/email/resources/organizationRelationships/recordPartyStatusStanding.organization-administrative_suspended-representing-organization/template.tsx +61 -0
  1016. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.en.ts +18 -0
  1017. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/labels.fr.ts +21 -0
  1018. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-granting-organization/template.tsx +56 -0
  1019. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.en.ts +18 -0
  1020. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/labels.fr.ts +21 -0
  1021. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_dormant-representing-organization/template.tsx +59 -0
  1022. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.en.ts +18 -0
  1023. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/labels.fr.ts +21 -0
  1024. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-granting-organization/template.tsx +57 -0
  1025. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.en.ts +18 -0
  1026. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/labels.fr.ts +21 -0
  1027. package/templates/saas/i18n/email/resources/organizationRelationships/recordTypeChangeStanding.organization-administrative_revived-representing-organization/template.tsx +59 -0
  1028. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.en.ts +19 -0
  1029. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/labels.fr.ts +22 -0
  1030. package/templates/saas/i18n/email/resources/organizationRelationships/resume.organization-administrative/template.tsx +66 -0
  1031. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.en.ts +19 -0
  1032. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/labels.fr.ts +22 -0
  1033. package/templates/saas/i18n/email/resources/organizationRelationships/suspend.organization-administrative/template.tsx +66 -0
  1034. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.en.ts +22 -0
  1035. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/labels.fr.ts +25 -0
  1036. package/templates/saas/i18n/email/resources/organizationRelationships/terminate.organization-administrative/template.tsx +73 -0
  1037. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.en.ts +19 -0
  1038. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/labels.fr.ts +22 -0
  1039. package/templates/saas/i18n/email/resources/organizationRepresentations/accept.organization-administrative/template.tsx +64 -0
  1040. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.en.ts +19 -0
  1041. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/labels.fr.ts +22 -0
  1042. package/templates/saas/i18n/email/resources/organizationRepresentations/propose.organization-administrative/template.tsx +64 -0
  1043. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.en.ts +19 -0
  1044. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/labels.fr.ts +22 -0
  1045. package/templates/saas/i18n/email/resources/organizationRepresentations/withdraw.organization-administrative/template.tsx +64 -0
  1046. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.en.ts +19 -0
  1047. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/labels.fr.ts +22 -0
  1048. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_granting-organization/template.tsx +65 -0
  1049. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.en.ts +18 -0
  1050. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/labels.fr.ts +21 -0
  1051. package/templates/saas/i18n/email/resources/organizationRepresentations/withdrawOnBehalf.organization-administrative_representing-organization/template.tsx +56 -0
  1052. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.en.ts +21 -0
  1053. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +22 -0
  1054. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/template.tsx +56 -0
  1055. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.en.ts +23 -0
  1056. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +24 -0
  1057. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/template.tsx +60 -0
  1058. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.en.ts +21 -0
  1059. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +22 -0
  1060. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/template.tsx +56 -0
  1061. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.en.ts +23 -0
  1062. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +24 -0
  1063. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/template.tsx +60 -0
  1064. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +2 -2
  1065. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +2 -2
  1066. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +2 -2
  1067. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +2 -2
  1068. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +2 -2
  1069. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +2 -2
  1070. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +2 -2
  1071. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.en.ts +26 -0
  1072. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/labels.fr.ts +29 -0
  1073. package/templates/saas/i18n/email/resources/organizations/changeType.organization-administrative/template.tsx +79 -0
  1074. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +2 -2
  1075. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +2 -2
  1076. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +2 -2
  1077. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +2 -2
  1078. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +2 -2
  1079. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +2 -2
  1080. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +2 -2
  1081. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +2 -2
  1082. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.en.ts +18 -0
  1083. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/labels.fr.ts +21 -0
  1084. package/templates/saas/i18n/email/resources/platformAccessGrants/approve.users-custom_operator/template.tsx +58 -0
  1085. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.en.ts +17 -0
  1086. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/labels.fr.ts +20 -0
  1087. package/templates/saas/i18n/email/resources/platformAccessGrants/deny.users-custom_operator/template.tsx +55 -0
  1088. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +2 -2
  1089. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.en.ts +17 -0
  1090. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/labels.fr.ts +20 -0
  1091. package/templates/saas/i18n/email/resources/platformAccessGrants/revoke.users-custom_operator/template.tsx +55 -0
  1092. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.en.ts +20 -0
  1093. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/labels.fr.ts +23 -0
  1094. package/templates/saas/i18n/email/resources/professionalQualifications/expire.organization-administrative_expired/template.tsx +49 -0
  1095. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.en.ts +19 -0
  1096. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/labels.fr.ts +22 -0
  1097. package/templates/saas/i18n/email/resources/professionalQualifications/expire.users-custom_holder/template.tsx +48 -0
  1098. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.en.ts +19 -0
  1099. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/labels.fr.ts +22 -0
  1100. package/templates/saas/i18n/email/resources/professionalQualifications/revoke.users-custom_holder/template.tsx +48 -0
  1101. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.en.ts +19 -0
  1102. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/labels.fr.ts +22 -0
  1103. package/templates/saas/i18n/email/resources/professionalQualifications/verify.users-custom_holder/template.tsx +48 -0
  1104. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.en.ts +20 -0
  1105. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/labels.fr.ts +23 -0
  1106. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.organization-administrative_expiring/template.tsx +49 -0
  1107. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.en.ts +19 -0
  1108. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/labels.fr.ts +22 -0
  1109. package/templates/saas/i18n/email/resources/professionalQualifications/warnExpiry.users-custom_holder/template.tsx +48 -0
  1110. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.en.ts +18 -0
  1111. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/labels.fr.ts +21 -0
  1112. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/expire.organization-administrative/template.tsx +60 -0
  1113. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.en.ts +19 -0
  1114. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/labels.fr.ts +22 -0
  1115. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grant.organization-administrative/template.tsx +63 -0
  1116. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.en.ts +19 -0
  1117. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/labels.fr.ts +22 -0
  1118. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/grantSecurityCritical.organization-administrative/template.tsx +63 -0
  1119. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.en.ts +18 -0
  1120. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/labels.fr.ts +21 -0
  1121. package/templates/saas/i18n/email/resources/relationshipCapabilityGrants/revoke.organization-administrative/template.tsx +60 -0
  1122. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.en.ts +18 -0
  1123. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/labels.fr.ts +21 -0
  1124. package/templates/saas/i18n/email/resources/representativeAssignments/assign.organization-administrative/template.tsx +60 -0
  1125. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.en.ts +20 -0
  1126. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/labels.fr.ts +23 -0
  1127. package/templates/saas/i18n/email/resources/representativeAssignments/settleGrantorApproval.organization-administrative/template.tsx +60 -0
  1128. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.en.ts +18 -0
  1129. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/labels.fr.ts +21 -0
  1130. package/templates/saas/i18n/email/resources/representativeAssignments/unassign.organization-administrative/template.tsx +60 -0
  1131. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.en.ts +17 -0
  1132. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +18 -0
  1133. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/template.tsx +48 -0
  1134. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.en.ts +17 -0
  1135. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +18 -0
  1136. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/template.tsx +48 -0
  1137. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.en.ts +20 -0
  1138. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +21 -0
  1139. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/template.tsx +54 -0
  1140. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.en.ts +22 -0
  1141. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +23 -0
  1142. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/template.tsx +58 -0
  1143. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.en.ts +20 -0
  1144. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +21 -0
  1145. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/template.tsx +54 -0
  1146. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.en.ts +22 -0
  1147. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +23 -0
  1148. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/template.tsx +58 -0
  1149. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +2 -2
  1150. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +2 -2
  1151. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +2 -2
  1152. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +7 -7
  1153. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +2 -2
  1154. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +2 -2
  1155. package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +2 -2
  1156. package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +2 -2
  1157. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +2 -2
  1158. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +2 -2
  1159. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +2 -2
  1160. package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +2 -2
  1161. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +2 -2
  1162. package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +2 -2
  1163. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +2 -2
  1164. package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +6 -8
  1165. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +6 -8
  1166. package/templates/saas/i18n/email/system/new-device-login/template.tsx +25 -26
  1167. package/templates/saas/i18n/email/system/operation-approval-ended/labels.en.ts +40 -0
  1168. package/templates/saas/i18n/email/system/operation-approval-ended/labels.fr.ts +43 -0
  1169. package/templates/saas/i18n/email/system/operation-approval-ended/template.tsx +72 -0
  1170. package/templates/saas/i18n/email/system/relationship-invitation/labels.en.ts +18 -0
  1171. package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +22 -0
  1172. package/templates/saas/i18n/email/system/relationship-invitation/template.tsx +66 -0
  1173. package/templates/saas/i18n/email/system/security-alert/labels.en.ts +5 -0
  1174. package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +13 -8
  1175. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -2
  1176. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -2
  1177. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +5 -5
  1178. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +5 -5
  1179. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.en.ts +3 -1
  1180. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_SIDEBAR.fr.ts +3 -1
  1181. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.en.ts +1 -1
  1182. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_STATUS_BAR.fr.ts +1 -1
  1183. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +6 -2
  1184. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +6 -2
  1185. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.en.ts +0 -1
  1186. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.ts +0 -1
  1187. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.ts +28 -0
  1188. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.ts +28 -0
  1189. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +55 -0
  1190. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +55 -0
  1191. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +47 -10
  1192. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +47 -10
  1193. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +12 -1
  1194. package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +12 -1
  1195. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +38 -0
  1196. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +38 -0
  1197. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +11 -1
  1198. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +11 -1
  1199. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.en.ts +2 -1
  1200. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SETTINGS_HUB.fr.ts +2 -1
  1201. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +1 -9
  1202. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +1 -9
  1203. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.en.ts +5 -10
  1204. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ACTOR.fr.ts +5 -10
  1205. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +1 -1
  1206. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +1 -1
  1207. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +28 -9
  1208. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +28 -9
  1209. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.ts +1 -1
  1210. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.ts +1 -1
  1211. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.en.ts +1 -1
  1212. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION.fr.ts +1 -1
  1213. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +92 -0
  1214. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +92 -0
  1215. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.en.ts +1 -1
  1216. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DECISION.fr.ts +1 -1
  1217. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.en.ts +5 -5
  1218. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.ts +5 -5
  1219. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.ts +4 -7
  1220. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.ts +4 -7
  1221. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +21 -0
  1222. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +21 -0
  1223. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.ts +2 -9
  1224. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.ts +2 -9
  1225. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.en.ts +1 -9
  1226. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_FLOW_NODE.fr.ts +1 -9
  1227. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.ts +29 -0
  1228. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.ts +29 -0
  1229. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +3 -2
  1230. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +3 -2
  1231. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +1 -1
  1232. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +1 -1
  1233. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +5 -4
  1234. package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +5 -4
  1235. package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.en.ts +14 -0
  1236. package/templates/saas/i18n/engine/components/LOW_LEVEL_CHIPS_INPUT.fr.ts +14 -0
  1237. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -3
  1238. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -3
  1239. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.en.ts +11 -0
  1240. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATEPICKER.fr.ts +11 -0
  1241. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.en.ts +11 -0
  1242. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_PICKER.fr.ts +11 -0
  1243. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.ts +2 -1
  1244. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.ts +2 -1
  1245. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.en.ts +11 -0
  1246. package/templates/saas/i18n/engine/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.ts +11 -0
  1247. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +1 -1
  1248. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +1 -1
  1249. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.ts +1 -1
  1250. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.ts +1 -1
  1251. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.ts +1 -1
  1252. package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.ts +1 -1
  1253. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.ts +12 -0
  1254. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.ts +12 -0
  1255. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.ts +2 -2
  1256. package/templates/saas/i18n/engine/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.ts +2 -2
  1257. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.en.ts +1 -1
  1258. package/templates/saas/i18n/engine/components/LOW_LEVEL_FILE_UPLOAD.fr.ts +1 -1
  1259. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +14 -4
  1260. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +14 -4
  1261. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +1 -1
  1262. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +1 -1
  1263. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.en.ts +1 -1
  1264. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_CODE.fr.ts +1 -1
  1265. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.en.ts +11 -0
  1266. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.ts +11 -0
  1267. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +5 -5
  1268. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +5 -5
  1269. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.en.ts +11 -0
  1270. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.ts +11 -0
  1271. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.ts +11 -0
  1272. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.ts +11 -0
  1273. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.en.ts +6 -6
  1274. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_MESSAGE.fr.ts +6 -6
  1275. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.en.ts +1 -1
  1276. package/templates/saas/i18n/engine/components/LOW_LEVEL_SELECT_MULTIPLE.fr.ts +1 -1
  1277. package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.en.ts +12 -0
  1278. package/templates/saas/i18n/engine/components/LOW_LEVEL_STEPPER.fr.ts +12 -0
  1279. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.en.ts +2 -1
  1280. package/templates/saas/i18n/engine/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.ts +2 -1
  1281. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.ts +31 -0
  1282. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.ts +31 -0
  1283. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.ts +29 -0
  1284. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.ts +29 -0
  1285. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +5 -1
  1286. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +5 -1
  1287. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.en.ts +2 -2
  1288. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.ts +2 -2
  1289. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.ts +2 -2
  1290. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.ts +2 -2
  1291. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.en.ts +2 -2
  1292. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.ts +2 -2
  1293. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.ts +5 -2
  1294. package/templates/saas/i18n/engine/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.ts +5 -2
  1295. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.en.ts +2 -1
  1296. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_ACTION.fr.ts +3 -2
  1297. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.en.ts +3 -1
  1298. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_CREATE.fr.ts +3 -1
  1299. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +4 -5
  1300. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -5
  1301. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +5 -5
  1302. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +6 -6
  1303. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +6 -5
  1304. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +6 -5
  1305. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.ts +29 -0
  1306. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.ts +29 -0
  1307. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.en.ts +0 -1
  1308. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_SEARCH.fr.ts +0 -1
  1309. package/templates/saas/i18n/engine/components/guidance_checklist.en.ts +1 -1
  1310. package/templates/saas/i18n/engine/components/guidance_checklist.fr.ts +1 -1
  1311. package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +1 -1
  1312. package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +1 -1
  1313. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +334 -0
  1314. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +334 -0
  1315. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +397 -0
  1316. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +397 -0
  1317. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -0
  1318. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +8 -0
  1319. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +55 -0
  1320. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +55 -0
  1321. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +16 -0
  1322. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +16 -0
  1323. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +5 -2
  1324. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +35 -32
  1325. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +20 -4
  1326. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +20 -4
  1327. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +405 -21
  1328. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +405 -21
  1329. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +8 -0
  1330. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -0
  1331. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +104 -0
  1332. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +104 -0
  1333. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +16 -0
  1334. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +16 -0
  1335. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +5 -2
  1336. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +23 -20
  1337. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -0
  1338. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +14 -0
  1339. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +43 -24
  1340. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +43 -24
  1341. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +8 -0
  1342. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +8 -0
  1343. package/templates/saas/i18n/engine/resources/applications.en.ts +336 -0
  1344. package/templates/saas/i18n/engine/resources/applications.fr.ts +336 -0
  1345. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +39 -7
  1346. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +39 -7
  1347. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +486 -0
  1348. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +486 -0
  1349. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +271 -0
  1350. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +271 -0
  1351. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +10 -2
  1352. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +10 -2
  1353. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +140 -11
  1354. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +140 -11
  1355. package/templates/saas/i18n/engine/resources/documentSequenceCounters.en.ts +69 -0
  1356. package/templates/saas/i18n/engine/resources/documentSequenceCounters.fr.ts +69 -0
  1357. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +46 -1
  1358. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +46 -1
  1359. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +16 -0
  1360. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +16 -0
  1361. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +72 -48
  1362. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +72 -48
  1363. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +2 -1
  1364. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +2 -1
  1365. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +26 -3
  1366. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +26 -3
  1367. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +160 -0
  1368. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +160 -0
  1369. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +180 -2
  1370. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +180 -2
  1371. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +24 -0
  1372. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +24 -0
  1373. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +422 -0
  1374. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +422 -0
  1375. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +153 -7
  1376. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +153 -7
  1377. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +2 -1
  1378. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +2 -1
  1379. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +23 -0
  1380. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +23 -0
  1381. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
  1382. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
  1383. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
  1384. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
  1385. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +8 -0
  1386. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +8 -0
  1387. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +478 -0
  1388. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +478 -0
  1389. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +16 -0
  1390. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +16 -0
  1391. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +5 -2
  1392. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +36 -33
  1393. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +16 -0
  1394. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +16 -0
  1395. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +153 -0
  1396. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +153 -0
  1397. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +1 -1
  1398. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -9
  1399. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -9
  1400. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +405 -21
  1401. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +405 -21
  1402. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +8 -0
  1403. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -0
  1404. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +104 -0
  1405. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +104 -0
  1406. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +16 -0
  1407. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +16 -0
  1408. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +13 -5
  1409. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +31 -23
  1410. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +5 -2
  1411. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +18 -15
  1412. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +19 -0
  1413. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +19 -0
  1414. package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.en.ts → organizationRelationships.en.ts} +220 -37
  1415. package/templates/saas/i18n/engine/resources/{serviceProviderRelationships.fr.ts → organizationRelationships.fr.ts} +204 -21
  1416. package/templates/saas/i18n/engine/resources/{serviceEngagements.en.ts → organizationRepresentations.en.ts} +97 -84
  1417. package/templates/saas/i18n/engine/resources/{serviceEngagements.fr.ts → organizationRepresentations.fr.ts} +75 -62
  1418. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +8 -0
  1419. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +8 -0
  1420. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +14 -0
  1421. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +14 -0
  1422. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +68 -49
  1423. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +68 -49
  1424. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -2
  1425. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +9 -9
  1426. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +8 -0
  1427. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +8 -0
  1428. package/templates/saas/i18n/engine/resources/organizations.en.ts +71 -11
  1429. package/templates/saas/i18n/engine/resources/organizations.fr.ts +71 -11
  1430. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +42 -0
  1431. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +42 -0
  1432. package/templates/saas/i18n/engine/resources/promotions.en.ts +28 -0
  1433. package/templates/saas/i18n/engine/resources/promotions.fr.ts +28 -0
  1434. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +50 -0
  1435. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +50 -0
  1436. package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.en.ts → relationshipCapabilityGrants.en.ts} +19 -3
  1437. package/templates/saas/i18n/engine/resources/{serviceProviderCapabilityGrants.fr.ts → relationshipCapabilityGrants.fr.ts} +40 -24
  1438. package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.en.ts → relationshipInvitations.en.ts} +137 -55
  1439. package/templates/saas/i18n/engine/resources/{serviceProviderActivityFeed.fr.ts → relationshipInvitations.fr.ts} +137 -55
  1440. package/templates/saas/i18n/engine/resources/{clientMailboxes.en.ts → relationshipMailboxes.en.ts} +35 -35
  1441. package/templates/saas/i18n/engine/resources/{clientMailboxes.fr.ts → relationshipMailboxes.fr.ts} +39 -39
  1442. package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.en.ts → representativeAssignments.en.ts} +43 -6
  1443. package/templates/saas/i18n/engine/resources/{serviceEngagementAssignments.fr.ts → representativeAssignments.fr.ts} +43 -6
  1444. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +16 -0
  1445. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +16 -0
  1446. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +16 -0
  1447. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +16 -0
  1448. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +405 -21
  1449. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +405 -21
  1450. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +8 -0
  1451. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -0
  1452. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +19 -0
  1453. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +19 -0
  1454. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -0
  1455. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -0
  1456. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -0
  1457. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -0
  1458. package/templates/saas/i18n/engine/resources/user_self.en.ts +112 -38
  1459. package/templates/saas/i18n/engine/resources/user_self.fr.ts +125 -51
  1460. package/templates/saas/i18n/engine/resources/users.en.ts +15 -15
  1461. package/templates/saas/i18n/engine/resources/users.fr.ts +11 -11
  1462. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +27 -11
  1463. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +27 -3
  1464. package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +134 -0
  1465. package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +134 -0
  1466. package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.en.ts +134 -0
  1467. package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +134 -0
  1468. package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +134 -0
  1469. package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +134 -0
  1470. package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +27 -11
  1471. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +27 -3
  1472. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +27 -11
  1473. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +27 -3
  1474. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +8 -0
  1475. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +8 -0
  1476. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -0
  1477. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
  1478. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +209 -0
  1479. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +209 -0
  1480. package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +702 -0
  1481. package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +702 -0
  1482. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +120 -0
  1483. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +120 -0
  1484. package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +174 -0
  1485. package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +174 -0
  1486. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +32 -0
  1487. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +32 -0
  1488. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +64 -0
  1489. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +64 -0
  1490. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +183 -0
  1491. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +183 -0
  1492. package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +254 -0
  1493. package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +254 -0
  1494. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +32 -0
  1495. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +32 -0
  1496. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +40 -0
  1497. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +40 -0
  1498. package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +58 -34
  1499. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +58 -26
  1500. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +40 -0
  1501. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +40 -0
  1502. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +96 -0
  1503. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +96 -0
  1504. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +736 -0
  1505. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +736 -0
  1506. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +40 -0
  1507. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +40 -0
  1508. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +232 -0
  1509. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +232 -0
  1510. package/templates/saas/scenarios/add-3d-layout/scenario.json +2 -2
  1511. package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +1 -1
  1512. package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -0
  1513. package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +4 -4
  1514. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +1 -1
  1515. package/templates/saas/scenarios/add-file-picker-provider/scenario.json +2 -0
  1516. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +37 -10
  1517. package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +6 -2
  1518. package/templates/saas/scenarios/add-locale/scenario.json +5 -3
  1519. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +6 -2
  1520. package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +2 -0
  1521. package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +16 -44
  1522. package/templates/saas/scenarios/add-marketing-page/scenario.json +72 -18
  1523. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +4 -4
  1524. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +6 -1
  1525. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +4 -4
  1526. package/templates/saas/scenarios/add-minion/scenario.json +3 -3
  1527. package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +2 -0
  1528. package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +2 -2
  1529. package/templates/saas/scenarios/add-module/scenario.json +7 -0
  1530. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +1 -1
  1531. package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +7 -7
  1532. package/templates/saas/scenarios/add-resource/scenario.json +2 -1
  1533. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +10 -4
  1534. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +4 -3
  1535. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/substitute-api-origin.mjs +64 -0
  1536. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +11 -1
  1537. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +2 -2
  1538. package/templates/saas/scenarios/add-technical-doc/scenario.json +2 -2
  1539. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +49 -6
  1540. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
  1541. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -6
  1542. package/templates/saas/scenarios/add-website/files/website/src/brand-theme.ts +66 -0
  1543. package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +27 -14
  1544. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +15 -100
  1545. package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +9 -7
  1546. package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +3 -3
  1547. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +19 -9
  1548. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +6 -2
  1549. package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +3 -1
  1550. package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +3 -1
  1551. package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +5 -9
  1552. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +22 -58
  1553. package/templates/saas/scenarios/add-website/files/website/src/site-menu.ts +47 -0
  1554. package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +53 -404
  1555. package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +34 -45
  1556. package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +5 -4
  1557. package/templates/saas/scenarios/add-website/scenario.json +1 -1
  1558. package/templates/saas/scenarios/add-website-section/scenario.json +17 -7
  1559. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +2 -2
  1560. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
  1561. package/templates/saas/scenarios/add-worker-node/scenario.json +1 -1
  1562. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +1 -1
  1563. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +9 -2
  1564. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +3 -3
  1565. package/templates/saas/skeleton/CLAUDE.md.hbs +8 -0
  1566. package/templates/saas/skeleton/backend-api/Dockerfile +2 -1
  1567. package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +13 -4
  1568. package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +13 -1
  1569. package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +1 -1
  1570. package/templates/saas/skeleton/backend-api/src/engine/index.ts +2 -1
  1571. package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +5 -0
  1572. package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +2 -13
  1573. package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +35 -125
  1574. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +14 -12
  1575. package/templates/saas/skeleton/frontend/src/index.css.hbs +145 -130
  1576. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +2 -0
  1577. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +35 -0
  1578. package/templates/saas/skeleton/gitignore +1 -0
  1579. package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +10 -2
  1580. package/templates/saas/skeleton/specifications/src/companion-exports.ts +28 -3
  1581. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +53 -20
  1582. package/wildo-framework.info.json +1 -1
  1583. package/dist/src/services/registry/registry-config-resolver.service.d.ts +0 -62
  1584. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +0 -1
  1585. package/dist/src/services/registry/registry-config-resolver.service.js +0 -148
  1586. package/dist/src/services/registry/registry-config-resolver.service.js.map +0 -1
  1587. package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +0 -15
  1588. package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +0 -21
  1589. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +0 -66
  1590. package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +0 -16
  1591. package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +0 -21
  1592. package/templates/saas/i18n/email/system/payment-failed/template.tsx +0 -59
  1593. package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +0 -15
  1594. package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +0 -20
  1595. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +0 -56
  1596. package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +0 -14
  1597. package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +0 -21
  1598. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +0 -60
  1599. package/templates/saas/i18n/engine/resources/applicationScimTokens.en.ts +0 -240
  1600. package/templates/saas/i18n/engine/resources/applicationScimTokens.fr.ts +0 -345
  1601. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +0 -209
  1602. package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +0 -209
  1603. package/templates/saas/i18n/engine/resources/wildoApplication.en.ts +0 -590
  1604. package/templates/saas/i18n/engine/resources/wildoApplication.fr.ts +0 -574
  1605. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.en.ts +0 -293
  1606. package/templates/saas/i18n/engine/resources/wildoApplicationVersions.fr.ts +0 -293
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-bootstrap.service.js","sourceRoot":"","sources":["../../../../../../src/services/environment/runtime-bootstrap.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AAEH,OAAO,EAAE,UA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B,CAAC;QAED,IAAI,YAAY,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,qBAAqB,EAAE,CAAC;YACtD,MAAM,WAAW,GAAG,gBAAgB,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC/D,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,MAAM,IAAI,KAAK,CACb,4BAA4B,UAAU,CAAC,kBAAkB,SAAS,GAAG,CAAC,IAAI,6CAA6C;sBACrH,mGAAmG,CACtG,CAAC;YACJ,CAAC;YACD,wBAAwB,CAAC,GAAG,EAAE,oBAAoB,EAAE,WAAW,CAAC,CAAC;YACjE,GAAG,CAAC,IAAI,CACN,qBAAqB;gBACnB,CAAC,CAAC,kBAAkB,UAAU,CAAC,kBAAkB,8CAA8C;gBAC/F,CAAC,CAAC,yBAAyB,UAAU,CAAC,kBAAkB,iDAAiD,CAC5G,CAAC;YACF,YAAY,GAAG,IAAI,CAAC;QACtB,CAAC;QAED,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,CAAC;IAC9C,CAAC;CACF","sourcesContent":["/**\n * runtime-bootstrap — headless self-healing pre-flight for `wildo local up`.\n *\n * Background. Before this service existed, the only paths that wrote the\n * Docker Compose runtime artifacts (`config.json`,\n * `docker-compose.wildo-platform.yml`, `.env.wildo-platform`) were:\n * 1. The interactive `wildo setup` flow (rejects `--non-interactive`).\n * 2. The post-bootstrap `wildo config sync --domain manifest` /\n * `wildo config sync` flow, which assumes the artifacts already exist\n * and additionally tries to reach apps-manager (circular: apps-manager\n * cannot start until the compose stack is up, but the compose stack\n * cannot render until config sync ran).\n *\n * That left the \"fresh clone of an existing app + `wildo local up`\" loop\n * stuck on hand-edited `config.json` / `.env.wildo-platform` files — exactly\n * the zero-touch greenfield experience the operator expects.\n *\n * What this service does. Right before `wildo local up` invokes\n * `ContextManager.resolveInfraContext` (which fail-loud-checks the compose\n * file presence), we:\n * - Re-load the authored `wildo.infra.<env>.config.ts` and rehydrate the\n * in-memory env state (`backingServices`, `serviceAuth`, `runtime`,\n * `runtimeEnvironment`, `database`, `publicDomain`, `kubernetes`,\n * `logging`) so the authored source-of-truth wins over a stale\n * `environments.json` snapshot.\n * - If `config.json` is missing, project the authored config through\n * {@link buildConfigJsonFromInfraEnvConfig} (the same projection\n * `wildo config sync --domain manifest` uses) and write it.\n * - For DOCKER_COMPOSE runtimes only, if the compose template render or\n * the `.env.wildo-platform` env file is missing, render them via the\n * same generators `runInfraWrite` calls during the interactive setup\n * flow.\n *\n * Single source of truth. The projection, rendering and env-file generation\n * are all delegated to the existing services — this file only orchestrates.\n * Result: artifacts produced here are byte-identical to the ones a later\n * `wildo config sync --domain manifest` (or interactive `wildo setup`) would\n * produce.\n *\n * Atlas / managed-Mongo guard. When the authored config cannot serve as a\n * `config.json` fallback (today: ATLAS-backed Mongo, which needs API\n * metadata not present in the authored descriptor), we surface the same\n * reason string used by `sync.command.ts` and abort — there is nothing\n * useful we can self-heal in that case.\n *\n * Secrets handling. We never ROTATE `secrets.json` here — rotation is\n * destructive and stays behind `wildo config sync --rotate-secrets`. We DO\n * provision missing framework-managed material (see\n * {@link SecretsProvisioning.ensureForEnvironment}), which is the additive\n * mirror image of everything else this pre-flight does: mint only what is\n * absent, never touch what exists. Without it, a material introduced after an\n * environment was set up never reaches that environment — which is exactly how\n * the immudb state-signing keypair stayed missing and left the audit store's\n * whole-server-substitution defense off. Operator-typed secrets still require\n * interactive authoring: if `secrets.json` is missing entirely, the\n * `.env.wildo-platform` step throws with a clear hint to run `wildo setup` (or\n * restore from a backup).\n *\n * Shared with `wildo config sync`. The authored-infra → generated-config\n * reconciliation primitives ({@link RuntimeBootstrap.refreshEnvFromAuthored}\n * + the config.json projection write) are ALSO the source of truth for\n * `config sync`, exposed via {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}.\n * The two callers differ ONLY in write policy:\n * - `local up` self-heal ({@link RuntimeBootstrap.ensureLocalRuntimeArtifacts})\n * writes config.json / compose ONLY when missing — an idempotent\n * pre-flight that must not churn `environments.json`'s `updatedAt` or the\n * compose file on every invocation.\n * - `config sync` reconcile ALWAYS regenerates config.json from the authored\n * descriptor — it is an explicit \"make authored infra the source of truth\"\n * command, so a stale-but-present config.json (e.g. a pre-`backingServices`\n * snapshot missing a newly-authored `immudb` service) is deterministically\n * rewritten before the compose / env-file steps read it.\n */\n\nimport { existsSync, writeFileSync } from 'fs';\nimport { join } from 'path';\n\nimport {\n PUBLIC_DOMAIN_DEFAULTS,\n WildoDeploymentRuntime,\n WildoLocationType,\n} from '@wildo-ai/platform-config-lib';\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { FileUtils } from '~wildo-cli/infrastructure/io/file.utils';\nimport {\n buildConfigJsonFromInfraEnvConfig,\n getUnsupportedAuthoredConfigFallbackReason,\n loadAuthoredInfraEnvConfig,\n} from '~wildo-cli/services/environment/authored-infra-config.utils';\nimport {\n generateEnvWildoPlatform,\n renderDockerComposeTemplate,\n isComposeHostMountedArtifactMissing,\n} from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport type { FrameworkManagedSecretMaterialRef } from '~wildo-cli/services/credentials/framework-managed-secrets';\nimport {\n SecretsProvisioning,\n SecretsProvisioningStatus,\n} from '~wildo-cli/services/credentials/secrets-provisioning.service';\nimport { EnvironmentLifecycle } from '~wildo-cli/services/environment/environment-lifecycle.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\n\n/**\n * Summary of what the runtime-bootstrap pre-flight wrote on disk during this\n * invocation. Returned to call sites so they can decide whether to log a\n * \"self-healed N artifacts\" line and so tests can assert on the exact\n * deltas without inspecting the filesystem twice.\n */\nexport interface RuntimeBootstrapResult {\n /** Authored env state was re-projected onto `environments.json`. */\n refreshedEnvState: boolean;\n /** `config.json` was missing and has just been written. */\n wroteConfigJson: boolean;\n /**\n * Docker Compose template was written — because it was missing, or because newly\n * provisioned secret material made the existing render stale.\n */\n wroteDockerCompose: boolean;\n /**\n * `.env.wildo-platform` was written — because it was missing, or because newly\n * provisioned secret material made the existing file stale.\n */\n wroteEnvFile: boolean;\n /**\n * Framework-managed credential materials that were absent from `secrets.json` and have\n * just been minted (empty on a fully provisioned environment). Non-empty means the\n * compose render + platform env file were regenerated to carry the new material.\n */\n mintedSecretMaterials: FrameworkManagedSecretMaterialRef[];\n}\n\nconst NO_OP_RESULT: RuntimeBootstrapResult = {\n refreshedEnvState: false,\n wroteConfigJson: false,\n wroteDockerCompose: false,\n wroteEnvFile: false,\n mintedSecretMaterials: [],\n};\n\n/**\n * Pre-flight ensures the runtime artifacts `wildo local up` depends on\n * exist on disk for the given environment, generating them from the\n * authored `wildo.infra.<env>.config.ts` when missing. See file header\n * for the full rationale.\n *\n * Pre-conditions:\n * - `env` is the in-memory environment from `ctx.activeEnv` (already\n * seeded by `ExistingAppBootstrapService`).\n * - `saasRoot` is the resolved targeted-app declaration root.\n *\n * Post-conditions on success:\n * - In-memory env state mirrors the authored infra descriptor.\n * - `config.json` exists in the env's resolved config dir.\n * - For DOCKER_COMPOSE runtimes, the compose render and\n * `.env.wildo-platform` exist in the env's docker-compose dir.\n *\n * Throws when the authored descriptor is missing (the operator must\n * author or restore one) or when secrets are required and absent.\n */\nexport interface RuntimeBootstrapInput {\n env: PlatformEnvironmentConfiguration;\n saasRoot: string;\n /**\n * Framework checkout root — required only for `DOCKER_COMPOSE` runtimes\n * because the compose template render needs to locate the Handlebars\n * template directory under the framework repo. Pass `null` if not\n * available; for K8s envs this preflight does not need it.\n */\n frameworkPath: string | null;\n isFrameworkDeveloper: boolean;\n log: Logger;\n}\n\n/**\n * Outcome of {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}.\n * A TS enum (not a literal-string union) so callers get autocomplete +\n * refactor-safety when branching on the result.\n */\nexport enum RuntimeConfigReconcileStatus {\n /** Env-state + `config.json` were regenerated from the authored descriptor. */\n RECONCILED = 'reconciled',\n /** Env is not LOCAL — remote/CI keep their generated / reconstructed config.json. */\n SKIPPED_NON_LOCAL = 'skipped-non-local',\n /** No authored `wildo.infra.<env>.config.ts` exists to reconcile from. */\n NO_AUTHORED_CONFIG = 'no-authored-config',\n /**\n * Authored descriptor cannot fully serve as the config.json source of truth\n * (today: Atlas-backed Mongo, whose generated config.json carries API\n * metadata + external endpoints the authored descriptor omits). The existing\n * generated config.json is left untouched.\n */\n SKIPPED_UNSUPPORTED = 'skipped-unsupported',\n}\n\nexport type RuntimeConfigReconcileResult =\n | {\n status: RuntimeConfigReconcileStatus.RECONCILED;\n /**\n * True when the persisted env-registry snapshot actually changed\n * (conservative diff) — false when the env was already current and only\n * `config.json` was rewritten. (config.json is unconditionally rewritten\n * for RECONCILED, so there is no separate flag for it.)\n */\n refreshedEnvState: boolean;\n }\n | { status: RuntimeConfigReconcileStatus.SKIPPED_NON_LOCAL }\n | { status: RuntimeConfigReconcileStatus.NO_AUTHORED_CONFIG }\n | { status: RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED; reason: string };\n\nexport class RuntimeBootstrap {\n /**\n * Reconcile the two generated INPUTS that `wildo config sync` (and the\n * compose / env-file renderers it drives) read as the source of truth for\n * backing services / ports / sources:\n * - the persisted env-registry snapshot (`environments.json`), refreshed\n * in place via {@link RuntimeBootstrap.refreshEnvFromAuthored}; and\n * - the generated `config.json`, ALWAYS rewritten from the authored\n * `wildo.infra.<env>.config.ts` projection.\n *\n * Root fix for the stale-config-json bug: `config sync` used to read a\n * generated `config.json` (and `environments.json`) that it never refreshed\n * from the authored descriptor, so an authored change (e.g. adding an\n * `immudb` backing service) never reached the generated docker-compose.\n * Calling this BEFORE any sync domain consumes those inputs makes the\n * authored `.ts` the deterministic source of truth every run.\n *\n * Unlike {@link RuntimeBootstrap.ensureLocalRuntimeArtifacts} (the `local up`\n * self-heal) this does NOT render the compose / env-file artifacts — it only\n * refreshes their inputs. It also does NOT touch remote/CI environments,\n * which legitimately reconstruct `config.json` from env vars / a sibling\n * secrets repo (see the LOCAL guard below and the Atlas carve-out).\n *\n * Fail-soft by contract: returns a status the caller inspects; never throws\n * for the \"no authored descriptor\" or \"Atlas\" cases. It DOES surface a throw\n * from {@link loadAuthoredInfraEnvConfig} (broken / env-mismatched `.ts`) so\n * the caller can decide — `config sync` treats authored-load/schema failures\n * as fatal and does not run later domains against an old snapshot. Logging is intentionally the\n * caller's concern (it emits status-specific messages off the returned\n * result), so no `log` is taken here.\n */\n static async reconcileGeneratedConfigFromAuthored(input: {\n env: PlatformEnvironmentConfiguration;\n saasRoot: string;\n }): Promise<RuntimeConfigReconcileResult> {\n const { env, saasRoot } = input;\n\n if (env.locationType !== WildoLocationType.LOCAL) {\n return { status: RuntimeConfigReconcileStatus.SKIPPED_NON_LOCAL };\n }\n\n const loaded = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!loaded) {\n return { status: RuntimeConfigReconcileStatus.NO_AUTHORED_CONFIG };\n }\n\n const fallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n env.name,\n loaded.path,\n loaded.config,\n );\n if (fallbackReason) {\n return { status: RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED, reason: fallbackReason };\n }\n\n const refreshedEnvState = RuntimeBootstrap.refreshEnvFromAuthored(env, loaded.config);\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, loaded.config);\n\n return {\n status: RuntimeConfigReconcileStatus.RECONCILED,\n refreshedEnvState,\n };\n }\n\n static async ensureLocalRuntimeArtifacts(\n input: RuntimeBootstrapInput,\n ): Promise<RuntimeBootstrapResult> {\n const { env, saasRoot, frameworkPath, isFrameworkDeveloper, log } = input;\n\n if (env.locationType !== WildoLocationType.LOCAL) {\n return NO_OP_RESULT;\n }\n\n const loaded = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!loaded) {\n throw new Error(\n `Cannot bootstrap runtime artifacts for '${env.name}': no authored infra descriptor found.\\n`\n + ` Expected: <saasRoot>/infrastructure/${env.name}/wildo.infra.${env.name === 'local' ? 'local' : 'remote'}.config.ts`,\n );\n }\n\n const fallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n env.name,\n loaded.path,\n loaded.config,\n );\n if (fallbackReason) {\n throw new Error(`${fallbackReason}\\n Run 'wildo setup' to author '${env.name}' interactively.`);\n }\n\n const refreshedEnvState = RuntimeBootstrap.refreshEnvFromAuthored(env, loaded.config);\n\n const wroteConfigJson = RuntimeBootstrap.ensureConfigJson(env, loaded.config, log);\n\n // Mint any framework-managed credential material this environment predates, BEFORE\n // the compose render / env-file generation read `secrets.json` — those artifacts\n // project the material (e.g. the immudb `--signingKey` mount), so provisioning after\n // them would leave the freshly minted key stranded until the next command.\n const mintedSecretMaterials = RuntimeBootstrap.provisionFrameworkManagedSecrets(env, log);\n\n let wroteDockerCompose = false;\n let wroteEnvFile = false;\n\n // A HOSTED environment renders no compose project and no `.env.wildo-platform`: both are its host's,\n // and a render here would describe the host's containers over this application's `local_data`.\n if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE && loaded.config.infrastructureHost === undefined) {\n const composeArtifacts = await RuntimeBootstrap.ensureDockerComposeArtifacts(\n env,\n frameworkPath,\n isFrameworkDeveloper,\n log,\n // Newly minted material invalidates any existing render: the compose file gates\n // the immudb `--signingKey` block on the key file it materializes from\n // secrets.json, and `.env.wildo-platform` carries generated service credentials.\n // \"Write only when missing\" would otherwise leave the environment provisioned on\n // paper but still running the degraded artifacts.\n //\n // A MISSING HOST-MOUNTED ARTIFACT forces the render for the same reason, and it is the case\n // the mint condition above cannot see. The render materializes files that compose\n // BIND-MOUNTS, but it is skipped whenever the compose file already exists — and a data reset\n // deletes those files while leaving the compose file untouched. Docker then creates a\n // DIRECTORY at each missing mount source instead of failing, so the container starts and\n // dies on something that reads nothing like a mounting problem.\n //\n // Observed 2026-08-22 on the first cold start after a full `local_data` reset:\n // `wildo local dev` failed at `container wildo-immudb is unhealthy`, because immudb found a\n // directory where its `--signingKey` file belongs. Nothing had been newly minted — the key\n // lives in the authored `secrets.json`, which survives a data reset — so no condition here\n // forced the re-render that would have written it back.\n mintedSecretMaterials.length > 0\n || isComposeHostMountedArtifactMissing(env, EnvironmentPaths.resolveScopedLocalDataDir(saasRoot)),\n );\n wroteDockerCompose = composeArtifacts.wroteDockerCompose;\n wroteEnvFile = composeArtifacts.wroteEnvFile;\n }\n\n return {\n refreshedEnvState,\n wroteConfigJson,\n wroteDockerCompose,\n wroteEnvFile,\n mintedSecretMaterials,\n };\n }\n\n /**\n * Additive `secrets.json` self-heal: mint every framework-managed credential material\n * the environment is missing and persist it. Returns the minted material refs so the\n * caller can invalidate the derived artifacts that project them.\n *\n * Fail-soft. A missing/unreadable `secrets.json` is NOT handled here — the downstream\n * `.env.wildo-platform` step already fails with the actionable \"run `wildo setup`\"\n * message, and pre-empting it with a second error would only bury that guidance.\n */\n private static provisionFrameworkManagedSecrets(\n env: PlatformEnvironmentConfiguration,\n log: Logger,\n ): FrameworkManagedSecretMaterialRef[] {\n const outcome = SecretsProvisioning.ensureForEnvironment(env.name);\n if (outcome.status !== SecretsProvisioningStatus.PROVISIONED) {\n return [];\n }\n\n log.info(\n ` Provisioned ${outcome.mintedRefs.length} missing framework-managed secret material(s) for '${env.name}': `\n + `${outcome.mintedRefs.join(', ')}.`,\n );\n return outcome.mintedRefs;\n }\n\n /**\n * Rehydrate the in-memory env from the authored infra descriptor so a\n * stale `environments.json` cannot mask a fresh authored change. We\n * mutate in place AND persist via {@link EnvironmentLifecycle.updateEnvironmentState}\n * so subsequent reads (compose generator, env-vars builder, address\n * resolver) all see the same source-of-truth.\n *\n * Conservative diff. We only persist when at least one tracked field\n * actually changed — re-running `wildo local up` against a fully synced\n * state must remain a no-op so we don't churn `environments.json`'s\n * `updatedAt` on every invocation.\n */\n private static refreshEnvFromAuthored(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n ): boolean {\n const seededRuntime = authored.runtime ?? env.runtime;\n const seededRuntimeEnvironment = authored.runtimeEnvironment ?? env.runtimeEnvironment;\n const seededPublicDomain = authored.publicDomain\n ?? env.publicDomain\n ?? (seededRuntime === WildoDeploymentRuntime.KUBERNETES\n ? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S\n : PUBLIC_DOMAIN_DEFAULTS.LOCAL_COMPOSE);\n\n const next: PlatformEnvironmentConfiguration = {\n ...env,\n runtime: seededRuntime,\n runtimeEnvironment: seededRuntimeEnvironment,\n publicDomain: seededPublicDomain,\n /**\n * Always defined on the authored descriptor — its transform resolves the `locationType`\n * default — so there is no `?? env.` fallback to write here, unlike `runtime` above. Paired\n * with the `diffSelector` entry, per the rule stated there.\n */\n localDataStorage: authored.localDataStorage,\n /**\n * The platform's database engine, when the environment AUTHORS one.\n *\n * `database` is only optional on the authored descriptor — every environment that does not\n * declare it keeps the engine it already had, which is what preserves the behaviour of every\n * environment created before the field existed. It is REQUIRED on the registry record, so the\n * fallback is `env.database` rather than `undefined`.\n *\n * This matters more than the other fields here because of an asymmetry in the two consumers\n * of the choice: `needsLocalMongoDB` / `needsLocalPostgreSQL` resolve the PLATFORM half via\n * `getDatabaseChoice(env.name)`, i.e. from the PERSISTED registry, while taking the\n * `backingServices` half from the in-memory env they are handed. So the container-rendering\n * decisions read this record, not the caller's snapshot — an authored engine that never\n * lands here is invisible to compose, to the K8s catalog, and to `local_data` pre-creation,\n * while the env-var builders (which read `config.json`) would already have moved.\n */\n database: authored.database ?? env.database,\n // Omission is authoritative: an environment that stops naming a host owns its infrastructure again.\n infrastructureHost: authored.infrastructureHost,\n // Authored `kubernetes` carries `{ namespace, ingressClass? }` but\n // the CLI runtime shape (`PlatformEnvironmentKubernetesConfig`) is\n // `{ namespace, imageRegistry? }`. The runtime `imageRegistry` is\n // computed at setup-time (see `environment-setup.service.ts` →\n // `KIND_CLUSTER_DEFAULTS.REGISTRY_PORT`) and has no authored\n // counterpart, so we only project `namespace` and preserve the\n // existing `imageRegistry` from the in-memory env state. Authored\n // `ingressClass` is not mirrored: authored and persisted config accept\n // only the Traefik controller installed by Wildo. The manifest renderer\n // uses that canonical supported class rather than a runtime override.\n kubernetes: authored.kubernetes\n ? {\n namespace: authored.kubernetes.namespace,\n imageRegistry: env.kubernetes?.imageRegistry,\n }\n : env.kubernetes,\n serviceHosts: authored.serviceHosts ?? env.serviceHosts,\n cdn: authored.cdn ?? env.cdn,\n backingServices: authored.backingServices ?? env.backingServices,\n // Omission is authoritative: never resurrect a removed policy from the registry cache.\n serviceAuth: authored.serviceAuth,\n logging: authored.logging ?? env.logging,\n observability: authored.observability ?? env.observability,\n providerSelection: authored.providerSelection ?? env.providerSelection,\n };\n\n const changed = JSON.stringify(RuntimeBootstrap.diffSelector(env))\n !== JSON.stringify(RuntimeBootstrap.diffSelector(next));\n\n if (!changed) {\n return false;\n }\n\n Object.assign(env, next);\n EnvironmentLifecycle.updateEnvironmentState(env);\n EnvironmentUtils.invalidateCache();\n return true;\n }\n\n /**\n * Selects only the fields {@link refreshEnvFromAuthored} mutates so the\n * change-detection JSON diff stays narrow and stable (avoids false\n * positives from `updatedAt` / `setupStatus` churn).\n */\n private static diffSelector(env: PlatformEnvironmentConfiguration): Record<string, unknown> {\n return {\n runtime: env.runtime,\n runtimeEnvironment: env.runtimeEnvironment,\n publicDomain: env.publicDomain,\n /**\n * Paired with the `localDataStorage` projection in {@link refreshEnvFromAuthored}. Flipping\n * an environment's storage mode is a ONE-LINE authored edit and frequently the only one in\n * its change, so omitting it here is precisely the \"copied but not diffed\" case the rule\n * above describes: the refresh would return `false` and the new mode would never reach the\n * environment or the compose file rendered from it.\n */\n localDataStorage: env.localDataStorage,\n /**\n * Every field this projects must ALSO be part of what `refreshEnvFromAuthored` DETECTS, not\n * merely part of what it copies. A field that is copied but not diffed makes a change\n * touching only that field read as unchanged, so the refresh returns `false` and the authored\n * value never reaches the environment at all. Add to both lists, or to neither.\n */\n serviceHosts: env.serviceHosts,\n cdn: env.cdn,\n kubernetes: env.kubernetes,\n /**\n * Paired with the `database` projection in {@link refreshEnvFromAuthored} — the rule above is\n * not advisory. An authored engine flip is frequently the ONLY edit in its change (it is one\n * line), so omitting it here would make precisely the change this field exists to express\n * diff as unchanged, return `false`, and never reach `updateEnvironmentState`.\n */\n database: env.database,\n infrastructureHost: env.infrastructureHost,\n backingServices: env.backingServices,\n serviceAuth: env.serviceAuth,\n logging: env.logging,\n observability: env.observability,\n providerSelection: env.providerSelection,\n };\n }\n\n /**\n * Write `config.json` from the authored infra descriptor when missing\n * (idempotent self-heal for `local up`).\n *\n * Delegates the actual projection + write to\n * {@link RuntimeBootstrap.writeConfigJsonFromAuthored} so the only-if-missing\n * self-heal and the always-regenerate `config sync` reconcile share ONE\n * projection — the file this produces is byte-identical to what\n * `wildo config sync` writes.\n */\n private static ensureConfigJson(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n log: Logger,\n ): boolean {\n const configPath = join(EnvironmentPaths.resolveConfigDir(env.name), FILE_NAMES.CONFIG_JSON);\n if (existsSync(configPath)) {\n /*\n * \"Only when missing\" has ONE exception: the environment's infrastructure OWNER changed. Adding or\n * removing `infrastructureHost` changes where every backing service is and which application may\n * touch it, so a `config.json` still describing the previous owner would steer the next render,\n * readiness probe and registration at the wrong substrate. Everything else keeps the existing file.\n */\n const persistedHost = EnvironmentUtils.loadConfigJson(env.name)?.infrastructureHost;\n if (JSON.stringify(persistedHost ?? null) === JSON.stringify(authored.infrastructureHost ?? null)) {\n return false;\n }\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, authored);\n log.info(\n authored.infrastructureHost\n ? ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now runs on the infrastructure of ${authored.infrastructureHost.applicationRoot}.`\n : ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now owns its infrastructure.`,\n );\n return true;\n }\n\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, authored);\n log.info(` Self-healed missing ${FILE_NAMES.CONFIG_JSON} from authored infra descriptor.`);\n return true;\n }\n\n /**\n * Project the authored infra descriptor into the persisted `config.json`\n * shape and write it UNCONDITIONALLY (overwriting any existing file),\n * invalidating the config cache so the next read returns the fresh shape.\n *\n * Uses the shared {@link buildConfigJsonFromInfraEnvConfig} projection — the\n * single source of truth also used by the `local up` self-heal and the\n * `loadConfigForSync` authored fallback. Callers own the write-policy\n * decision (only-if-missing vs. always); this helper just performs the write.\n */\n private static writeConfigJsonFromAuthored(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n ): void {\n const configDir = EnvironmentPaths.resolveConfigDir(env.name);\n const projected = buildConfigJsonFromInfraEnvConfig(authored);\n FileUtils.ensureDirectoryExists(configDir);\n writeFileSync(join(configDir, FILE_NAMES.CONFIG_JSON), `${JSON.stringify(projected, null, 2)}\\n`);\n EnvironmentUtils.invalidateCache();\n }\n\n /**\n * Ensure the Docker Compose runtime artifacts exist:\n * - `docker-compose.wildo-platform.yml` (template render)\n * - `.env.wildo-platform` (infra credentials env file)\n *\n * Both delegate to the same generators that `runInfraWrite` calls in the\n * interactive setup flow, so the rendered artifacts match exactly.\n *\n * `.env.wildo-platform` requires `secrets.json`; we surface a hint when\n * absent so the operator knows the next step is `wildo setup` (or restore\n * from a known-good `secrets.json` backup) rather than re-running\n * `wildo local up` until something gives.\n */\n /**\n * @param secretMaterialChanged - True when this run minted framework-managed credential\n * material. Both artifacts PROJECT `secrets.json` (the compose immudb service gates\n * its `--signingKey` mount on the materialized signing key; `.env.wildo-platform`\n * carries generated service credentials), so a present-but-pre-provisioning artifact\n * is stale and must be re-rendered rather than left alone by the normal\n * \"write only when missing\" policy.\n */\n private static async ensureDockerComposeArtifacts(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string | null,\n isFrameworkDeveloper: boolean,\n log: Logger,\n secretMaterialChanged: boolean,\n ): Promise<{ wroteDockerCompose: boolean; wroteEnvFile: boolean }> {\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const composePath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFilePath = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n\n let wroteDockerCompose = false;\n if (!existsSync(composePath) || secretMaterialChanged) {\n if (!frameworkPath) {\n throw new Error(\n `Cannot self-heal missing ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} for '${env.name}': no framework path available.\\n`\n + ` The compose template lives under the framework checkout. Re-run with a framework path configured, or run 'wildo config sync --domain manifest' from a workspace that has one.`,\n );\n }\n await renderDockerComposeTemplate(env, frameworkPath, isFrameworkDeveloper);\n log.info(\n secretMaterialChanged\n ? ` Re-rendered ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} to carry newly provisioned secret material.`\n : ` Self-healed missing ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} from authored infra descriptor.`,\n );\n wroteDockerCompose = true;\n }\n\n let wroteEnvFile = false;\n if (!existsSync(envFilePath) || secretMaterialChanged) {\n const credentials = EnvironmentUtils.loadSecretsJson(env.name);\n if (!credentials) {\n throw new Error(\n `Cannot self-heal missing ${FILE_NAMES.ENV_WILDO_PLATFORM} for '${env.name}': secrets.json is missing or unreadable.\\n`\n + ` Run 'wildo setup' to author secrets interactively, or restore a known-good secrets.json backup.`,\n );\n }\n generateEnvWildoPlatform(env, isFrameworkDeveloper, credentials);\n log.info(\n secretMaterialChanged\n ? ` Re-generated ${FILE_NAMES.ENV_WILDO_PLATFORM} to carry newly provisioned secret material.`\n : ` Self-healed missing ${FILE_NAMES.ENV_WILDO_PLATFORM} from authored infra descriptor + secrets.json.`,\n );\n wroteEnvFile = true;\n }\n\n return { wroteDockerCompose, wroteEnvFile };\n }\n}\n"]}
1
+ {"version":3,"file":"runtime-bootstrap.service.js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,IAAI,CACN,qBAAqB;gBACnB,CAAC,CAAC,iBAAiB,UAAU,CAAC,6BAA6B,8CAA8C;gBACzG,CAAC,CAAC,yBAAyB,UAAU,CAAC,6BAA6B,kCAAkC,CACxG,CAAC;YACF,kBAAkB,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED,IAAI,YAAY,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,qBAAqB,EAAE,CAAC;YACtD,MAAM,WAAW,GAAG,gBAAgB,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC/D,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,MAAM,IAAI,KAAK,CACb,4BAA4B,UAAU,CAAC,kBAAkB,SAAS,GAAG,CAAC,IAAI,6CAA6C;sBACrH,mGAAmG,CACtG,CAAC;YACJ,CAAC;YACD,wBAAwB,CAAC,GAAG,EAAE,oBAAoB,EAAE,WAAW,CAAC,CAAC;YACjE,GAAG,CAAC,IAAI,CACN,qBAAqB;gBACnB,CAAC,CAAC,kBAAkB,UAAU,CAAC,kBAAkB,8CAA8C;gBAC/F,CAAC,CAAC,yBAAyB,UAAU,CAAC,kBAAkB,iDAAiD,CAC5G,CAAC;YACF,YAAY,GAAG,IAAI,CAAC;QACtB,CAAC;QAED,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,CAAC;IAC9C,CAAC;CACF","sourcesContent":["/**\n * runtime-bootstrap — headless self-healing pre-flight for `wildo local up`.\n *\n * Background. Before this service existed, the only paths that wrote the\n * Docker Compose runtime artifacts (`config.json`,\n * `docker-compose.wildo-platform.yml`, `.env.wildo-platform`) were:\n * 1. The interactive `wildo setup` flow (rejects `--non-interactive`).\n * 2. The post-bootstrap `wildo config sync --domain manifest` /\n * `wildo config sync` flow, which assumes the artifacts already exist\n * and additionally tries to reach apps-manager (circular: apps-manager\n * cannot start until the compose stack is up, but the compose stack\n * cannot render until config sync ran).\n *\n * That left the \"fresh clone of an existing app + `wildo local up`\" loop\n * stuck on hand-edited `config.json` / `.env.wildo-platform` files — exactly\n * the zero-touch greenfield experience the operator expects.\n *\n * What this service does. Right before `wildo local up` invokes\n * `ContextManager.resolveInfraContext` (which fail-loud-checks the compose\n * file presence), we:\n * - Re-load the authored `wildo.infra.<env>.config.ts` and rehydrate the\n * in-memory env state (`backingServices`, `serviceAuth`, `runtime`,\n * `runtimeEnvironment`, `database`, `publicDomain`, `kubernetes`,\n * `logging`, `observability`, `providerSelection`, `email`, …) so the\n * authored source-of-truth wins over a stale `environments.json` snapshot.\n * - If `config.json` is missing, or a member of\n * `CONFIG_JSON_FIELDS_TRACKING_AUTHORED` diverges from the authored\n * descriptor, project the authored config through\n * {@link buildConfigJsonFromInfraEnvConfig} (the same projection\n * `wildo config sync --domain manifest` uses) and write it.\n * - For DOCKER_COMPOSE runtimes only, if the compose template render or\n * the `.env.wildo-platform` env file is missing, render them via the\n * same generators `runInfraWrite` calls during the interactive setup\n * flow.\n *\n * Single source of truth. The projection, rendering and env-file generation\n * are all delegated to the existing services — this file only orchestrates.\n * Result: artifacts produced here are byte-identical to the ones a later\n * `wildo config sync --domain manifest` (or interactive `wildo setup`) would\n * produce.\n *\n * Atlas / managed-Mongo guard. When the authored config cannot serve as a\n * `config.json` fallback (today: ATLAS-backed Mongo, which needs API\n * metadata not present in the authored descriptor), we surface the same\n * reason string used by `sync.command.ts` and abort — there is nothing\n * useful we can self-heal in that case.\n *\n * Secrets handling. We never ROTATE `secrets.json` here — rotation is\n * destructive and stays behind `wildo config sync --rotate-secrets`. We DO\n * provision missing framework-managed material (see\n * {@link SecretsProvisioning.ensureForEnvironment}), which is the additive\n * mirror image of everything else this pre-flight does: mint only what is\n * absent, never touch what exists. Without it, a material introduced after an\n * environment was set up never reaches that environment — which is exactly how\n * the immudb state-signing keypair stayed missing and left the audit store's\n * whole-server-substitution defense off. Operator-typed secrets still require\n * interactive authoring: if `secrets.json` is missing entirely, the\n * `.env.wildo-platform` step throws with a clear hint to run `wildo setup` (or\n * restore from a backup).\n *\n * Shared with `wildo config sync`. The authored-infra → generated-config\n * reconciliation primitives ({@link RuntimeBootstrap.refreshEnvFromAuthored}\n * + the config.json projection write) are ALSO the source of truth for\n * `config sync`, exposed via {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}.\n * The two callers differ ONLY in write policy:\n * - `local up` self-heal ({@link RuntimeBootstrap.ensureLocalRuntimeArtifacts})\n * writes compose when missing, and config.json when missing or when a\n * member of `CONFIG_JSON_FIELDS_TRACKING_AUTHORED` diverges — an\n * idempotent pre-flight that must not churn `environments.json`'s\n * `updatedAt` or the compose file on every invocation.\n * - `config sync` reconcile ALWAYS regenerates config.json from the authored\n * descriptor — it is an explicit \"make authored infra the source of truth\"\n * command, so a stale-but-present config.json (e.g. a pre-`backingServices`\n * snapshot missing a newly-authored `immudb` service) is deterministically\n * rewritten before the compose / env-file steps read it.\n */\n\nimport { existsSync, writeFileSync } from 'fs';\nimport { join } from 'path';\n\nimport {\n PUBLIC_DOMAIN_DEFAULTS,\n WildoDeploymentRuntime,\n WildoLocationType,\n type WildoInfraEnvConfig,\n} from '@wildo-ai/platform-config-lib';\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { FileUtils } from '~wildo-cli/infrastructure/io/file.utils';\nimport {\n buildConfigJsonFromInfraEnvConfig,\n getUnsupportedAuthoredConfigFallbackReason,\n loadAuthoredInfraEnvConfig,\n} from '~wildo-cli/services/environment/authored-infra-config.utils';\nimport {\n generateEnvWildoPlatform,\n renderDockerComposeTemplate,\n isComposeHostMountedArtifactMissing,\n} from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport type { FrameworkManagedSecretMaterialRef } from '~wildo-cli/services/credentials/framework-managed-secrets';\nimport {\n SecretsProvisioning,\n SecretsProvisioningStatus,\n} from '~wildo-cli/services/credentials/secrets-provisioning.service';\nimport { EnvironmentLifecycle } from '~wildo-cli/services/environment/environment-lifecycle.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport type { Logger } from '~wildo-cli/kernel/types';\nimport type { PlatformEnvConfigJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\n\n/**\n * Summary of what the runtime-bootstrap pre-flight wrote on disk during this\n * invocation. Returned to call sites so they can decide whether to log a\n * \"self-healed N artifacts\" line and so tests can assert on the exact\n * deltas without inspecting the filesystem twice.\n */\nexport interface RuntimeBootstrapResult {\n /** Authored env state was re-projected onto `environments.json`. */\n refreshedEnvState: boolean;\n /** `config.json` was missing and has just been written. */\n wroteConfigJson: boolean;\n /**\n * Docker Compose template was written — because it was missing, or because newly\n * provisioned secret material made the existing render stale.\n */\n wroteDockerCompose: boolean;\n /**\n * `.env.wildo-platform` was written — because it was missing, or because newly\n * provisioned secret material made the existing file stale.\n */\n wroteEnvFile: boolean;\n /**\n * Framework-managed credential materials that were absent from `secrets.json` and have\n * just been minted (empty on a fully provisioned environment). Non-empty means the\n * compose render + platform env file were regenerated to carry the new material.\n */\n mintedSecretMaterials: FrameworkManagedSecretMaterialRef[];\n}\n\nconst NO_OP_RESULT: RuntimeBootstrapResult = {\n refreshedEnvState: false,\n wroteConfigJson: false,\n wroteDockerCompose: false,\n wroteEnvFile: false,\n mintedSecretMaterials: [],\n};\n\n/**\n * The `config.json` members whose divergence from the authored descriptor makes the `local up` / `local dev`\n * self-heal REWRITE an existing `config.json` (`RuntimeBootstrap.ensureConfigJson`), where it otherwise writes the\n * file only when it is missing. Each is read from `config.json` by what the same command renders next, so a stale\n * copy acts on the wrong target:\n *\n * - `infrastructureHost`, the environment's infrastructure OWNER: a copy describing the previous owner steers the next\n * render, readiness probe and registration at the wrong substrate.\n * - `email`, the shared receiving domain, projected into `WILDO_INBOUND_EMAIL_SHARED_DOMAIN`: a stale copy keeps\n * routing mail to a domain the descriptor no longer names.\n * - `ownershipDnsStandIn`, projected into `WILDO_OWNERSHIP_DNS_STAND_IN_URL` (local-only, #2519): a stale copy keeps\n * answering domain-ownership challenges from a double the descriptor no longer names — or, removed from the\n * descriptor, keeps verifying domains against one at all.\n * - `logging`, `observability`, `providerSelection`, projected into `LOG_LEVEL`, the `OTEL_*` variables and\n * `WILDO_PROVIDER_SELECTION_OVERRIDES`: a stale copy keeps a level, an exporter or a provider choice the\n * descriptor no longer makes.\n * - `serviceHosts`, the per-service subdomains projected into `WILDO_SERVICE_HOSTS` (and, on a remote lane, into\n * `APPLICATION_RUNTIME_ENDPOINTS`): a stale copy addresses a service at a host the descriptor no longer gives it.\n * - `platformKeyManagement` (#2933), projected into apps-manager's `PLATFORM_KEY_VAULT_*` and deciding whether the\n * platform runs its own OpenBao: a stale copy keeps apps-manager pointed at a Vault the descriptor no longer names.\n *\n * REMOVAL matters as much as change, because hydration (`hydrateEnvironmentFromConfig`, `loadInfraHydratedConfig`)\n * falls back from one copy to the other: a field one copy still holds comes back. So this list and the\n * omission-authoritative projection in `refreshEnvFromAuthored` move together. A new authored member that an `.env`\n * builder reads from `config.json`, and that only the descriptor decides, joins both. Every writer of these registry\n * fields derives them from the descriptor (`refreshEnvFromAuthored`; `wildo setup` seeds `logging` from it; the CI\n * path builds its record from `config.json`), which is what makes omission authoritative safe.\n *\n * Not on it, and why: `cdn`, which no `.env` builder reads from `config.json` (`wildo frontend publish` reads the\n * descriptor itself). NOT YET on it, and a known gap rather than a decision: other members the `.env` builders read from\n * a kept `config.json`, such as `backingServices` (`buildApplicationBackendEnv` and siblings) and `publicDomain`, so an\n * EDITED value does not reach `wildo local dev` until `wildo config sync` (#2311). Their removal is not the problem:\n * `backingServices` is present on every resolved descriptor. And a REMOTE environment applies none of this, because both\n * mechanisms are local-only (#2310).\n */\nconst CONFIG_JSON_FIELDS_TRACKING_AUTHORED = [\n 'infrastructureHost',\n 'email',\n 'ownershipDnsStandIn',\n 'logging',\n 'observability',\n 'providerSelection',\n 'serviceHosts',\n 'platformKeyManagement',\n] as const satisfies readonly (keyof PlatformEnvConfigJson & keyof WildoInfraEnvConfig)[];\n\n/**\n * Pre-flight ensures the runtime artifacts `wildo local up` depends on\n * exist on disk for the given environment, generating them from the\n * authored `wildo.infra.<env>.config.ts` when missing (and rewriting\n * `config.json` when a member of `CONFIG_JSON_FIELDS_TRACKING_AUTHORED`\n * diverges). See file header for the full rationale.\n *\n * Pre-conditions:\n * - `env` is the in-memory environment from `ctx.activeEnv` (already\n * seeded by `ExistingAppBootstrapService`).\n * - `saasRoot` is the resolved targeted-app declaration root.\n *\n * Post-conditions on success:\n * - In-memory env state mirrors the authored infra descriptor.\n * - `config.json` exists in the env's resolved config dir.\n * - For DOCKER_COMPOSE runtimes, the compose render and\n * `.env.wildo-platform` exist in the env's docker-compose dir.\n *\n * Throws when the authored descriptor is missing (the operator must\n * author or restore one) or when secrets are required and absent.\n */\nexport interface RuntimeBootstrapInput {\n env: PlatformEnvironmentConfiguration;\n saasRoot: string;\n /**\n * Framework checkout root — required only for `DOCKER_COMPOSE` runtimes\n * because the compose template render needs to locate the Handlebars\n * template directory under the framework repo. Pass `null` if not\n * available; for K8s envs this preflight does not need it.\n */\n frameworkPath: string | null;\n isFrameworkDeveloper: boolean;\n log: Logger;\n}\n\n/**\n * Outcome of {@link RuntimeBootstrap.reconcileGeneratedConfigFromAuthored}.\n * A TS enum (not a literal-string union) so callers get autocomplete +\n * refactor-safety when branching on the result.\n */\nexport enum RuntimeConfigReconcileStatus {\n /** Env-state + `config.json` were regenerated from the authored descriptor. */\n RECONCILED = 'reconciled',\n /** Env is not LOCAL — remote/CI keep their generated / reconstructed config.json. */\n SKIPPED_NON_LOCAL = 'skipped-non-local',\n /** No authored `wildo.infra.<env>.config.ts` exists to reconcile from. */\n NO_AUTHORED_CONFIG = 'no-authored-config',\n /**\n * Authored descriptor cannot fully serve as the config.json source of truth\n * (today: Atlas-backed Mongo, whose generated config.json carries API\n * metadata + external endpoints the authored descriptor omits). The existing\n * generated config.json is left untouched.\n */\n SKIPPED_UNSUPPORTED = 'skipped-unsupported',\n}\n\nexport type RuntimeConfigReconcileResult =\n | {\n status: RuntimeConfigReconcileStatus.RECONCILED;\n /**\n * True when the persisted env-registry snapshot actually changed\n * (conservative diff) — false when the env was already current and only\n * `config.json` was rewritten. (config.json is unconditionally rewritten\n * for RECONCILED, so there is no separate flag for it.)\n */\n refreshedEnvState: boolean;\n }\n | { status: RuntimeConfigReconcileStatus.SKIPPED_NON_LOCAL }\n | { status: RuntimeConfigReconcileStatus.NO_AUTHORED_CONFIG }\n | { status: RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED; reason: string };\n\nexport class RuntimeBootstrap {\n /**\n * Reconcile the two generated INPUTS that `wildo config sync` (and the\n * compose / env-file renderers it drives) read as the source of truth for\n * backing services / ports / sources:\n * - the persisted env-registry snapshot (`environments.json`), refreshed\n * in place via {@link RuntimeBootstrap.refreshEnvFromAuthored}; and\n * - the generated `config.json`, ALWAYS rewritten from the authored\n * `wildo.infra.<env>.config.ts` projection.\n *\n * Root fix for the stale-config-json bug: `config sync` used to read a\n * generated `config.json` (and `environments.json`) that it never refreshed\n * from the authored descriptor, so an authored change (e.g. adding an\n * `immudb` backing service) never reached the generated docker-compose.\n * Calling this BEFORE any sync domain consumes those inputs makes the\n * authored `.ts` the deterministic source of truth every run.\n *\n * Unlike {@link RuntimeBootstrap.ensureLocalRuntimeArtifacts} (the `local up`\n * self-heal) this does NOT render the compose / env-file artifacts — it only\n * refreshes their inputs. It also does NOT touch remote/CI environments,\n * which legitimately reconstruct `config.json` from env vars / a sibling\n * secrets repo (see the LOCAL guard below and the Atlas carve-out).\n *\n * Fail-soft by contract: returns a status the caller inspects; never throws\n * for the \"no authored descriptor\" or \"Atlas\" cases. It DOES surface a throw\n * from {@link loadAuthoredInfraEnvConfig} (broken / env-mismatched `.ts`) so\n * the caller can decide — `config sync` treats authored-load/schema failures\n * as fatal and does not run later domains against an old snapshot. Logging is intentionally the\n * caller's concern (it emits status-specific messages off the returned\n * result), so no `log` is taken here.\n */\n static async reconcileGeneratedConfigFromAuthored(input: {\n env: PlatformEnvironmentConfiguration;\n saasRoot: string;\n }): Promise<RuntimeConfigReconcileResult> {\n const { env, saasRoot } = input;\n\n if (env.locationType !== WildoLocationType.LOCAL) {\n return { status: RuntimeConfigReconcileStatus.SKIPPED_NON_LOCAL };\n }\n\n const loaded = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!loaded) {\n return { status: RuntimeConfigReconcileStatus.NO_AUTHORED_CONFIG };\n }\n\n const fallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n env.name,\n loaded.path,\n loaded.config,\n );\n if (fallbackReason) {\n return { status: RuntimeConfigReconcileStatus.SKIPPED_UNSUPPORTED, reason: fallbackReason };\n }\n\n const refreshedEnvState = RuntimeBootstrap.refreshEnvFromAuthored(env, loaded.config);\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, loaded.config);\n\n return {\n status: RuntimeConfigReconcileStatus.RECONCILED,\n refreshedEnvState,\n };\n }\n\n static async ensureLocalRuntimeArtifacts(\n input: RuntimeBootstrapInput,\n ): Promise<RuntimeBootstrapResult> {\n const { env, saasRoot, frameworkPath, isFrameworkDeveloper, log } = input;\n\n if (env.locationType !== WildoLocationType.LOCAL) {\n return NO_OP_RESULT;\n }\n\n const loaded = await loadAuthoredInfraEnvConfig(env.name, saasRoot);\n if (!loaded) {\n throw new Error(\n `Cannot bootstrap runtime artifacts for '${env.name}': no authored infra descriptor found.\\n`\n + ` Expected: <saasRoot>/infrastructure/${env.name}/wildo.infra.${env.name === 'local' ? 'local' : 'remote'}.config.ts`,\n );\n }\n\n const fallbackReason = getUnsupportedAuthoredConfigFallbackReason(\n env.name,\n loaded.path,\n loaded.config,\n );\n if (fallbackReason) {\n throw new Error(`${fallbackReason}\\n Run 'wildo setup' to author '${env.name}' interactively.`);\n }\n\n const refreshedEnvState = RuntimeBootstrap.refreshEnvFromAuthored(env, loaded.config);\n\n const wroteConfigJson = RuntimeBootstrap.ensureConfigJson(env, loaded.config, log);\n\n // Mint any framework-managed credential material this environment predates, BEFORE\n // the compose render / env-file generation read `secrets.json` — those artifacts\n // project the material (e.g. the immudb `--signingKey` mount), so provisioning after\n // them would leave the freshly minted key stranded until the next command.\n const mintedSecretMaterials = RuntimeBootstrap.provisionFrameworkManagedSecrets(env, log);\n\n let wroteDockerCompose = false;\n let wroteEnvFile = false;\n\n // A HOSTED environment renders no compose project and no `.env.wildo-platform`: both are its host's,\n // and a render here would describe the host's containers over this application's `local_data`.\n if (env.runtime === WildoDeploymentRuntime.DOCKER_COMPOSE && loaded.config.infrastructureHost === undefined) {\n const composeArtifacts = await RuntimeBootstrap.ensureDockerComposeArtifacts(\n env,\n frameworkPath,\n isFrameworkDeveloper,\n log,\n // Newly minted material invalidates any existing render: the compose file gates\n // the immudb `--signingKey` block on the key file it materializes from\n // secrets.json, and `.env.wildo-platform` carries generated service credentials.\n // \"Write only when missing\" would otherwise leave the environment provisioned on\n // paper but still running the degraded artifacts.\n //\n // A MISSING HOST-MOUNTED ARTIFACT forces the render for the same reason, and it is the case\n // the mint condition above cannot see. The render materializes files that compose\n // BIND-MOUNTS, but it is skipped whenever the compose file already exists — and a data reset\n // deletes those files while leaving the compose file untouched. Docker then creates a\n // DIRECTORY at each missing mount source instead of failing, so the container starts and\n // dies on something that reads nothing like a mounting problem.\n //\n // Observed 2026-08-22 on the first cold start after a full `local_data` reset:\n // `wildo local dev` failed at `container wildo-immudb is unhealthy`, because immudb found a\n // directory where its `--signingKey` file belongs. Nothing had been newly minted — the key\n // lives in the authored `secrets.json`, which survives a data reset — so no condition here\n // forced the re-render that would have written it back.\n mintedSecretMaterials.length > 0\n || isComposeHostMountedArtifactMissing(env, EnvironmentPaths.resolveScopedLocalDataDir(saasRoot)),\n );\n wroteDockerCompose = composeArtifacts.wroteDockerCompose;\n wroteEnvFile = composeArtifacts.wroteEnvFile;\n }\n\n return {\n refreshedEnvState,\n wroteConfigJson,\n wroteDockerCompose,\n wroteEnvFile,\n mintedSecretMaterials,\n };\n }\n\n /**\n * Additive `secrets.json` self-heal: mint every framework-managed credential material\n * the environment is missing and persist it. Returns the minted material refs so the\n * caller can invalidate the derived artifacts that project them.\n *\n * Fail-soft. A missing/unreadable `secrets.json` is NOT handled here — the downstream\n * `.env.wildo-platform` step already fails with the actionable \"run `wildo setup`\"\n * message, and pre-empting it with a second error would only bury that guidance.\n */\n private static provisionFrameworkManagedSecrets(\n env: PlatformEnvironmentConfiguration,\n log: Logger,\n ): FrameworkManagedSecretMaterialRef[] {\n const outcome = SecretsProvisioning.ensureForEnvironment(env.name);\n if (outcome.status !== SecretsProvisioningStatus.PROVISIONED) {\n return [];\n }\n\n log.info(\n ` Provisioned ${outcome.mintedRefs.length} missing framework-managed secret material(s) for '${env.name}': `\n + `${outcome.mintedRefs.join(', ')}.`,\n );\n return outcome.mintedRefs;\n }\n\n /**\n * Rehydrate the in-memory env from the authored infra descriptor so a\n * stale `environments.json` cannot mask a fresh authored change. We\n * mutate in place AND persist via {@link EnvironmentLifecycle.updateEnvironmentState}\n * so subsequent reads (compose generator, env-vars builder, address\n * resolver) all see the same source-of-truth.\n *\n * Conservative diff. We only persist when at least one tracked field\n * actually changed — re-running `wildo local up` against a fully synced\n * state must remain a no-op so we don't churn `environments.json`'s\n * `updatedAt` on every invocation.\n */\n private static refreshEnvFromAuthored(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n ): boolean {\n const seededRuntime = authored.runtime ?? env.runtime;\n const seededRuntimeEnvironment = authored.runtimeEnvironment ?? env.runtimeEnvironment;\n const seededPublicDomain = authored.publicDomain\n ?? env.publicDomain\n ?? (seededRuntime === WildoDeploymentRuntime.KUBERNETES\n ? PUBLIC_DOMAIN_DEFAULTS.LOCAL_K8S\n : PUBLIC_DOMAIN_DEFAULTS.LOCAL_COMPOSE);\n\n const next: PlatformEnvironmentConfiguration = {\n ...env,\n runtime: seededRuntime,\n runtimeEnvironment: seededRuntimeEnvironment,\n publicDomain: seededPublicDomain,\n /**\n * Always defined on the authored descriptor — its transform resolves the `locationType`\n * default — so there is no `?? env.` fallback to write here, unlike `runtime` above. Paired\n * with the `diffSelector` entry, per the rule stated there.\n */\n localDataStorage: authored.localDataStorage,\n /**\n * The platform's database engine, when the environment AUTHORS one.\n *\n * `database` is only optional on the authored descriptor — every environment that does not\n * declare it keeps the engine it already had, which is what preserves the behaviour of every\n * environment created before the field existed. It is REQUIRED on the registry record, so the\n * fallback is `env.database` rather than `undefined`.\n *\n * This matters more than the other fields here because of an asymmetry in the two consumers\n * of the choice: `needsLocalMongoDB` / `needsLocalPostgreSQL` resolve the PLATFORM half via\n * `getDatabaseChoice(env.name)`, i.e. from the PERSISTED registry, while taking the\n * `backingServices` half from the in-memory env they are handed. So the container-rendering\n * decisions read this record, not the caller's snapshot — an authored engine that never\n * lands here is invisible to compose, to the K8s catalog, and to `local_data` pre-creation,\n * while the env-var builders (which read `config.json`) would already have moved.\n */\n database: authored.database ?? env.database,\n // Omission is authoritative: an environment that stops naming a host owns its infrastructure again.\n infrastructureHost: authored.infrastructureHost,\n // Authored `kubernetes` carries `{ namespace, ingressClass? }` but\n // the CLI runtime shape (`PlatformEnvironmentKubernetesConfig`) is\n // `{ namespace, imageRegistry? }`. The runtime `imageRegistry` is\n // computed at setup-time (see `environment-setup.service.ts` →\n // `KIND_CLUSTER_DEFAULTS.REGISTRY_PORT`) and has no authored\n // counterpart, so we only project `namespace` and preserve the\n // existing `imageRegistry` from the in-memory env state. Authored\n // `ingressClass` is not mirrored: authored and persisted config accept\n // only the Traefik controller installed by Wildo. The manifest renderer\n // uses that canonical supported class rather than a runtime override.\n kubernetes: authored.kubernetes\n ? {\n namespace: authored.kubernetes.namespace,\n imageRegistry: env.kubernetes?.imageRegistry,\n }\n : env.kubernetes,\n // Omission is authoritative (a member of CONFIG_JSON_FIELDS_TRACKING_AUTHORED; see the posture blocks below).\n serviceHosts: authored.serviceHosts,\n cdn: authored.cdn ?? env.cdn,\n backingServices: authored.backingServices ?? env.backingServices,\n // Omission is authoritative: never resurrect a removed policy from the registry cache.\n serviceAuth: authored.serviceAuth,\n /*\n * Omission is authoritative for every member of CONFIG_JSON_FIELDS_TRACKING_AUTHORED, as for `serviceAuth`:\n * removing a log level, an exporter, a provider choice, the receiving-domain override or a service host from the\n * infra config must stop it. Falling back to `env` kept the registry's copy (this record IS the registry's cached object, saved\n * whole by the next update), and hydration's `config.x ?? env.x` then brought it back into every `.env`, through\n * `wildo config sync` as well as `wildo local dev`. Every writer of these fields derives them from the authored\n * descriptor (`wildo setup` seeds them from it), so `undefined` here means \"not authored\", never \"not known\".\n */\n logging: authored.logging,\n observability: authored.observability,\n providerSelection: authored.providerSelection,\n email: authored.email,\n ownershipDnsStandIn: authored.ownershipDnsStandIn,\n platformKeyManagement: authored.platformKeyManagement,\n };\n\n const changed = JSON.stringify(RuntimeBootstrap.diffSelector(env))\n !== JSON.stringify(RuntimeBootstrap.diffSelector(next));\n\n if (!changed) {\n return false;\n }\n\n Object.assign(env, next);\n EnvironmentLifecycle.updateEnvironmentState(env);\n EnvironmentUtils.invalidateCache();\n return true;\n }\n\n /**\n * Selects only the fields {@link refreshEnvFromAuthored} mutates so the\n * change-detection JSON diff stays narrow and stable (avoids false\n * positives from `updatedAt` / `setupStatus` churn).\n */\n private static diffSelector(env: PlatformEnvironmentConfiguration): Record<string, unknown> {\n return {\n runtime: env.runtime,\n runtimeEnvironment: env.runtimeEnvironment,\n publicDomain: env.publicDomain,\n /**\n * Paired with the `localDataStorage` projection in {@link refreshEnvFromAuthored}. Flipping\n * an environment's storage mode is a ONE-LINE authored edit and frequently the only one in\n * its change, so omitting it here is precisely the \"copied but not diffed\" case the rule\n * above describes: the refresh would return `false` and the new mode would never reach the\n * environment or the compose file rendered from it.\n */\n localDataStorage: env.localDataStorage,\n /**\n * Every field this projects must ALSO be part of what `refreshEnvFromAuthored` DETECTS, not\n * merely part of what it copies. A field that is copied but not diffed makes a change\n * touching only that field read as unchanged, so the refresh returns `false` and the authored\n * value never reaches the environment at all. Add to both lists, or to neither.\n */\n serviceHosts: env.serviceHosts,\n cdn: env.cdn,\n kubernetes: env.kubernetes,\n /**\n * Paired with the `database` projection in {@link refreshEnvFromAuthored} — the rule above is\n * not advisory. An authored engine flip is frequently the ONLY edit in its change (it is one\n * line), so omitting it here would make precisely the change this field exists to express\n * diff as unchanged, return `false`, and never reach `updateEnvironmentState`.\n */\n database: env.database,\n infrastructureHost: env.infrastructureHost,\n backingServices: env.backingServices,\n serviceAuth: env.serviceAuth,\n logging: env.logging,\n observability: env.observability,\n providerSelection: env.providerSelection,\n email: env.email,\n ownershipDnsStandIn: env.ownershipDnsStandIn,\n platformKeyManagement: env.platformKeyManagement,\n };\n }\n\n /**\n * Write `config.json` from the authored infra descriptor when missing, or\n * when a member of `CONFIG_JSON_FIELDS_TRACKING_AUTHORED` diverges\n * (idempotent self-heal for `local up`).\n *\n * Delegates the actual projection + write to\n * {@link RuntimeBootstrap.writeConfigJsonFromAuthored} so this self-heal\n * and the always-regenerate `config sync` reconcile share ONE\n * projection — the file this produces is byte-identical to what\n * `wildo config sync` writes.\n */\n private static ensureConfigJson(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n log: Logger,\n ): boolean {\n const configPath = join(EnvironmentPaths.resolveConfigDir(env.name), FILE_NAMES.CONFIG_JSON);\n if (existsSync(configPath)) {\n /*\n * \"Only when missing\" has one exception: a field in CONFIG_JSON_FIELDS_TRACKING_AUTHORED diverges from the\n * authored descriptor. Each is read from `config.json` by what this command renders next, so a stale copy acts\n * on the wrong target and the authored value, including its REMOVAL, reaches nothing until the file is\n * rewritten. Everything else keeps the existing file; `wildo config sync` rewrites it whole.\n */\n const persisted = EnvironmentUtils.loadConfigJson(env.name);\n const diverged = CONFIG_JSON_FIELDS_TRACKING_AUTHORED.filter(\n (field) => JSON.stringify(persisted?.[field] ?? null) !== JSON.stringify(authored[field] ?? null),\n );\n if (diverged.length === 0) {\n return false;\n }\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, authored);\n if (diverged.includes('infrastructureHost')) {\n log.info(\n authored.infrastructureHost\n ? ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now runs on the infrastructure of ${authored.infrastructureHost.applicationRoot}.`\n : ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now owns its infrastructure.`,\n );\n }\n if (diverged.includes('email')) {\n const sharedDomain = authored.email?.inbound?.sharedDomain;\n log.info(\n sharedDomain\n ? ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now receives email at ${sharedDomain}.`\n : ` Rewrote ${FILE_NAMES.CONFIG_JSON}: this environment now receives email at the backend configuration's shared domain.`,\n );\n }\n const postureFields = diverged.filter((field) => field !== 'infrastructureHost' && field !== 'email');\n if (postureFields.length > 0) {\n log.info(` Rewrote ${FILE_NAMES.CONFIG_JSON}: the authored ${postureFields.join(', ')} changed.`);\n }\n return true;\n }\n\n RuntimeBootstrap.writeConfigJsonFromAuthored(env, authored);\n log.info(` Self-healed missing ${FILE_NAMES.CONFIG_JSON} from authored infra descriptor.`);\n return true;\n }\n\n /**\n * Project the authored infra descriptor into the persisted `config.json`\n * shape and write it UNCONDITIONALLY (overwriting any existing file),\n * invalidating the config cache so the next read returns the fresh shape.\n *\n * Uses the shared {@link buildConfigJsonFromInfraEnvConfig} projection — the\n * single source of truth also used by the `local up` self-heal and the\n * `loadConfigForSync` authored fallback. Callers own the write-policy\n * decision (missing or tracked-member divergence, vs. always); this helper just performs the write.\n */\n private static writeConfigJsonFromAuthored(\n env: PlatformEnvironmentConfiguration,\n authored: import('@wildo-ai/platform-config-lib').WildoInfraEnvConfig,\n ): void {\n const configDir = EnvironmentPaths.resolveConfigDir(env.name);\n const projected = buildConfigJsonFromInfraEnvConfig(authored);\n FileUtils.ensureDirectoryExists(configDir);\n writeFileSync(join(configDir, FILE_NAMES.CONFIG_JSON), `${JSON.stringify(projected, null, 2)}\\n`);\n EnvironmentUtils.invalidateCache();\n }\n\n /**\n * Ensure the Docker Compose runtime artifacts exist:\n * - `docker-compose.wildo-platform.yml` (template render)\n * - `.env.wildo-platform` (infra credentials env file)\n *\n * Both delegate to the same generators that `runInfraWrite` calls in the\n * interactive setup flow, so the rendered artifacts match exactly.\n *\n * `.env.wildo-platform` requires `secrets.json`; we surface a hint when\n * absent so the operator knows the next step is `wildo setup` (or restore\n * from a known-good `secrets.json` backup) rather than re-running\n * `wildo local up` until something gives.\n */\n /**\n * @param secretMaterialChanged - True when this run minted framework-managed credential\n * material. Both artifacts PROJECT `secrets.json` (the compose immudb service gates\n * its `--signingKey` mount on the materialized signing key; `.env.wildo-platform`\n * carries generated service credentials), so a present-but-pre-provisioning artifact\n * is stale and must be re-rendered rather than left alone by the normal\n * \"write only when missing\" policy.\n */\n private static async ensureDockerComposeArtifacts(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string | null,\n isFrameworkDeveloper: boolean,\n log: Logger,\n secretMaterialChanged: boolean,\n ): Promise<{ wroteDockerCompose: boolean; wroteEnvFile: boolean }> {\n const composeDir = EnvironmentPaths.resolveDockerComposeDir(env.name);\n const composePath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n const envFilePath = join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM);\n\n let wroteDockerCompose = false;\n if (!existsSync(composePath) || secretMaterialChanged) {\n if (!frameworkPath) {\n throw new Error(\n `Cannot self-heal missing ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} for '${env.name}': no framework path available.\\n`\n + ` The compose template lives under the framework checkout. Re-run with a framework path configured, or run 'wildo config sync --domain manifest' from a workspace that has one.`,\n );\n }\n await renderDockerComposeTemplate(env, frameworkPath, isFrameworkDeveloper);\n log.info(\n secretMaterialChanged\n ? ` Re-rendered ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} to carry newly provisioned secret material.`\n : ` Self-healed missing ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} from authored infra descriptor.`,\n );\n wroteDockerCompose = true;\n }\n\n let wroteEnvFile = false;\n if (!existsSync(envFilePath) || secretMaterialChanged) {\n const credentials = EnvironmentUtils.loadSecretsJson(env.name);\n if (!credentials) {\n throw new Error(\n `Cannot self-heal missing ${FILE_NAMES.ENV_WILDO_PLATFORM} for '${env.name}': secrets.json is missing or unreadable.\\n`\n + ` Run 'wildo setup' to author secrets interactively, or restore a known-good secrets.json backup.`,\n );\n }\n generateEnvWildoPlatform(env, isFrameworkDeveloper, credentials);\n log.info(\n secretMaterialChanged\n ? ` Re-generated ${FILE_NAMES.ENV_WILDO_PLATFORM} to carry newly provisioned secret material.`\n : ` Self-healed missing ${FILE_NAMES.ENV_WILDO_PLATFORM} from authored infra descriptor + secrets.json.`,\n );\n wroteEnvFile = true;\n }\n\n return { wroteDockerCompose, wroteEnvFile };\n }\n}\n"]}
@@ -10,8 +10,8 @@
10
10
  * framework version the application installed. Claude Code reaches it through three keys of the
11
11
  * application's PROJECT settings:
12
12
  *
13
- * - `extraKnownMarketplaces.wildo` — a `directory` source pointing at that compiled marketplace;
14
- * - `enabledPlugins["wildo@wildo"]` — turn the plugin on;
13
+ * - `extraKnownMarketplaces["wildo-<version>"]` — a `directory` source pointing at that compiled marketplace;
14
+ * - `enabledPlugins["wildo@wildo-<version>"]` — turn the plugin on (#2417: the marketplace is named after the version);
15
15
  * - `permissions.allow` — the read-only `wildo` verbs the console calls constantly, so the session
16
16
  * does not stop on a prompt for each (calibrated on EFFECT, as the framework's own settings are:
17
17
  * reading is allowed, anything that spends or leaves the machine is not listed here).
@@ -37,10 +37,37 @@
37
37
  * record is gitignored, the settings are not) infers it by exact value match —
38
38
  * {@link inferClaudeSettingsOwnership}.
39
39
  */
40
- /** The marketplace and plugin names — the install id is `wildo@wildo`, and commands answer as `/wildo:<name>`. */
41
- export declare const WILDO_CLAUDE_MARKETPLACE_NAME = "wildo";
40
+ /**
41
+ * The plugin's name — commands answer as `/wildo:<name>` whatever marketplace carries it, because Claude Code namespaces
42
+ * a plugin's components under its MANIFEST name.
43
+ */
42
44
  export declare const WILDO_CLAUDE_PLUGIN_NAME = "wildo";
43
- export declare const WILDO_CLAUDE_PLUGIN_ID = "wildo@wildo";
45
+ /**
46
+ * The marketplace name a framework version publishes its plugin under: `wildo-<version>` (#2417).
47
+ *
48
+ * Claude Code keeps ONE `known_marketplaces.json` per user and registers one marketplace per name, so when every
49
+ * application declared the same name `wildo`, whichever application had registered last decided which copy every
50
+ * other application's session loaded. On app-creation-test-005 (1.1.9) the session loaded app-creation-test-004's
51
+ * 1.1.8 plugin. The name must equal the `name` in `marketplace.json`, which is compiled once per package version and
52
+ * shared by every application that installs it, so the version is the finest identity the name can carry: two
53
+ * applications on different framework versions no longer collide, and two on the same version load the same bytes.
54
+ *
55
+ * spec-cite: Claude Code docs, Plugin loading reference §"Check which stage a plugin reached" (one
56
+ * `known_marketplaces.json` per user) and Marketplace reference §"Marketplace file" (one marketplace per `name`) and
57
+ * §"Top-level fields" (`name`: letters, digits, `.`, `_`, `-`); Settings reference §`extraKnownMarketplaces` (the name
58
+ * must match `marketplace.json`). https://code.claude.com/docs/en/plugins/loading ·
59
+ * https://code.claude.com/docs/en/plugins/marketplace-reference · https://code.claude.com/docs/en/settings-reference
60
+ *
61
+ * Rejected: a name per APPLICATION, which would need a `marketplace.json` generated in each application and the plugin
62
+ * copied beside it (a local marketplace whose plugin source is a symlink is not read), and would stop the framework
63
+ * checkout's dogfood applications from loading the plugin in place as it is edited. Residual: a dogfood application
64
+ * (the checkout's build) and an installed application on the SAME version string still share a name.
65
+ */
66
+ export declare function wildoClaudeMarketplaceName(version: string): string;
67
+ /** Whether a marketplace name is one this module may own: the versioned form, or the bare name written before #2417. */
68
+ export declare function isWildoClaudeMarketplaceName(name: string): boolean;
69
+ /** The install id the application's settings enable: `wildo@<marketplace name>`. */
70
+ export declare function wildoClaudePluginId(marketplaceName: string): string;
44
71
  /** Where the compiled marketplace sits beside `dist/knowledge` in `@wildo-ai/framework-knowledge`. */
45
72
  export declare const WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME = "claude-marketplace";
46
73
  /**
@@ -67,6 +94,11 @@ export declare const WILDO_STATUS_LINE_REFRESH_SECONDS = 5;
67
94
  export interface ApplicationClaudeSettingsOwnership {
68
95
  readonly schemaVersion: 1;
69
96
  readonly marketplaceSourcePath: string | null;
97
+ /**
98
+ * The marketplace NAME written, so a version change can retire the previous key and plugin id (#2417). A record
99
+ * written before the field read as the bare `wildo` whenever it owned a marketplace.
100
+ */
101
+ readonly marketplaceName: string | null;
70
102
  readonly enabledPluginWritten: boolean;
71
103
  readonly permissionsAllow: readonly string[];
72
104
  /** Whether the `statusLine` in the file is the one this module wrote. */
@@ -76,6 +108,8 @@ export declare const EMPTY_CLAUDE_SETTINGS_OWNERSHIP: ApplicationClaudeSettingsO
76
108
  export interface ApplicationClaudeSettingsDesired {
77
109
  /** The marketplace `path`, relative to the git root and `./`-prefixed; `null` when there is no plugin to point at. */
78
110
  readonly marketplaceSourcePath: string | null;
111
+ /** The `name` in the compiled `marketplace.json` — the settings key must equal it. Ignored when the path is `null`. */
112
+ readonly marketplaceName: string;
79
113
  readonly permissionsAllow: readonly string[];
80
114
  }
81
115
  type JsonObject = Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"application-claude-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/application-claude-settings.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,kHAAkH;AAClH,eAAO,MAAM,6BAA6B,UAAU,CAAC;AACrD,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAChD,eAAO,MAAM,sBAAsB,gBAAiE,CAAC;AAErG,sGAAsG;AACtG,eAAO,MAAM,uCAAuC,uBAAuB,CAAC;AAE5E;;;;;;;GAOG;AACH,eAAO,MAAM,mCA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;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,gCAAgC,GAAG,kCAAkC,CAW5J;AAoBD,6GAA6G;AAC7G,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,wFAAwF;IACxF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,6FAA6F;IAC7F,QAAQ,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9C,GAAG,gCAAgC,CA0BnC"}
1
+ {"version":3,"file":"application-claude-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/application-claude-settings.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH;;;GAGG;AACH,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAElE;AAED,wHAAwH;AACxH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAElE;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,sGAAsG;AACtG,eAAO,MAAM,uCAAuC,uBAAuB,CAAC;AAE5E;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,EAAE,SAAS,MAAM,EAc/D,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,8BAA8B,CAA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AG,MAAM,GAAG,IAAI,CAKzI;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,gCAAgC,GAAG,kCAAkC,CAsB5J;AAgCD,6GAA6G;AAC7G,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,wFAAwF;IACxF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,6FAA6F;IAC7F,QAAQ,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9C,GAAG,gCAAgC,CA8BnC"}
@@ -14,8 +14,8 @@ import { describeCaughtError } from '@wildo-ai/saas-models';
14
14
  * framework version the application installed. Claude Code reaches it through three keys of the
15
15
  * application's PROJECT settings:
16
16
  *
17
- * - `extraKnownMarketplaces.wildo` — a `directory` source pointing at that compiled marketplace;
18
- * - `enabledPlugins["wildo@wildo"]` — turn the plugin on;
17
+ * - `extraKnownMarketplaces["wildo-<version>"]` — a `directory` source pointing at that compiled marketplace;
18
+ * - `enabledPlugins["wildo@wildo-<version>"]` — turn the plugin on (#2417: the marketplace is named after the version);
19
19
  * - `permissions.allow` — the read-only `wildo` verbs the console calls constantly, so the session
20
20
  * does not stop on a prompt for each (calibrated on EFFECT, as the framework's own settings are:
21
21
  * reading is allowed, anything that spends or leaves the machine is not listed here).
@@ -41,10 +41,43 @@ import { describeCaughtError } from '@wildo-ai/saas-models';
41
41
  * record is gitignored, the settings are not) infers it by exact value match —
42
42
  * {@link inferClaudeSettingsOwnership}.
43
43
  */
44
- /** The marketplace and plugin names — the install id is `wildo@wildo`, and commands answer as `/wildo:<name>`. */
45
- export const WILDO_CLAUDE_MARKETPLACE_NAME = 'wildo';
44
+ /**
45
+ * The plugin's name — commands answer as `/wildo:<name>` whatever marketplace carries it, because Claude Code namespaces
46
+ * a plugin's components under its MANIFEST name.
47
+ */
46
48
  export const WILDO_CLAUDE_PLUGIN_NAME = 'wildo';
47
- export const WILDO_CLAUDE_PLUGIN_ID = `${WILDO_CLAUDE_PLUGIN_NAME}@${WILDO_CLAUDE_MARKETPLACE_NAME}`;
49
+ /**
50
+ * The marketplace name a framework version publishes its plugin under: `wildo-<version>` (#2417).
51
+ *
52
+ * Claude Code keeps ONE `known_marketplaces.json` per user and registers one marketplace per name, so when every
53
+ * application declared the same name `wildo`, whichever application had registered last decided which copy every
54
+ * other application's session loaded. On app-creation-test-005 (1.1.9) the session loaded app-creation-test-004's
55
+ * 1.1.8 plugin. The name must equal the `name` in `marketplace.json`, which is compiled once per package version and
56
+ * shared by every application that installs it, so the version is the finest identity the name can carry: two
57
+ * applications on different framework versions no longer collide, and two on the same version load the same bytes.
58
+ *
59
+ * spec-cite: Claude Code docs, Plugin loading reference §"Check which stage a plugin reached" (one
60
+ * `known_marketplaces.json` per user) and Marketplace reference §"Marketplace file" (one marketplace per `name`) and
61
+ * §"Top-level fields" (`name`: letters, digits, `.`, `_`, `-`); Settings reference §`extraKnownMarketplaces` (the name
62
+ * must match `marketplace.json`). https://code.claude.com/docs/en/plugins/loading ·
63
+ * https://code.claude.com/docs/en/plugins/marketplace-reference · https://code.claude.com/docs/en/settings-reference
64
+ *
65
+ * Rejected: a name per APPLICATION, which would need a `marketplace.json` generated in each application and the plugin
66
+ * copied beside it (a local marketplace whose plugin source is a symlink is not read), and would stop the framework
67
+ * checkout's dogfood applications from loading the plugin in place as it is edited. Residual: a dogfood application
68
+ * (the checkout's build) and an installed application on the SAME version string still share a name.
69
+ */
70
+ export function wildoClaudeMarketplaceName(version) {
71
+ return `${WILDO_CLAUDE_PLUGIN_NAME}-${version.replace(/[^A-Za-z0-9._-]/gu, '-').replace(/\.{2,}/gu, '.')}`;
72
+ }
73
+ /** Whether a marketplace name is one this module may own: the versioned form, or the bare name written before #2417. */
74
+ export function isWildoClaudeMarketplaceName(name) {
75
+ return name === WILDO_CLAUDE_PLUGIN_NAME || name.startsWith(`${WILDO_CLAUDE_PLUGIN_NAME}-`);
76
+ }
77
+ /** The install id the application's settings enable: `wildo@<marketplace name>`. */
78
+ export function wildoClaudePluginId(marketplaceName) {
79
+ return `${WILDO_CLAUDE_PLUGIN_NAME}@${marketplaceName}`;
80
+ }
48
81
  /** Where the compiled marketplace sits beside `dist/knowledge` in `@wildo-ai/framework-knowledge`. */
49
82
  export const WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME = 'claude-marketplace';
50
83
  /**
@@ -84,6 +117,7 @@ export const WILDO_STATUS_LINE_REFRESH_SECONDS = 5;
84
117
  export const EMPTY_CLAUDE_SETTINGS_OWNERSHIP = Object.freeze({
85
118
  schemaVersion: 1,
86
119
  marketplaceSourcePath: null,
120
+ marketplaceName: null,
87
121
  enabledPluginWritten: false,
88
122
  permissionsAllow: [],
89
123
  statusLineWritten: false,
@@ -100,15 +134,19 @@ function asObject(value) {
100
134
  */
101
135
  export function applyApplicationClaudeSettings(current, desired, previous) {
102
136
  const next = structuredClone(current);
103
- /* The marketplace entry: ours by name. Removed when there is no plugin to point at any more. */
137
+ /*
138
+ * The marketplace entry: ours by name. Removed when there is no plugin to point at any more, and RENAMED when the
139
+ * framework version (and so the compiled name) changed (#2417): the previous key would keep pointing a user-global
140
+ * registration at a name nothing compiles any more.
141
+ */
104
142
  const marketplaces = asObject(next.extraKnownMarketplaces) ?? {};
105
- if (desired.marketplaceSourcePath === null) {
106
- if (previous.marketplaceSourcePath !== null)
107
- delete marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME];
108
- }
109
- else {
143
+ const previousName = previous.marketplaceSourcePath !== null ? previous.marketplaceName : null;
144
+ const desiredName = desired.marketplaceSourcePath === null ? null : desired.marketplaceName;
145
+ if (previousName !== null && previousName !== desiredName)
146
+ delete marketplaces[previousName];
147
+ if (desiredName !== null) {
110
148
  // semantic-literal-boundary: `directory` is Claude Code's own marketplace source type, written into its settings file.
111
- marketplaces[WILDO_CLAUDE_MARKETPLACE_NAME] = { source: { source: 'directory', path: desired.marketplaceSourcePath } };
149
+ marketplaces[desiredName] = { source: { source: 'directory', path: desired.marketplaceSourcePath } };
112
150
  }
113
151
  if (Object.keys(marketplaces).length > 0)
114
152
  next.extraKnownMarketplaces = marketplaces;
@@ -116,18 +154,28 @@ export function applyApplicationClaudeSettings(current, desired, previous) {
116
154
  delete next.extraKnownMarketplaces;
117
155
  /*
118
156
  * The plugin switch. Written `true` when absent. A value that differs from what we last wrote is the
119
- * developer's own decision (they turned the plugin off) and is left alone.
157
+ * developer's own decision (they turned the plugin off) and is left alone — and carried to the new id when the
158
+ * marketplace is renamed, so an upgrade never turns back on a plugin the developer turned off.
120
159
  */
121
160
  const enabled = asObject(next.enabledPlugins) ?? {};
122
161
  let enabledPluginWritten = previous.enabledPluginWritten;
123
- if (desired.marketplaceSourcePath === null) {
124
- if (previous.enabledPluginWritten && enabled[WILDO_CLAUDE_PLUGIN_ID] === true)
125
- delete enabled[WILDO_CLAUDE_PLUGIN_ID];
162
+ const previousId = previousName === null ? null : wildoClaudePluginId(previousName);
163
+ const desiredId = desiredName === null ? null : wildoClaudePluginId(desiredName);
164
+ let turnedOffByDeveloper = false;
165
+ if (previousId !== null && previousId !== desiredId) {
166
+ if (previous.enabledPluginWritten && enabled[previousId] === true)
167
+ delete enabled[previousId];
168
+ else if (enabled[previousId] === false) {
169
+ turnedOffByDeveloper = true;
170
+ delete enabled[previousId];
171
+ }
172
+ }
173
+ if (desiredId === null) {
126
174
  enabledPluginWritten = false;
127
175
  }
128
- else if (!(WILDO_CLAUDE_PLUGIN_ID in enabled)) {
129
- enabled[WILDO_CLAUDE_PLUGIN_ID] = true;
130
- enabledPluginWritten = true;
176
+ else if (!(desiredId in enabled)) {
177
+ enabled[desiredId] = !turnedOffByDeveloper;
178
+ enabledPluginWritten = !turnedOffByDeveloper;
131
179
  }
132
180
  if (Object.keys(enabled).length > 0)
133
181
  next.enabledPlugins = enabled;
@@ -168,6 +216,7 @@ export function applyApplicationClaudeSettings(current, desired, previous) {
168
216
  const ownership = {
169
217
  schemaVersion: 1,
170
218
  marketplaceSourcePath: desired.marketplaceSourcePath,
219
+ marketplaceName: desiredName,
171
220
  enabledPluginWritten,
172
221
  permissionsAllow: [...desired.permissionsAllow],
173
222
  statusLineWritten,
@@ -217,13 +266,24 @@ const SETTINGS_FILE_RELATIVE = ['.claude', 'settings.json'];
217
266
  * read-only `wildo` verb, and a stale allowance of one is harmless.
218
267
  */
219
268
  export function inferClaudeSettingsOwnership(current, desired) {
220
- const marketplace = asObject(asObject(current.extraKnownMarketplaces)?.[WILDO_CLAUDE_MARKETPLACE_NAME]);
221
- const source = asObject(marketplace?.source);
269
+ /*
270
+ * The marketplace this module wrote: a key it may own (`wildo` or `wildo-<version>`) whose directory source is the
271
+ * path it would write, or a path of the shape it writes (`…/dist/claude-marketplace`, so a moved package or a removed
272
+ * plugin is still recognised). Matching the PATH, not only the name, is what keeps a developer's own `wildo-*`
273
+ * marketplace pointing elsewhere theirs (#2417).
274
+ */
275
+ const writtenShape = (path) => typeof path === 'string'
276
+ && (path === desired.marketplaceSourcePath || path.endsWith(`/dist/${WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME}`));
277
+ const ours = Object.entries(asObject(current.extraKnownMarketplaces) ?? {}).find(([name, entry]) => isWildoClaudeMarketplaceName(name)
278
+ && writtenShape(asObject(asObject(entry)?.source)?.path));
279
+ const ownedName = ours?.[0] ?? null;
280
+ const ownedPath = ours === undefined ? null : asObject(asObject(ours[1])?.source)?.path;
222
281
  const allow = asObject(current.permissions)?.allow;
223
282
  return {
224
283
  schemaVersion: 1,
225
- marketplaceSourcePath: typeof source?.path === 'string' ? source.path : null,
226
- enabledPluginWritten: asObject(current.enabledPlugins)?.[WILDO_CLAUDE_PLUGIN_ID] === true,
284
+ marketplaceSourcePath: ownedPath,
285
+ marketplaceName: ownedName,
286
+ enabledPluginWritten: ownedName !== null && asObject(current.enabledPlugins)?.[wildoClaudePluginId(ownedName)] === true,
227
287
  permissionsAllow: Array.isArray(allow) ? allow.filter((entry) => typeof entry === 'string' && desired.permissionsAllow.includes(entry)) : [],
228
288
  statusLineWritten: asObject(current.statusLine)?.command === WILDO_STATUS_LINE_COMMAND,
229
289
  };
@@ -237,15 +297,26 @@ function readOwnership(applicationRoot) {
237
297
  if (parsed.schemaVersion !== 1 || !Array.isArray(parsed.permissionsAllow)) {
238
298
  throw new Error(`${path} is not a claude-settings ownership record this version understands; delete it to let the next sync start over.`);
239
299
  }
300
+ const marketplaceSourcePath = typeof parsed.marketplaceSourcePath === 'string' ? parsed.marketplaceSourcePath : null;
240
301
  return {
241
302
  schemaVersion: 1,
242
- marketplaceSourcePath: typeof parsed.marketplaceSourcePath === 'string' ? parsed.marketplaceSourcePath : null,
303
+ marketplaceSourcePath,
304
+ // A record from before #2417 owned the bare name whenever it owned a marketplace.
305
+ marketplaceName: typeof parsed.marketplaceName === 'string' ? parsed.marketplaceName : (marketplaceSourcePath === null ? null : WILDO_CLAUDE_PLUGIN_NAME),
243
306
  enabledPluginWritten: parsed.enabledPluginWritten === true,
244
307
  permissionsAllow: parsed.permissionsAllow.filter((entry) => typeof entry === 'string'),
245
308
  /* Absent in a record written before the status line existed: nothing of ours is in the file yet. */
246
309
  statusLineWritten: parsed.statusLineWritten === true,
247
310
  };
248
311
  }
312
+ /**
313
+ * The `name` the compiled `marketplace.json` declares, which the settings key must equal (#2417). A package compiled
314
+ * before the versioned name, or a manifest with no usable name, answers the bare `wildo` it was compiled with.
315
+ */
316
+ function readCompiledMarketplaceName(marketplaceDirectory) {
317
+ const manifest = JSON.parse(readFileSync(join(marketplaceDirectory, '.claude-plugin', 'marketplace.json'), 'utf8'));
318
+ return typeof manifest.name === 'string' && isWildoClaudeMarketplaceName(manifest.name) ? manifest.name : WILDO_CLAUDE_PLUGIN_NAME;
319
+ }
249
320
  /**
250
321
  * Read, merge and write the application's `.claude/settings.json`.
251
322
  *
@@ -264,7 +335,11 @@ export function syncApplicationClaudeSettings(input) {
264
335
  if (currentObject === null) {
265
336
  return { updated: false, marketplaceSourcePath: null, warning: `${settingsPath} is not a JSON object; the wildo plugin and console permissions were NOT wired.` };
266
337
  }
267
- const desired = { marketplaceSourcePath, permissionsAllow: WILDO_CONSOLE_READ_ONLY_PERMISSIONS };
338
+ const desired = {
339
+ marketplaceSourcePath,
340
+ marketplaceName: present ? readCompiledMarketplaceName(input.marketplaceDirectory) : WILDO_CLAUDE_PLUGIN_NAME,
341
+ permissionsAllow: WILDO_CONSOLE_READ_ONLY_PERMISSIONS,
342
+ };
268
343
  const previous = readOwnership(input.applicationRoot) ?? inferClaudeSettingsOwnership(currentObject, desired);
269
344
  const { next, ownership, changed } = applyApplicationClaudeSettings(currentObject, desired, previous);
270
345
  if (changed)