@wildo-ai/wildo-cli 1.1.2 → 1.1.3

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 (947) hide show
  1. package/dist/bin/wildo.d.ts.map +1 -1
  2. package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
  3. package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
  4. package/dist/src/commands/acp/probe.command.js +13 -0
  5. package/dist/src/commands/acp/probe.command.js.map +1 -1
  6. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  7. package/dist/src/commands/assets/sync.command.d.ts +6 -0
  8. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  9. package/dist/src/commands/assets/sync.command.js +13 -3
  10. package/dist/src/commands/assets/sync.command.js.map +1 -1
  11. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  12. package/dist/src/commands/compose.command.d.ts.map +1 -1
  13. package/dist/src/commands/compose.command.js +16 -0
  14. package/dist/src/commands/compose.command.js.map +1 -1
  15. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
  16. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +1 -1
  17. package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
  18. package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
  19. package/dist/src/commands/config/__tests__/sync.command.test.js +115 -8
  20. package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
  21. package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
  22. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  23. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  24. package/dist/src/commands/config/sync.command.d.ts +36 -0
  25. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  26. package/dist/src/commands/config/sync.command.js +61 -7
  27. package/dist/src/commands/config/sync.command.js.map +1 -1
  28. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  29. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
  30. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
  31. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
  32. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
  33. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  34. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  35. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  36. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  37. package/dist/src/commands/context/journey.command.d.ts +6 -2
  38. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  39. package/dist/src/commands/context/journey.command.js +8 -4
  40. package/dist/src/commands/context/journey.command.js.map +1 -1
  41. package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
  42. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
  43. package/dist/src/commands/context/jurisdictions.command.js +115 -0
  44. package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
  45. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  46. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  47. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  48. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  49. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  50. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  51. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
  52. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
  53. package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
  54. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  55. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
  56. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
  57. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
  58. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  59. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  60. package/dist/src/commands/dev/charts-audit.command.js +1 -1
  61. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  62. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  63. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  64. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  65. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  66. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  67. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  68. package/dist/src/commands/dev/start.command.js +8 -7
  69. package/dist/src/commands/dev/start.command.js.map +1 -1
  70. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  71. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  72. package/dist/src/commands/dev/sync-csp.command.js +35 -7
  73. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  74. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
  75. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
  76. package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
  77. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
  78. package/dist/src/commands/docs/publish.command.d.ts +29 -0
  79. package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
  80. package/dist/src/commands/docs/publish.command.js +82 -0
  81. package/dist/src/commands/docs/publish.command.js.map +1 -0
  82. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  83. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
  84. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
  85. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  86. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  87. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  88. package/dist/src/commands/fwk/dev-skills.command.js +12 -0
  89. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  90. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  91. package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
  92. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
  93. package/dist/src/commands/fwk/generate-providers.command.js +309 -0
  94. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
  95. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  96. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  97. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  98. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  99. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  100. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  101. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  102. package/dist/src/commands/fwk/version-show.command.js +9 -1
  103. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  104. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  105. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  106. package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
  107. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  108. package/dist/src/commands/fwk/wt-status.command.js +34 -5
  109. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  110. package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
  111. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  112. package/dist/src/commands/fwk/wt-tail.command.js +40 -10
  113. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  114. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
  115. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
  116. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  117. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  118. package/dist/src/commands/generate/email-command.utils.js +1 -0
  119. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  120. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  121. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  122. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  123. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  124. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  125. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  126. package/dist/src/commands/generate/labelling-command.utils.js +1 -0
  127. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  128. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  129. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  130. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  131. package/dist/src/commands/help.command.d.ts.map +1 -1
  132. package/dist/src/commands/help.command.js +2 -0
  133. package/dist/src/commands/help.command.js.map +1 -1
  134. package/dist/src/commands/init.command.d.ts +17 -0
  135. package/dist/src/commands/init.command.d.ts.map +1 -1
  136. package/dist/src/commands/init.command.js +57 -4
  137. package/dist/src/commands/init.command.js.map +1 -1
  138. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
  139. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
  140. package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
  141. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
  142. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
  143. package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
  144. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
  145. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
  146. package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
  147. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
  148. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
  149. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
  150. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
  151. package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
  152. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
  153. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  154. package/dist/src/commands/local/dev.command.d.ts +6 -3
  155. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  156. package/dist/src/commands/local/dev.command.js +13 -4
  157. package/dist/src/commands/local/dev.command.js.map +1 -1
  158. package/dist/src/commands/local/doctor.command.d.ts +9 -0
  159. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  160. package/dist/src/commands/local/doctor.command.js +24 -6
  161. package/dist/src/commands/local/doctor.command.js.map +1 -1
  162. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  163. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  164. package/dist/src/commands/local/init.command.js +11 -2
  165. package/dist/src/commands/local/init.command.js.map +1 -1
  166. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  167. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  168. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  169. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  170. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  171. package/dist/src/commands/local/up.command.js.map +1 -1
  172. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
  173. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
  174. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  175. package/dist/src/commands/lock/check.command.js +3 -10
  176. package/dist/src/commands/lock/check.command.js.map +1 -1
  177. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
  178. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
  179. package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
  180. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  181. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  182. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  183. package/dist/src/commands/market/market-command.utils.js +1 -0
  184. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  185. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
  186. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
  187. package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
  188. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
  189. package/dist/src/commands/providers/show.command.d.ts +51 -0
  190. package/dist/src/commands/providers/show.command.d.ts.map +1 -0
  191. package/dist/src/commands/providers/show.command.js +152 -0
  192. package/dist/src/commands/providers/show.command.js.map +1 -0
  193. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  194. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  195. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  196. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  197. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  198. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  199. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  200. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  201. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  202. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  203. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  204. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  205. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
  206. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  207. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  208. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  209. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  210. package/dist/src/commands/setup.command.d.ts.map +1 -1
  211. package/dist/src/commands/version.command.d.ts.map +1 -1
  212. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
  213. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  214. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
  215. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  216. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  217. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  218. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  219. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  220. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  221. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  222. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
  223. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  224. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  225. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  226. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  227. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  228. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  229. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  230. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
  231. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
  232. package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
  233. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
  234. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
  235. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
  236. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
  237. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
  238. package/dist/src/kernel/base-command.d.ts.map +1 -1
  239. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  240. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  241. package/dist/src/kernel/command-registry.js +6 -0
  242. package/dist/src/kernel/command-registry.js.map +1 -1
  243. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  244. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  245. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  246. package/dist/src/kernel/hooks.d.ts.map +1 -1
  247. package/dist/src/kernel/logger.d.ts.map +1 -1
  248. package/dist/src/kernel/types.d.ts +17 -1
  249. package/dist/src/kernel/types.d.ts.map +1 -1
  250. package/dist/src/kernel/types.js +16 -0
  251. package/dist/src/kernel/types.js.map +1 -1
  252. package/dist/src/main.d.ts.map +1 -1
  253. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
  254. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
  255. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
  256. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
  257. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  258. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  259. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
  260. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
  261. package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
  262. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
  263. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
  264. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  265. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  266. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  267. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  268. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  269. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  270. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
  271. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
  272. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
  273. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
  274. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
  275. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
  276. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
  277. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  278. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
  279. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
  280. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  281. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
  282. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
  283. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
  284. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
  285. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
  286. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  287. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
  288. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
  289. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
  290. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
  291. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
  292. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
  293. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
  294. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
  295. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
  296. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
  297. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
  298. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
  299. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
  300. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
  301. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
  302. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
  303. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
  304. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
  305. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
  306. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
  307. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +156 -0
  308. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
  309. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
  310. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
  311. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  312. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
  313. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
  314. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
  315. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
  316. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
  317. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  318. package/dist/src/services/application/app-bootstrap.service.d.ts +34 -10
  319. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  320. package/dist/src/services/application/app-bootstrap.service.js +62 -48
  321. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  322. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  323. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  324. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  325. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  326. package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
  327. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  328. package/dist/src/services/application/application-assets-delivery.service.js +35 -7
  329. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  330. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  331. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  332. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  333. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  334. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  335. package/dist/src/services/application/application-runtime-bootstrap.service.js +0 -2
  336. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  337. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  338. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  339. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  340. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  341. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  342. package/dist/src/services/application/local-application-initialization.service.js +22 -6
  343. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  344. package/dist/src/services/application/provider-package-links.service.d.ts +130 -0
  345. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
  346. package/dist/src/services/application/provider-package-links.service.js +280 -0
  347. package/dist/src/services/application/provider-package-links.service.js.map +1 -0
  348. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  349. package/dist/src/services/application/provider-runtime-sync.service.js +6 -20
  350. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  351. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  352. package/dist/src/services/application/saas-scaffold.service.js +11 -2
  353. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  354. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  355. package/dist/src/services/application/saas-skeleton.service.js +24 -24
  356. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  357. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
  358. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
  359. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
  360. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
  361. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
  362. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
  363. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
  364. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
  365. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
  366. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
  367. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
  368. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
  369. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
  370. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
  371. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
  372. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
  373. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  374. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
  375. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
  376. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
  377. package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
  378. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  379. package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
  380. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  381. package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
  382. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  383. package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
  384. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  385. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
  386. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
  387. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
  388. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
  389. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
  390. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  391. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
  392. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  393. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
  394. package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
  395. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  396. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
  397. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
  398. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
  399. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  400. package/dist/src/services/companion/companion-client-options.utils.js +6 -0
  401. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  402. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  403. package/dist/src/services/companion/companion-client.service.js +34 -0
  404. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  405. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  406. package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
  407. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
  408. package/dist/src/services/companion/companion-local-token.utils.js +62 -0
  409. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
  410. package/dist/src/services/companion/companion.schemas.d.ts +12 -0
  411. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  412. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  413. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  414. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  415. package/dist/src/services/companion/local-companion-authority.service.js +9 -30
  416. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  417. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  418. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  419. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
  420. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
  421. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
  422. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
  423. package/dist/src/services/context/context-manager.service.d.ts +9 -0
  424. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  425. package/dist/src/services/context/context-manager.service.js +13 -1
  426. package/dist/src/services/context/context-manager.service.js.map +1 -1
  427. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  428. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  429. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
  430. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
  431. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
  432. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
  433. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
  434. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
  435. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
  436. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
  437. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
  438. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
  439. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  440. package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -37
  441. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  442. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +175 -0
  443. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
  444. package/dist/src/services/credentials/composed-provider-catalogue.js +228 -0
  445. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
  446. package/dist/src/services/credentials/credentials.schemas.d.ts +2 -22
  447. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  448. package/dist/src/services/credentials/credentials.schemas.js +17 -5
  449. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  450. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  451. package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
  452. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  453. package/dist/src/services/credentials/framework-managed-secrets.js +2 -0
  454. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  455. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
  456. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  457. package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
  458. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  459. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  460. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  461. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  462. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  463. package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
  464. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  465. package/dist/src/services/data-services/data-services.schemas.js +0 -1
  466. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  467. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  468. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
  469. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
  470. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
  471. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
  472. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
  473. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
  474. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
  475. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  476. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
  477. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
  478. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
  479. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
  480. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
  481. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
  482. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
  483. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
  484. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
  485. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
  486. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
  487. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
  488. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
  489. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
  490. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
  491. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
  492. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
  493. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  494. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  495. package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
  496. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  497. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  498. package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
  499. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  500. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
  501. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
  502. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
  503. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
  504. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  505. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
  506. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
  507. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  508. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
  509. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  510. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  511. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  512. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  513. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  514. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  515. package/dist/src/services/deployment/infra-writer.service.js +11 -3
  516. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  517. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
  518. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
  519. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
  520. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  521. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
  522. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
  523. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
  524. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
  525. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
  526. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
  527. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
  528. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  529. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
  530. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
  531. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  532. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +3 -0
  533. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  534. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  535. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  536. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
  537. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  538. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
  539. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  540. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
  541. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  542. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  543. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
  544. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  545. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
  546. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  547. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  548. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  549. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  550. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  551. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  552. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  553. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  554. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  555. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  556. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
  557. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  558. package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
  559. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  560. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  561. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  562. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  563. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  564. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  565. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  566. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  567. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  568. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  569. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  570. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  571. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
  572. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
  573. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
  574. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
  575. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
  576. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
  577. package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
  578. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
  579. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
  580. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
  581. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  582. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
  583. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
  584. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
  585. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
  586. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
  587. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
  588. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
  589. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
  590. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
  591. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
  592. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
  593. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  594. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
  595. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
  596. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
  597. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
  598. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
  599. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
  600. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  601. package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
  602. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  603. package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
  604. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  605. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  606. package/dist/src/services/environment/env-sync.service.js +13 -13
  607. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  608. package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
  609. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  610. package/dist/src/services/environment/env-vars-builder.service.js +169 -41
  611. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  612. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  613. package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
  614. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  615. package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
  616. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  617. package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
  618. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  619. package/dist/src/services/environment/environment-paths.service.js +5 -3
  620. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  621. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  622. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  623. package/dist/src/services/environment/environment-setup.service.js +23 -9
  624. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  625. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  626. package/dist/src/services/environment/environment.service.d.ts +6 -1
  627. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  628. package/dist/src/services/environment/environment.service.js +2 -0
  629. package/dist/src/services/environment/environment.service.js.map +1 -1
  630. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  631. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  632. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  633. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  634. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  635. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
  636. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
  637. package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
  638. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
  639. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
  640. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
  641. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +47 -0
  642. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
  643. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
  644. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
  645. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
  646. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
  647. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
  648. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
  649. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
  650. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
  651. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
  652. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
  653. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
  654. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
  655. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +50 -0
  656. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  657. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
  658. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
  659. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  660. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
  661. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
  662. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
  663. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
  664. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  665. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
  666. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
  667. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
  668. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
  669. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
  670. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
  671. package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
  672. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
  673. package/dist/src/services/framework/application-rule-imports.js +77 -0
  674. package/dist/src/services/framework/application-rule-imports.js.map +1 -0
  675. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
  676. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  677. package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
  678. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  679. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  680. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  681. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  682. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +45 -0
  683. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  684. package/dist/src/services/framework/framework-knowledge-audit.service.js +122 -1
  685. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  686. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +0 -1
  687. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  688. package/dist/src/services/framework/framework-knowledge-generation.service.js +29 -215
  689. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  690. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  691. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  692. package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
  693. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  694. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -1
  695. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  696. package/dist/src/services/framework/framework-publish-manifest.service.js +79 -4
  697. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  698. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  699. package/dist/src/services/framework/framework-version.service.d.ts +13 -0
  700. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  701. package/dist/src/services/framework/framework-version.service.js +23 -24
  702. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  703. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  704. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
  705. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
  706. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
  707. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
  708. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
  709. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
  710. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
  711. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
  712. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
  713. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
  714. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +166 -0
  715. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
  716. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
  717. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
  718. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
  719. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
  720. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
  721. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
  722. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
  723. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
  724. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
  725. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
  726. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
  727. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
  728. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
  729. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
  730. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
  731. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
  732. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
  733. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
  734. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
  735. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
  736. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
  737. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
  738. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
  739. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
  740. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
  741. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
  742. package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
  743. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
  744. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +130 -0
  745. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
  746. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1466 -0
  747. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
  748. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
  749. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
  750. package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
  751. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
  752. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
  753. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
  754. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
  755. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
  756. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
  757. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
  758. package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
  759. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
  760. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
  761. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
  762. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
  763. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  764. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  765. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  766. package/dist/src/services/frontend/frontend-publish.service.js +1 -1
  767. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  768. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  769. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  770. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  771. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  772. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  773. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  774. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  775. package/dist/src/services/registry/index.d.ts.map +1 -1
  776. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  777. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  778. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  779. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  780. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
  781. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
  782. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
  783. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
  784. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
  785. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
  786. package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
  787. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  788. package/dist/src/services/security/csp-sync.service.d.ts +27 -5
  789. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  790. package/dist/src/services/security/csp-sync.service.js +204 -16
  791. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  792. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  793. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
  794. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
  795. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
  796. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
  797. package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
  798. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  799. package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
  800. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  801. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
  802. package/dist/tsconfig.build.tsbuildinfo +1 -1
  803. package/dist/tsconfig.tsbuildinfo +1 -1
  804. package/framework-root-package.json +2 -0
  805. package/package.json +19 -17
  806. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +2 -0
  807. package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
  808. package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
  809. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +330 -74
  810. package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
  811. package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
  812. package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
  813. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
  814. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
  815. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
  816. package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
  817. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
  818. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
  819. package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
  820. package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
  821. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
  822. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
  823. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
  824. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
  825. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
  826. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
  827. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
  828. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
  829. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
  830. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
  831. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
  832. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
  833. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
  834. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
  835. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
  836. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
  837. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
  838. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
  839. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
  840. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
  841. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
  842. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
  843. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
  844. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
  845. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
  846. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
  847. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
  848. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
  849. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
  850. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
  851. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
  852. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
  853. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
  854. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
  855. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
  856. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
  857. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
  858. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
  859. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
  860. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
  861. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
  862. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
  863. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
  864. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
  865. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
  866. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
  867. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
  868. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
  869. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
  870. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
  871. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
  872. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
  873. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
  874. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
  875. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
  876. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
  877. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
  878. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
  879. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
  880. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
  881. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
  882. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
  883. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
  884. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
  885. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
  886. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
  887. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
  888. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
  889. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
  890. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
  891. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
  892. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
  893. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
  894. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
  895. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
  896. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
  897. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
  898. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
  899. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
  900. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
  901. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
  902. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
  903. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
  904. package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
  905. package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
  906. package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
  907. package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
  908. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
  909. package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
  910. package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
  911. package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
  912. package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
  913. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
  914. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
  915. package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
  916. package/templates/saas/scenarios/add-backend-provider/scenario.json +2 -2
  917. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
  918. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
  919. package/templates/saas/scenarios/add-module/scenario.json +3 -3
  920. package/templates/saas/scenarios/add-provider/scenario.json +36 -0
  921. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +18 -2
  922. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
  923. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +52 -0
  924. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
  925. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +26 -4
  926. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
  927. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
  928. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
  929. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
  930. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
  931. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
  932. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
  933. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
  934. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
  935. package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
  936. package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
  937. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
  938. package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
  939. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
  940. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
  941. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
  942. package/wildo-framework.info.json +1 -1
  943. package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
  944. package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
  945. package/templates/infra/k8s/middleware.yaml.hbs +0 -101
  946. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
  947. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
