@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
@@ -8,6 +8,7 @@ import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
8
8
  import { CreationConsoleClient, describeFeedLine, feedLineSignature, newFollowedLines, } from '../../services/companion/creation-console.service.js';
9
9
  import { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils.js';
10
10
  import { companionFailureExitCode } from '../../services/companion/companion-client.service.js';
11
+ import { writeJsonDocument } from '../../kernel/json-document-output.js';
11
12
  const DEFAULT_INTERVAL_SECONDS = 5;
12
13
  const DEFAULT_SINCE_COUNT = 10;
13
14
  /**
@@ -55,7 +56,7 @@ export default class CreationFeedCommand extends BaseCommand {
55
56
  const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);
56
57
  const first = await CreationConsoleClient.readFeed(options);
57
58
  if (json && !follow) {
58
- ctx.log.info(JSON.stringify(first));
59
+ writeJsonDocument(first);
59
60
  return { success: true };
60
61
  }
61
62
  if (!json)
@@ -86,7 +87,7 @@ export default class CreationFeedCommand extends BaseCommand {
86
87
  for (const line of fresh) {
87
88
  seen.add(feedLineSignature(line));
88
89
  if (json)
89
- ctx.log.info(JSON.stringify(line));
90
+ writeJsonDocument(line);
90
91
  else
91
92
  for (const text of describeFeedLine(line))
92
93
  ctx.log.info(text);
@@ -1 +1 @@
1
- {"version":3,"file":"feed.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAA4D,MAAM,gCAAgC,CAAC;AAExI,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAElG,MAAM,wB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AAK,MAAM,IAAI,IAAI,KAAK;YAAE,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAE/F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;QACrE,KAAK,MAAM,IAAI,IAAI,IAAI;YAAE,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { WorkbenchCreationHomeSection, type CreationConsole_Feed, type CreationConsole_FeedLine } from '@wildo-ai/platform-core-shared';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n CreationConsoleClient,\n describeFeedLine,\n feedLineSignature,\n newFollowedLines,\n} from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\n\nconst DEFAULT_INTERVAL_SECONDS = 5;\nconst DEFAULT_SINCE_COUNT = 10;\n\n/**\n * `wildo creation feed` — what the companion did, what it asks of you, what could come next.\n *\n * The console half of \"the companion is the master, the workbench is the dashboard\": a coding-agent\n * session drives creation from here, and this is how it learns what happened. The lines are Home's —\n * the same rows the workbench shows — each with the row it points at, so a refused run's error or a\n * judge's verdict is read in the same call.\n *\n * `--follow` keeps reading and prints each NEW line of what happened or what is asked (suggestions move\n * with every edit and are not events). `--exit-on-change` makes it return at the first such line, which\n * is the primitive an agent loops on: start a run, wait for the feed to move, read, act, wait again.\n * The companion cannot push into an agent session; this is the pull that stands in for it.\n */\nexport default class CreationFeedCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation feed',\n description: 'What the companion did, what it asks of you, and what could come next — once, or followed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n follow: { type: 'boolean', description: 'Keep reading and print each new event as it happens.', default: false },\n 'exit-on-change': { type: 'boolean', description: 'With --follow: return at the first new event (for an agent that waits, then acts).', default: false },\n interval: { type: 'number', description: `Seconds between reads while following (default ${DEFAULT_INTERVAL_SECONDS}).` },\n timeout: { type: 'number', description: 'With --follow: stop after this many seconds; exits non-zero only when nothing new happened in that time.' },\n since: { type: 'number', description: `How many of the most recent \"what happened\" lines to print first (default ${DEFAULT_SINCE_COUNT}).` },\n json: { type: 'boolean', description: 'Emit the feed document (once), or one JSON line per new event (with --follow).', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const follow = ctx.flags.follow === true;\n const exitOnChange = ctx.flags['exit-on-change'] === true;\n const json = ctx.flags.json === true;\n const intervalMs = Math.max(1, typeof ctx.flags.interval === 'number' ? ctx.flags.interval : DEFAULT_INTERVAL_SECONDS) * 1000;\n const timeoutMs = typeof ctx.flags.timeout === 'number' && ctx.flags.timeout > 0 ? ctx.flags.timeout * 1000 : null;\n const sinceCount = typeof ctx.flags.since === 'number' && ctx.flags.since >= 0 ? ctx.flags.since : DEFAULT_SINCE_COUNT;\n if (exitOnChange && !follow) {\n ctx.log.error('--exit-on-change waits for something to happen, so it needs --follow.');\n return { success: false };\n }\n\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const first = await CreationConsoleClient.readFeed(options);\n if (json && !follow) {\n ctx.log.info(JSON.stringify(first));\n return { success: true };\n }\n if (!json) this.printSnapshot(ctx, first.lines, sinceCount);\n if (!follow) return { success: true };\n\n /* Everything already on screen counts as seen, including the older \"what happened\" lines not printed. */\n const seen = new Set(first.lines.map(feedLineSignature));\n if (!json) ctx.log.info(chalk.dim(`\\nFollowing (every ${intervalMs / 1000}s)${exitOnChange ? ', returning at the first new event' : ''} — Ctrl-C to stop.`));\n const deadline = timeoutMs !== null ? Date.now() + timeoutMs : null;\n let printedAny = false;\n for (;;) {\n /* Sleep at most until the deadline, so a --timeout shorter than --interval still reads once. */\n const wait = deadline !== null ? Math.max(0, Math.min(intervalMs, deadline - Date.now())) : intervalMs;\n await new Promise((resolve) => setTimeout(resolve, wait));\n let feed: CreationConsole_Feed | null;\n try {\n feed = await CreationConsoleClient.readFeed(options);\n } catch (error) {\n /* A companion restarting mid-follow is expected in a dev loop; say so and keep following. */\n if (!json) ctx.log.warn(`Feed unavailable (${ErrorUtils.extractErrorMessage(error)}); still following.`);\n feed = null;\n }\n const fresh = feed ? newFollowedLines(feed.lines, seen) : [];\n for (const line of fresh) {\n seen.add(feedLineSignature(line));\n if (json) ctx.log.info(JSON.stringify(line));\n else for (const text of describeFeedLine(line)) ctx.log.info(text);\n }\n printedAny ||= fresh.length > 0;\n if (exitOnChange && fresh.length > 0) return { success: true };\n /* The deadline is tested AFTER the read, so the last interval before it is never skipped. */\n if (deadline !== null && Date.now() >= deadline) {\n if (!json && !printedAny) ctx.log.info(chalk.dim('Nothing happened before the timeout.'));\n return { success: printedAny };\n }\n }\n } catch (error) {\n ctx.log.error(`Could not read the creation feed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n\n private printSnapshot(ctx: CommandContext, lines: readonly CreationConsole_FeedLine[], sinceCount: number): void {\n const section = (name: WorkbenchCreationHomeSection) => lines.filter((line) => line.section === name);\n const asked = section(WorkbenchCreationHomeSection.ASKED);\n const since = section(WorkbenchCreationHomeSection.SINCE).slice(0, sinceCount);\n const next = section(WorkbenchCreationHomeSection.SUGGESTION);\n\n ctx.log.info(chalk.bold(`\\nAsked of you (${asked.length})`));\n if (asked.length === 0) ctx.log.info(chalk.dim(' nothing'));\n for (const line of asked) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat happened (latest ${since.length})`));\n if (since.length === 0) ctx.log.info(chalk.dim(' nothing yet'));\n for (const line of since) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat could come next (${next.length})`));\n if (next.length === 0) ctx.log.info(chalk.dim(' nothing eligible'));\n for (const line of next) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n }\n}\n"]}
1
+ {"version":3,"file":"feed.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAA4D,MAAM,gCAAgC,CAAC;AAExI,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;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CAAC,CAAC;QACjE,KAAK,MAAM,IAAI,IAAI,KAAK;YAAE,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAE/F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;QACrE,KAAK,MAAM,IAAI,IAAI,IAAI;YAAE,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { WorkbenchCreationHomeSection, type CreationConsole_Feed, type CreationConsole_FeedLine } from '@wildo-ai/platform-core-shared';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n CreationConsoleClient,\n describeFeedLine,\n feedLineSignature,\n newFollowedLines,\n} from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\n\nconst DEFAULT_INTERVAL_SECONDS = 5;\nconst DEFAULT_SINCE_COUNT = 10;\n\n/**\n * `wildo creation feed` — what the companion did, what it asks of you, what could come next.\n *\n * The console half of \"the companion is the master, the workbench is the dashboard\": a coding-agent\n * session drives creation from here, and this is how it learns what happened. The lines are Home's —\n * the same rows the workbench shows — each with the row it points at, so a refused run's error or a\n * judge's verdict is read in the same call.\n *\n * `--follow` keeps reading and prints each NEW line of what happened or what is asked (suggestions move\n * with every edit and are not events). `--exit-on-change` makes it return at the first such line, which\n * is the primitive an agent loops on: start a run, wait for the feed to move, read, act, wait again.\n * The companion cannot push into an agent session; this is the pull that stands in for it.\n */\nexport default class CreationFeedCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation feed',\n description: 'What the companion did, what it asks of you, and what could come next — once, or followed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n follow: { type: 'boolean', description: 'Keep reading and print each new event as it happens.', default: false },\n 'exit-on-change': { type: 'boolean', description: 'With --follow: return at the first new event (for an agent that waits, then acts).', default: false },\n interval: { type: 'number', description: `Seconds between reads while following (default ${DEFAULT_INTERVAL_SECONDS}).` },\n timeout: { type: 'number', description: 'With --follow: stop after this many seconds; exits non-zero only when nothing new happened in that time.' },\n since: { type: 'number', description: `How many of the most recent \"what happened\" lines to print first (default ${DEFAULT_SINCE_COUNT}).` },\n json: { type: 'boolean', description: 'Emit the feed document (once), or one JSON line per new event (with --follow).', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const follow = ctx.flags.follow === true;\n const exitOnChange = ctx.flags['exit-on-change'] === true;\n const json = ctx.flags.json === true;\n const intervalMs = Math.max(1, typeof ctx.flags.interval === 'number' ? ctx.flags.interval : DEFAULT_INTERVAL_SECONDS) * 1000;\n const timeoutMs = typeof ctx.flags.timeout === 'number' && ctx.flags.timeout > 0 ? ctx.flags.timeout * 1000 : null;\n const sinceCount = typeof ctx.flags.since === 'number' && ctx.flags.since >= 0 ? ctx.flags.since : DEFAULT_SINCE_COUNT;\n if (exitOnChange && !follow) {\n ctx.log.error('--exit-on-change waits for something to happen, so it needs --follow.');\n return { success: false };\n }\n\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const first = await CreationConsoleClient.readFeed(options);\n if (json && !follow) {\n writeJsonDocument(first);\n return { success: true };\n }\n if (!json) this.printSnapshot(ctx, first.lines, sinceCount);\n if (!follow) return { success: true };\n\n /* Everything already on screen counts as seen, including the older \"what happened\" lines not printed. */\n const seen = new Set(first.lines.map(feedLineSignature));\n if (!json) ctx.log.info(chalk.dim(`\\nFollowing (every ${intervalMs / 1000}s)${exitOnChange ? ', returning at the first new event' : ''} — Ctrl-C to stop.`));\n const deadline = timeoutMs !== null ? Date.now() + timeoutMs : null;\n let printedAny = false;\n for (;;) {\n /* Sleep at most until the deadline, so a --timeout shorter than --interval still reads once. */\n const wait = deadline !== null ? Math.max(0, Math.min(intervalMs, deadline - Date.now())) : intervalMs;\n await new Promise((resolve) => setTimeout(resolve, wait));\n let feed: CreationConsole_Feed | null;\n try {\n feed = await CreationConsoleClient.readFeed(options);\n } catch (error) {\n /* A companion restarting mid-follow is expected in a dev loop; say so and keep following. */\n if (!json) ctx.log.warn(`Feed unavailable (${ErrorUtils.extractErrorMessage(error)}); still following.`);\n feed = null;\n }\n const fresh = feed ? newFollowedLines(feed.lines, seen) : [];\n for (const line of fresh) {\n seen.add(feedLineSignature(line));\n if (json) writeJsonDocument(line);\n else for (const text of describeFeedLine(line)) ctx.log.info(text);\n }\n printedAny ||= fresh.length > 0;\n if (exitOnChange && fresh.length > 0) return { success: true };\n /* The deadline is tested AFTER the read, so the last interval before it is never skipped. */\n if (deadline !== null && Date.now() >= deadline) {\n if (!json && !printedAny) ctx.log.info(chalk.dim('Nothing happened before the timeout.'));\n return { success: printedAny };\n }\n }\n } catch (error) {\n ctx.log.error(`Could not read the creation feed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n\n private printSnapshot(ctx: CommandContext, lines: readonly CreationConsole_FeedLine[], sinceCount: number): void {\n const section = (name: WorkbenchCreationHomeSection) => lines.filter((line) => line.section === name);\n const asked = section(WorkbenchCreationHomeSection.ASKED);\n const since = section(WorkbenchCreationHomeSection.SINCE).slice(0, sinceCount);\n const next = section(WorkbenchCreationHomeSection.SUGGESTION);\n\n ctx.log.info(chalk.bold(`\\nAsked of you (${asked.length})`));\n if (asked.length === 0) ctx.log.info(chalk.dim(' nothing'));\n for (const line of asked) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat happened (latest ${since.length})`));\n if (since.length === 0) ctx.log.info(chalk.dim(' nothing yet'));\n for (const line of since) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat could come next (${next.length})`));\n if (next.length === 0) ctx.log.info(chalk.dim(' nothing eligible'));\n for (const line of next) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n }\n}\n"]}
@@ -6,8 +6,9 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
6
6
  * `derive` compiles a framework role template (`information-architect`, `art-director`,
7
7
  * `design-system-guardian`, `brand-strategist`, `copy-chief`) against this application's own
