@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-apply.service.js","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-apply.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa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,CAAC,UAAU,EAAE,SAAS,CAAC,IAAI,gCAAgC,CAAC,UAAU,EAAE,KAAK,CAAC,CAC/H,CAAC;YACF,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CACb,cAAc,QAAQ,CAAC,EAAE,UAAU,kCAAkC,CAAC,SAAS,CAAC,oBAAoB,kCAAkC,CAAC,KAAK,CAAC,0BAA0B;sBACnK,sFAAsF,CAC3F,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/**\n * Applying blueprint layers on a freshly materialized base (epic #2856, #2859).\n *\n * A blueprint is a LAYER UPON the base (decision D3). Applying one never overwrites a file of the base, and\n * overwrites a file of a lower layer only when the upper layer names it in `overrides.files`. Everything else it\n * does reuses the machinery that already applies changes to an application:\n *\n * - its files render through the composition-scenario template renderer (`createCompositionTemplateRenderer`);\n * - an embedded module is registered by `applyModuleRegistration` — the same `add-module` / `add-minion` /\n * `add-worker-node` edits a registry install replays, so a blueprint module is known to the application exactly\n * as a scaffolded or installed one is;\n * - a declaration operation sets a value the base declares, through the config path walker\n * (`setConfigObjectProperty`, or `setTopLevelDeclarationValue` for a declaration set whole);\n * - imports, barrel lines and dependencies are `ts-import-add`, `append-line` and `package-dependency-add` steps\n * planned by the composition engine;\n * - a slot contribution is written by the anchored-region grammar (`writeAnchorContribution`).\n *\n * ## Resolution happens before anything is written\n *\n * The chain (`resolveBlueprintChain`), the init flags (`resolveBlueprintInitFlags`) and the parameters\n * (`resolveBlueprintParameters`) are resolved and refused up front, so a wrong flag or a missing parameter stops\n * `wildo init` before the base is scaffolded. The init flags in particular must resolve before the base renders:\n * `--database` decides what the skeleton itself authors.\n *\n * ## A layer applies whole or not at all\n *\n * Every collision is computed before the first write. A failure after writing has started (a registration that\n * refuses, a config path that does not resolve) restores every file the layer touched and deletes the files it\n * created, then rethrows. The commit that records a layer is the caller's: one commit per layer.\n */\n\nimport { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport semver from 'semver';\nimport {\n applyCompositionScenarioPlan,\n CompositionScenarioEditKind,\n createCompositionTemplateRenderer,\n planCompositionScenario,\n setConfigObjectProperty,\n setTopLevelDeclarationValue,\n type CompositionScenarioEdit,\n type CompositionTemplateRenderer,\n} from '@wildo-ai/application-creation-runtime';\nimport {\n anchorCommentStyleForPath,\n BLUEPRINT_IDENTITY_VARIABLES,\n blueprintDeclarationTargetsOverlap,\n BlueprintInitConstraintMode,\n describeBlueprintDeclarationTarget,\n flattenModuleBoundaries,\n isSameBlueprintDeclarationTarget,\n writeAnchorContribution,\n isBlueprintArtifactPathAllowed,\n ModuleManifestSchema,\n parseBlueprintParameterValue,\n ScaffoldLockSectionSchema,\n type ScaffoldLockSection,\n type BlueprintDeclarationTarget,\n type BlueprintParameterValue,\n InitFlag,\n} from '@wildo-ai/platform-config-lib';\nimport { applyModuleRegistration, type RegistrationSnapshot } from '~wildo-cli/services/registry/module-registration.service';\nimport { landingPathOfPackedFile, type LoadedBlueprintArtifact } from './blueprint-artifact.service';\n\n/** Who an application is, for the purpose of a blueprint: the values its identity substitution maps between. */\nexport interface BlueprintIdentity {\n readonly slug: string;\n readonly displayName: string;\n}\n\n/**\n * `__name__` in a path, the convention composition scenarios use. Only a name the layer DECLARES (a parameter, or an\n * identity variable) is a variable: `__tests__`, `__mocks__` and `__snapshots__` are ordinary directory names, and a\n * module carrying tests must apply.\n */\nconst PATH_VARIABLE_PATTERN = /__([a-z][a-zA-Z0-9]*)__/g;\n/** A directory that does not exist, so a composition plan carries only edit steps. */\nconst NO_FILES_DIRECTORY = '__blueprint-edit-steps__';\n\n// ── Chain ─────────────────────────────────────────────────────────────────────────────────────────────\n\n/**\n * Validate an ordered list of layers: ids unique, and every `extends` satisfied by an EARLIER layer whose version\n * matches the range. The order the operator gives is the order of application; the chain is refused rather than\n * reordered, because a reordering the operator did not ask for would apply files in an order nobody reviewed.\n */\nexport function resolveBlueprintChain(layers: readonly LoadedBlueprintArtifact[]): void {\n const seen = new Map<string, string>();\n layers.forEach((layer, index) => {\n const { id, version } = layer.manifest;\n if (seen.has(id)) throw new Error(`Blueprint '${id}' is listed twice.`);\n for (const reference of layer.manifest.extends) {\n const lowerVersion = seen.get(reference.id);\n if (lowerVersion === undefined) {\n const later = layers.slice(index + 1).some((candidate) => candidate.manifest.id === reference.id);\n throw new Error(\n `Blueprint '${id}' is layered on '${reference.id}' ${reference.range}, which ${later ? 'is listed after it' : 'is not in the list'}: list '${reference.id}' before '${id}'.`,\n );\n }\n if (!semver.satisfies(lowerVersion, reference.range, { includePrerelease: true })) {\n throw new Error(`Blueprint '${id}' needs '${reference.id}' ${reference.range}, and the listed one is ${lowerVersion}.`);\n }\n }\n seen.set(id, version);\n });\n}\n\n// ── Init flags ────────────────────────────────────────────────────────────────────────────────────────\n\n/** The init flags a chain decided, and which layer decided each. */\nexport interface ResolvedBlueprintInitFlags {\n /** The value each constrained flag takes; absent when the operator's own flag wins over a default. */\n readonly values: Partial<Record<InitFlag, string>>;\n /** For reporting: `<layer id> (lock|default)` per flag. */\n readonly decidedBy: Partial<Record<InitFlag, string>>;\n}\n\n/**\n * Resolve the application-shape init flags a chain constrains, against what the operator passed. A lock refuses a\n * contradicting flag; a default yields to one. A layer changing a LOWER layer's lock must name the flag in\n * `overrides.init`.\n */\nexport function resolveBlueprintInitFlags(\n layers: readonly LoadedBlueprintArtifact[],\n operator: Partial<Record<InitFlag, string | undefined>>,\n): ResolvedBlueprintInitFlags {\n const current = new Map<InitFlag, { value: string; mode: BlueprintInitConstraintMode; layerId: string }>();\n for (const layer of layers) {\n for (const flag of layer.manifest.overrides.init) {\n const lower = current.get(flag);\n if (lower === undefined || lower.mode !== BlueprintInitConstraintMode.LOCK) {\n throw new Error(`Blueprint '${layer.manifest.id}' overrides --${flag}, which no lower blueprint locks. An override names a lower lock it replaces.`);\n }\n }\n for (const entry of layer.manifest.init) {\n const previous = current.get(entry.flag);\n if (\n previous !== undefined\n && previous.mode === BlueprintInitConstraintMode.LOCK\n && previous.value !== entry.value\n && !layer.manifest.overrides.init.includes(entry.flag)\n ) {\n throw new Error(\n `Blueprint '${layer.manifest.id}' sets --${entry.flag} to '${entry.value}', but '${previous.layerId}' below it locks it to '${previous.value}'. `\n + `A layer replaces a lower lock only by naming it in its overrides.`,\n );\n }\n current.set(entry.flag, { value: entry.value, mode: entry.mode, layerId: layer.manifest.id });\n }\n }\n const values: Partial<Record<InitFlag, string>> = {};\n const decidedBy: Partial<Record<InitFlag, string>> = {};\n for (const [flag, decision] of current) {\n const passed = operator[flag];\n if (passed !== undefined && passed !== decision.value) {\n if (decision.mode === BlueprintInitConstraintMode.LOCK) {\n throw new Error(`--${flag} ${passed} contradicts blueprint '${decision.layerId}', which locks it to '${decision.value}'. Leave the flag out.`);\n }\n continue;\n }\n values[flag] = decision.value;\n decidedBy[flag] = `${decision.layerId} (${decision.mode})`;\n }\n return { values, decidedBy };\n}\n\n// ── Parameters ────────────────────────────────────────────────────────────────────────────────────────\n\n/**\n * Parse `name=value` strings (the `--blueprint-param` flag). Refuses a malformed entry and a name given twice with\n * different values.\n */\nexport function parseBlueprintParamAssignments(assignments: readonly string[]): Record<string, string> {\n const result: Record<string, string> = {};\n for (const assignment of assignments) {\n const separator = assignment.indexOf('=');\n if (separator <= 0) throw new Error(`--blueprint-param '${assignment}' is not name=value.`);\n const name = assignment.slice(0, separator).trim();\n const value = assignment.slice(separator + 1);\n if (Object.hasOwn(result, name) && result[name] !== value) throw new Error(`--blueprint-param '${name}' is given twice with different values.`);\n result[name] = value;\n }\n return result;\n}\n\n/**\n * Resolve each layer's parameter values, in layer order.\n *\n * A value comes from, in order: an UPPER layer's binding (`extends[].parameters`), the operator\n * (`--blueprint-param`), the declared default. An operator value that contradicts a binding refuses: the upper layer\n * decided it, and silently ignoring the flag would apply something the operator did not ask for. A name the\n * operator supplies that no layer declares refuses too — a typo must not pass for a choice.\n */\nexport function resolveBlueprintParameters(\n layers: readonly LoadedBlueprintArtifact[],\n supplied: Readonly<Record<string, string>>,\n): ReadonlyArray<Record<string, BlueprintParameterValue>> {\n const declaredAnywhere = new Set(layers.flatMap((layer) => layer.manifest.parameters.map((parameter) => parameter.name)));\n for (const name of Object.keys(supplied)) {\n if (!declaredAnywhere.has(name)) throw new Error(`No listed blueprint declares a parameter '${name}'.`);\n }\n return layers.map((layer, index) => {\n const bindings = new Map<string, { value: BlueprintParameterValue; by: string }>();\n for (const upper of layers.slice(index + 1)) {\n for (const reference of upper.manifest.extends) {\n if (reference.id !== layer.manifest.id) continue;\n for (const [name, value] of Object.entries(reference.parameters ?? {})) {\n if (!layer.manifest.parameters.some((parameter) => parameter.name === name)) {\n throw new Error(`Blueprint '${upper.manifest.id}' binds '${name}' on '${layer.manifest.id}', which declares no such parameter.`);\n }\n const previous = bindings.get(name);\n if (previous !== undefined && previous.value !== value) {\n throw new Error(`'${previous.by}' and '${upper.manifest.id}' bind '${layer.manifest.id}' parameter '${name}' to different values.`);\n }\n bindings.set(name, { value, by: upper.manifest.id });\n }\n }\n }\n const values: Record<string, BlueprintParameterValue> = {};\n for (const parameter of layer.manifest.parameters) {\n const binding = bindings.get(parameter.name);\n const passed = supplied[parameter.name];\n let raw: BlueprintParameterValue | undefined;\n if (binding !== undefined) {\n if (passed !== undefined && String(binding.value) !== passed) {\n throw new Error(`--blueprint-param ${parameter.name}=${passed} contradicts '${binding.by}', which binds it to '${String(binding.value)}' for '${layer.manifest.id}'.`);\n }\n raw = binding.value;\n } else {\n raw = passed ?? parameter.default;\n }\n if (raw === undefined) {\n if (parameter.required) {\n throw new Error(`Blueprint '${layer.manifest.id}' requires --blueprint-param ${parameter.name}=… (${parameter.description}).`);\n }\n continue;\n }\n const parsed = parseBlueprintParameterValue(parameter, raw);\n if ('reason' in parsed) throw new Error(`Blueprint '${layer.manifest.id}': ${parsed.reason}.`);\n values[parameter.name] = parsed.value;\n }\n return values;\n });\n}\n\n// ── Identity ──────────────────────────────────────────────────────────────────────────────────────────\n\n/**\n * Replace the DEFINING application's identity with the new application's, in text a blueprint carries. A module\n * that imports `@wonder-procurement/shared-lib` must import the new application's shared library, and a sentence\n * naming the defining application must name the new one.\n *\n * Only the two values a blueprint manifest records are replaced: the slug (which also covers the package scope\n * `@<slug>/`) and the display name. ONE pass over the text, longest source first, so a replacement is never\n * replaced again: a new slug that contains the old one (`acme` → `acme-two`) must not become `acme-two-two`, and a\n * new slug equal to the old display name must not be rewritten by the second pair.\n *\n * A slug embedded in a longer word (`buying` inside `buyingGroup`) is replaced too, because nothing in the text\n * says which occurrences mean the application. `wildo blueprint pack` lists those sites\n * (`findEmbeddedIdentityOccurrences`) so the author can see them before anyone applies the blueprint.\n */\nexport function substituteBlueprintIdentity(text: string, from: BlueprintIdentity, to: BlueprintIdentity): string {\n const replacements = new Map<string, string>();\n for (const [source, target] of [[from.slug, to.slug], [from.displayName, to.displayName]] as const) {\n if (source !== '' && source !== target && !replacements.has(source)) replacements.set(source, target);\n }\n if (replacements.size === 0) return text;\n const pattern = new RegExp([...replacements.keys()].sort((a, b) => b.length - a.length).map(escapeRegExp).join('|'), 'g');\n return text.replace(pattern, (match) => replacements.get(match) ?? match);\n}\n\n/**\n * The places in `text` where the slug sits INSIDE a longer word — a letter or digit right before or after it — and\n * would therefore be rewritten by `substituteBlueprintIdentity` although it may not mean the application. `-`, `/`,\n * `@`, `.`, quotes and whitespace are boundaries: `@acme/shared-lib`, `acme-app` and `\"acme\"` are the identity.\n */\nexport function findEmbeddedIdentityOccurrences(text: string, identity: BlueprintIdentity): readonly string[] {\n if (identity.slug === '') return [];\n const pattern = new RegExp(`(?<=[A-Za-z0-9])${escapeRegExp(identity.slug)}|${escapeRegExp(identity.slug)}(?=[A-Za-z0-9])`, 'g');\n const sites: string[] = [];\n for (const match of text.matchAll(pattern)) {\n const start = Math.max(0, (match.index ?? 0) - 12);\n sites.push(text.slice(start, (match.index ?? 0) + identity.slug.length + 12).replace(/\\s+/g, ' ').trim());\n }\n return sites;\n}\n\nfunction escapeRegExp(value: string): string {\n return value.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\n/** The text of `content` when it is UTF-8 text, or null for binary content (which is carried verbatim). */\nexport function decodeBlueprintText(content: Buffer): string | null {\n if (content.includes(0)) return null;\n const text = content.toString('utf8');\n return Buffer.from(text, 'utf8').equals(content) ? text : null;\n}\n\nfunction interpolatePath(\n relative: string,\n variables: Readonly<Record<string, BlueprintParameterValue>>,\n declared: ReadonlySet<string>,\n blueprintId: string,\n): string {\n return relative.replace(PATH_VARIABLE_PATTERN, (match, name: string) => {\n if (!declared.has(name)) return match;\n const value = variables[name];\n if (value === undefined) throw new Error(`Blueprint '${blueprintId}' has a path segment '__${name}__' whose parameter has no value.`);\n return String(value);\n });\n}\n\n/** A config key to WRITE when the property is absent: a computed key (`EngineCapability.X`) is bracketed. */\nfunction keyTextForSegment(segment: string): string {\n return /^[A-Za-z_$][\\w$]*\\.[A-Za-z_$][\\w$.]*$/.test(segment) ? `[${segment}]` : segment;\n}\n\n// ── The scaffold record ───────────────────────────────────────────────────────────────────────────────\n\n/**\n * What `wildo init` records in `sections.scaffold` for EVERY scaffold, blueprint or not: the application-shape flags\n * the base was rendered with, and the layers applied on it with their resolved parameters. `wildo blueprint pack`\n * rebuilds a defining application's base from it, so a plain init must record it too.\n */\nexport function buildScaffoldRecord(input: {\n readonly database: string;\n readonly layers: readonly LoadedBlueprintArtifact[];\n readonly parameters: ReadonlyArray<Record<string, BlueprintParameterValue>>;\n}): ScaffoldLockSection {\n return ScaffoldLockSectionSchema.parse({\n applicationShape: { [InitFlag.DATABASE]: input.database },\n blueprints: input.layers.map((layer, index) => ({\n id: layer.manifest.id,\n version: layer.manifest.version,\n parameters: input.parameters[index] ?? {},\n })),\n });\n}\n\n// ── Apply ─────────────────────────────────────────────────────────────────────────────────────────────\n\n/** What one layer did, for the operator and for the commit message. */\nexport interface BlueprintLayerApplyOutcome {\n /** App-relative files the layer created or (with `overrides`) rewrote. */\n readonly written: readonly string[];\n /** App-relative files the layer edited: registries and config. */\n readonly edited: readonly string[];\n /** One sentence per thing the layer did. */\n readonly lines: readonly string[];\n /** Declaration targets the layer set, for the layers above it. */\n readonly declared: readonly BlueprintDeclarationTarget[];\n}\n\n/**\n * Apply one layer. Throws, having written nothing, on a collision; throws, having restored everything, on any later\n * failure.\n */\nexport function applyBlueprintLayer(input: {\n readonly applicationRoot: string;\n readonly frameworkRoot: string | null;\n readonly layer: LoadedBlueprintArtifact;\n readonly parameters: Readonly<Record<string, BlueprintParameterValue>>;\n readonly identity: BlueprintIdentity;\n /** App-relative files lower layers of this same apply wrote. */\n readonly lowerLayerFiles: ReadonlySet<string>;\n /** Declaration targets lower layers of this same apply set. */\n readonly lowerLayerDeclarations?: readonly BlueprintDeclarationTarget[];\n readonly renderer?: CompositionTemplateRenderer;\n}): BlueprintLayerApplyOutcome {\n const { applicationRoot, layer, identity } = input;\n const manifest = layer.manifest;\n const renderer = input.renderer ?? createCompositionTemplateRenderer();\n const variables: Record<string, BlueprintParameterValue> = { ...input.parameters, slug: identity.slug, displayName: identity.displayName };\n const toNewIdentity = (text: string): string => substituteBlueprintIdentity(text, manifest.identity, identity);\n\n assertBlueprintDeclarationOverrides(manifest, input.lowerLayerDeclarations ?? []);\n for (const overridden of manifest.overrides.files) {\n if (!input.lowerLayerFiles.has(overridden)) {\n throw new Error(`Blueprint '${manifest.id}' overrides ${overridden}, which no lower blueprint wrote. A blueprint never overrides the base.`);\n }\n }\n\n // ── Plan the files, refusing every collision before the first write ──\n const writes: Array<{ path: string; content: Buffer }> = [];\n const collisions: string[] = [];\n const declaredNames = new Set([...manifest.parameters.map((parameter) => parameter.name), ...BLUEPRINT_IDENTITY_VARIABLES]);\n const landedFrom = new Map<string, string>();\n for (const packed of layer.files) {\n const isTemplate = packed !== landingPathOfPackedFile(packed);\n const target = interpolatePath(landingPathOfPackedFile(packed), variables, declaredNames, manifest.id);\n if (!isBlueprintArtifactPathAllowed(target)) throw new Error(`Blueprint '${manifest.id}' would write ${target}, a path no blueprint may write.`);\n const sameTarget = landedFrom.get(target);\n if (sameTarget !== undefined) throw new Error(`Blueprint '${manifest.id}' carries ${sameTarget} and ${packed}, which both land on ${target}.`);\n landedFrom.set(target, packed);\n const source = readFileSync(join(layer.filesDirectory, packed));\n let content: Buffer;\n if (isTemplate) {\n content = Buffer.from(renderer.render(toNewIdentity(source.toString('utf8')), variables), 'utf8');\n } else {\n const text = decodeBlueprintText(source);\n content = text === null ? source : Buffer.from(toNewIdentity(text), 'utf8');\n }\n const absolute = join(applicationRoot, target);\n if (existsSync(absolute)) {\n if (input.lowerLayerFiles.has(target) && manifest.overrides.files.includes(target)) {\n writes.push({ path: target, content });\n } else if (!readFileSync(absolute).equals(content)) {\n collisions.push(target);\n }\n continue;\n }\n writes.push({ path: target, content });\n }\n if (collisions.length > 0) {\n throw new Error(\n `Blueprint '${manifest.id}' would overwrite ${collisions.length} file(s) that already exist (${collisions.join(', ')}). `\n + 'A blueprint is a layer upon the base: it adds files and never replaces one of the base, and replaces a lower blueprint\\'s file only when it names it in its overrides.',\n );\n }\n\n // ── Write, keeping what is needed to undo it ──\n const created: string[] = [];\n /*\n * ONE chronological undo log, undone in reverse. Registrations and config operations can edit the same file\n * (`wildo.saas.config.ts` holds both `applicationModules` and the values a config operation sets), so two logs\n * restored one after the other would leave that file at an intermediate state.\n */\n const restorations: Array<{ targetRelativePath: string; previousContent: string | Buffer }> = [];\n const edited = new Set<string>();\n const lines: string[] = [];\n const rollback = (): void => {\n for (const { targetRelativePath, previousContent } of [...restorations].reverse()) writeFileSync(join(applicationRoot, targetRelativePath), previousContent);\n for (const path of created) rmSync(join(applicationRoot, path), { force: true });\n };\n\n try {\n for (const write of writes) {\n const absolute = join(applicationRoot, write.path);\n if (existsSync(absolute)) restorations.push({ targetRelativePath: write.path, previousContent: readFileSync(absolute) });\n else created.push(write.path);\n mkdirSync(dirname(absolute), { recursive: true });\n writeFileSync(absolute, write.content);\n }\n if (writes.length > 0) lines.push(`${writes.length} file(s)`);\n\n // ── Modules: the registration a registry install replays ──\n for (const module of manifest.modules) {\n const boundaries = flattenModuleBoundaries(module.boundaries);\n const missing = boundaries.filter((boundary) => !existsSync(join(applicationRoot, boundary)));\n if (missing.length > 0) {\n throw new Error(`Blueprint '${manifest.id}' registers '${module.registration.moduleId}', whose files it does not carry (${missing.join(', ')}).`);\n }\n const moduleManifest = ModuleManifestSchema.parse({ id: manifest.id, version: manifest.version, boundaries: module.boundaries });\n const snapshot: RegistrationSnapshot = applyModuleRegistration(applicationRoot, input.frameworkRoot, moduleManifest, module.registration, { expectNothingPresent: true });\n restorations.push(...snapshot);\n for (const entry of snapshot) edited.add(entry.targetRelativePath);\n lines.push(`module ${module.registration.moduleId} (${module.registration.scenario})`);\n }\n\n // ── Edit steps the composition engine already knows: imports, barrel lines, dependencies ──\n const applyEditSteps = (edits: CompositionScenarioEdit[]): void => {\n if (edits.length === 0) return;\n for (const file of new Set(edits.map((edit) => edit.file))) {\n const absolute = join(applicationRoot, file);\n if (!existsSync(absolute)) throw new Error(`Blueprint '${manifest.id}' edits ${file}, which this application does not have.`);\n restorations.push({ targetRelativePath: file, previousContent: readFileSync(absolute) });\n edited.add(file);\n }\n const plan = planCompositionScenario({\n scenario: {\n manifest: {\n ref: 'blueprint-edit-steps',\n version: 1,\n title: `edit steps of ${manifest.id}`,\n description: 'The import, barrel and dependency steps a blueprint layer applies.',\n variables: [],\n edits,\n },\n scenarioDirectory: layer.artifactDirectory,\n filesDirectory: join(layer.artifactDirectory, NO_FILES_DIRECTORY),\n },\n applicationRoot,\n variables: {},\n renderer,\n });\n applyCompositionScenarioPlan({ plan, applicationRoot });\n };\n applyEditSteps(manifest.barrelExports.map((entry) => ({ kind: CompositionScenarioEditKind.APPEND_LINE, file: entry.file, line: toNewIdentity(entry.line) })));\n if (manifest.barrelExports.length > 0) lines.push(`${manifest.barrelExports.length} barrel export(s)`);\n applyEditSteps(manifest.dependencies.map((entry) => ({\n kind: CompositionScenarioEditKind.PACKAGE_DEPENDENCY_ADD,\n file: entry.manifest,\n entries: { [toNewIdentity(entry.name)]: toNewIdentity(entry.specifier) },\n })));\n if (manifest.dependencies.length > 0) lines.push(`${manifest.dependencies.length} dependenc(ies)`);\n\n // ── Declarations: values the base declares, set through the config walker ──\n for (const operation of manifest.declarationOperations) {\n const absolute = join(applicationRoot, operation.file);\n if (!existsSync(absolute)) throw new Error(`Blueprint '${manifest.id}' sets a declaration in ${operation.file}, which this application does not have.`);\n applyEditSteps(operation.imports.map((statement) => ({ kind: CompositionScenarioEditKind.TS_IMPORT_ADD, file: operation.file, statement: toNewIdentity(statement) })));\n restorations.push({ targetRelativePath: operation.file, previousContent: readFileSync(absolute) });\n const valueText = renderer.render(toNewIdentity(operation.valueText), variables);\n const content = readFileSync(absolute, 'utf8');\n const outcome = operation.path.length === 0\n ? setTopLevelDeclarationValue({ filePath: absolute, content, declaration: operation.declaration as string, valueText })\n : setConfigObjectProperty({\n filePath: absolute,\n content,\n target: { ...(operation.declaration === undefined ? {} : { exportedName: operation.declaration }), path: operation.path },\n valueText,\n createIfMissing: { keyText: keyTextForSegment(operation.path[operation.path.length - 1] as string) },\n });\n if (outcome.changed) writeFileSync(absolute, outcome.newContent, 'utf8');\n edited.add(operation.file);\n // One line per operation: a value is often a multi-line object, and the whole of it belongs in the diff.\n lines.push(`${outcome.changed ? 'set' : 'already'} ${describeBlueprintDeclarationTarget(operation)}`);\n }\n\n // ── Slot contributions: free text inside the slots a base file declares ──\n for (const contribution of manifest.slotContributions) {\n const absolute = join(applicationRoot, contribution.file);\n if (!existsSync(absolute)) throw new Error(`Blueprint '${manifest.id}' contributes to ${contribution.file}, which this application does not have.`);\n const before = readFileSync(absolute, 'utf8');\n const after = writeAnchorContribution(before, anchorCommentStyleForPath(contribution.file), {\n slotId: contribution.slot,\n blueprintId: manifest.id,\n body: renderer.render(toNewIdentity(contribution.body), variables),\n });\n if (after !== before) {\n restorations.push({ targetRelativePath: contribution.file, previousContent: before });\n writeFileSync(absolute, after, 'utf8');\n edited.add(contribution.file);\n }\n lines.push(`${contribution.file}: slot ${contribution.slot}`);\n }\n } catch (error) {\n rollback();\n throw error;\n }\n\n return {\n written: writes.map((write) => write.path),\n edited: [...edited].sort(),\n lines,\n declared: manifest.declarationOperations.map(({ file, declaration, path }) => ({ file, ...(declaration === undefined ? {} : { declaration }), path })),\n };\n}\n\n/**\n * Refuse a layer that replaces a lower layer's declared value without naming it, or names an override nothing below\n * it set. Targets OVERLAP when one path is a prefix of the other: setting `engineCapabilities` whole replaces the\n * `engineCapabilities.EngineCapability.BILLING` a lower layer set, and the reverse edits inside it, so both are\n * collisions. An override authorizes a collision when it names either side of it exactly.\n *\n * Exported for the export path, which checks a definition against its lower layers before packing it.\n */\nexport function assertBlueprintDeclarationOverrides(\n manifest: {\n readonly id: string;\n readonly declarationOperations: readonly BlueprintDeclarationTarget[];\n readonly overrides: { readonly declarations: readonly BlueprintDeclarationTarget[] };\n },\n lowerDeclarations: readonly BlueprintDeclarationTarget[],\n): void {\n for (const overridden of manifest.overrides.declarations) {\n if (!lowerDeclarations.some((lower) => blueprintDeclarationTargetsOverlap(lower, overridden))) {\n throw new Error(`Blueprint '${manifest.id}' overrides ${describeBlueprintDeclarationTarget(overridden)}, which no lower blueprint set. A blueprint never overrides the base.`);\n }\n }\n for (const operation of manifest.declarationOperations) {\n for (const lower of lowerDeclarations) {\n if (!blueprintDeclarationTargetsOverlap(lower, operation)) continue;\n const authorized = manifest.overrides.declarations.some(\n (overridden) => isSameBlueprintDeclarationTarget(overridden, operation) || isSameBlueprintDeclarationTarget(overridden, lower),\n );\n if (!authorized) {\n throw new Error(\n `Blueprint '${manifest.id}' sets ${describeBlueprintDeclarationTarget(operation)}, which overlaps ${describeBlueprintDeclarationTarget(lower)} a lower blueprint set. `\n + 'A layer replaces a lower layer\\'s value only by naming it in overrides.declarations.',\n );\n }\n }\n }\n}\n"]}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * A packed blueprint on disk (epic #2856): `blueprint.json` beside a `files/` tree.
3
+ *
4
+ * The `files/` tree is laid out as the files land in the application: a `.hbs` file is rendered with the
5
+ * blueprint's parameters and the new application's identity, and a `__param__` path segment is interpolated. Every
6
+ * path is checked against `isBlueprintArtifactPathAllowed` when the artifact is READ, not only when it is written,
7
+ * so an artifact assembled by hand cannot plant what `wildo blueprint pack` would never have packed.
8
+ */
9
+ import { type BlueprintManifest } from '@wildo-ai/platform-config-lib';
10
+ /** The suffix of a file the applier renders through the template engine. */
11
+ export declare const BLUEPRINT_TEMPLATE_SUFFIX = ".hbs";
12
+ /** A packed blueprint, loaded and validated. */
13
+ export interface LoadedBlueprintArtifact {
14
+ readonly manifest: BlueprintManifest;
15
+ /** Absolute path of the artifact root (where `blueprint.json` sits). */
16
+ readonly artifactDirectory: string;
17
+ /** Absolute path of its `files/` tree. */
18
+ readonly filesDirectory: string;
19
+ /** Every file of the tree, relative to `files/`, POSIX-separated, sorted. */
20
+ readonly files: readonly string[];
21
+ }
22
+ /** Every regular file under `root`, relative and POSIX-separated, sorted. */
23
+ export declare function listFilesRecursively(root: string): string[];
24
+ /** The app-relative path a packed file lands at, before `__param__` interpolation: its `.hbs` suffix removed. */
25
+ export declare function landingPathOfPackedFile(packedRelative: string): string;
26
+ /** Load and validate a packed blueprint. Refuses a missing or invalid manifest and any path the rule refuses. */
27
+ export declare function readBlueprintArtifact(artifactDirectory: string): LoadedBlueprintArtifact;
28
+ /**
29
+ * Write a packed blueprint. The target must be empty, absent, or a previous pack (it holds a `blueprint.json`): a
30
+ * pack never clears a directory it did not write.
31
+ */
32
+ export declare function writeBlueprintArtifact(artifactDirectory: string, manifest: BlueprintManifest, files: ReadonlyMap<string, Buffer>): void;
33
+ //# sourceMappingURL=blueprint-artifact.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-artifact.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-artifact.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAGvC,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,SAAS,CAAC;AAEhD,gDAAgD;AAChD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,wEAAwE;IACxE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,0CAA0C;IAC1C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,6EAA6E;IAC7E,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED,6EAA6E;AAC7E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAY3D;AAED,iHAAiH;AACjH,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAEtE;AAED,iHAAiH;AACjH,wBAAgB,qBAAqB,CAAC,iBAAiB,EAAE,MAAM,GAAG,uBAAuB,CAyBxF;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAkBvI"}
@@ -0,0 +1,88 @@
1
+ /**
2
+ * A packed blueprint on disk (epic #2856): `blueprint.json` beside a `files/` tree.
3
+ *
4
+ * The `files/` tree is laid out as the files land in the application: a `.hbs` file is rendered with the
5
+ * blueprint's parameters and the new application's identity, and a `__param__` path segment is interpolated. Every
6
+ * path is checked against `isBlueprintArtifactPathAllowed` when the artifact is READ, not only when it is written,
7
+ * so an artifact assembled by hand cannot plant what `wildo blueprint pack` would never have packed.
8
+ */
9
+ import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
10
+ import { dirname, join } from 'node:path';
11
+ import { BLUEPRINT_FILES_DIRECTORY, BLUEPRINT_MANIFEST_FILE_NAME, BlueprintManifestSchema, isBlueprintArtifactPathAllowed, } from '@wildo-ai/platform-config-lib';
12
+ import { assertBlueprintLine } from './blueprint-line.service.js';
13
+ /** The suffix of a file the applier renders through the template engine. */
14
+ export const BLUEPRINT_TEMPLATE_SUFFIX = '.hbs';
15
+ /** Every regular file under `root`, relative and POSIX-separated, sorted. */
16
+ export function listFilesRecursively(root) {
17
+ if (!existsSync(root))
18
+ return [];
19
+ const results = [];
20
+ const walk = (relative) => {
21
+ for (const entry of readdirSync(join(root, relative), { withFileTypes: true })) {
22
+ const entryRelative = relative ? `${relative}/${entry.name}` : entry.name;
23
+ if (entry.isDirectory())
24
+ walk(entryRelative);
25
+ else if (entry.isFile())
26
+ results.push(entryRelative);
27
+ }
28
+ };
29
+ walk('');
30
+ return results.sort();
31
+ }
32
+ /** The app-relative path a packed file lands at, before `__param__` interpolation: its `.hbs` suffix removed. */
33
+ export function landingPathOfPackedFile(packedRelative) {
34
+ return packedRelative.endsWith(BLUEPRINT_TEMPLATE_SUFFIX) ? packedRelative.slice(0, -BLUEPRINT_TEMPLATE_SUFFIX.length) : packedRelative;
35
+ }
36
+ /** Load and validate a packed blueprint. Refuses a missing or invalid manifest and any path the rule refuses. */
37
+ export function readBlueprintArtifact(artifactDirectory) {
38
+ const manifestPath = join(artifactDirectory, BLUEPRINT_MANIFEST_FILE_NAME);
39
+ if (!existsSync(manifestPath)) {
40
+ throw new Error(`${artifactDirectory} is not a packed blueprint: it has no ${BLUEPRINT_MANIFEST_FILE_NAME} (produce one with \`wildo blueprint pack\`).`);
41
+ }
42
+ let raw;
43
+ try {
44
+ raw = JSON.parse(readFileSync(manifestPath, 'utf8'));
45
+ }
46
+ catch (error) {
47
+ throw new Error(`${manifestPath} is not valid JSON: ${error instanceof Error ? error.message : String(error)}`);
48
+ }
49
+ const parsed = BlueprintManifestSchema.safeParse(raw);
50
+ if (!parsed.success) {
51
+ const details = parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; ');
52
+ throw new Error(`${manifestPath} is not a valid blueprint manifest: ${details}`);
53
+ }
54
+ // The manifest types the line as a string (its vocabulary sits above the manifest's package); the CLI holds it to the vocabulary.
55
+ if (parsed.data.line !== undefined)
56
+ assertBlueprintLine(parsed.data.line, manifestPath);
57
+ const filesDirectory = join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY);
58
+ const files = listFilesRecursively(filesDirectory);
59
+ const refused = files.filter((file) => !isBlueprintArtifactPathAllowed(landingPathOfPackedFile(file)));
60
+ if (refused.length > 0) {
61
+ throw new Error(`${artifactDirectory} carries paths no blueprint may carry (${refused.join(', ')}); it was not produced by \`wildo blueprint pack\`.`);
62
+ }
63
+ return { manifest: parsed.data, artifactDirectory, filesDirectory, files };
64
+ }
65
+ /**
66
+ * Write a packed blueprint. The target must be empty, absent, or a previous pack (it holds a `blueprint.json`): a
67
+ * pack never clears a directory it did not write.
68
+ */
69
+ export function writeBlueprintArtifact(artifactDirectory, manifest, files) {
70
+ if (existsSync(artifactDirectory)) {
71
+ const entries = readdirSync(artifactDirectory);
72
+ if (entries.length > 0 && !entries.includes(BLUEPRINT_MANIFEST_FILE_NAME)) {
73
+ throw new Error(`Refusing to pack into ${artifactDirectory}: it is not empty and holds no previous ${BLUEPRINT_MANIFEST_FILE_NAME}.`);
74
+ }
75
+ rmSync(artifactDirectory, { recursive: true, force: true });
76
+ }
77
+ mkdirSync(join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY), { recursive: true });
78
+ for (const [relative, content] of [...files].sort(([a], [b]) => a.localeCompare(b))) {
79
+ if (!isBlueprintArtifactPathAllowed(landingPathOfPackedFile(relative))) {
80
+ throw new Error(`Refusing to pack ${relative}: no blueprint may carry that path.`);
81
+ }
82
+ const target = join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY, relative);
83
+ mkdirSync(dirname(target), { recursive: true });
84
+ writeFileSync(target, content);
85
+ }
86
+ writeFileSync(join(artifactDirectory, BLUEPRINT_MANIFEST_FILE_NAME), `${JSON.stringify(manifest, null, 2)}\n`, 'utf8');
87
+ }
88
+ //# sourceMappingURL=blueprint-artifact.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-artifact.service.js","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-artifact.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,uBAAuB,EACvB,8BAA8B,GAE/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,4EAA4E;AAC5E,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAahD,6EAA6E;AAC7E,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,EAAE,CAAC;IACjC,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,MAAM,IAAI,GAAG,CAAC,QAAgB,EAAQ,EAAE;QACtC,KAAK,MAAM,KAAK,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;YAC/E,MAAM,aAAa,GAAG,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;YAC1E,IAAI,KAAK,CAAC,WAAW,EAAE;gBAAE,IAAI,CAAC,aAAa,CAAC,CAAC;iBACxC,IAAI,KAAK,CAAC,MAAM,EAAE;gBAAE,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C1E,MAAM,IAAI,KAAK,CAAC,yBAAyB,iBAAiB,2CAA2C,4BAA4B,GAAG,CAAC,CAAC;QACxI,CAAC;QACD,MAAM,CAAC,iBAAiB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9D,CAAC;IACD,SAAS,CAAC,IAAI,CAAC,iBAAiB,EAAE,yBAAyB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACnF,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACpF,IAAI,CAAC,8BAA8B,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YACvE,MAAM,IAAI,KAAK,CAAC,oBAAoB,QAAQ,qCAAqC,CAAC,CAAC;QACrF,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,QAAQ,CAAC,CAAC;QAC5E,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAChD,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,aAAa,CAAC,IAAI,CAAC,iBAAiB,EAAE,4BAA4B,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACzH,CAAC","sourcesContent":["/**\n * A packed blueprint on disk (epic #2856): `blueprint.json` beside a `files/` tree.\n *\n * The `files/` tree is laid out as the files land in the application: a `.hbs` file is rendered with the\n * blueprint's parameters and the new application's identity, and a `__param__` path segment is interpolated. Every\n * path is checked against `isBlueprintArtifactPathAllowed` when the artifact is READ, not only when it is written,\n * so an artifact assembled by hand cannot plant what `wildo blueprint pack` would never have packed.\n */\n\nimport { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport {\n BLUEPRINT_FILES_DIRECTORY,\n BLUEPRINT_MANIFEST_FILE_NAME,\n BlueprintManifestSchema,\n isBlueprintArtifactPathAllowed,\n type BlueprintManifest,\n} from '@wildo-ai/platform-config-lib';\nimport { assertBlueprintLine } from './blueprint-line.service';\n\n/** The suffix of a file the applier renders through the template engine. */\nexport const BLUEPRINT_TEMPLATE_SUFFIX = '.hbs';\n\n/** A packed blueprint, loaded and validated. */\nexport interface LoadedBlueprintArtifact {\n readonly manifest: BlueprintManifest;\n /** Absolute path of the artifact root (where `blueprint.json` sits). */\n readonly artifactDirectory: string;\n /** Absolute path of its `files/` tree. */\n readonly filesDirectory: string;\n /** Every file of the tree, relative to `files/`, POSIX-separated, sorted. */\n readonly files: readonly string[];\n}\n\n/** Every regular file under `root`, relative and POSIX-separated, sorted. */\nexport function listFilesRecursively(root: string): string[] {\n if (!existsSync(root)) return [];\n const results: string[] = [];\n const walk = (relative: string): void => {\n for (const entry of readdirSync(join(root, relative), { withFileTypes: true })) {\n const entryRelative = relative ? `${relative}/${entry.name}` : entry.name;\n if (entry.isDirectory()) walk(entryRelative);\n else if (entry.isFile()) results.push(entryRelative);\n }\n };\n walk('');\n return results.sort();\n}\n\n/** The app-relative path a packed file lands at, before `__param__` interpolation: its `.hbs` suffix removed. */\nexport function landingPathOfPackedFile(packedRelative: string): string {\n return packedRelative.endsWith(BLUEPRINT_TEMPLATE_SUFFIX) ? packedRelative.slice(0, -BLUEPRINT_TEMPLATE_SUFFIX.length) : packedRelative;\n}\n\n/** Load and validate a packed blueprint. Refuses a missing or invalid manifest and any path the rule refuses. */\nexport function readBlueprintArtifact(artifactDirectory: string): LoadedBlueprintArtifact {\n const manifestPath = join(artifactDirectory, BLUEPRINT_MANIFEST_FILE_NAME);\n if (!existsSync(manifestPath)) {\n throw new Error(`${artifactDirectory} is not a packed blueprint: it has no ${BLUEPRINT_MANIFEST_FILE_NAME} (produce one with \\`wildo blueprint pack\\`).`);\n }\n let raw: unknown;\n try {\n raw = JSON.parse(readFileSync(manifestPath, 'utf8'));\n } catch (error) {\n throw new Error(`${manifestPath} is not valid JSON: ${error instanceof Error ? error.message : String(error)}`);\n }\n const parsed = BlueprintManifestSchema.safeParse(raw);\n if (!parsed.success) {\n const details = parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; ');\n throw new Error(`${manifestPath} is not a valid blueprint manifest: ${details}`);\n }\n // The manifest types the line as a string (its vocabulary sits above the manifest's package); the CLI holds it to the vocabulary.\n if (parsed.data.line !== undefined) assertBlueprintLine(parsed.data.line, manifestPath);\n const filesDirectory = join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY);\n const files = listFilesRecursively(filesDirectory);\n const refused = files.filter((file) => !isBlueprintArtifactPathAllowed(landingPathOfPackedFile(file)));\n if (refused.length > 0) {\n throw new Error(`${artifactDirectory} carries paths no blueprint may carry (${refused.join(', ')}); it was not produced by \\`wildo blueprint pack\\`.`);\n }\n return { manifest: parsed.data, artifactDirectory, filesDirectory, files };\n}\n\n/**\n * Write a packed blueprint. The target must be empty, absent, or a previous pack (it holds a `blueprint.json`): a\n * pack never clears a directory it did not write.\n */\nexport function writeBlueprintArtifact(artifactDirectory: string, manifest: BlueprintManifest, files: ReadonlyMap<string, Buffer>): void {\n if (existsSync(artifactDirectory)) {\n const entries = readdirSync(artifactDirectory);\n if (entries.length > 0 && !entries.includes(BLUEPRINT_MANIFEST_FILE_NAME)) {\n throw new Error(`Refusing to pack into ${artifactDirectory}: it is not empty and holds no previous ${BLUEPRINT_MANIFEST_FILE_NAME}.`);\n }\n rmSync(artifactDirectory, { recursive: true, force: true });\n }\n mkdirSync(join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY), { recursive: true });\n for (const [relative, content] of [...files].sort(([a], [b]) => a.localeCompare(b))) {\n if (!isBlueprintArtifactPathAllowed(landingPathOfPackedFile(relative))) {\n throw new Error(`Refusing to pack ${relative}: no blueprint may carry that path.`);\n }\n const target = join(artifactDirectory, BLUEPRINT_FILES_DIRECTORY, relative);\n mkdirSync(dirname(target), { recursive: true });\n writeFileSync(target, content);\n }\n writeFileSync(join(artifactDirectory, BLUEPRINT_MANIFEST_FILE_NAME), `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n}\n"]}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Reading a blueprint DEFINITION (`blueprints/<name>/blueprint.definition.ts`, epic #2856, #2857).
3
+ *
4
+ * The definition is TypeScript so its author can comment it and type-check it against `BlueprintDefinitionInput`,
5
+ * and it is NEVER EXECUTED: it lives in the defining application, and running an application's module to read what
6
+ * it declares would hand the exporter whatever that module does on import. It is walked as a constrained data AST
7
+ * instead, the same contract `playbook.definition.ts` holds:
8
+ *
9
+ * - string, number and boolean literals, arrays and object literals (no spread, no computed key);
10
+ * - `as`, `satisfies` and parentheses are unwrapped;
11
+ * - `Name.MEMBER` where `Name` is imported from `@wildo-ai/platform-config-lib` AND is an inert closed vocabulary
12
+ * (an enum or a const object of string constants — `isInertClosedVocabularyRuntimeValue`, the predicate the
13
+ * playbook evaluator uses, so both definitions share one effect-free boundary);
14
+ * - type-only imports are ignored; any other runtime import refuses.
15
+ *
16
+ * Anything else refuses with the construct named. The evaluated object is then validated against
17
+ * `BlueprintDefinitionSchema`.
18
+ */
19
+ import { type BlueprintDefinition } from '@wildo-ai/platform-config-lib';
20
+ /** A definition read from disk: where it lives and what it declares. */
21
+ export interface LoadedBlueprintDefinition {
22
+ /** The folder name under `blueprints/`, which must equal the name half of the id. */
23
+ readonly name: string;
24
+ /** Absolute path of the definition's folder. */
25
+ readonly directory: string;
26
+ readonly definition: BlueprintDefinition;
27
+ }
28
+ /**
29
+ * Read and validate one definition file. Refuses a runtime import from anywhere but the vocabulary module, a
30
+ * missing or duplicated `blueprintDefinition` export, and anything the data walk does not admit.
31
+ */
32
+ export declare function readBlueprintDefinitionFile(definitionPath: string): BlueprintDefinition;
33
+ /** Load the definition in `blueprints/<name>/`, checking that the folder is the id's name. */
34
+ export declare function loadBlueprintDefinition(applicationRoot: string, name: string): LoadedBlueprintDefinition;
35
+ /** Every definition the application holds, by folder name. */
36
+ export declare function listBlueprintDefinitionNames(applicationRoot: string): string[];
37
+ //# sourceMappingURL=blueprint-definition.reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-definition.reader.d.ts","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-definition.reader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,EAKL,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AAMvC,wEAAwE;AACxE,MAAM,WAAW,yBAAyB;IACxC,qFAAqF;IACrF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAqDD;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,cAAc,EAAE,MAAM,GAAG,mBAAmB,CA4CvF;AAED,8FAA8F;AAC9F,wBAAgB,uBAAuB,CAAC,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAcxG;AAED,8DAA8D;AAC9D,wBAAgB,4BAA4B,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,EAAE,CAO9E"}
@@ -0,0 +1,160 @@
1
+ /**
2
+ * Reading a blueprint DEFINITION (`blueprints/<name>/blueprint.definition.ts`, epic #2856, #2857).
3
+ *
4
+ * The definition is TypeScript so its author can comment it and type-check it against `BlueprintDefinitionInput`,
5
+ * and it is NEVER EXECUTED: it lives in the defining application, and running an application's module to read what
6
+ * it declares would hand the exporter whatever that module does on import. It is walked as a constrained data AST
7
+ * instead, the same contract `playbook.definition.ts` holds:
8
+ *
9
+ * - string, number and boolean literals, arrays and object literals (no spread, no computed key);
10
+ * - `as`, `satisfies` and parentheses are unwrapped;
11
+ * - `Name.MEMBER` where `Name` is imported from `@wildo-ai/platform-config-lib` AND is an inert closed vocabulary
12
+ * (an enum or a const object of string constants — `isInertClosedVocabularyRuntimeValue`, the predicate the
13
+ * playbook evaluator uses, so both definitions share one effect-free boundary);
14
+ * - type-only imports are ignored; any other runtime import refuses.
15
+ *
16
+ * Anything else refuses with the construct named. The evaluated object is then validated against
17
+ * `BlueprintDefinitionSchema`.
18
+ */
19
+ import { existsSync, readdirSync, readFileSync } from 'node:fs';
20
+ import { join } from 'node:path';
21
+ import ts from 'typescript';
22
+ import * as PlatformConfigLib from '@wildo-ai/platform-config-lib';
23
+ import { BLUEPRINT_DEFINITION_EXPORT_NAME, BLUEPRINT_DEFINITION_FILE_NAME, BLUEPRINT_DEFINITIONS_DIRECTORY, BlueprintDefinitionSchema, } from '@wildo-ai/platform-config-lib';
24
+ import { isInertClosedVocabularyRuntimeValue } from '../../services/framework/framework-knowledge-generation.service.js';
25
+ /** The only module a definition may import runtime values from. */
26
+ const DEFINITION_VOCABULARY_MODULE = '@wildo-ai/platform-config-lib';
27
+ function unwrap(expression) {
28
+ let current = expression;
29
+ while (ts.isAsExpression(current) || ts.isSatisfiesExpression(current) || ts.isParenthesizedExpression(current)) {
30
+ current = current.expression;
31
+ }
32
+ return current;
33
+ }
34
+ function refuse(sourceFile, node, what) {
35
+ const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile));
36
+ throw new Error(`${sourceFile.fileName}:${line + 1} — a blueprint definition is read as data and never executed, so it cannot contain ${what}.`);
37
+ }
38
+ function evaluate(sourceFile, node, vocabularies) {
39
+ const expression = unwrap(node);
40
+ if (ts.isStringLiteral(expression) || ts.isNoSubstitutionTemplateLiteral(expression))
41
+ return expression.text;
42
+ if (ts.isNumericLiteral(expression))
43
+ return Number(expression.text);
44
+ if (ts.isPrefixUnaryExpression(expression) && expression.operator === ts.SyntaxKind.MinusToken && ts.isNumericLiteral(expression.operand)) {
45
+ return -Number(expression.operand.text);
46
+ }
47
+ if (expression.kind === ts.SyntaxKind.TrueKeyword)
48
+ return true;
49
+ if (expression.kind === ts.SyntaxKind.FalseKeyword)
50
+ return false;
51
+ if (ts.isArrayLiteralExpression(expression)) {
52
+ return expression.elements.map((element) => {
53
+ if (ts.isSpreadElement(element) || ts.isOmittedExpression(element))
54
+ refuse(sourceFile, element, 'a spread or a hole in an array');
55
+ return evaluate(sourceFile, element, vocabularies);
56
+ });
57
+ }
58
+ if (ts.isObjectLiteralExpression(expression)) {
59
+ const result = {};
60
+ for (const property of expression.properties) {
61
+ if (!ts.isPropertyAssignment(property))
62
+ refuse(sourceFile, property, 'a spread, a shorthand property or a method');
63
+ const name = property.name;
64
+ if (!ts.isIdentifier(name) && !ts.isStringLiteral(name) && !ts.isNumericLiteral(name))
65
+ refuse(sourceFile, name, 'a computed key');
66
+ if (Object.hasOwn(result, name.text))
67
+ refuse(sourceFile, name, `the key '${name.text}' twice`);
68
+ result[name.text] = evaluate(sourceFile, property.initializer, vocabularies);
69
+ }
70
+ return result;
71
+ }
72
+ if (ts.isPropertyAccessExpression(expression) && ts.isIdentifier(expression.expression)) {
73
+ const vocabulary = vocabularies.get(expression.expression.text);
74
+ if (vocabulary === undefined)
75
+ refuse(sourceFile, expression, `a reference to '${expression.expression.text}', which is not a vocabulary imported from ${DEFINITION_VOCABULARY_MODULE}`);
76
+ const member = expression.name.text;
77
+ if (!Object.hasOwn(vocabulary, member))
78
+ refuse(sourceFile, expression, `'${expression.getText(sourceFile)}', which is not a member of that vocabulary`);
79
+ return vocabulary[member];
80
+ }
81
+ return refuse(sourceFile, expression, `the expression \`${expression.getText(sourceFile).slice(0, 60)}\``);
82
+ }
83
+ /**
84
+ * Read and validate one definition file. Refuses a runtime import from anywhere but the vocabulary module, a
85
+ * missing or duplicated `blueprintDefinition` export, and anything the data walk does not admit.
86
+ */
87
+ export function readBlueprintDefinitionFile(definitionPath) {
88
+ const sourceFile = ts.createSourceFile(definitionPath, readFileSync(definitionPath, 'utf8'), ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
89
+ const vocabularies = new Map();
90
+ let initializer;
91
+ for (const statement of sourceFile.statements) {
92
+ if (ts.isImportDeclaration(statement)) {
93
+ const clause = statement.importClause;
94
+ if (clause === undefined || clause.isTypeOnly)
95
+ continue;
96
+ const moduleRef = ts.isStringLiteral(statement.moduleSpecifier) ? statement.moduleSpecifier.text : '';
97
+ if (moduleRef !== DEFINITION_VOCABULARY_MODULE || clause.name !== undefined || clause.namedBindings === undefined || !ts.isNamedImports(clause.namedBindings)) {
98
+ refuse(sourceFile, statement, `a runtime import from '${moduleRef}' (only named vocabularies from ${DEFINITION_VOCABULARY_MODULE}, or type-only imports)`);
99
+ }
100
+ for (const element of clause.namedBindings.elements) {
101
+ if (element.isTypeOnly)
102
+ continue;
103
+ const importedName = element.propertyName?.text ?? element.name.text;
104
+ const value = PlatformConfigLib[importedName];
105
+ if (!isInertClosedVocabularyRuntimeValue(value)) {
106
+ refuse(sourceFile, element, `a runtime import of '${importedName}', which is not an enum or a const vocabulary of ${DEFINITION_VOCABULARY_MODULE}`);
107
+ }
108
+ vocabularies.set(element.name.text, value);
109
+ }
110
+ continue;
111
+ }
112
+ if (ts.isVariableStatement(statement)) {
113
+ const exported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false;
114
+ for (const declaration of statement.declarationList.declarations) {
115
+ if (!exported || !ts.isIdentifier(declaration.name) || declaration.name.text !== BLUEPRINT_DEFINITION_EXPORT_NAME)
116
+ continue;
117
+ if (initializer !== undefined)
118
+ refuse(sourceFile, declaration, `a second '${BLUEPRINT_DEFINITION_EXPORT_NAME}'`);
119
+ if (declaration.initializer === undefined)
120
+ refuse(sourceFile, declaration, `an uninitialized '${BLUEPRINT_DEFINITION_EXPORT_NAME}'`);
121
+ initializer = declaration.initializer;
122
+ }
123
+ }
124
+ }
125
+ if (initializer === undefined) {
126
+ throw new Error(`${definitionPath} exports no '${BLUEPRINT_DEFINITION_EXPORT_NAME}' — a definition is \`export const ${BLUEPRINT_DEFINITION_EXPORT_NAME} = { … } satisfies BlueprintDefinitionInput;\`.`);
127
+ }
128
+ const value = evaluate(sourceFile, initializer, vocabularies);
129
+ const parsed = BlueprintDefinitionSchema.safeParse(value);
130
+ if (!parsed.success) {
131
+ const details = parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; ');
132
+ throw new Error(`${definitionPath} is not a valid blueprint definition: ${details}`);
133
+ }
134
+ return parsed.data;
135
+ }
136
+ /** Load the definition in `blueprints/<name>/`, checking that the folder is the id's name. */
137
+ export function loadBlueprintDefinition(applicationRoot, name) {
138
+ const directory = join(applicationRoot, BLUEPRINT_DEFINITIONS_DIRECTORY, name);
139
+ const definitionPath = join(directory, BLUEPRINT_DEFINITION_FILE_NAME);
140
+ if (!existsSync(definitionPath)) {
141
+ throw new Error(`No blueprint definition at ${BLUEPRINT_DEFINITIONS_DIRECTORY}/${name}/${BLUEPRINT_DEFINITION_FILE_NAME}.`);
142
+ }
143
+ const definition = readBlueprintDefinitionFile(definitionPath);
144
+ const idName = definition.id.split('/')[1];
145
+ if (idName !== name) {
146
+ throw new Error(`The definition in ${BLUEPRINT_DEFINITIONS_DIRECTORY}/${name}/ declares id '${definition.id}': its folder must be '${idName}', the name half of its id — the folder is how it is addressed.`);
147
+ }
148
+ return { name, directory, definition };
149
+ }
150
+ /** Every definition the application holds, by folder name. */
151
+ export function listBlueprintDefinitionNames(applicationRoot) {
152
+ const root = join(applicationRoot, BLUEPRINT_DEFINITIONS_DIRECTORY);
153
+ if (!existsSync(root))
154
+ return [];
155
+ return readdirSync(root, { withFileTypes: true })
156
+ .filter((entry) => entry.isDirectory() && existsSync(join(root, entry.name, BLUEPRINT_DEFINITION_FILE_NAME)))
157
+ .map((entry) => entry.name)
158
+ .sort();
159
+ }
160
+ //# sourceMappingURL=blueprint-definition.reader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-definition.reader.js","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-definition.reader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,EACL,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAC/B,yBAAyB,GAE1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mCAAmC,EAAE,MAAM,sEAAsE,CAAC;AAE3H,mEAAmE;AACnE,MAAM,4BAA4B,GAAG,+BAA+B,CAAC;AAarE,SAAS,MAAM,CAAC,UAAyB;IACvC,IAAI,OAAO,GAAG,UAAU,CAAC;IACzB,OAAO,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE,CAAC;QAChH,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC;IAC/B,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,MAAM,CAAC,UAAyB,EAAE,IAAa,EAAE,IAAY;IACpE,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,6BAA6B,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;IACrF,MAAM,IAAI,KAAK,CAAC,GAAG,UAAU,CAAC,QAAQ,IAAI,IAAI,GAAG,CAAC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8BAA8B,CAAC,CAAC;IACvE,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,8BAA8B,+BAA+B,IAAI,IAAI,IAAI,8BAA8B,GAAG,CAAC,CAAC;IAC9H,CAAC;IACD,MAAM,UAAU,GAAG,2BAA2B,CAAC,cAAc,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3C,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CACb,qBAAqB,+BAA+B,IAAI,IAAI,kBAAkB,UAAU,CAAC,EAAE,0BAA0B,MAAM,iEAAiE,CAC7L,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;AACzC,CAAC;AAED,8DAA8D;AAC9D,MAAM,UAAU,4BAA4B,CAAC,eAAuB;IAClE,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,EAAE,+BAA+B,CAAC,CAAC;IACpE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,EAAE,CAAC;IACjC,OAAO,WAAW,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;SAC9C,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,8BAA8B,CAAC,CAAC,CAAC;SAC5G,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;SAC1B,IAAI,EAAE,CAAC;AACZ,CAAC","sourcesContent":["/**\n * Reading a blueprint DEFINITION (`blueprints/<name>/blueprint.definition.ts`, epic #2856, #2857).\n *\n * The definition is TypeScript so its author can comment it and type-check it against `BlueprintDefinitionInput`,\n * and it is NEVER EXECUTED: it lives in the defining application, and running an application's module to read what\n * it declares would hand the exporter whatever that module does on import. It is walked as a constrained data AST\n * instead, the same contract `playbook.definition.ts` holds:\n *\n * - string, number and boolean literals, arrays and object literals (no spread, no computed key);\n * - `as`, `satisfies` and parentheses are unwrapped;\n * - `Name.MEMBER` where `Name` is imported from `@wildo-ai/platform-config-lib` AND is an inert closed vocabulary\n * (an enum or a const object of string constants — `isInertClosedVocabularyRuntimeValue`, the predicate the\n * playbook evaluator uses, so both definitions share one effect-free boundary);\n * - type-only imports are ignored; any other runtime import refuses.\n *\n * Anything else refuses with the construct named. The evaluated object is then validated against\n * `BlueprintDefinitionSchema`.\n */\n\nimport { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { join } from 'node:path';\nimport ts from 'typescript';\nimport * as PlatformConfigLib from '@wildo-ai/platform-config-lib';\nimport {\n BLUEPRINT_DEFINITION_EXPORT_NAME,\n BLUEPRINT_DEFINITION_FILE_NAME,\n BLUEPRINT_DEFINITIONS_DIRECTORY,\n BlueprintDefinitionSchema,\n type BlueprintDefinition,\n} from '@wildo-ai/platform-config-lib';\nimport { isInertClosedVocabularyRuntimeValue } from '~wildo-cli/services/framework/framework-knowledge-generation.service';\n\n/** The only module a definition may import runtime values from. */\nconst DEFINITION_VOCABULARY_MODULE = '@wildo-ai/platform-config-lib';\n\n/** A definition read from disk: where it lives and what it declares. */\nexport interface LoadedBlueprintDefinition {\n /** The folder name under `blueprints/`, which must equal the name half of the id. */\n readonly name: string;\n /** Absolute path of the definition's folder. */\n readonly directory: string;\n readonly definition: BlueprintDefinition;\n}\n\ntype DataValue = string | number | boolean | readonly DataValue[] | { readonly [key: string]: DataValue };\n\nfunction unwrap(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isAsExpression(current) || ts.isSatisfiesExpression(current) || ts.isParenthesizedExpression(current)) {\n current = current.expression;\n }\n return current;\n}\n\nfunction refuse(sourceFile: ts.SourceFile, node: ts.Node, what: string): never {\n const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile));\n throw new Error(`${sourceFile.fileName}:${line + 1} — a blueprint definition is read as data and never executed, so it cannot contain ${what}.`);\n}\n\nfunction evaluate(sourceFile: ts.SourceFile, node: ts.Expression, vocabularies: ReadonlyMap<string, Readonly<Record<string, string | number>>>): DataValue {\n const expression = unwrap(node);\n if (ts.isStringLiteral(expression) || ts.isNoSubstitutionTemplateLiteral(expression)) return expression.text;\n if (ts.isNumericLiteral(expression)) return Number(expression.text);\n if (ts.isPrefixUnaryExpression(expression) && expression.operator === ts.SyntaxKind.MinusToken && ts.isNumericLiteral(expression.operand)) {\n return -Number(expression.operand.text);\n }\n if (expression.kind === ts.SyntaxKind.TrueKeyword) return true;\n if (expression.kind === ts.SyntaxKind.FalseKeyword) return false;\n if (ts.isArrayLiteralExpression(expression)) {\n return expression.elements.map((element) => {\n if (ts.isSpreadElement(element) || ts.isOmittedExpression(element)) refuse(sourceFile, element, 'a spread or a hole in an array');\n return evaluate(sourceFile, element, vocabularies);\n });\n }\n if (ts.isObjectLiteralExpression(expression)) {\n const result: Record<string, DataValue> = {};\n for (const property of expression.properties) {\n if (!ts.isPropertyAssignment(property)) refuse(sourceFile, property, 'a spread, a shorthand property or a method');\n const name = property.name;\n if (!ts.isIdentifier(name) && !ts.isStringLiteral(name) && !ts.isNumericLiteral(name)) refuse(sourceFile, name, 'a computed key');\n if (Object.hasOwn(result, name.text)) refuse(sourceFile, name, `the key '${name.text}' twice`);\n result[name.text] = evaluate(sourceFile, property.initializer, vocabularies);\n }\n return result;\n }\n if (ts.isPropertyAccessExpression(expression) && ts.isIdentifier(expression.expression)) {\n const vocabulary = vocabularies.get(expression.expression.text);\n if (vocabulary === undefined) refuse(sourceFile, expression, `a reference to '${expression.expression.text}', which is not a vocabulary imported from ${DEFINITION_VOCABULARY_MODULE}`);\n const member = expression.name.text;\n if (!Object.hasOwn(vocabulary, member)) refuse(sourceFile, expression, `'${expression.getText(sourceFile)}', which is not a member of that vocabulary`);\n return vocabulary[member] as string | number;\n }\n return refuse(sourceFile, expression, `the expression \\`${expression.getText(sourceFile).slice(0, 60)}\\``);\n}\n\n/**\n * Read and validate one definition file. Refuses a runtime import from anywhere but the vocabulary module, a\n * missing or duplicated `blueprintDefinition` export, and anything the data walk does not admit.\n */\nexport function readBlueprintDefinitionFile(definitionPath: string): BlueprintDefinition {\n const sourceFile = ts.createSourceFile(definitionPath, readFileSync(definitionPath, 'utf8'), ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const vocabularies = new Map<string, Readonly<Record<string, string | number>>>();\n let initializer: ts.Expression | undefined;\n\n for (const statement of sourceFile.statements) {\n if (ts.isImportDeclaration(statement)) {\n const clause = statement.importClause;\n if (clause === undefined || clause.isTypeOnly) continue;\n const moduleRef = ts.isStringLiteral(statement.moduleSpecifier) ? statement.moduleSpecifier.text : '';\n if (moduleRef !== DEFINITION_VOCABULARY_MODULE || clause.name !== undefined || clause.namedBindings === undefined || !ts.isNamedImports(clause.namedBindings)) {\n refuse(sourceFile, statement, `a runtime import from '${moduleRef}' (only named vocabularies from ${DEFINITION_VOCABULARY_MODULE}, or type-only imports)`);\n }\n for (const element of clause.namedBindings.elements) {\n if (element.isTypeOnly) continue;\n const importedName = element.propertyName?.text ?? element.name.text;\n const value: unknown = (PlatformConfigLib as Record<string, unknown>)[importedName];\n if (!isInertClosedVocabularyRuntimeValue(value)) {\n refuse(sourceFile, element, `a runtime import of '${importedName}', which is not an enum or a const vocabulary of ${DEFINITION_VOCABULARY_MODULE}`);\n }\n vocabularies.set(element.name.text, value);\n }\n continue;\n }\n if (ts.isVariableStatement(statement)) {\n const exported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) ?? false;\n for (const declaration of statement.declarationList.declarations) {\n if (!exported || !ts.isIdentifier(declaration.name) || declaration.name.text !== BLUEPRINT_DEFINITION_EXPORT_NAME) continue;\n if (initializer !== undefined) refuse(sourceFile, declaration, `a second '${BLUEPRINT_DEFINITION_EXPORT_NAME}'`);\n if (declaration.initializer === undefined) refuse(sourceFile, declaration, `an uninitialized '${BLUEPRINT_DEFINITION_EXPORT_NAME}'`);\n initializer = declaration.initializer;\n }\n }\n }\n if (initializer === undefined) {\n throw new Error(`${definitionPath} exports no '${BLUEPRINT_DEFINITION_EXPORT_NAME}' — a definition is \\`export const ${BLUEPRINT_DEFINITION_EXPORT_NAME} = { … } satisfies BlueprintDefinitionInput;\\`.`);\n }\n const value = evaluate(sourceFile, initializer, vocabularies);\n const parsed = BlueprintDefinitionSchema.safeParse(value);\n if (!parsed.success) {\n const details = parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`).join('; ');\n throw new Error(`${definitionPath} is not a valid blueprint definition: ${details}`);\n }\n return parsed.data;\n}\n\n/** Load the definition in `blueprints/<name>/`, checking that the folder is the id's name. */\nexport function loadBlueprintDefinition(applicationRoot: string, name: string): LoadedBlueprintDefinition {\n const directory = join(applicationRoot, BLUEPRINT_DEFINITIONS_DIRECTORY, name);\n const definitionPath = join(directory, BLUEPRINT_DEFINITION_FILE_NAME);\n if (!existsSync(definitionPath)) {\n throw new Error(`No blueprint definition at ${BLUEPRINT_DEFINITIONS_DIRECTORY}/${name}/${BLUEPRINT_DEFINITION_FILE_NAME}.`);\n }\n const definition = readBlueprintDefinitionFile(definitionPath);\n const idName = definition.id.split('/')[1];\n if (idName !== name) {\n throw new Error(\n `The definition in ${BLUEPRINT_DEFINITIONS_DIRECTORY}/${name}/ declares id '${definition.id}': its folder must be '${idName}', the name half of its id — the folder is how it is addressed.`,\n );\n }\n return { name, directory, definition };\n}\n\n/** Every definition the application holds, by folder name. */\nexport function listBlueprintDefinitionNames(applicationRoot: string): string[] {\n const root = join(applicationRoot, BLUEPRINT_DEFINITIONS_DIRECTORY);\n if (!existsSync(root)) return [];\n return readdirSync(root, { withFileTypes: true })\n .filter((entry) => entry.isDirectory() && existsSync(join(root, entry.name, BLUEPRINT_DEFINITION_FILE_NAME)))\n .map((entry) => entry.name)\n .sort();\n}\n"]}
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Exporting a blueprint from the application that defines it (epic #2856, #2858): `wildo blueprint pack`.
3
+ *
4
+ * ## Derive, then prove
5
+ *
6
+ * The definition SELECTS — files, modules, minions, workers, config paths, which init flags to lock. Every byte and
7
+ * value is READ from the defining application, never typed into the definition. Then the export is PROVEN: the
8
+ * candidate blueprint is applied, with the defining application's own parameter values, onto a reference tree (the
9
+ * base this application was scaffolded as, plus the lower layers), and every exported element must reproduce the
10
+ * defining application exactly. Anything else refuses, with the difference named.
11
+ *
12
+ * That is `deriveModuleRegistration`'s rule (a module's registration is recorded only when replaying it against the
13
+ * publishing application finds nothing left to apply), extended to every content kind. It is what makes an export
14
+ * trustworthy without anyone checking it by hand, and it also proves the stacking, because the lower layers are part
15
+ * of the reference tree.
16
+ *
17
+ * ## What is not exported is REPORTED, never refused
18
+ *
19
+ * Everything where the defining application differs from the reference tree and the definition does not export it
20
+ * is listed: application-specific content (expected), and edits to base files outside what a blueprint can carry
21
+ * (a blueprint never replaces a base file — decision D3). The report is how an author learns what their blueprint
22
+ * leaves behind.
23
+ */
24
+ import { type BlueprintManifest } from '@wildo-ai/platform-config-lib';
25
+ /** Why a file of the defining application appears in the report. */
26
+ export declare enum BlueprintResidualKind {
27
+ /** Only in the defining application, and not exported: application-specific content. */
28
+ NOT_EXPORTED = "not-exported",
29
+ /** In the base (or a lower layer) too, and the application changed it: a blueprint cannot carry that change (D3). */
30
+ CHANGED_BASE_FILE = "changed-base-file",
31
+ /** In the base, and the application deleted it: a blueprint cannot delete a base file either. */
32
+ REMOVED_BASE_FILE = "removed-base-file"
33
+ }
34
+ export interface BlueprintPackReport {
35
+ readonly manifest: BlueprintManifest;
36
+ /** Packed files: path inside `files/` → bytes. */
37
+ readonly files: ReadonlyMap<string, Buffer>;
38
+ /** One line per exported element, for the operator. */
39
+ readonly exported: readonly string[];
40
+ /** Selections that exported nothing (a config path equal to the base) — not errors, but worth saying. */
41
+ readonly notices: readonly string[];
42
+ /** What the application holds that the blueprint does not carry. */
43
+ readonly residual: ReadonlyArray<{
44
+ readonly path: string;
45
+ readonly kind: BlueprintResidualKind;
46
+ }>;
47
+ }
48
+ /**
49
+ * Pack one definition. Writes the artifact to `outDirectory` when given (a dry run otherwise), and returns what was
50
+ * exported and what was not. Refuses — writing nothing — when a selection cannot be exported or the reproduction
51
+ * proof fails.
52
+ */
53
+ export declare function packBlueprint(input: {
54
+ readonly applicationRoot: string;
55
+ readonly frameworkRoot: string;
56
+ readonly name: string;
57
+ readonly outDirectory?: string;
58
+ readonly layerDirectories?: readonly string[];
59
+ /** Internal: the ids being packed up the recursion, to refuse a cycle. */
60
+ readonly packing?: ReadonlySet<string>;
61
+ }): Promise<BlueprintPackReport>;
62
+ /** Count the residual per kind and per top-level directory, for a short summary. */
63
+ export declare function summarizeBlueprintResidual(residual: BlueprintPackReport['residual']): Array<{
64
+ kind: BlueprintResidualKind;
65
+ area: string;
66
+ count: number;
67
+ }>;
68
+ /** Every directory directly under `blueprints/` holding a definition (re-exported for the commands). */
69
+ export declare function listDefinedBlueprints(applicationRoot: string): string[];
70
+ /** Whether `directory` is empty or absent (the commands' output-directory precondition). */
71
+ export declare function isEmptyOrAbsent(directory: string): boolean;
72
+ //# sourceMappingURL=blueprint-export.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-export.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/blueprint/blueprint-export.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AASH,OAAO,EAuBL,KAAK,iBAAiB,EASvB,MAAM,+BAA+B,CAAC;AAmCvC,oEAAoE;AACpE,oBAAY,qBAAqB;IAC/B,wFAAwF;IACxF,YAAY,iBAAiB;IAC7B,qHAAqH;IACrH,iBAAiB,sBAAsB;IACvC,iGAAiG;IACjG,iBAAiB,sBAAsB;CACxC;AAED,MAAM,WAAW,mBAAm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