@@ -0,0 +1,130 @@
1
+ /**
2
+ * The npm-name prefix of a provider package (plan D3). Deliberately duplicated from the publish
3
+ * lane's `PUBLISHED_PROVIDER_PACKAGE_NAME_PREFIX` rather than imported: that constant answers "does
4
+ * this package publish", this one answers "is this a provider an application declared". They are
5
+ * equal today and are allowed to stop being — a package that stops publishing is still linked.
6
+ */
7
+ export declare const PROVIDER_PACKAGE_NAME_PREFIX = "@wildo-ai/provider-";
8
+ /** A framework workspace member: its package name and its absolute root. */
9
+ export interface FrameworkWorkspacePackage {
10
+ name: string;
11
+ root: string;
12
+ }
13
+ /**
14
+ * Resolve every framework workspace member's package name → absolute root.
15
+ *
16
+ * Lives here rather than in `saas-skeleton.service.ts` because two callers now need it — the
17
+ * scaffolder, and the provider-link reconciliation `wildo compose` runs — and a second copy of a
18
+ * workspace reader is a second answer to "what packages does the framework carry".
19
+ *
20
+ * The one-level trailing glob stays supported here even though `pnpm-workspace.yaml` uses explicit
21
+ * entries today: that file records the measurement (two repo-root readers refuse or silently drop a
22
+ * wildcard), and when they are fixed this reader must not be the thing that has to change too.
23
+ */
24
+ export declare function readFrameworkWorkspacePackages(frameworkPath: string): Map<string, FrameworkWorkspacePackage>;
25
+ /** One provider override the reconciliation added or found already correct. */
26
+ export interface ProviderPackageLinkOutcome {
27
+ packageName: string;
28
+ /** `file:<relative path>` in framework-developer mode, the framework version otherwise. */
29
+ overrideValue: string;
30
+ }
31
+ export interface ProviderPackageLinkReconciliation {
32
+ /** Providers the application's manifests declare, sorted. */
33
+ declared: string[];
34
+ /** Overrides written (or that would be written on a dry run). */
35
+ added: ProviderPackageLinkOutcome[];
36
+ /** Declared providers whose override already carries exactly this value. */
37
+ alreadyLinked: ProviderPackageLinkOutcome[];
38
+ /**
39
+ * Declared providers that could not be resolved — no workspace member of that name in
40
+ * framework-developer mode. Reported, never thrown: a declaration for a provider that has not
41
+ * been generated yet is a state an operator can be in, and refusing the whole reconciliation
42
+ * would take every OTHER provider's link down with it.
43
+ */
44
+ unresolved: string[];
45
+ /**
46
+ * Provider overrides present in the root manifest that no manifest declares any more. Reported
47
+ * only — see the header: this service never removes an override.
48
+ */
49
+ surplus: string[];
50
+ }
51
+ export declare class ProviderPackageLinksService {
52
+ /**
53
+ * The provider package names an application's own workspace manifests declare.
54
+ *
55
+ * Every dependency field is scanned, not just `dependencies`: a provider reached only from a
56
+ * test or a build step is declared as a devDependency and still has to resolve.
57
+ */
58
+ static discoverDeclaredProviderPackages(applicationRoot: string): string[];
59
+ /**
60
+ * The application's own workspace members, plus its root.
61
+ *
62
+ * `.wildo-saas/` members are skipped for the same reason the standalone alignment service skips
63
+ * them: the companion drop's manifest is REWRITTEN on every start, so anything reconciled into it
64
+ * is erased and the reconciler would report the same drift forever.
65
+ */
66
+ static discoverApplicationWorkspaceMembers(applicationRoot: string): string[];
67
+ /**
68
+ * Compute the provider overrides an application needs, given what it declares.
69
+ *
70
+ * `frameworkWorkspacePackages` is the framework checkout's member map in framework-developer
71
+ * mode; pass `null` for app-creator mode, where a provider resolves to the framework version like
72
+ * every other `@wildo-ai/*` package.
73
+ */
74
+ static resolveProviderOverrides(input: {
75
+ applicationRoot: string;
76
+ frameworkWorkspacePackages: Map<string, {
77
+ root: string;
78
+ }> | null;
79
+ frameworkVersion: string;
80
+ }): {
81
+ overrides: Record<string, string>;
82
+ declared: string[];
83
+ unresolved: string[];
84
+ };
85
+ /**
86
+ * Merge the resolved provider overrides into the application ROOT manifest.
87
+ *
88
+ * Merge, never replace, and sorted like every other writer of this block (`wildo init`, `wildo
89
+ * align-deps`, the framework alignment script) so a later reconciliation reorders nothing and the
90
+ * diff stays reviewable.
91
+ */
92
+ static reconcileApplicationProviderLinks(input: {
93
+ applicationRoot: string;
94
+ frameworkWorkspacePackages: Map<string, {
95
+ root: string;
96
+ }> | null;
97
+ frameworkVersion: string;
98
+ write: boolean;
99
+ }): ProviderPackageLinkReconciliation;
100
+ /**
101
+ * The host-facing entry: reconcile and REPORT, resolving the framework layout itself.
102
+ *
103
+ * `frameworkPath` null means app-creator mode — no checkout to link into, so a declared provider
104
+ * resolves to the framework version. The version comes from `wildo-framework.info.json` in a
105
+ * checkout and from the application's own existing `@wildo-ai/*` pin otherwise, because that is
106
+ * the release the application actually has.
107
+ */
108
+ static reconcileAndReport(input: {
109
+ applicationRoot: string;
110
+ frameworkPath: string | null;
111
+ log: {
112
+ info: (message: string) => void;
113
+ warn: (message: string) => void;
114
+ };
115
+ }): ProviderPackageLinkReconciliation;
116
+ /**
117
+ * The version a provider package pins to in app-creator mode.
118
+ *
119
+ * Read from the checkout's `wildo-framework.info.json` when there is one; otherwise from the
120
+ * application's OWN `pnpm.overrides`, taking the version it already pins for a framework package.
121
+ * Deriving it from the application rather than defaulting is deliberate: a provider must land on
122
+ * the release whose contract it was built against, and the application's existing pins are the
123
+ * only statement of which release that is. With neither available the reconciliation refuses,
124
+ * because inventing a version here would produce an override that installs the wrong engine.
125
+ */
126
+ private static resolveFrameworkVersionForApplication;
127
+ private static readManifest;
128
+ private static readDirectoryNames;
129
+ }
130
+ //# sourceMappingURL=provider-package-links.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-package-links.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/provider-package-links.service.ts"],"names":[],"mappings":"AA0CA;;;;;GAKG;AACH,eAAO,MAAM,4B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;KAAE;IAuBnF;;;;;;OAMG;IACH,MAAM,CAAC,iCAAiC,CAAC,KAAK,EAAE;QAC9C,eAAe,EAAE,MAAM,CAAC;QACxB,0BAA0B,EAAE,GAAG,CAAC,MAAM,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,GAAG,IAAI,CAAC;QACjE,gBAAgB,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,OAAO,CAAC;KAChB,GAAG,iCAAiC;IAoCrC;;;;;;;OAOG;IACH,MAAM,CAAC,kBAAkB,CAAC,KAAK,EAAE;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,GAAG,EAAE;YAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;YAAC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;SAAE,CAAC;KAC3E,GAAG,iCAAiC;IAuCrC;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,qCAAqC;IAwBpD,OAAO,CAAC,MAAM,CAAC,YAAY;IAK3B,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAGlC"}
@@ -0,0 +1,280 @@
1
+ /**
2
+ * ProviderPackageLinksService — resolve an application's DECLARED provider packages, and nothing
3
+ * else (plan D7, slice S6, issue #334).
4
+ *
5
+ * ## The problem this closes
6
+ *
7
+ * `frameworkFileLinkPackages` is the set of framework packages every scaffolded application links,
8
+ * and in framework-developer mode every name in it becomes a `file:` override in the application's
9
+ * root manifest. That is correct for the framework core — an application uses all of it — and it
10
+ * does not survive the provider population: at two hundred provider packages every scaffolded
11
+ * application would carry two hundred `file:` links to packages it never imports, and
12
+ * `saas-skeleton.service.ts` would THROW for any name the workspace could not produce.
13
+ *
14
+ * So the two populations are resolved differently, and the difference is not a size optimisation —
15
+ * it is what each list MEANS:
16
+ *
17
+ * - the framework core is a CURATION: the packages an application always has. It stays authored in
18
+ * `propagated-engine-overrides.json`, because "which of them" is a decision;
19
+ * - the providers are a POPULATION: `@wildo-ai/provider-<ref>`, one per provider, generated by the
20
+ * packager. "Which of them does THIS application link" has exactly one honest answer — the ones
21
+ * its own manifests declare. Nothing needs to list them, and a list would rot the way issue #161
22
+ * measured (a hand-kept sibling list at 37 of 155 names).
23
+ *
24
+ * ## Why the DECLARATION is the source
25
+ *
26
+ * A provider reaches an application by exactly one route: a dependency in one of the application's
27
+ * own package manifests, written by `wildo compose add-provider` (the `package-dependency-add`
28
+ * composition edit kind). Deriving the link set from those declarations means the application says
29
+ * what it uses once, in the place npm itself reads, and the override follows mechanically. The
30
+ * alternative — a second per-application list of "linked providers" — would be a copy that can
31
+ * disagree with the manifests, which is the defect this slice removes rather than relocates.
32
+ *
33
+ * ## What it never does
34
+ *
35
+ * It never REMOVES an override. An override the application authored, or one left behind by a
36
+ * provider it has since dropped, is authored content; removing it silently is how a reconciler
37
+ * becomes an outage. Surplus is reported by the caller, never repaired here.
38
+ */
39
+ import { existsSync, readFileSync, readdirSync, writeFileSync } from 'fs';
40
+ import { join, relative, sep } from 'path';
41
+ import { parse as parseYaml } from 'yaml';
42
+ /**
43
+ * The npm-name prefix of a provider package (plan D3). Deliberately duplicated from the publish
44
+ * lane's `PUBLISHED_PROVIDER_PACKAGE_NAME_PREFIX` rather than imported: that constant answers "does
45
+ * this package publish", this one answers "is this a provider an application declared". They are
46
+ * equal today and are allowed to stop being — a package that stops publishing is still linked.
47
+ */
48
+ export const PROVIDER_PACKAGE_NAME_PREFIX = '@wildo-ai/provider-';
49
+ /**
50
+ * Resolve every framework workspace member's package name → absolute root.
51
+ *
52
+ * Lives here rather than in `saas-skeleton.service.ts` because two callers now need it — the
53
+ * scaffolder, and the provider-link reconciliation `wildo compose` runs — and a second copy of a
54
+ * workspace reader is a second answer to "what packages does the framework carry".
55
+ *
56
+ * The one-level trailing glob stays supported here even though `pnpm-workspace.yaml` uses explicit
57
+ * entries today: that file records the measurement (two repo-root readers refuse or silently drop a
58
+ * wildcard), and when they are fixed this reader must not be the thing that has to change too.
59
+ */
60
+ export function readFrameworkWorkspacePackages(frameworkPath) {
61
+ const workspace = parseYaml(readFileSync(join(frameworkPath, 'pnpm-workspace.yaml'), 'utf8'));
62
+ const packages = new Map();
63
+ for (const memberPattern of workspace.packages ?? []) {
64
+ const candidates = memberPattern.endsWith('/*')
65
+ ? (existsSync(join(frameworkPath, memberPattern.slice(0, -2)))
66
+ ? readdirSync(join(frameworkPath, memberPattern.slice(0, -2)), { withFileTypes: true })
67
+ .filter((entry) => entry.isDirectory())
68
+ .map((entry) => join(memberPattern.slice(0, -2), entry.name))
69
+ : [])
70
+ : [memberPattern];
71
+ for (const memberRelative of candidates) {
72
+ const manifestPath = join(frameworkPath, memberRelative, 'package.json');
73
+ if (!existsSync(manifestPath))
74
+ continue;
75
+ const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
76
+ if (manifest.name)
77
+ packages.set(manifest.name, { name: manifest.name, root: join(frameworkPath, memberRelative) });
78
+ }
79
+ }
80
+ return packages;
81
+ }
82
+ export class ProviderPackageLinksService {
83
+ /**
84
+ * The provider package names an application's own workspace manifests declare.
85
+ *
86
+ * Every dependency field is scanned, not just `dependencies`: a provider reached only from a
87
+ * test or a build step is declared as a devDependency and still has to resolve.
88
+ */
89
+ static discoverDeclaredProviderPackages(applicationRoot) {
90
+ const declared = new Set();
91
+ for (const member of ProviderPackageLinksService.discoverApplicationWorkspaceMembers(applicationRoot)) {
92
+ const manifest = ProviderPackageLinksService.readManifest(join(applicationRoot, member, 'package.json'));
93
+ if (!manifest)
94
+ continue;
95
+ for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']) {
96
+ for (const name of Object.keys(manifest[field] ?? {})) {
97
+ if (name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX))
98
+ declared.add(name);
99
+ }
100
+ }
101
+ }
102
+ return [...declared].sort();
103
+ }
104
+ /**
105
+ * The application's own workspace members, plus its root.
106
+ *
107
+ * `.wildo-saas/` members are skipped for the same reason the standalone alignment service skips
108
+ * them: the companion drop's manifest is REWRITTEN on every start, so anything reconciled into it
109
+ * is erased and the reconciler would report the same drift forever.
110
+ */
111
+ static discoverApplicationWorkspaceMembers(applicationRoot) {
112
+ const workspacePath = join(applicationRoot, 'pnpm-workspace.yaml');
113
+ const declared = existsSync(workspacePath)
114
+ ? (parseYaml(readFileSync(workspacePath, 'utf8'))?.packages ?? [])
115
+ : [];
116
+ const expanded = ['.'];
117
+ for (const member of declared) {
118
+ if (member.startsWith('.wildo-saas/'))
119
+ continue;
120
+ // A trailing one-level glob is the only glob shape an application workspace uses.
121
+ if (member.endsWith('/*')) {
122
+ const base = join(applicationRoot, member.slice(0, -2));
123
+ if (!existsSync(base))
124
+ continue;
125
+ for (const entry of ProviderPackageLinksService.readDirectoryNames(base))
126
+ expanded.push(`${member.slice(0, -2)}/${entry}`);
127
+ continue;
128
+ }
129
+ expanded.push(member);
130
+ }
131
+ return expanded.filter((member) => existsSync(join(applicationRoot, member, 'package.json')));
132
+ }
133
+ /**
134
+ * Compute the provider overrides an application needs, given what it declares.
135
+ *
136
+ * `frameworkWorkspacePackages` is the framework checkout's member map in framework-developer
137
+ * mode; pass `null` for app-creator mode, where a provider resolves to the framework version like
138
+ * every other `@wildo-ai/*` package.
139
+ */
140
+ static resolveProviderOverrides(input) {
141
+ const declared = ProviderPackageLinksService.discoverDeclaredProviderPackages(input.applicationRoot);
142
+ const overrides = {};
143
+ const unresolved = [];
144
+ for (const packageName of declared) {
145
+ if (input.frameworkWorkspacePackages === null) {
146
+ overrides[packageName] = input.frameworkVersion;
147
+ continue;
148
+ }
149
+ const workspacePackage = input.frameworkWorkspacePackages.get(packageName);
150
+ if (!workspacePackage) {
151
+ unresolved.push(packageName);
152
+ continue;
153
+ }
154
+ const relativePath = relative(input.applicationRoot, workspacePackage.root);
155
+ // pnpm reads a POSIX specifier; `relative` yields the host separator on Windows.
156
+ overrides[packageName] = `file:${relativePath.split(sep).join('/')}`;
157
+ }
158
+ return { overrides, declared, unresolved };
159
+ }
160
+ /**
161
+ * Merge the resolved provider overrides into the application ROOT manifest.
162
+ *
163
+ * Merge, never replace, and sorted like every other writer of this block (`wildo init`, `wildo
164
+ * align-deps`, the framework alignment script) so a later reconciliation reorders nothing and the
165
+ * diff stays reviewable.
166
+ */
167
+ static reconcileApplicationProviderLinks(input) {
168
+ const { overrides, declared, unresolved } = ProviderPackageLinksService.resolveProviderOverrides(input);
169
+ const rootManifestPath = join(input.applicationRoot, 'package.json');
170
+ const rootManifest = ProviderPackageLinksService.readManifest(rootManifestPath);
171
+ if (!rootManifest) {
172
+ throw new Error(`No package.json at ${rootManifestPath} — provider links are written into the application ROOT manifest.`);
173
+ }
174
+ const existing = rootManifest.pnpm?.overrides ?? {};
175
+ const added = [];
176
+ const alreadyLinked = [];
177
+ for (const [packageName, overrideValue] of Object.entries(overrides)) {
178
+ if (existing[packageName] === overrideValue) {
179
+ alreadyLinked.push({ packageName, overrideValue });
180
+ continue;
181
+ }
182
+ added.push({ packageName, overrideValue });
183
+ }
184
+ const surplus = Object.keys(existing)
185
+ .filter((name) => name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX))
186
+ .filter((name) => !(name in overrides))
187
+ .sort();
188
+ if (input.write && added.length > 0) {
189
+ const merged = { ...existing, ...overrides };
190
+ rootManifest.pnpm = {
191
+ ...(rootManifest.pnpm ?? {}),
192
+ overrides: Object.fromEntries(Object.keys(merged).sort().map((name) => [name, merged[name]])),
193
+ };
194
+ writeFileSync(rootManifestPath, `${JSON.stringify(rootManifest, null, 2)}\n`, 'utf8');
195
+ }
196
+ return { declared, added, alreadyLinked, unresolved, surplus };
197
+ }
198
+ /**
199
+ * The host-facing entry: reconcile and REPORT, resolving the framework layout itself.
200
+ *
201
+ * `frameworkPath` null means app-creator mode — no checkout to link into, so a declared provider
202
+ * resolves to the framework version. The version comes from `wildo-framework.info.json` in a
203
+ * checkout and from the application's own existing `@wildo-ai/*` pin otherwise, because that is
204
+ * the release the application actually has.
205
+ */
206
+ static reconcileAndReport(input) {
207
+ /*
208
+ * Nothing declared means nothing to reconcile, and the early return matters: this runs after
209
+ * EVERY scenario, and `resolveFrameworkVersionForApplication` REFUSES rather than inventing a
210
+ * version. Without this guard an application that declares no provider at all could have
211
+ * `wildo compose add-locale` fail on a version it never needed.
212
+ */
213
+ const declaredProviders = ProviderPackageLinksService.discoverDeclaredProviderPackages(input.applicationRoot);
214
+ if (declaredProviders.length === 0) {
215
+ return { declared: [], added: [], alreadyLinked: [], unresolved: [], surplus: [] };
216
+ }
217
+ const frameworkWorkspacePackages = input.frameworkPath === null
218
+ ? null
219
+ : readFrameworkWorkspacePackages(input.frameworkPath);
220
+ const frameworkVersion = ProviderPackageLinksService.resolveFrameworkVersionForApplication(input);
221
+ const result = ProviderPackageLinksService.reconcileApplicationProviderLinks({
222
+ applicationRoot: input.applicationRoot,
223
+ frameworkWorkspacePackages,
224
+ frameworkVersion,
225
+ write: true,
226
+ });
227
+ for (const link of result.added) {
228
+ input.log.info(` ~ package.json (pnpm.overrides ${link.packageName} → ${link.overrideValue})`);
229
+ }
230
+ for (const packageName of result.unresolved) {
231
+ input.log.warn(` ! ${packageName} is declared but no framework workspace member carries that name — `
232
+ + 'generate the provider package, or remove the declaration.');
233
+ }
234
+ if (result.added.length > 0) {
235
+ input.log.info(' → run `pnpm install` so the new provider link resolves.');
236
+ }
237
+ return result;
238
+ }
239
+ /**
240
+ * The version a provider package pins to in app-creator mode.
241
+ *
242
+ * Read from the checkout's `wildo-framework.info.json` when there is one; otherwise from the
243
+ * application's OWN `pnpm.overrides`, taking the version it already pins for a framework package.
244
+ * Deriving it from the application rather than defaulting is deliberate: a provider must land on
245
+ * the release whose contract it was built against, and the application's existing pins are the
246
+ * only statement of which release that is. With neither available the reconciliation refuses,
247
+ * because inventing a version here would produce an override that installs the wrong engine.
248
+ */
249
+ static resolveFrameworkVersionForApplication(input) {
250
+ if (input.frameworkPath !== null) {
251
+ const infoPath = join(input.frameworkPath, 'wildo-framework.info.json');
252
+ if (existsSync(infoPath)) {
253
+ const info = JSON.parse(readFileSync(infoPath, 'utf8'));
254
+ if (typeof info.version === 'string' && info.version.length > 0)
255
+ return info.version;
256
+ }
257
+ }
258
+ const rootManifest = ProviderPackageLinksService.readManifest(join(input.applicationRoot, 'package.json'));
259
+ for (const [name, version] of Object.entries(rootManifest?.pnpm?.overrides ?? {})) {
260
+ if (!name.startsWith('@wildo-ai/'))
261
+ continue;
262
+ if (name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX))
263
+ continue;
264
+ if (version.startsWith('file:') || version.startsWith('link:'))
265
+ continue;
266
+ return version;
267
+ }
268
+ throw new Error('Cannot resolve which framework release a provider package should pin to: no framework checkout, and the '
269
+ + "application's pnpm.overrides names no @wildo-ai/* version. Run `wildo align-deps` first.");
270
+ }
271
+ static readManifest(manifestPath) {
272
+ if (!existsSync(manifestPath))
273
+ return null;
274
+ return JSON.parse(readFileSync(manifestPath, 'utf8'));
275
+ }
276
+ static readDirectoryNames(base) {
277
+ return readdirSync(base, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
278
+ }
279
+ }
280
+ //# sourceMappingURL=provider-package-links.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-package-links.service.js","sourceRoot":"","sources":["../../../../src/services/application/provider-package-links.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,qBAAqB,CAAC;AAQlE;;;;;;;;;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AAC,YAAY,CAAC,YAAoB;QAC9C,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;YAAE,OAAO,IAAI,CAAC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAyB,CAAC;IAChF,CAAC;IAEO,MAAM,CAAC,kBAAkB,CAAC,IAAY;QAC5C,OAAO,WAAW,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACtH,CAAC;CACF","sourcesContent":["/**\n * ProviderPackageLinksService — resolve an application's DECLARED provider packages, and nothing\n * else (plan D7, slice S6, issue #334).\n *\n * ## The problem this closes\n *\n * `frameworkFileLinkPackages` is the set of framework packages every scaffolded application links,\n * and in framework-developer mode every name in it becomes a `file:` override in the application's\n * root manifest. That is correct for the framework core — an application uses all of it — and it\n * does not survive the provider population: at two hundred provider packages every scaffolded\n * application would carry two hundred `file:` links to packages it never imports, and\n * `saas-skeleton.service.ts` would THROW for any name the workspace could not produce.\n *\n * So the two populations are resolved differently, and the difference is not a size optimisation —\n * it is what each list MEANS:\n *\n * - the framework core is a CURATION: the packages an application always has. It stays authored in\n * `propagated-engine-overrides.json`, because \"which of them\" is a decision;\n * - the providers are a POPULATION: `@wildo-ai/provider-<ref>`, one per provider, generated by the\n * packager. \"Which of them does THIS application link\" has exactly one honest answer — the ones\n * its own manifests declare. Nothing needs to list them, and a list would rot the way issue #161\n * measured (a hand-kept sibling list at 37 of 155 names).\n *\n * ## Why the DECLARATION is the source\n *\n * A provider reaches an application by exactly one route: a dependency in one of the application's\n * own package manifests, written by `wildo compose add-provider` (the `package-dependency-add`\n * composition edit kind). Deriving the link set from those declarations means the application says\n * what it uses once, in the place npm itself reads, and the override follows mechanically. The\n * alternative — a second per-application list of \"linked providers\" — would be a copy that can\n * disagree with the manifests, which is the defect this slice removes rather than relocates.\n *\n * ## What it never does\n *\n * It never REMOVES an override. An override the application authored, or one left behind by a\n * provider it has since dropped, is authored content; removing it silently is how a reconciler\n * becomes an outage. Surplus is reported by the caller, never repaired here.\n */\nimport { existsSync, readFileSync, readdirSync, writeFileSync } from 'fs';\nimport { join, relative, sep } from 'path';\nimport { parse as parseYaml } from 'yaml';\n\n/**\n * The npm-name prefix of a provider package (plan D3). Deliberately duplicated from the publish\n * lane's `PUBLISHED_PROVIDER_PACKAGE_NAME_PREFIX` rather than imported: that constant answers \"does\n * this package publish\", this one answers \"is this a provider an application declared\". They are\n * equal today and are allowed to stop being — a package that stops publishing is still linked.\n */\nexport const PROVIDER_PACKAGE_NAME_PREFIX = '@wildo-ai/provider-';\n\n/** A framework workspace member: its package name and its absolute root. */\nexport interface FrameworkWorkspacePackage {\n name: string;\n root: string;\n}\n\n/**\n * Resolve every framework workspace member's package name → absolute root.\n *\n * Lives here rather than in `saas-skeleton.service.ts` because two callers now need it — the\n * scaffolder, and the provider-link reconciliation `wildo compose` runs — and a second copy of a\n * workspace reader is a second answer to \"what packages does the framework carry\".\n *\n * The one-level trailing glob stays supported here even though `pnpm-workspace.yaml` uses explicit\n * entries today: that file records the measurement (two repo-root readers refuse or silently drop a\n * wildcard), and when they are fixed this reader must not be the thing that has to change too.\n */\nexport function readFrameworkWorkspacePackages(frameworkPath: string): Map<string, FrameworkWorkspacePackage> {\n const workspace = parseYaml(readFileSync(join(frameworkPath, 'pnpm-workspace.yaml'), 'utf8')) as { packages?: string[] };\n const packages = new Map<string, FrameworkWorkspacePackage>();\n for (const memberPattern of workspace.packages ?? []) {\n const candidates = memberPattern.endsWith('/*')\n ? (existsSync(join(frameworkPath, memberPattern.slice(0, -2)))\n ? readdirSync(join(frameworkPath, memberPattern.slice(0, -2)), { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => join(memberPattern.slice(0, -2), entry.name))\n : [])\n : [memberPattern];\n for (const memberRelative of candidates) {\n const manifestPath = join(frameworkPath, memberRelative, 'package.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { name?: string };\n if (manifest.name) packages.set(manifest.name, { name: manifest.name, root: join(frameworkPath, memberRelative) });\n }\n }\n return packages;\n}\n\ninterface PackageManifestShape {\n name?: string;\n dependencies?: Record<string, string>;\n devDependencies?: Record<string, string>;\n peerDependencies?: Record<string, string>;\n optionalDependencies?: Record<string, string>;\n pnpm?: { overrides?: Record<string, string> };\n [key: string]: unknown;\n}\n\n/** One provider override the reconciliation added or found already correct. */\nexport interface ProviderPackageLinkOutcome {\n packageName: string;\n /** `file:<relative path>` in framework-developer mode, the framework version otherwise. */\n overrideValue: string;\n}\n\nexport interface ProviderPackageLinkReconciliation {\n /** Providers the application's manifests declare, sorted. */\n declared: string[];\n /** Overrides written (or that would be written on a dry run). */\n added: ProviderPackageLinkOutcome[];\n /** Declared providers whose override already carries exactly this value. */\n alreadyLinked: ProviderPackageLinkOutcome[];\n /**\n * Declared providers that could not be resolved — no workspace member of that name in\n * framework-developer mode. Reported, never thrown: a declaration for a provider that has not\n * been generated yet is a state an operator can be in, and refusing the whole reconciliation\n * would take every OTHER provider's link down with it.\n */\n unresolved: string[];\n /**\n * Provider overrides present in the root manifest that no manifest declares any more. Reported\n * only — see the header: this service never removes an override.\n */\n surplus: string[];\n}\n\nexport class ProviderPackageLinksService {\n /**\n * The provider package names an application's own workspace manifests declare.\n *\n * Every dependency field is scanned, not just `dependencies`: a provider reached only from a\n * test or a build step is declared as a devDependency and still has to resolve.\n */\n static discoverDeclaredProviderPackages(applicationRoot: string): string[] {\n const declared = new Set<string>();\n for (const member of ProviderPackageLinksService.discoverApplicationWorkspaceMembers(applicationRoot)) {\n const manifest = ProviderPackageLinksService.readManifest(join(applicationRoot, member, 'package.json'));\n if (!manifest) continue;\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) {\n for (const name of Object.keys(manifest[field] ?? {})) {\n if (name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX)) declared.add(name);\n }\n }\n }\n return [...declared].sort();\n }\n\n /**\n * The application's own workspace members, plus its root.\n *\n * `.wildo-saas/` members are skipped for the same reason the standalone alignment service skips\n * them: the companion drop's manifest is REWRITTEN on every start, so anything reconciled into it\n * is erased and the reconciler would report the same drift forever.\n */\n static discoverApplicationWorkspaceMembers(applicationRoot: string): string[] {\n const workspacePath = join(applicationRoot, 'pnpm-workspace.yaml');\n const declared = existsSync(workspacePath)\n ? ((parseYaml(readFileSync(workspacePath, 'utf8')) as { packages?: string[] } | null)?.packages ?? [])\n : [];\n const expanded: string[] = ['.'];\n for (const member of declared) {\n if (member.startsWith('.wildo-saas/')) continue;\n // A trailing one-level glob is the only glob shape an application workspace uses.\n if (member.endsWith('/*')) {\n const base = join(applicationRoot, member.slice(0, -2));\n if (!existsSync(base)) continue;\n for (const entry of ProviderPackageLinksService.readDirectoryNames(base)) expanded.push(`${member.slice(0, -2)}/${entry}`);\n continue;\n }\n expanded.push(member);\n }\n return expanded.filter((member) => existsSync(join(applicationRoot, member, 'package.json')));\n }\n\n /**\n * Compute the provider overrides an application needs, given what it declares.\n *\n * `frameworkWorkspacePackages` is the framework checkout's member map in framework-developer\n * mode; pass `null` for app-creator mode, where a provider resolves to the framework version like\n * every other `@wildo-ai/*` package.\n */\n static resolveProviderOverrides(input: {\n applicationRoot: string;\n frameworkWorkspacePackages: Map<string, { root: string }> | null;\n frameworkVersion: string;\n }): { overrides: Record<string, string>; declared: string[]; unresolved: string[] } {\n const declared = ProviderPackageLinksService.discoverDeclaredProviderPackages(input.applicationRoot);\n const overrides: Record<string, string> = {};\n const unresolved: string[] = [];\n\n for (const packageName of declared) {\n if (input.frameworkWorkspacePackages === null) {\n overrides[packageName] = input.frameworkVersion;\n continue;\n }\n const workspacePackage = input.frameworkWorkspacePackages.get(packageName);\n if (!workspacePackage) {\n unresolved.push(packageName);\n continue;\n }\n const relativePath = relative(input.applicationRoot, workspacePackage.root);\n // pnpm reads a POSIX specifier; `relative` yields the host separator on Windows.\n overrides[packageName] = `file:${relativePath.split(sep).join('/')}`;\n }\n\n return { overrides, declared, unresolved };\n }\n\n /**\n * Merge the resolved provider overrides into the application ROOT manifest.\n *\n * Merge, never replace, and sorted like every other writer of this block (`wildo init`, `wildo\n * align-deps`, the framework alignment script) so a later reconciliation reorders nothing and the\n * diff stays reviewable.\n */\n static reconcileApplicationProviderLinks(input: {\n applicationRoot: string;\n frameworkWorkspacePackages: Map<string, { root: string }> | null;\n frameworkVersion: string;\n write: boolean;\n }): ProviderPackageLinkReconciliation {\n const { overrides, declared, unresolved } = ProviderPackageLinksService.resolveProviderOverrides(input);\n const rootManifestPath = join(input.applicationRoot, 'package.json');\n const rootManifest = ProviderPackageLinksService.readManifest(rootManifestPath);\n if (!rootManifest) {\n throw new Error(`No package.json at ${rootManifestPath} — provider links are written into the application ROOT manifest.`);\n }\n\n const existing = rootManifest.pnpm?.overrides ?? {};\n const added: ProviderPackageLinkOutcome[] = [];\n const alreadyLinked: ProviderPackageLinkOutcome[] = [];\n for (const [packageName, overrideValue] of Object.entries(overrides)) {\n if (existing[packageName] === overrideValue) {\n alreadyLinked.push({ packageName, overrideValue });\n continue;\n }\n added.push({ packageName, overrideValue });\n }\n\n const surplus = Object.keys(existing)\n .filter((name) => name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX))\n .filter((name) => !(name in overrides))\n .sort();\n\n if (input.write && added.length > 0) {\n const merged = { ...existing, ...overrides };\n rootManifest.pnpm = {\n ...(rootManifest.pnpm ?? {}),\n overrides: Object.fromEntries(Object.keys(merged).sort().map((name) => [name, merged[name]])),\n };\n writeFileSync(rootManifestPath, `${JSON.stringify(rootManifest, null, 2)}\\n`, 'utf8');\n }\n\n return { declared, added, alreadyLinked, unresolved, surplus };\n }\n\n /**\n * The host-facing entry: reconcile and REPORT, resolving the framework layout itself.\n *\n * `frameworkPath` null means app-creator mode — no checkout to link into, so a declared provider\n * resolves to the framework version. The version comes from `wildo-framework.info.json` in a\n * checkout and from the application's own existing `@wildo-ai/*` pin otherwise, because that is\n * the release the application actually has.\n */\n static reconcileAndReport(input: {\n applicationRoot: string;\n frameworkPath: string | null;\n log: { info: (message: string) => void; warn: (message: string) => void };\n }): ProviderPackageLinkReconciliation {\n /*\n * Nothing declared means nothing to reconcile, and the early return matters: this runs after\n * EVERY scenario, and `resolveFrameworkVersionForApplication` REFUSES rather than inventing a\n * version. Without this guard an application that declares no provider at all could have\n * `wildo compose add-locale` fail on a version it never needed.\n */\n const declaredProviders = ProviderPackageLinksService.discoverDeclaredProviderPackages(input.applicationRoot);\n if (declaredProviders.length === 0) {\n return { declared: [], added: [], alreadyLinked: [], unresolved: [], surplus: [] };\n }\n\n const frameworkWorkspacePackages = input.frameworkPath === null\n ? null\n : readFrameworkWorkspacePackages(input.frameworkPath);\n const frameworkVersion = ProviderPackageLinksService.resolveFrameworkVersionForApplication(input);\n\n const result = ProviderPackageLinksService.reconcileApplicationProviderLinks({\n applicationRoot: input.applicationRoot,\n frameworkWorkspacePackages,\n frameworkVersion,\n write: true,\n });\n\n for (const link of result.added) {\n input.log.info(` ~ package.json (pnpm.overrides ${link.packageName} → ${link.overrideValue})`);\n }\n for (const packageName of result.unresolved) {\n input.log.warn(\n ` ! ${packageName} is declared but no framework workspace member carries that name — `\n + 'generate the provider package, or remove the declaration.',\n );\n }\n if (result.added.length > 0) {\n input.log.info(' → run `pnpm install` so the new provider link resolves.');\n }\n return result;\n }\n\n /**\n * The version a provider package pins to in app-creator mode.\n *\n * Read from the checkout's `wildo-framework.info.json` when there is one; otherwise from the\n * application's OWN `pnpm.overrides`, taking the version it already pins for a framework package.\n * Deriving it from the application rather than defaulting is deliberate: a provider must land on\n * the release whose contract it was built against, and the application's existing pins are the\n * only statement of which release that is. With neither available the reconciliation refuses,\n * because inventing a version here would produce an override that installs the wrong engine.\n */\n private static resolveFrameworkVersionForApplication(input: {\n applicationRoot: string;\n frameworkPath: string | null;\n }): string {\n if (input.frameworkPath !== null) {\n const infoPath = join(input.frameworkPath, 'wildo-framework.info.json');\n if (existsSync(infoPath)) {\n const info = JSON.parse(readFileSync(infoPath, 'utf8')) as { version?: string };\n if (typeof info.version === 'string' && info.version.length > 0) return info.version;\n }\n }\n const rootManifest = ProviderPackageLinksService.readManifest(join(input.applicationRoot, 'package.json'));\n for (const [name, version] of Object.entries(rootManifest?.pnpm?.overrides ?? {})) {\n if (!name.startsWith('@wildo-ai/')) continue;\n if (name.startsWith(PROVIDER_PACKAGE_NAME_PREFIX)) continue;\n if (version.startsWith('file:') || version.startsWith('link:')) continue;\n return version;\n }\n throw new Error(\n 'Cannot resolve which framework release a provider package should pin to: no framework checkout, and the '\n + \"application's pnpm.overrides names no @wildo-ai/* version. Run `wildo align-deps` first.\",\n );\n }\n\n private static readManifest(manifestPath: string): PackageManifestShape | null {\n if (!existsSync(manifestPath)) return null;\n return JSON.parse(readFileSync(manifestPath, 'utf8')) as PackageManifestShape;\n }\n\n private static readDirectoryNames(base: string): string[] {\n return readdirSync(base, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => entry.name);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"provider-runtime-sync.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/application/provider-runtime-sync.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,cAAc,EAef,MAAM,+BAA+B,CAAC;AAQvC,OAAO,KAAK,EAGV,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAwBvC,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,4GAA4G;IAC5G,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;;;OAMG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,EACtD,YAAY,EAAE,wBAAwB,GAAG,SAAS,GACjD,MAAM,GAAG,IAAI,CAgDf;AAED,wBAAsB,kCAAkC,CACtD,GAAG,EAAE,sBAAsB,EAC3B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,yBAAyB,CAAC,CA0GpC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,+CAA+C,CACnE,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,EAAE,CAAC,CA4BnB"}
1
+ {"version":3,"file":"provider-runtime-sync.service.d.ts","sourceRoot":"","sources":["../../../../src/services/application/provider-runtime-sync.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,cAAc,EAef,MAAM,+BAA+B,CAAC;AAQvC,OAAO,KAAK,EAGV,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAwBvC,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,4GAA4G;IAC5G,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;;;OAMG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,EACtD,YAAY,EAAE,wBAAwB,GAAG,SAAS,GACjD,MAAM,GAAG,IAAI,CAgDf;AAED,wBAAsB,kCAAkC,CACtD,GAAG,EAAE,sBAAsB,EAC3B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,yBAAyB,CAAC,CAmGpC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,+CAA+C,CACnE,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,EAAE,CAAC,CAqBnB"}
@@ -1,6 +1,6 @@
1
1
  import { dirname, join, sep } from 'path';
2
2
  import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, rmdirSync, writeFileSync } from 'fs';