8
8
  * artifacts and stages the proposal; every call derives, nothing is cached. `accept` writes it into
9
- * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block. A
10
- * charter reaches its reviewer agent at the companion's next start.
9
+ * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block, and commits that
10
+ * change (#2419): accepting is a person's decision, and acceptance is a commit. A charter accepted while the
11
+ * companion runs convenes without a restart (#2349).
11
12
  */
12
13
  export default class CreationPersonaCommand extends BaseCommand {
13
14
  readonly meta: CommandMeta;
@@ -1 +1 @@
1
- {"version":3,"file":"persona.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/persona.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAU1F;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAUxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAoBvD"}
1
+ {"version":3,"file":"persona.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/persona.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAU1F;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAUxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA0BvD"}
@@ -15,8 +15,9 @@ var PersonaOperation;
15
15
  * `derive` compiles a framework role template (`information-architect`, `art-director`,
16
16
  * `design-system-guardian`, `brand-strategist`, `copy-chief`) against this application's own
17
17
  * artifacts and stages the proposal; every call derives, nothing is cached. `accept` writes it into
18
- * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block. A
19
- * charter reaches its reviewer agent at the companion's next start.
18
+ * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block, and commits that
19
+ * change (#2419): accepting is a person's decision, and acceptance is a commit. A charter accepted while the
20
+ * companion runs convenes without a restart (#2349).
20
21
  */
21
22
  export default class CreationPersonaCommand extends BaseCommand {
22
23
  meta = {
@@ -46,7 +47,13 @@ export default class CreationPersonaCommand extends BaseCommand {
46
47
  : CreationConsoleClient.acceptPersona(options, roleRef)),
47
48
  render: (result) => [
48
49
  JSON.stringify(result, null, 2),
49
- ...(operation === PersonaOperation.ACCEPT ? ['The charter reaches its reviewer at the companion\'s next start: restart `wildo local dev`.'] : []),
50
+ /*
51
+ * No restart (#2349): the next deliberation that seats this role builds its reviewer from the
52
+ * charter. It reads the specifications BUILD, so what it waits for is the rebuild.
53
+ */
54
+ ...(operation === PersonaOperation.ACCEPT
55
+ ? ['The next deliberation that seats this role uses the charter once the specifications package has rebuilt. No restart is needed.']
56
+ : []),
50
57
  ],
51
58
  });
52
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"persona.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/persona.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE5G,oHAAoH;AACpH,IAAK,gBAGJ;AAHD,WAAK,gBAAgB;IACnB,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;AACnB,CAAC,EAHI,gBAAgB,KAAhB,gBAAgB,QAGpB;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IACpD,IAAI,GAAgB;QAC3B,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,yFAAyF;QACtG,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,IAAI,EAAE;YACJ,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtE,EAAE,IAAI,EAAE,SAAS,E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,GAAG,CAAC,SAAS,KAAK,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,6FAA6F,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;aAClJ;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/** The two things a reviewer charter goes through: a proposal is derived, then accepted into the specifications. */\nenum PersonaOperation {\n DERIVE = 'derive',\n ACCEPT = 'accept',\n}\n\n/**\n * `wildo creation persona derive|accept <roleRef>` — a reviewer charter for a deliberation (#1656).\n *\n * `derive` compiles a framework role template (`information-architect`, `art-director`,\n * `design-system-guardian`, `brand-strategist`, `copy-chief`) against this application's own\n * artifacts and stages the proposal; every call derives, nothing is cached. `accept` writes it into\n * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block. A\n * charter reaches its reviewer agent at the companion's next start.\n */\nexport default class CreationPersonaCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation persona',\n description: 'Derive a reviewer charter from this application, or accept one into the specifications.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [\n { name: 'operation', description: 'derive or accept', required: true },\n { name: 'roleRef', description: 'The reviewer role, e.g. copy-chief', required: true },\n ],\n flags: { json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false } },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const operation = Object.values(PersonaOperation).find((candidate) => candidate === ctx.args.operation);\n const roleRef = typeof ctx.args.roleRef === 'string' ? ctx.args.roleRef : '';\n if (!operation || roleRef.length === 0) {\n ctx.log.error('Usage: wildo creation persona <derive|accept> <roleRef>');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not ${operation} the ${roleRef} charter`,\n /* Deriving is a model call. */\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => (operation === PersonaOperation.DERIVE\n ? CreationConsoleClient.derivePersona(options, roleRef)\n : CreationConsoleClient.acceptPersona(options, roleRef)),\n render: (result) => [\n JSON.stringify(result, null, 2),\n ...(operation === PersonaOperation.ACCEPT ? ['The charter reaches its reviewer at the companion\\'s next start: restart `wildo local dev`.'] : []),\n ],\n });\n }\n}\n"]}
1
+ {"version":3,"file":"persona.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/persona.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE5G,oHAAoH;AACpH,IAAK,gBAGJ;AAHD,WAAK,gBAAgB;IACnB,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;AACnB,CAAC,EAHI,gBAAgB,KAAhB,gBAAgB,QAGpB;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,WAAW;IACpD,IAAI,GAAgB;QAC3B,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,yFAAyF;QACtG,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,IAAI,EAAE;YACJ,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtE,EAAE,IAAI,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CAAC;gBAC/B;;;mBAGG;gBACH,GAAG,CAAC,SAAS,KAAK,gBAAgB,CAAC,MAAM;oBACvC,CAAC,CAAC,CAAC,gIAAgI,CAAC;oBACpI,CAAC,CAAC,EAAE,CAAC;aACR;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { CreationConsoleClient } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_WRITE_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/** The two things a reviewer charter goes through: a proposal is derived, then accepted into the specifications. */\nenum PersonaOperation {\n DERIVE = 'derive',\n ACCEPT = 'accept',\n}\n\n/**\n * `wildo creation persona derive|accept <roleRef>` — a reviewer charter for a deliberation (#1656).\n *\n * `derive` compiles a framework role template (`information-architect`, `art-director`,\n * `design-system-guardian`, `brand-strategist`, `copy-chief`) against this application's own\n * artifacts and stages the proposal; every call derives, nothing is cached. `accept` writes it into\n * `specifications/src/personas/`, refusing to overwrite a charter carrying an `authored` block, and commits that\n * change (#2419): accepting is a person's decision, and acceptance is a commit. A charter accepted while the\n * companion runs convenes without a restart (#2349).\n */\nexport default class CreationPersonaCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation persona',\n description: 'Derive a reviewer charter from this application, or accept one into the specifications.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [\n { name: 'operation', description: 'derive or accept', required: true },\n { name: 'roleRef', description: 'The reviewer role, e.g. copy-chief', required: true },\n ],\n flags: { json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false } },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const operation = Object.values(PersonaOperation).find((candidate) => candidate === ctx.args.operation);\n const roleRef = typeof ctx.args.roleRef === 'string' ? ctx.args.roleRef : '';\n if (!operation || roleRef.length === 0) {\n ctx.log.error('Usage: wildo creation persona <derive|accept> <roleRef>');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not ${operation} the ${roleRef} charter`,\n /* Deriving is a model call. */\n timeoutMs: CONSOLE_WRITE_TIMEOUT_MS,\n call: (options) => (operation === PersonaOperation.DERIVE\n ? CreationConsoleClient.derivePersona(options, roleRef)\n : CreationConsoleClient.acceptPersona(options, roleRef)),\n render: (result) => [\n JSON.stringify(result, null, 2),\n /*\n * No restart (#2349): the next deliberation that seats this role builds its reviewer from the\n * charter. It reads the specifications BUILD, so what it waits for is the rebuild.\n */\n ...(operation === PersonaOperation.ACCEPT\n ? ['The next deliberation that seats this role uses the charter once the specifications package has rebuilt. No restart is needed.']\n : []),\n ],\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"preflight.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/preflight.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAO1F;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IAC/D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA0BvD"}
1
+ {"version":3,"file":"preflight.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/preflight.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAO1F;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IAC/D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA2BvD"}
@@ -1,6 +1,7 @@
1
1
  import chalk from 'chalk';
2
2
  import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
3
3
  import { BaseCommand } from '../../kernel/base-command.js';
4
+ import { writeJsonDocument } from '../../kernel/json-document-output.js';
4
5
  import { ensureSaasAppScope } from '../../kernel/command-scope-utils.js';
5
6
  import { CommandCategory } from '../../kernel/types.js';
6
7
  import { collectCreationPreflightChecks, hasPreflightFailure, renderPreflightLines, } from '../../services/application/creation-preflight.service.js';
@@ -38,7 +39,8 @@ export default class CreationPreflightCommand extends BaseCommand {
38
39
  });
39
40
  const failed = hasPreflightFailure(results);
40
41
  if (ctx.flags.json === true) {
41
- ctx.log.info(JSON.stringify(results));
42
+ // On stdout, alone (#2068): a `--json` run's log lines go to stderr, so `ctx.log.info` would print nothing here.
43
+ writeJsonDocument(results);
42
44
  }
43
45
  else {
44
46
  for (const line of renderPreflightLines(results))
@@ -1 +1 @@
1
- {"version":3,"file":"preflight.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/preflight.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,4DAA4D,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IACtD,IAAI,GAA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AC;YACrE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM;gBACjB,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,yFAAyF,CAAC;gBACtG,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,CAAC;QAC1D,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC;IAC9B,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n collectCreationPreflightChecks,\n hasPreflightFailure,\n renderPreflightLines,\n} from '~wildo-cli/services/application/creation-preflight.service';\n\n/**\n * `wildo creation preflight` — can a creation run started now FINISH (#2229)?\n *\n * Read-only: it reads the application's configuration, its discovered providers, this environment's\n * `secrets.json`, and the host; it calls no model and needs no running companion. One line per check, the remedy\n * under each that is not a PASS, and a non-zero exit when any check FAILS — the same checks\n * `wildo creation run` refuses on and `wildo local doctor` prints, from one collector.\n */\nexport default class CreationPreflightCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation preflight',\n description: 'Check, before a creation run, that its providers, keys, machine load and watchers will let it finish.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n json: { type: 'boolean', description: 'Emit one object per check instead of lines.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const envName = ctx.activeEnv?.name;\n if (!saasRoot || !envName) {\n ctx.log.error('No active environment for this application. Run `wildo init` first.');\n return { success: false };\n }\n\n const results = await collectCreationPreflightChecks({\n saasRoot,\n envName,\n frameworkRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n });\n const failed = hasPreflightFailure(results);\n\n if (ctx.flags.json === true) {\n ctx.log.info(JSON.stringify(results));\n } else {\n for (const line of renderPreflightLines(results)) ctx.log.info(line);\n ctx.log.info(failed\n ? chalk.red('A creation run would stop: `wildo creation run` refuses until the FAIL lines are fixed.')\n : chalk.green('Nothing above stops a creation run.'));\n }\n return { success: !failed };\n }\n}\n"]}
1
+ {"version":3,"file":"preflight.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/preflight.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,4DAA4D,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IACtD,IAAI,GAAgB;QAC3B,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,uGAAuG;QACpH,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,6CAA6C,EAAE,OAAO,EAAE,KAAK,EAAE;SACtG;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC;YAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QACxD,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,eAAe,CAAC;QAClE,MAAM,OAAO,GAAG,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC;QACpC,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;YAC1B,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,qEAAqE,CAAC,CAAC;YACrF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,8BAA8B,CAAC;YACnD,QAAQ;YACR,OAAO;YACP,aAAa,EAAE,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,cAAc;SACrE,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAE5C,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;YAC5B,iHAAiH;YACjH,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,KAAK,MAAM,IAAI,IAAI,oBAAoB,CAAC,OAAO,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM;gBACjB,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,yFAAyF,CAAC;gBACtG,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,CAAC;QAC1D,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC;IAC9B,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport {\n collectCreationPreflightChecks,\n hasPreflightFailure,\n renderPreflightLines,\n} from '~wildo-cli/services/application/creation-preflight.service';\n\n/**\n * `wildo creation preflight` — can a creation run started now FINISH (#2229)?\n *\n * Read-only: it reads the application's configuration, its discovered providers, this environment's\n * `secrets.json`, and the host; it calls no model and needs no running companion. One line per check, the remedy\n * under each that is not a PASS, and a non-zero exit when any check FAILS — the same checks\n * `wildo creation run` refuses on and `wildo local doctor` prints, from one collector.\n */\nexport default class CreationPreflightCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation preflight',\n description: 'Check, before a creation run, that its providers, keys, machine load and watchers will let it finish.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n json: { type: 'boolean', description: 'Emit one object per check instead of lines.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const saasRoot = ctx.cliContext.resolvedHomes.app.declarationRoot;\n const envName = ctx.activeEnv?.name;\n if (!saasRoot || !envName) {\n ctx.log.error('No active environment for this application. Run `wildo init` first.');\n return { success: false };\n }\n\n const results = await collectCreationPreflightChecks({\n saasRoot,\n envName,\n frameworkRoot: ctx.cliContext.resolvedHomes.framework.repositoryRoot,\n });\n const failed = hasPreflightFailure(results);\n\n if (ctx.flags.json === true) {\n // On stdout, alone (#2068): a `--json` run's log lines go to stderr, so `ctx.log.info` would print nothing here.\n writeJsonDocument(results);\n } else {\n for (const line of renderPreflightLines(results)) ctx.log.info(line);\n ctx.log.info(failed\n ? chalk.red('A creation run would stop: `wildo creation run` refuses until the FAIL lines are fixed.')\n : chalk.green('Nothing above stops a creation run.'));\n }\n return { success: !failed };\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"questions.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/questions.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAO1F;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IAC/D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAqCvD"}
1
+ {"version":3,"file":"questions.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/questions.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQ1F;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IAC/D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAQxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAqCvD"}
@@ -7,6 +7,7 @@ import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
7
7
  import { CreationConsoleClient, describeQuestion } from '../../services/companion/creation-console.service.js';
8
8
  import { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils.js';
9
9
  import { companionFailureExitCode } from '../../services/companion/companion-client.service.js';
10
+ import { writeJsonDocument } from '../../kernel/json-document-output.js';
10
11
  /**
11
12
  * `wildo creation questions` — every question the companion waits on, as ONE queue: a playbook run
12
13
  * stopped to ask, a coding run parked on a question, an interview question a step needs before it can
@@ -33,7 +34,7 @@ export default class CreationQuestionsCommand extends BaseCommand {
33
34
  const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);
34
35
  const queue = await CreationConsoleClient.readQuestions(options);
35
36
  if (ctx.flags.json === true) {
36
- ctx.log.info(JSON.stringify(queue));
37
+ writeJsonDocument(queue);
37
38
  return { success: true };
38
39
  }
39
40
  if (queue.questions.length === 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"questions.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/questions.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AACjH,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAElG;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,WAAW;IACtD,IAAI,GAAgB;QAC3B,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,4EAA4E;QACzF,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,mCAAmC,EAAE,OAAO,EAAE,KAAK,EAAE;SAC5F;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC;YAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC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IAAI,WAAW,EAAE,CAAC;oBACrC,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,UAAU,CAAC;wBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACpE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACnB,CAAC;YACH,CAAC;YACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,sCAAsC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC7F,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CreationConsoleClient, describeQuestion } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\n\n/**\n * `wildo creation questions` — every question the companion waits on, as ONE queue: a playbook run\n * stopped to ask, a coding run parked on a question, an interview question a step needs before it can\n * run, a fact a drafted governed document still lacks.\n *\n * Each question prints the command that answers it, revision included, so what is answered is exactly\n * what was read. `--json` is the form an agent reads: it carries the ids, revisions, field refs and\n * options the answer needs.\n */\nexport default class CreationQuestionsCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation questions',\n description: 'Every question the companion waits on, with the command that answers each.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n json: { type: 'boolean', description: 'Emit the question queue document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const queue = await CreationConsoleClient.readQuestions(options);\n if (ctx.flags.json === true) {\n ctx.log.info(JSON.stringify(queue));\n return { success: true };\n }\n if (queue.questions.length === 0) {\n ctx.log.info('Nothing is waiting on you.');\n } else {\n ctx.log.info(chalk.bold(`\\n${queue.questions.length} question(s) waiting on you\\n`));\n for (const question of queue.questions) {\n for (const text of describeQuestion(question)) ctx.log.info(text);\n ctx.log.info('');\n }\n }\n /*\n * Assumptions (#2129) are answered — nothing waits on them — so they are never counted above. They are\n * listed apart so the person can revisit one; answering it records their own answer in its place.\n */\n /* `?? []`: a companion older than this list sends none, and that reads as \"no assumptions\". */\n const assumptions = queue.assumptions ?? [];\n if (assumptions.length > 0) {\n ctx.log.info(chalk.bold(`\\n${assumptions.length} assumed answer(s) you can revisit (nothing waits on them)\\n`));\n for (const assumption of assumptions) {\n for (const text of describeQuestion(assumption)) ctx.log.info(text);\n ctx.log.info('');\n }\n }\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not read the question queue: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
1
+ {"version":3,"file":"questions.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/questions.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AA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AE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { CreationConsoleClient, describeQuestion } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\n\n/**\n * `wildo creation questions` — every question the companion waits on, as ONE queue: a playbook run\n * stopped to ask, a coding run parked on a question, an interview question a step needs before it can\n * run, a fact a drafted governed document still lacks.\n *\n * Each question prints the command that answers it, revision included, so what is answered is exactly\n * what was read. `--json` is the form an agent reads: it carries the ids, revisions, field refs and\n * options the answer needs.\n */\nexport default class CreationQuestionsCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation questions',\n description: 'Every question the companion waits on, with the command that answers each.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n json: { type: 'boolean', description: 'Emit the question queue document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const queue = await CreationConsoleClient.readQuestions(options);\n if (ctx.flags.json === true) {\n writeJsonDocument(queue);\n return { success: true };\n }\n if (queue.questions.length === 0) {\n ctx.log.info('Nothing is waiting on you.');\n } else {\n ctx.log.info(chalk.bold(`\\n${queue.questions.length} question(s) waiting on you\\n`));\n for (const question of queue.questions) {\n for (const text of describeQuestion(question)) ctx.log.info(text);\n ctx.log.info('');\n }\n }\n /*\n * Assumptions (#2129) are answered — nothing waits on them — so they are never counted above. They are\n * listed apart so the person can revisit one; answering it records their own answer in its place.\n */\n /* `?? []`: a companion older than this list sends none, and that reads as \"no assumptions\". */\n const assumptions = queue.assumptions ?? [];\n if (assumptions.length > 0) {\n ctx.log.info(chalk.bold(`\\n${assumptions.length} assumed answer(s) you can revisit (nothing waits on them)\\n`));\n for (const assumption of assumptions) {\n for (const text of describeQuestion(assumption)) ctx.log.info(text);\n ctx.log.info('');\n }\n }\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not read the question queue: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"run.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/run.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAgB1F;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAmCvD"}
1
+ {"version":3,"file":"run.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/run.command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAiB1F;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAmCvD"}
@@ -6,6 +6,7 @@ import { ensureSaasAppScope } from '../../kernel/command-scope-utils.js';
6
6
  import { CompanionClient, companionFailureExitCode } from '../../services/companion/companion-client.service.js';
7
7
  import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
8
8
  import { resolveContextOptions } from '../context/context-command.utils.js';
9
+ import { writeJsonDocument } from '../../kernel/json-document-output.js';
9
10
  import { SKIP_PREFLIGHT_FLAG, admitCreationRunAfterPreflight } from '../../services/application/creation-preflight.service.js';
10
11
  /** Submission returns once the run is OPENED; the run itself continues in the companion. */
11
12
  const SUBMIT_TIMEOUT_MS = 60_000;
@@ -56,7 +57,7 @@ export default class CreationRunCommand extends BaseCommand {
56
57
  ...(ctx.flags[SKIP_PREFLIGHT_FLAG] === true ? { skipPreflight: true } : {}),
57
58
  }, options);
58
59
  if (ctx.flags.json === true) {
59
- ctx.log.info(JSON.stringify(submission));
60
+ writeJsonDocument(submission);
60
61
  }
61
62
  else {
62
63
  ctx.log.success(`Submitted ${chalk.bold(submission.playbookRef)} (run ${submission.runId}).`);
@@ -1 +1 @@
1
- {"version":3,"file":"run.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/run.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AACnH,OAAO,EAAE,UAAU,EAAE,MAAM,8C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AAC,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aAC5E,EACD,OAAO,CACR,CAAC;YACF,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBAC5B,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,UAAU,CAAC,KAAK,IAAI,CAAC,CAAC;gBAC9F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iEAAiE,CAAC,CAAC,CAAC;YAC7F,CAAC;YACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,WAAW,KAAK,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACxF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CompanionClient, companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { resolveContextOptions } from '../context/context-command.utils';\nimport { SKIP_PREFLIGHT_FLAG, admitCreationRunAfterPreflight } from '~wildo-cli/services/application/creation-preflight.service';\n\n/** What `POST /api/companion/playbooks/:ref/run` answers for a detached submission — only the fields printed here. */\ninterface DetachedPlaybookRunSubmission {\n readonly runId: string;\n readonly playbookRef: string;\n}\n\n/** Submission returns once the run is OPENED; the run itself continues in the companion. */\nconst SUBMIT_TIMEOUT_MS = 60_000;\n\n/**\n * `wildo creation run <playbookRef>` — ask the companion to run one playbook, and return at once.\n *\n * The console's way IN, beside `feed` (what happened) and `answer` (what it asks): the companion runs\n * the playbook — composing its brief, dispatching coding workers, running its judge — and the console\n * follows it with `wildo creation feed --follow --exit-on-change`. A run that needs the creator's\n * answers first is refused with the questions named; `wildo creation questions` lists them.\n *\n * It runs the creation preflight first and refuses on a FAIL before contacting the companion (#2229).\n */\nexport default class CreationRunCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation run',\n description: 'Ask the companion to run one playbook, then follow it with `wildo creation feed --follow`.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'playbookRef', description: 'The playbook to run, as `wildo context journey` names it', required: true }],\n flags: {\n brief: { type: 'string', description: 'What the creator wants from this run, in their words — joins the run\\'s brief.' },\n instance: { type: 'string', description: 'Run an opened instance of the step (its key, e.g. enterprise-segment) instead of the step itself.' },\n 'dry-run': { type: 'boolean', description: 'Run the whole pipe (generation, validation, judge) and write nothing.', default: false },\n json: { type: 'boolean', description: 'Emit the companion\\'s submission document.', default: false },\n [SKIP_PREFLIGHT_FLAG]: { type: 'boolean', description: 'Start even when `wildo creation preflight` reports a FAIL.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const playbookRef = ctx.args.playbookRef;\n if (typeof playbookRef !== 'string' || playbookRef.length === 0) {\n ctx.log.error('Usage: wildo creation run <playbookRef> [--instance <key>] [--brief \"<what you want>\"] [--dry-run]');\n return { success: false };\n }\n // Before the companion is contacted, so a refusal composes no brief and calls no model (#2229).\n if (!await admitCreationRunAfterPreflight(ctx, 'wildo creation run')) return { success: false };\n try {\n const options = await resolveContextOptions(ctx, SUBMIT_TIMEOUT_MS);\n const submission = await CompanionClient.post<DetachedPlaybookRunSubmission>(\n `/api/companion/playbooks/${encodeURIComponent(playbookRef)}/run`,\n {\n async: true,\n ...(typeof ctx.flags.instance === 'string' && ctx.flags.instance.length > 0 ? { instanceKey: ctx.flags.instance } : {}),\n ...(typeof ctx.flags.brief === 'string' && ctx.flags.brief.trim().length > 0 ? { creatorBrief: ctx.flags.brief } : {}),\n ...(ctx.flags['dry-run'] === true ? { dryRun: true } : {}),\n // The same decision reaches the companion's own gate, which would otherwise refuse what this one let past.\n ...(ctx.flags[SKIP_PREFLIGHT_FLAG] === true ? { skipPreflight: true } : {}),\n },\n options,\n );\n if (ctx.flags.json === true) {\n ctx.log.info(JSON.stringify(submission));\n } else {\n ctx.log.success(`Submitted ${chalk.bold(submission.playbookRef)} (run ${submission.runId}).`);\n ctx.log.info(chalk.dim(' Follow it with: wildo creation feed --follow --exit-on-change'));\n }\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not run ${playbookRef}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
1
+ {"version":3,"file":"run.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/run.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,wDAAwD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AAC,CAAC,CAAC,EAAE,CAAC;gBAC1D,2GAA2G;gBAC3G,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aAC5E,EACD,OAAO,CACR,CAAC;YACF,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBAC5B,iBAAiB,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,UAAU,CAAC,KAAK,IAAI,CAAC,CAAC;gBAC9F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iEAAiE,CAAC,CAAC,CAAC;YAC7F,CAAC;YACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,WAAW,KAAK,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACxF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,CAAC;IACH,CAAC;CACF","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { CompanionClient, companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport { resolveContextOptions } from '../context/context-command.utils';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\nimport { SKIP_PREFLIGHT_FLAG, admitCreationRunAfterPreflight } from '~wildo-cli/services/application/creation-preflight.service';\n\n/** What `POST /api/companion/playbooks/:ref/run` answers for a detached submission — only the fields printed here. */\ninterface DetachedPlaybookRunSubmission {\n readonly runId: string;\n readonly playbookRef: string;\n}\n\n/** Submission returns once the run is OPENED; the run itself continues in the companion. */\nconst SUBMIT_TIMEOUT_MS = 60_000;\n\n/**\n * `wildo creation run <playbookRef>` — ask the companion to run one playbook, and return at once.\n *\n * The console's way IN, beside `feed` (what happened) and `answer` (what it asks): the companion runs\n * the playbook — composing its brief, dispatching coding workers, running its judge — and the console\n * follows it with `wildo creation feed --follow --exit-on-change`. A run that needs the creator's\n * answers first is refused with the questions named; `wildo creation questions` lists them.\n *\n * It runs the creation preflight first and refuses on a FAIL before contacting the companion (#2229).\n */\nexport default class CreationRunCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation run',\n description: 'Ask the companion to run one playbook, then follow it with `wildo creation feed --follow`.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'playbookRef', description: 'The playbook to run, as `wildo context journey` names it', required: true }],\n flags: {\n brief: { type: 'string', description: 'What the creator wants from this run, in their words — joins the run\\'s brief.' },\n instance: { type: 'string', description: 'Run an opened instance of the step (its key, e.g. enterprise-segment) instead of the step itself.' },\n 'dry-run': { type: 'boolean', description: 'Run the whole pipe (generation, validation, judge) and write nothing.', default: false },\n json: { type: 'boolean', description: 'Emit the companion\\'s submission document.', default: false },\n [SKIP_PREFLIGHT_FLAG]: { type: 'boolean', description: 'Start even when `wildo creation preflight` reports a FAIL.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const playbookRef = ctx.args.playbookRef;\n if (typeof playbookRef !== 'string' || playbookRef.length === 0) {\n ctx.log.error('Usage: wildo creation run <playbookRef> [--instance <key>] [--brief \"<what you want>\"] [--dry-run]');\n return { success: false };\n }\n // Before the companion is contacted, so a refusal composes no brief and calls no model (#2229).\n if (!await admitCreationRunAfterPreflight(ctx, 'wildo creation run')) return { success: false };\n try {\n const options = await resolveContextOptions(ctx, SUBMIT_TIMEOUT_MS);\n const submission = await CompanionClient.post<DetachedPlaybookRunSubmission>(\n `/api/companion/playbooks/${encodeURIComponent(playbookRef)}/run`,\n {\n async: true,\n ...(typeof ctx.flags.instance === 'string' && ctx.flags.instance.length > 0 ? { instanceKey: ctx.flags.instance } : {}),\n ...(typeof ctx.flags.brief === 'string' && ctx.flags.brief.trim().length > 0 ? { creatorBrief: ctx.flags.brief } : {}),\n ...(ctx.flags['dry-run'] === true ? { dryRun: true } : {}),\n // The same decision reaches the companion's own gate, which would otherwise refuse what this one let past.\n ...(ctx.flags[SKIP_PREFLIGHT_FLAG] === true ? { skipPreflight: true } : {}),\n },\n options,\n );\n if (ctx.flags.json === true) {\n writeJsonDocument(submission);\n } else {\n ctx.log.success(`Submitted ${chalk.bold(submission.playbookRef)} (run ${submission.runId}).`);\n ctx.log.info(chalk.dim(' Follow it with: wildo creation feed --follow --exit-on-change'));\n }\n return { success: true };\n } catch (error) {\n ctx.log.error(`Could not run ${playbookRef}: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n}\n"]}
@@ -6,7 +6,9 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
6
6
  *
7
7
  * A build task is explained from its own record (status, stuck reason, what it waits on, what its
8
8
  * landing probes did not find, how its last attempt ended). A playbook run is explained from its feed
9
- * line, which already carries its error and the judge criteria that did not pass. Nothing is inferred.
9
+ * line, which already carries its error and the judge criteria that did not pass. A playbook ref is also
10
+ * explained from the eligibility board — its unmet preconditions and its unanswered interview — so a
11
+ * playbook that has never run, or is held now, has an answer too. Nothing is inferred.
10
12
  */
11
13
  export default class CreationWhyCommand extends BaseCommand {
12
14
  readonly meta: CommandMeta;
@@ -1 +1 @@
1
- {"version":3,"file":"why.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/why.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAOxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAkBvD"}
1
+ {"version":3,"file":"why.command.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/creation/why.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IACzD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAOxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAoCvD"}
@@ -2,7 +2,7 @@ import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
2
2
  import { BaseCommand } from '../../kernel/base-command.js';
3
3
  import { CommandCategory } from '../../kernel/types.js';
4
4
  import { BuildConsoleClient, describeBuildTaskWhy } from '../../services/companion/build-console.service.js';
5
- import { CreationConsoleClient, describeFeedLine, feedLineNamesReference } from '../../services/companion/creation-console.service.js';
5
+ import { CreationConsoleClient, describeFeedLine, describePlaybookStanding, feedLineNamesReference, locateInterviewInQueue } from '../../services/companion/creation-console.service.js';
6
6
  import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companion/console-verb.utils.js';
7
7
  /**
8
8
  * `wildo creation why <taskRef|runId|playbookRef>` — why a build task has not landed, or how a playbook
@@ -10,12 +10,14 @@ import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companio
10
10
  *
11
11
  * A build task is explained from its own record (status, stuck reason, what it waits on, what its
12
12
  * landing probes did not find, how its last attempt ended). A playbook run is explained from its feed
13
- * line, which already carries its error and the judge criteria that did not pass. Nothing is inferred.
13
+ * line, which already carries its error and the judge criteria that did not pass. A playbook ref is also
14
+ * explained from the eligibility board — its unmet preconditions and its unanswered interview — so a
15
+ * playbook that has never run, or is held now, has an answer too. Nothing is inferred.
14
16
  */
15
17
  export default class CreationWhyCommand extends BaseCommand {
16
18
  meta = {
17
19
  name: 'creation why',
18
- description: 'Why a build task has not landed, or how a playbook run ended.',
20
+ description: 'Why a build task has not landed, how a playbook run ended, or what holds a playbook now.',
19
21
  category: CommandCategory.Local,
20
22
  minimumScope: WorkspaceScope.SAAS_APP,
21
23
  args: [{ name: 'ref', description: 'A build task ref, a playbook run id, or a playbook ref', required: true }],
@@ -30,15 +32,32 @@ export default class CreationWhyCommand extends BaseCommand {
30
32
  const tasks = await BuildConsoleClient.tasks(options);
31
33
  const task = tasks.records?.tasks.find((candidate) => candidate.taskRef === ref) ?? null;
32
34
  if (task)
33
- return { task, lines: null };
34
- const feed = await CreationConsoleClient.readFeed(options);
35
+ return { task, lines: null, standing: null, interview: null };
36
+ /*
37
+ * The board and the queue only ADD to the answer, so a failed read of either leaves the feed's answer
38
+ * standing rather than failing a `why <runId>` that needs only the feed.
39
+ */
40
+ const [feed, board, queue] = await Promise.all([
41
+ CreationConsoleClient.readFeed(options),
42
+ CreationConsoleClient.readPlaybookBoard(options).catch(() => null),
43
+ CreationConsoleClient.readQuestions(options).catch(() => null),
44
+ ]);
35
45
  const lines = feed.lines.filter((line) => feedLineNamesReference(line, ref));
46
+ const standing = board?.playbooks.find((entry) => entry.playbookRef === ref) ?? null;
36
47
  /* An unknown reference is a failure an agent must be able to branch on, not a sentence on a success. */
37
- if (lines.length === 0)
38
- throw new Error(`nothing is recorded under "${ref}" — not a build task, and no recent run or question names it. List them with: wildo build tasks · wildo creation feed`);
39
- return { task: null, lines };
48
+ if (lines.length === 0 && standing === null) {
49
+ const scope = board === null ? 'not a build task, and no recent run or question names it (the playbook board could not be read)' : 'not a build task, not a playbook, and no recent run or question names it';
50
+ throw new Error(`nothing is recorded under "${ref}" — ${scope}. List them with: wildo build tasks · wildo creation feed · wildo context journey`);
51
+ }
52
+ const interview = standing !== null && queue !== null ? locateInterviewInQueue(ref, standing.unansweredQuestionRefs ?? [], queue) : null;
53
+ return { task: null, lines, standing, interview };
40
54
  },
41
- render: (result) => (result.task ? describeBuildTaskWhy(result.task) : result.lines.flatMap(describeFeedLine)),
55
+ render: (result) => (result.task
56
+ ? describeBuildTaskWhy(result.task)
57
+ : [
58
+ ...result.lines.flatMap(describeFeedLine),
59
+ ...(result.standing ? describePlaybookStanding(result.standing, result.lines.length > 0, result.interview ?? undefined) : []),
60
+ ]),
42
61
  });
43
62
  }
44
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"why.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/why.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAC/G,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AACzI,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE3G;;;;;;;GAOG;AACH,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AAG,CAAC,CAAC,CAAC;gBAC7E,wGAAwG;gBACxG,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;oBAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,GAAG,uHAAuH,CAAC,CAAC;gBAClM,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YAC/B,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SAC/G,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { BuildConsoleClient, describeBuildTaskWhy } from '~wildo-cli/services/companion/build-console.service';\nimport { CreationConsoleClient, describeFeedLine, feedLineNamesReference } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation why <taskRef|runId|playbookRef>` — why a build task has not landed, or how a playbook\n * run ended (#1652).\n *\n * A build task is explained from its own record (status, stuck reason, what it waits on, what its\n * landing probes did not find, how its last attempt ended). A playbook run is explained from its feed\n * line, which already carries its error and the judge criteria that did not pass. Nothing is inferred.\n */\nexport default class CreationWhyCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation why',\n description: 'Why a build task has not landed, or how a playbook run ended.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'ref', description: 'A build task ref, a playbook run id, or a playbook ref', required: true }],\n flags: { json: { type: 'boolean', description: 'Emit the record the answer is read from.', default: false } },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const ref = String(ctx.args.ref ?? '');\n return runConsoleVerb(ctx, {\n failureLabel: `Could not explain ${ref}`,\n timeoutMs: CONSOLE_READ_TIMEOUT_MS,\n call: async (options) => {\n const tasks = await BuildConsoleClient.tasks(options);\n const task = tasks.records?.tasks.find((candidate) => candidate.taskRef === ref) ?? null;\n if (task) return { task, lines: null };\n const feed = await CreationConsoleClient.readFeed(options);\n const lines = feed.lines.filter((line) => feedLineNamesReference(line, ref));\n /* An unknown reference is a failure an agent must be able to branch on, not a sentence on a success. */\n if (lines.length === 0) throw new Error(`nothing is recorded under \"${ref}\" — not a build task, and no recent run or question names it. List them with: wildo build tasks · wildo creation feed`);\n return { task: null, lines };\n },\n render: (result) => (result.task ? describeBuildTaskWhy(result.task) : result.lines.flatMap(describeFeedLine)),\n });\n }\n}\n"]}
1
+ {"version":3,"file":"why.command.js","sourceRoot":"","sources":["../../../../../../src/commands/creation/why.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAC/G,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAC3L,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE3G;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,WAAW;IAChD,IAAI,GAAgB;QAC3B,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,0FAA0F;QACvG,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;iBAC9H,CAAC;SACL,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { BuildConsoleClient, describeBuildTaskWhy } from '~wildo-cli/services/companion/build-console.service';\nimport { CreationConsoleClient, describeFeedLine, describePlaybookStanding, feedLineNamesReference, locateInterviewInQueue } from '~wildo-cli/services/companion/creation-console.service';\nimport { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo creation why <taskRef|runId|playbookRef>` — why a build task has not landed, or how a playbook\n * run ended (#1652).\n *\n * A build task is explained from its own record (status, stuck reason, what it waits on, what its\n * landing probes did not find, how its last attempt ended). A playbook run is explained from its feed\n * line, which already carries its error and the judge criteria that did not pass. A playbook ref is also\n * explained from the eligibility board — its unmet preconditions and its unanswered interview — so a\n * playbook that has never run, or is held now, has an answer too. Nothing is inferred.\n */\nexport default class CreationWhyCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation why',\n description: 'Why a build task has not landed, how a playbook run ended, or what holds a playbook now.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'ref', description: 'A build task ref, a playbook run id, or a playbook ref', required: true }],\n flags: { json: { type: 'boolean', description: 'Emit the record the answer is read from.', default: false } },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const ref = String(ctx.args.ref ?? '');\n return runConsoleVerb(ctx, {\n failureLabel: `Could not explain ${ref}`,\n timeoutMs: CONSOLE_READ_TIMEOUT_MS,\n call: async (options) => {\n const tasks = await BuildConsoleClient.tasks(options);\n const task = tasks.records?.tasks.find((candidate) => candidate.taskRef === ref) ?? null;\n if (task) return { task, lines: null, standing: null, interview: null };\n /*\n * The board and the queue only ADD to the answer, so a failed read of either leaves the feed's answer\n * standing rather than failing a `why <runId>` that needs only the feed.\n */\n const [feed, board, queue] = await Promise.all([\n CreationConsoleClient.readFeed(options),\n CreationConsoleClient.readPlaybookBoard(options).catch(() => null),\n CreationConsoleClient.readQuestions(options).catch(() => null),\n ]);\n const lines = feed.lines.filter((line) => feedLineNamesReference(line, ref));\n const standing = board?.playbooks.find((entry) => entry.playbookRef === ref) ?? null;\n /* An unknown reference is a failure an agent must be able to branch on, not a sentence on a success. */\n if (lines.length === 0 && standing === null) {\n const scope = board === null ? 'not a build task, and no recent run or question names it (the playbook board could not be read)' : 'not a build task, not a playbook, and no recent run or question names it';\n throw new Error(`nothing is recorded under \"${ref}\" — ${scope}. List them with: wildo build tasks · wildo creation feed · wildo context journey`);\n }\n const interview = standing !== null && queue !== null ? locateInterviewInQueue(ref, standing.unansweredQuestionRefs ?? [], queue) : null;\n return { task: null, lines, standing, interview };\n },\n render: (result) => (result.task\n ? describeBuildTaskWhy(result.task)\n : [\n ...result.lines.flatMap(describeFeedLine),\n ...(result.standing ? describePlaybookStanding(result.standing, result.lines.length > 0, result.interview ?? undefined) : []),\n ]),\n });\n }\n}\n"]}
@@ -1,4 +1,21 @@
1
1
  import { type SchemaPlanChange, type SchemaPlanLockfile } from '@wildo-ai/saas-backend-lib';
2
+ /**
3
+ * The current plan with some tables LEFT OUT of a migration (#2764): each keeps its ACCEPTED entry (or none, for a
4
+ * table the accepted plan never had), so the migration carries nothing for it and the next `wildo db diff` still
5
+ * reports it as owed.
6
+ *
7
+ * The case it exists for: another session's models are in the shared tree but not committed. Trimming their
8
+ * statements out of the emitted file is the wrong door, because a running dev stack applies a new migration on the
9
+ * backend's next start (a dev backend restarts on every compile, and a crashed one is relaunched the moment the file
10
+ * appears), and an edit after it is APPLIED makes every later boot refuse on its SHA-256. Leaving them out at
11
+ * generation writes a file that is final when it is written.
12
+ *
13
+ * A name in neither plan is refused: a typo would otherwise exclude nothing, silently. Pure.
14
+ */
15
+ export declare function excludeTablesFromCurrentPlan(accepted: SchemaPlanLockfile, current: SchemaPlanLockfile, excludedTables: readonly string[]): {
16
+ readonly current: SchemaPlanLockfile;
17
+ readonly refusals: readonly string[];
18
+ };
2
19
  /** What {@link writeSchemaPlanMigration} wrote, for the caller to report. */
3
20
  export interface SchemaPlanMigrationWritten {
4
21
  readonly folderName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"db-schema-plan-migration.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/db/db-schema-plan-migration.utils.ts"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,4BAA4B,CAAC;AAIpC,6EAA6E;AAC7E,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC/C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,GAAG,0BAA0B,GAAG,IAAI,CAWpC"}
1
+ {"version":3,"file":"db-schema-plan-migration.utils.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/db/db-schema-plan-migration.utils.ts"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,4BAA4B,CAAC;AAIpC;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,kBAAkB,EAC3B,cAAc,EAAE,SAAS,MAAM,EAAE,GAChC;IAAE,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAWhF;AAED,6EAA6E;AAC7E,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC/C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,GAAG,0BAA0B,GAAG,IAAI,CAWpC"}
@@ -10,6 +10,33 @@ import { mkdirSync, writeFileSync } from 'fs';
10
10
  import { join } from 'path';
11
11
  import { diffSchemaPlanLockfiles, renderMigrationSql, } from '@wildo-ai/saas-backend-lib';
12
12
  import { LOCKFILE_RELATIVE_PATH, MIGRATIONS_RELATIVE_DIR, migrationTimestamp } from '../../commands/db/db-schema-plan.utils.js';
13
+ /**
14
+ * The current plan with some tables LEFT OUT of a migration (#2764): each keeps its ACCEPTED entry (or none, for a
15
+ * table the accepted plan never had), so the migration carries nothing for it and the next `wildo db diff` still
16
+ * reports it as owed.
17
+ *
18
+ * The case it exists for: another session's models are in the shared tree but not committed. Trimming their
19
+ * statements out of the emitted file is the wrong door, because a running dev stack applies a new migration on the
20
+ * backend's next start (a dev backend restarts on every compile, and a crashed one is relaunched the moment the file
21
+ * appears), and an edit after it is APPLIED makes every later boot refuse on its SHA-256. Leaving them out at
22
+ * generation writes a file that is final when it is written.
23
+ *
24
+ * A name in neither plan is refused: a typo would otherwise exclude nothing, silently. Pure.
25
+ */
26
+ export function excludeTablesFromCurrentPlan(accepted, current, excludedTables) {
27
+ const refusals = excludedTables
28
+ .filter((tableName) => accepted.tables[tableName] === undefined && current.tables[tableName] === undefined)
29
+ .map((tableName) => `"${tableName}" is a table in neither the accepted nor the current plan`);
30
+ const tables = { ...current.tables };
31
+ for (const tableName of excludedTables) {
32
+ const acceptedTable = accepted.tables[tableName];
33
+ if (acceptedTable === undefined)
34
+ delete tables[tableName];
35
+ else
36
+ tables[tableName] = acceptedTable;
37
+ }
38
+ return { current: { ...current, tables }, refusals };
39
+ }
13
40
  /**
14
41
  * Render the migration that carries `accepted` to `current`, and advance the lockfile — in ONE call.
15
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"db-schema-plan-migration.utils.js","sourceRoot":"","sources":["../../../../../../src/commands/db/db-schema-plan-migration.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,GAGnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAQlI;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAOxC;IACC,MAAM,OAAO,GAAG,uBAAuB,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACvE,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAEtC,MAAM,YAAY,GAAG,kBAAkB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IACpG,MAAM,UAAU,GAAG,GAAG,kBAAkB,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;IAClF,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,uBAAuB,EAAE,UAAU,CAAC,CAAC;IAC/E,SAAS,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,aAAa,CAAC,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,EAAE,YAAY,CAAC,CAAC;IACjE,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,sBAAsB,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC/E,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC,CAAC","sourcesContent":["/**\n * Writing a schema-plan migration: render the SQL that carries the accepted plan to the current one, and\n * advance the lockfile.\n *\n * Separate from `db-schema-plan.utils.ts` because it is the one schema-plan helper that needs\n * `@wildo-ai/saas-backend-lib` at run time (the plan differ and the SQL renderer). Keeping it apart keeps\n * that module, which `wildo secrets` reaches, free of the engine backend.\n */\nimport { mkdirSync, writeFileSync } from 'fs';\nimport { join } from 'path';\nimport {\n diffSchemaPlanLockfiles,\n renderMigrationSql,\n type SchemaPlanChange,\n type SchemaPlanLockfile,\n} from '@wildo-ai/saas-backend-lib';\n\nimport { LOCKFILE_RELATIVE_PATH, MIGRATIONS_RELATIVE_DIR, migrationTimestamp } from '~wildo-cli/commands/db/db-schema-plan.utils';\n\n/** What {@link writeSchemaPlanMigration} wrote, for the caller to report. */\nexport interface SchemaPlanMigrationWritten {\n readonly folderName: string;\n readonly changes: readonly SchemaPlanChange[];\n}\n\n/**\n * Render the migration that carries `accepted` to `current`, and advance the lockfile — in ONE call.\n *\n * The two writes are here together deliberately: a migration folder without its advanced lockfile (or\n * the reverse) is the two-artifact drift the whole design exists to prevent, and it is exactly what a\n * second implementation of this step would eventually produce. `wildo db generate` and `wildo init`'s\n * INITIAL migration (a PostgreSQL application's tables exist only once a migration creates them, so a\n * scaffolded one ships with its first migration) are both callers.\n *\n * Returns `null` when the two plans agree — a clean plan is a legitimate outcome, not a failure. The\n * renderer's own refusals (a primary-key MOVE or DROP) are thrown through verbatim: they carry their\n * reasoning, and this function has nothing truer to say about them.\n */\nexport function writeSchemaPlanMigration(input: {\n saasRoot: string;\n name: string;\n accepted: SchemaPlanLockfile;\n current: SchemaPlanLockfile;\n currentJson: string;\n now?: Date;\n}): SchemaPlanMigrationWritten | null {\n const changes = diffSchemaPlanLockfiles(input.accepted, input.current);\n if (changes.length === 0) return null;\n\n const migrationSql = renderMigrationSql({ changes, previous: input.accepted, next: input.current });\n const folderName = `${migrationTimestamp(input.now ?? new Date())}_${input.name}`;\n const migrationDir = join(input.saasRoot, MIGRATIONS_RELATIVE_DIR, folderName);\n mkdirSync(migrationDir, { recursive: true });\n writeFileSync(join(migrationDir, 'migration.sql'), migrationSql);\n writeFileSync(join(input.saasRoot, LOCKFILE_RELATIVE_PATH), input.currentJson);\n return { folderName, changes };\n}\n"]}
1
+ {"version":3,"file":"db-schema-plan-migration.utils.js","sourceRoot":"","sources":["../../../../../../src/commands/db/db-schema-plan-migration.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,GAGnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAElI;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,4BAA4B,CAC1C,QAA4B,EAC5B,OAA2B,EAC3B,cAAiC;IAEjC,MAAM,QAAQ,GAAG,c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E,UAAU,CAAC,CAAC;IAC/E,SAAS,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,aAAa,CAAC,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,EAAE,YAAY,CAAC,CAAC;IACjE,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,sBAAsB,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC/E,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC,CAAC","sourcesContent":["/**\n * Writing a schema-plan migration: render the SQL that carries the accepted plan to the current one, and\n * advance the lockfile.\n *\n * Separate from `db-schema-plan.utils.ts` because it is the one schema-plan helper that needs\n * `@wildo-ai/saas-backend-lib` at run time (the plan differ and the SQL renderer). Keeping it apart keeps\n * that module, which `wildo secrets` reaches, free of the engine backend.\n */\nimport { mkdirSync, writeFileSync } from 'fs';\nimport { join } from 'path';\nimport {\n diffSchemaPlanLockfiles,\n renderMigrationSql,\n type SchemaPlanChange,\n type SchemaPlanLockfile,\n} from '@wildo-ai/saas-backend-lib';\n\nimport { LOCKFILE_RELATIVE_PATH, MIGRATIONS_RELATIVE_DIR, migrationTimestamp } from '~wildo-cli/commands/db/db-schema-plan.utils';\n\n/**\n * The current plan with some tables LEFT OUT of a migration (#2764): each keeps its ACCEPTED entry (or none, for a\n * table the accepted plan never had), so the migration carries nothing for it and the next `wildo db diff` still\n * reports it as owed.\n *\n * The case it exists for: another session's models are in the shared tree but not committed. Trimming their\n * statements out of the emitted file is the wrong door, because a running dev stack applies a new migration on the\n * backend's next start (a dev backend restarts on every compile, and a crashed one is relaunched the moment the file\n * appears), and an edit after it is APPLIED makes every later boot refuse on its SHA-256. Leaving them out at\n * generation writes a file that is final when it is written.\n *\n * A name in neither plan is refused: a typo would otherwise exclude nothing, silently. Pure.\n */\nexport function excludeTablesFromCurrentPlan(\n accepted: SchemaPlanLockfile,\n current: SchemaPlanLockfile,\n excludedTables: readonly string[],\n): { readonly current: SchemaPlanLockfile; readonly refusals: readonly string[] } {\n const refusals = excludedTables\n .filter((tableName) => accepted.tables[tableName] === undefined && current.tables[tableName] === undefined)\n .map((tableName) => `\"${tableName}\" is a table in neither the accepted nor the current plan`);\n const tables = { ...current.tables };\n for (const tableName of excludedTables) {\n const acceptedTable = accepted.tables[tableName];\n if (acceptedTable === undefined) delete tables[tableName];\n else tables[tableName] = acceptedTable;\n }\n return { current: { ...current, tables }, refusals };\n}\n\n/** What {@link writeSchemaPlanMigration} wrote, for the caller to report. */\nexport interface SchemaPlanMigrationWritten {\n readonly folderName: string;\n readonly changes: readonly SchemaPlanChange[];\n}\n\n/**\n * Render the migration that carries `accepted` to `current`, and advance the lockfile — in ONE call.\n *\n * The two writes are here together deliberately: a migration folder without its advanced lockfile (or\n * the reverse) is the two-artifact drift the whole design exists to prevent, and it is exactly what a\n * second implementation of this step would eventually produce. `wildo db generate` and `wildo init`'s\n * INITIAL migration (a PostgreSQL application's tables exist only once a migration creates them, so a\n * scaffolded one ships with its first migration) are both callers.\n *\n * Returns `null` when the two plans agree — a clean plan is a legitimate outcome, not a failure. The\n * renderer's own refusals (a primary-key MOVE or DROP) are thrown through verbatim: they carry their\n * reasoning, and this function has nothing truer to say about them.\n */\nexport function writeSchemaPlanMigration(input: {\n saasRoot: string;\n name: string;\n accepted: SchemaPlanLockfile;\n current: SchemaPlanLockfile;\n currentJson: string;\n now?: Date;\n}): SchemaPlanMigrationWritten | null {\n const changes = diffSchemaPlanLockfiles(input.accepted, input.current);\n if (changes.length === 0) return null;\n\n const migrationSql = renderMigrationSql({ changes, previous: input.accepted, next: input.current });\n const folderName = `${migrationTimestamp(input.now ?? new Date())}_${input.name}`;\n const migrationDir = join(input.saasRoot, MIGRATIONS_RELATIVE_DIR, folderName);\n mkdirSync(migrationDir, { recursive: true });\n writeFileSync(join(migrationDir, 'migration.sql'), migrationSql);\n writeFileSync(join(input.saasRoot, LOCKFILE_RELATIVE_PATH), input.currentJson);\n return { folderName, changes };\n}\n"]}