3
- import { buildDiscoveredProviderCatalog, discoverSaasProviderCompanionContributions, InfraCapability, LEGACY_PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, loadMinionConfigs, loadSaasConfig, loadWorkerConfigs, materializeInfraSection, materializeSaasProviderRuntimeArtifacts, PROVIDER_CATALOG_TYPES_RELATIVE_PATH, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME, PROVIDER_RUNTIME_GENERATED_MODULE_RELATIVE_PATH, renderDiscoveredProviderCatalogTypes, renderProviderRuntimeEnvFile, renderProviderRuntimeGeneratedModule, resolveAppLayout, SaasLockfileEnvelopeSchema, selectScopedProviderRuntimeArtifact, validateDiscoveredSaasProviderContributions, } from '@wildo-ai/platform-config-lib';
3
+ import { buildDiscoveredProviderCatalog, InfraCapability, LEGACY_PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, loadMinionConfigs, loadSaasConfig, loadWorkerConfigs, materializeInfraSection, materializeSaasProviderRuntimeArtifacts, PROVIDER_CATALOG_TYPES_RELATIVE_PATH, PROVIDER_RUNTIME_ARTIFACT_RELATIVE_PATHS, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME, PROVIDER_RUNTIME_GENERATED_MODULE_RELATIVE_PATH, renderDiscoveredProviderCatalogTypes, renderProviderRuntimeEnvFile, renderProviderRuntimeGeneratedModule, resolveAppLayout, resolveValidatedSaasProviderContributions, SaasLockfileEnvelopeSchema, selectScopedProviderRuntimeArtifact, } from '@wildo-ai/platform-config-lib';
4
4
  import { EngineCapability } from '@wildo-ai/saas-models';
5
5
  // Slice 2.5c-1 of `infra-provider-planner.md`: CLI builds the
6
6
  // `InfraProvider → InfraProviderModule` map from the canonical
@@ -74,22 +74,15 @@ export function checkAuditProviderImmudbBacking(saasConfig, infraSection) {
74
74
  export async function syncProviderRuntimeArtifactsForApp(log, saasRoot) {
75
75
  try {
76
76
  const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));
77
- const discoveredProviderContributions = await discoverSaasProviderCompanionContributions({
78
- saasRoot,
79
- saasConfig,
80
- });
81
- validateDiscoveredSaasProviderContributions({
82
- saasConfig,
83
- discoveredContributions: discoveredProviderContributions.contributions,
84
- });
85
- syncProviderCatalogTypeArtifact(saasRoot, buildDiscoveredProviderCatalog(discoveredProviderContributions.contributions));
77
+ const discoveredProviderContributions = await resolveValidatedSaasProviderContributions({ saasRoot, saasConfig });
78
+ syncProviderCatalogTypeArtifact(saasRoot, buildDiscoveredProviderCatalog(discoveredProviderContributions));
86
79
  const minionConfigs = await loadMinionConfigs(saasRoot, saasConfig);
87
80
  const workerConfigs = await loadWorkerConfigs(saasRoot, saasConfig);
88
81
  const nodeWorkerKeys = workerConfigs
89
82
  .filter((entry) => isNodeWorkerRuntimeLanguage(entry.config.runtime.language))
90
83
  .map((entry) => entry.key);
91
84
  const { artifacts, lockSection } = materializeSaasProviderRuntimeArtifacts(saasConfig, {
92
- discoveredContributions: discoveredProviderContributions.contributions,
85
+ discoveredContributions: discoveredProviderContributions,
93
86
  nodeWorkerKeys,
94
87
  });
95
88
  syncProviderRuntimeJsonArtifacts(saasRoot, artifacts);
@@ -181,21 +174,14 @@ export async function syncProviderRuntimeArtifactsForApp(log, saasRoot) {
181
174
  */
182
175
  export async function resolveExpectedProviderRuntimeSourceModulePaths(saasRoot) {
183
176
  const saasConfig = await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));
184
- const discoveredProviderContributions = await discoverSaasProviderCompanionContributions({
185
- saasRoot,
186
- saasConfig,
187
- });
188
- validateDiscoveredSaasProviderContributions({
189
- saasConfig,
190
- discoveredContributions: discoveredProviderContributions.contributions,
191
- });
177
+ const discoveredProviderContributions = await resolveValidatedSaasProviderContributions({ saasRoot, saasConfig });
192
178
  const minionConfigs = await loadMinionConfigs(saasRoot, saasConfig);
193
179
  const workerConfigs = await loadWorkerConfigs(saasRoot, saasConfig);
194
180
  const nodeWorkerKeys = workerConfigs
195
181
  .filter((entry) => isNodeWorkerRuntimeLanguage(entry.config.runtime.language))
196
182
  .map((entry) => entry.key);
197
183
  const { artifacts } = materializeSaasProviderRuntimeArtifacts(saasConfig, {
198
- discoveredContributions: discoveredProviderContributions.contributions,
184
+ discoveredContributions: discoveredProviderContributions,
199
185
  nodeWorkerKeys,
200
186
  });
201
187
  return resolveProviderRuntimeSourceModuleTargets({