@wildo-ai/wildo-cli 1.1.2 → 1.1.4

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 (1002) 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__/assurance-basis.command.test.d.ts +2 -0
  30. package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +1 -0
  31. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +63 -0
  32. package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +1 -0
  33. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
  34. package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
  35. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
  36. package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
  37. package/dist/src/commands/context/assurance-basis.command.d.ts +61 -0
  38. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -0
  39. package/dist/src/commands/context/assurance-basis.command.js +166 -0
  40. package/dist/src/commands/context/assurance-basis.command.js.map +1 -0
  41. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  42. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  43. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  44. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  45. package/dist/src/commands/context/journey.command.d.ts +6 -2
  46. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  47. package/dist/src/commands/context/journey.command.js +8 -4
  48. package/dist/src/commands/context/journey.command.js.map +1 -1
  49. package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
  50. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
  51. package/dist/src/commands/context/jurisdictions.command.js +115 -0
  52. package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
  53. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  54. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  55. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  56. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  57. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  58. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  59. package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
  60. package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
  61. package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
  62. package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
  63. package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
  64. package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
  65. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
  66. package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
  67. package/dist/src/commands/dev/charts-audit.command.d.ts +5 -3
  68. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  69. package/dist/src/commands/dev/charts-audit.command.js +36 -7
  70. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  71. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  72. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  73. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  74. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  75. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  76. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  77. package/dist/src/commands/dev/start.command.js +8 -7
  78. package/dist/src/commands/dev/start.command.js.map +1 -1
  79. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  80. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  81. package/dist/src/commands/dev/sync-csp.command.js +35 -7
  82. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  83. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
  84. package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
  85. package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
  86. package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
  87. package/dist/src/commands/docs/publish.command.d.ts +29 -0
  88. package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
  89. package/dist/src/commands/docs/publish.command.js +82 -0
  90. package/dist/src/commands/docs/publish.command.js.map +1 -0
  91. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  92. package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
  93. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
  94. package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
  95. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  96. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  97. package/dist/src/commands/fwk/dev-skills.command.js +12 -0
  98. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  99. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  100. package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
  101. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
  102. package/dist/src/commands/fwk/generate-providers.command.js +325 -0
  103. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
  104. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  105. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  106. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  107. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  108. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  109. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  110. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  111. package/dist/src/commands/fwk/version-show.command.js +9 -1
  112. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  113. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  114. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  115. package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
  116. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  117. package/dist/src/commands/fwk/wt-status.command.js +34 -5
  118. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  119. package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
  120. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  121. package/dist/src/commands/fwk/wt-tail.command.js +40 -10
  122. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  123. package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
  124. package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
  125. package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
  126. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  127. package/dist/src/commands/generate/email-command.utils.js +1 -0
  128. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  129. package/dist/src/commands/generate/email-preview.command.d.ts +8 -0
  130. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  131. package/dist/src/commands/generate/email-preview.command.js +57 -0
  132. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  133. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  134. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  135. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  136. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  137. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  138. package/dist/src/commands/generate/labelling-command.utils.js +1 -0
  139. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  140. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  141. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  142. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  143. package/dist/src/commands/help.command.d.ts.map +1 -1
  144. package/dist/src/commands/help.command.js +2 -0
  145. package/dist/src/commands/help.command.js.map +1 -1
  146. package/dist/src/commands/init.command.d.ts +17 -0
  147. package/dist/src/commands/init.command.d.ts.map +1 -1
  148. package/dist/src/commands/init.command.js +89 -4
  149. package/dist/src/commands/init.command.js.map +1 -1
  150. package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
  151. package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
  152. package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
  153. package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
  154. package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
  155. package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
  156. package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
  157. package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
  158. package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
  159. package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
  160. package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
  161. package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
  162. package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
  163. package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
  164. package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
  165. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  166. package/dist/src/commands/local/dev.command.d.ts +6 -3
  167. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  168. package/dist/src/commands/local/dev.command.js +13 -4
  169. package/dist/src/commands/local/dev.command.js.map +1 -1
  170. package/dist/src/commands/local/doctor.command.d.ts +9 -0
  171. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  172. package/dist/src/commands/local/doctor.command.js +24 -6
  173. package/dist/src/commands/local/doctor.command.js.map +1 -1
  174. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  175. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  176. package/dist/src/commands/local/init.command.js +11 -2
  177. package/dist/src/commands/local/init.command.js.map +1 -1
  178. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  179. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  180. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  181. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  182. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  183. package/dist/src/commands/local/up.command.js.map +1 -1
  184. package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
  185. package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
  186. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  187. package/dist/src/commands/lock/check.command.js +4 -10
  188. package/dist/src/commands/lock/check.command.js.map +1 -1
  189. package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
  190. package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
  191. package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
  192. package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
  193. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  194. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  195. package/dist/src/commands/market/market-command.utils.js +1 -0
  196. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  197. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
  198. package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
  199. package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
  200. package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
  201. package/dist/src/commands/providers/show.command.d.ts +51 -0
  202. package/dist/src/commands/providers/show.command.d.ts.map +1 -0
  203. package/dist/src/commands/providers/show.command.js +152 -0
  204. package/dist/src/commands/providers/show.command.js.map +1 -0
  205. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  206. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  207. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  208. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  209. package/dist/src/commands/registry/login.command.js +2 -0
  210. package/dist/src/commands/registry/login.command.js.map +1 -1
  211. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  212. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  213. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  214. package/dist/src/commands/registry/publish.command.js +2 -0
  215. package/dist/src/commands/registry/publish.command.js.map +1 -1
  216. package/dist/src/commands/registry/registry-transport.constants.d.ts +33 -0
  217. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -0
  218. package/dist/src/commands/registry/registry-transport.constants.js +33 -0
  219. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -0
  220. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  221. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  222. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  223. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  224. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  225. package/dist/src/commands/registry/whoami.command.js +2 -0
  226. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  227. package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
  228. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  229. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  230. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  231. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  232. package/dist/src/commands/setup.command.d.ts.map +1 -1
  233. package/dist/src/commands/version.command.d.ts.map +1 -1
  234. package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
  235. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  236. package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
  237. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  238. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  239. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  240. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  241. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  242. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  243. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  244. package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
  245. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  246. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  247. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  248. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  249. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  250. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  251. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  252. package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
  253. package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
  254. package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
  255. package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
  256. package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
  257. package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
  258. package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
  259. package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
  260. package/dist/src/kernel/base-command.d.ts.map +1 -1
  261. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  262. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  263. package/dist/src/kernel/command-registry.js +6 -0
  264. package/dist/src/kernel/command-registry.js.map +1 -1
  265. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  266. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  267. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  268. package/dist/src/kernel/hooks.d.ts.map +1 -1
  269. package/dist/src/kernel/logger.d.ts.map +1 -1
  270. package/dist/src/kernel/types.d.ts +17 -1
  271. package/dist/src/kernel/types.d.ts.map +1 -1
  272. package/dist/src/kernel/types.js +16 -0
  273. package/dist/src/kernel/types.js.map +1 -1
  274. package/dist/src/main.d.ts.map +1 -1
  275. package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
  276. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +2 -0
  277. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +1 -0
  278. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +146 -0
  279. package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +1 -0
  280. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
  281. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
  282. package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
  283. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  284. package/dist/src/modules/domain/credentials/approver-user.module.d.ts +85 -0
  285. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -0
  286. package/dist/src/modules/domain/credentials/approver-user.module.js +92 -0
  287. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -0
  288. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  289. package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
  290. package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
  291. package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
  292. package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
  293. package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
  294. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  295. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  296. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  297. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  298. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  299. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  300. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +2 -0
  301. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +1 -0
  302. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +111 -0
  303. package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +1 -0
  304. package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
  305. package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
  306. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
  307. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
  308. package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
  309. package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
  310. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
  311. package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
  312. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
  313. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
  314. package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
  315. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
  316. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
  317. package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
  318. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
  319. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
  320. package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
  321. package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
  322. package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
  323. package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
  324. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
  325. package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
  326. package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
  327. package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
  328. package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
  329. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
  330. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
  331. package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
  332. package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
  333. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
  334. package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
  335. package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
  336. package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
  337. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
  338. package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
  339. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
  340. package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
  341. package/dist/src/services/application/__tests__/provider-package-links.service.test.js +224 -0
  342. package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
  343. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
  344. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
  345. package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
  346. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
  347. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
  348. package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
  349. package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
  350. package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
  351. package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
  352. package/dist/src/services/application/app-bootstrap.service.d.ts +43 -10
  353. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  354. package/dist/src/services/application/app-bootstrap.service.js +92 -49
  355. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  356. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  357. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  358. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  359. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  360. package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
  361. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  362. package/dist/src/services/application/application-assets-delivery.service.js +35 -7
  363. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  364. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  365. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  366. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  367. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  368. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +6 -0
  369. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  370. package/dist/src/services/application/application-runtime-bootstrap.service.js +41 -2
  371. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  372. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  373. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  374. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  375. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  376. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  377. package/dist/src/services/application/local-application-initialization.service.js +22 -6
  378. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  379. package/dist/src/services/application/provider-package-links.service.d.ts +160 -0
  380. package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
  381. package/dist/src/services/application/provider-package-links.service.js +312 -0
  382. package/dist/src/services/application/provider-package-links.service.js.map +1 -0
  383. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  384. package/dist/src/services/application/provider-runtime-sync.service.js +7 -20
  385. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  386. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  387. package/dist/src/services/application/saas-scaffold.service.js +11 -2
  388. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  389. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  390. package/dist/src/services/application/saas-skeleton.service.js +46 -26
  391. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  392. package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
  393. package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
  394. package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
  395. package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
  396. package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
  397. package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
  398. package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
  399. package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
  400. package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
  401. package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
  402. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
  403. package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
  404. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
  405. package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
  406. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
  407. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
  408. package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
  409. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
  410. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
  411. package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
  412. package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
  413. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  414. package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
  415. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  416. package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
  417. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  418. package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
  419. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  420. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
  421. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
  422. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
  423. package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
  424. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
  425. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  426. package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
  427. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  428. package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
  429. package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
  430. package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
  431. package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
  432. package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
  433. package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
  434. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  435. package/dist/src/services/companion/companion-client-options.utils.js +6 -0
  436. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  437. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  438. package/dist/src/services/companion/companion-client.service.js +34 -0
  439. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  440. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  441. package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
  442. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
  443. package/dist/src/services/companion/companion-local-token.utils.js +62 -0
  444. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
  445. package/dist/src/services/companion/companion.schemas.d.ts +12 -0
  446. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  447. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  448. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  449. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  450. package/dist/src/services/companion/local-companion-authority.service.js +9 -30
  451. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  452. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  453. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  454. package/dist/src/services/companion/workbench-cli.service.js +10 -1
  455. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  456. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
  457. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
  458. package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
  459. package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
  460. package/dist/src/services/context/context-manager.service.d.ts +9 -0
  461. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  462. package/dist/src/services/context/context-manager.service.js +13 -1
  463. package/dist/src/services/context/context-manager.service.js.map +1 -1
  464. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  465. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  466. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
  467. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
  468. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
  469. package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
  470. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
  471. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
  472. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
  473. package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
  474. package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
  475. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +2 -0
  476. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +1 -0
  477. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +94 -0
  478. package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -0
  479. package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
  480. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  481. package/dist/src/services/credentials/ci-secrets-adapter.service.js +114 -37
  482. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  483. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +209 -0
  484. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
  485. package/dist/src/services/credentials/composed-provider-catalogue.js +263 -0
  486. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
  487. package/dist/src/services/credentials/credentials.schemas.d.ts +29 -22
  488. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  489. package/dist/src/services/credentials/credentials.schemas.js +67 -5
  490. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  491. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  492. package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
  493. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  494. package/dist/src/services/credentials/framework-managed-secrets.js +51 -8
  495. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  496. package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
  497. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  498. package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
  499. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  500. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  501. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  502. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  503. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  504. package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
  505. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  506. package/dist/src/services/data-services/data-services.schemas.js +0 -1
  507. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  508. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  509. package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
  510. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
  511. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
  512. package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
  513. package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
  514. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
  515. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
  516. package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
  517. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
  518. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
  519. package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
  520. package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
  521. package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
  522. package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
  523. package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
  524. package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
  525. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
  526. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
  527. package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
  528. package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
  529. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
  530. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
  531. package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
  532. package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
  533. package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
  534. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  535. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  536. package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
  537. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  538. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  539. package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
  540. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  541. package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
  542. package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
  543. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
  544. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
  545. package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
  546. package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
  547. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
  548. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  549. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
  550. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  551. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  552. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  553. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  554. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  555. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  556. package/dist/src/services/deployment/infra-writer.service.js +34 -7
  557. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  558. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
  559. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +45 -2
  560. package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -1
  561. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
  562. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
  563. package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
  564. package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
  565. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
  566. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
  567. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
  568. package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
  569. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
  570. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
  571. package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
  572. package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
  573. package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
  574. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +23 -0
  575. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  576. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +52 -6
  577. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  578. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  579. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  580. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
  581. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  582. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
  583. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  584. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
  585. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  586. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  587. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
  588. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  589. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
  590. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  591. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  592. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  593. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  594. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  595. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  596. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  597. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  598. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  599. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  600. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
  601. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  602. package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
  603. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  604. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  605. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  606. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  607. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  608. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  609. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  610. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  611. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  612. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  613. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  614. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  615. package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
  616. package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
  617. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
  618. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
  619. package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
  620. package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
  621. package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
  622. package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
  623. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
  624. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
  625. package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
  626. package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
  627. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
  628. package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
  629. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
  630. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
  631. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
  632. package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
  633. package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
  634. package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
  635. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
  636. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
  637. package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
  638. package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
  639. package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
  640. package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
  641. package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
  642. package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
  643. package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
  644. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  645. package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
  646. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  647. package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
  648. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  649. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  650. package/dist/src/services/environment/env-sync.service.js +13 -13
  651. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  652. package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
  653. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  654. package/dist/src/services/environment/env-vars-builder.service.js +188 -41
  655. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  656. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  657. package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
  658. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  659. package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
  660. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  661. package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
  662. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  663. package/dist/src/services/environment/environment-paths.service.js +5 -3
  664. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  665. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  666. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  667. package/dist/src/services/environment/environment-setup.service.js +23 -9
  668. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  669. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  670. package/dist/src/services/environment/environment.service.d.ts +6 -1
  671. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  672. package/dist/src/services/environment/environment.service.js +2 -0
  673. package/dist/src/services/environment/environment.service.js.map +1 -1
  674. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  675. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  676. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  677. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  678. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  679. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
  680. package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
  681. package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
  682. package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
  683. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
  684. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
  685. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +55 -0
  686. package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
  687. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
  688. package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
  689. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
  690. package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
  691. package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
  692. package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
  693. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
  694. package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
  695. package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
  696. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
  697. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +17 -0
  698. package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
  699. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
  700. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +101 -0
  701. package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
  702. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
  703. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
  704. package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
  705. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
  706. package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
  707. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
  708. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
  709. package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
  710. package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
  711. package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
  712. package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
  713. package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
  714. package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
  715. package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
  716. package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
  717. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
  718. package/dist/src/services/framework/application-rule-imports.js +77 -0
  719. package/dist/src/services/framework/application-rule-imports.js.map +1 -0
  720. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
  721. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  722. package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
  723. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  724. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  725. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  726. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  727. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +86 -1
  728. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  729. package/dist/src/services/framework/framework-knowledge-audit.service.js +212 -1
  730. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  731. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +0 -1
  732. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  733. package/dist/src/services/framework/framework-knowledge-generation.service.js +29 -215
  734. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  735. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  736. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  737. package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
  738. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  739. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -1
  740. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  741. package/dist/src/services/framework/framework-publish-manifest.service.js +79 -4
  742. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  743. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  744. package/dist/src/services/framework/framework-version.service.d.ts +13 -0
  745. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  746. package/dist/src/services/framework/framework-version.service.js +23 -24
  747. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  748. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  749. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +2 -0
  750. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +1 -0
  751. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +100 -0
  752. package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +1 -0
  753. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
  754. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
  755. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
  756. package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
  757. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
  758. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
  759. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
  760. package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
  761. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
  762. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
  763. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +219 -0
  764. package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
  765. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
  766. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
  767. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
  768. package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
  769. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
  770. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
  771. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
  772. package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
  773. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
  774. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
  775. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
  776. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
  777. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
  778. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
  779. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
  780. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
  781. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
  782. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
  783. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
  784. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
  785. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
  786. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
  787. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
  788. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
  789. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
  790. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
  791. package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
  792. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
  793. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +139 -0
  794. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
  795. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1586 -0
  796. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
  797. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
  798. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
  799. package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
  800. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
  801. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
  802. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
  803. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
  804. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
  805. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
  806. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
  807. package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
  808. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
  809. package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
  810. package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
  811. package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
  812. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  813. package/dist/src/services/frontend/cloudflare-cdn.service.js +33 -2
  814. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  815. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  816. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  817. package/dist/src/services/frontend/frontend-publish.service.js +1 -1
  818. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  819. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  820. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  821. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  822. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  823. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  824. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  825. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  826. package/dist/src/services/registry/index.d.ts.map +1 -1
  827. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  828. package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
  829. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  830. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  831. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
  832. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
  833. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
  834. package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
  835. package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
  836. package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
  837. package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
  838. package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
  839. package/dist/src/services/security/csp-sync.service.d.ts +27 -5
  840. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  841. package/dist/src/services/security/csp-sync.service.js +204 -16
  842. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  843. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  844. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
  845. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
  846. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
  847. package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
  848. package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
  849. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  850. package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
  851. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  852. package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
  853. package/dist/tsconfig.build.tsbuildinfo +1 -1
  854. package/dist/tsconfig.tsbuildinfo +1 -1
  855. package/framework-root-package.json +2 -0
  856. package/package.json +19 -17
  857. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +15 -0
  858. package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
  859. package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
  860. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +394 -90
  861. package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
  862. package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
  863. package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
  864. package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
  865. package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
  866. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
  867. package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
  868. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
  869. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
  870. package/templates/saas/engine-peer-closure.json +12 -0
  871. package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
  872. package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
  873. package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
  874. package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
  875. package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
  876. package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
  877. package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
  878. package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
  879. package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
  880. package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
  881. package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
  882. package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
  883. package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
  884. package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
  885. package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
  886. package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
  887. package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
  888. package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
  889. package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
  890. package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
  891. package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
  892. package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
  893. package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
  894. package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
  895. package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
  896. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
  897. package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
  898. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
  899. package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
  900. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
  901. package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
  902. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
  903. package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
  904. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
  905. package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
  906. package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
  907. package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
  908. package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
  909. package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
  910. package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
  911. package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
  912. package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
  913. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
  914. package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
  915. package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
  916. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
  917. package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
  918. package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
  919. package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
  920. package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
  921. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
  922. package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
  923. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
  924. package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
  925. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
  926. package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
  927. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
  928. package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
  929. package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
  930. package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
  931. package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
  932. package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
  933. package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
  934. package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
  935. package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
  936. package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
  937. package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
  938. package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
  939. package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
  940. package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
  941. package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
  942. package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
  943. package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
  944. package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
  945. package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
  946. package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
  947. package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
  948. package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
  949. package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
  950. package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
  951. package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
  952. package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
  953. package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
  954. package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
  955. package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
  956. package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
  957. package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
  958. package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
  959. package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
  960. package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
  961. package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
  962. package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
  963. package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
  964. package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
  965. package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
  966. package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
  967. package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
  968. package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
  969. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
  970. package/templates/saas/scenarios/add-module/scenario.json +3 -3
  971. package/templates/saas/scenarios/add-provider/scenario.json +36 -0
  972. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +52 -2
  973. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
  974. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +75 -0
  975. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
  976. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +46 -4
  977. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
  978. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
  979. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
  980. package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
  981. package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
  982. package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
  983. package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
  984. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
  985. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
  986. package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
  987. package/templates/saas/skeleton/backend-api/package.json.hbs +1 -1
  988. package/templates/saas/skeleton/backend-api/src/companion-exports.ts +13 -2
  989. package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
  990. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
  991. package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
  992. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
  993. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
  994. package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
  995. package/wildo-framework.info.json +1 -1
  996. package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
  997. package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
  998. package/templates/infra/k8s/middleware.yaml.hbs +0 -101
  999. package/templates/saas/scenarios/add-backend-provider/scenario.json +0 -17
  1000. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
  1001. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
  1002. package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +0 -44
@@ -0,0 +1 @@
1
+ {"version":3,"file":"website-structured-data-audit.adapter-seam.test.js","sourceRoot":"","sources":["../../../../../src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAE7F;;;;;;;;;;;;GAYG;AACH,MAAM,cAAc,GAAa,EAAE,CAAC;AAEpC,SAAS,qBAAqB,CAAC,aAAsB;IACnD,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAChE,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B;;;;;;;;;;;;OAYG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Each, describe, expect, it } from 'vitest';\n\nimport { WebsiteStructuredDataAuditService } from '../website-structured-data-audit.service';\n\n/**\n * The application-owned composition seam is USED, and the generic path survives it (#493).\n *\n * `structured-data/reconcile-structured-data.ts` was written so a website could own the assembly of\n * its own page, section and page-payload registries — and the audit loaded all three sources itself\n * instead, so the adapter had no caller. Two compositions of one thing, and only one of them was\n * ever run.\n *\n * These drive the selection directly rather than through `audit()`, which needs a resolvable SaaS\n * root, a specifications companion and a website service. The selection IS the change; going through\n * `audit()` would have proved that a whole application still audits, which is a different claim and\n * one the end-to-end run against `wonder-todos` already carries.\n */\nconst temporaryRoots: string[] = [];\n\nfunction makeWebsiteSourceRoot(adapterSource?: string): string {\n const root = mkdtempSync(join(tmpdir(), 'wildo-website-seam-'));\n temporaryRoots.push(root);\n /*\n * `\"type\": \"module\"` is NOT decoration, and finding out why cost a debugging round.\n *\n * `loadWebsiteSourceModule` goes through `tsImport`, which decides ESM-vs-CJS from the nearest\n * `package.json`. A fixture without one is loaded as CJS, its module namespace comes back as\n * `{ default, 'module.exports' }`, and every NAMED export disappears — so the seam reports\n * \"exports no reconcileStructuredData()\" against a file that plainly exports it.\n *\n * A real website source root always sits inside an ESM package, which is why the end-to-end run\n * against `wonder-todos` works. The fixture has to model that or it tests the loader's CJS\n * fallback rather than the seam. The same constraint governs the generic path's three loads, and\n * is the reason neither handles CJS interop.\n */\n writeFileSync(join(root, 'package.json'), JSON.stringify({ name: 'seam-fixture', type: 'module' }), 'utf8');\n if (adapterSource !== undefined) {\n mkdirSync(join(root, 'structured-data'), { recursive: true });\n writeFileSync(join(root, 'structured-data', 'reconcile-structured-data.ts'), adapterSource, 'utf8');\n }\n return root;\n}\n\n/** The private selection method — `private` is a compile-time claim, and the seam is what is under test. */\nfunction selectComposition(websiteSourceRoot: string, catalog: readonly unknown[]): Promise<unknown> {\n return (WebsiteStructuredDataAuditService as unknown as {\n reconcileThroughApplicationAdapter: (root: string, catalog: readonly unknown[]) => Promise<unknown>;\n }).reconcileThroughApplicationAdapter(websiteSourceRoot, catalog);\n}\n\nafterEach(() => {\n while (temporaryRoots.length > 0) {\n rmSync(temporaryRoots.pop() as string, { recursive: true, force: true });\n }\n});\n\ndescribe('website structured-data audit — the application composition seam', () => {\n it('calls the application adapter and returns ITS report', async () => {\n const root = makeWebsiteSourceRoot(`\n export function reconcileStructuredData(catalog: readonly unknown[]) {\n return { result: { findings: [], pages: [] }, pageCount: catalog.length, sectionCount: 7 };\n }\n `);\n\n const report = await selectComposition(root, ['a', 'b', 'c']);\n\n expect(report).toMatchObject({ sectionCount: 7 });\n // `pageCount` is derived from the catalog the audit handed over, so this also pins that the\n // catalog REACHES the adapter — the audit keeps owning which specification is authoritative and\n // delegates only \"which declarations does this site have\".\n expect(report).toMatchObject({ pageCount: 3 });\n });\n\n it('awaits an adapter that composes asynchronously', async () => {\n // A site whose page payloads come from content files has every reason to be async. The generic\n // path already awaited its payload resolver; the seam must not be narrower than the path it\n // replaces.\n const root = makeWebsiteSourceRoot(`\n export async function reconcileStructuredData() {\n return { result: { findings: [], pages: [] }, pageCount: 1, sectionCount: 1 };\n }\n `);\n\n await expect(selectComposition(root, [])).resolves.toMatchObject({ pageCount: 1 });\n });\n\n it('returns UNDEFINED when the site has no adapter, so the generic path stays reachable', async () => {\n /*\n * Load-bearing. The `add-website` scenario template ships no `structured-data/` directory at\n * all, so every freshly scaffolded site takes this branch — making the adapter mandatory would\n * have made those sites un-auditable the moment the preference landed.\n */\n const root = makeWebsiteSourceRoot();\n\n await expect(selectComposition(root, [])).resolves.toBeUndefined();\n });\n\n it('REFUSES an adapter file that exports no reconcileStructuredData, naming both ways out', async () => {\n // Present-but-wrong is not the same as absent. Falling back silently here would audit the site\n // through a composition its author did not write, while believing they had opted out of it.\n const root = makeWebsiteSourceRoot(`export const somethingElse = 1;`);\n\n await expect(selectComposition(root, [])).rejects.toThrow(/exports no reconcileStructuredData/);\n await expect(selectComposition(root, [])).rejects.toThrow(/delete the file/);\n });\n});\n"]}
@@ -9,6 +9,15 @@ interface WebsiteAuditServiceInput {
9
9
  }
10
10
  export declare class WebsiteStructuredDataAuditService {
11
11
  static audit(input: WebsiteAuditServiceInput): Promise<WebsiteStructuredDataAuditReport>;
12
+ /**
13
+ * Run the application's own `reconcileStructuredData(catalog)` when the site exposes one.
14
+ *
15
+ * Returns `undefined` — never throws — when the site has no adapter, so the generic path below
16
+ * stays reachable for a scaffolded website. A module that EXISTS and fails to load is a different
17
+ * matter and is allowed to throw: that is the site's own code being broken, and swallowing it
18
+ * would silently audit through a composition the author did not write.
19
+ */
20
+ private static reconcileThroughApplicationAdapter;
12
21
  private static loadStructuredDataReconciliationModule;
13
22
  }
14
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"website-structured-data-audit.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/website/website-structured-data-audit.service.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,kCAAkC,EAExC,MAAM,wBAAwB,CAAC;AAGhC,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,kCAAkC,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAWD,qBAAa,iCAAiC;WAC/B,KAAK,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,gCAAgC,CAAC;mBA8HzE,sCAAsC;CAI5D"}
1
+ {"version":3,"file":"website-structured-data-audit.service.d.ts","sourceRoot":"","sources":["../../../../src/services/website/website-structured-data-audit.service.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,kCAAkC,EAExC,MAAM,wBAAwB,CAAC;AAGhC,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,kCAAkC,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB;AA4BD,qBAAa,iCAAiC;WAC/B,KAAK,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,gCAAgC,CAAC;IA2K9F;;;;;;;OAOG;mBACkB,kCAAkC;mBAqBlC,sCAAsC;CAI5D"}
@@ -19,6 +19,33 @@ export class WebsiteStructuredDataAuditService {
19
19
  throw new Error(`Application '${runtimeTarget.appSlug}' has no specifications package wired in wildo.saas.config.ts, so the merged Schema.org catalog cannot be loaded.`);
20
20
  }
21
21
  const websiteSourceRoot = join(runtimeTarget.appRoot, websiteService.path, 'src');
22
+ /*
23
+ * The CATALOG is resolved first, before anything is read out of the website (#493).
24
+ *
25
+ * It is the audit's own authority — which Schema.org specification this run reconciles against —
26
+ * and it is the one input the application must not supply. Resolving it first is also what lets
27
+ * the application-owned composition adapter fully REPLACE the generic source loading below,
28
+ * rather than merely run after it: on the adapter path the three website modules are never
29
+ * opened, so a site whose composition does not look like `WEBSITE_ROOT_CONFIG` +
30
+ * `resolveSectionsForManifest` + `page-payloads` is no longer required to pretend it does.
31
+ * Ordering this the other way round left every generic-path validation still gating a site that
32
+ * had opted out of the generic path.
33
+ */
34
+ const specificationsPackageRoot = join(runtimeTarget.appRoot, runtimeTarget.specifications.path);
35
+ const specificationsCompanionEntryPath = resolvePackageCompanionEntryPath(specificationsPackageRoot);
36
+ const specificationsModule = await import(pathToFileURL(specificationsCompanionEntryPath).href);
37
+ const specificationsCompanionExports = specificationsModule.default;
38
+ if (!specificationsCompanionExports || typeof specificationsCompanionExports !== 'object') {
39
+ throw new Error(`Specifications companion export must default-export one typed object surface from ${specificationsCompanionEntryPath}.`);
40
+ }
41
+ const schemaOrgCatalog = specificationsCompanionExports?.catalogSpecifications?.schemaOrg;
42
+ if (!schemaOrgCatalog) {
43
+ throw new Error(`Specifications companion exports are missing catalogSpecifications.schemaOrg in ${join(runtimeTarget.specifications.path, 'src', 'companion-exports.ts')}. Wire the merged catalog before running 'wildo website audit'.`);
44
+ }
45
+ const applicationReport = await WebsiteStructuredDataAuditService.reconcileThroughApplicationAdapter(websiteSourceRoot, schemaOrgCatalog);
46
+ if (applicationReport) {
47
+ return applicationReport;
48
+ }
22
49
  const { reconcileStructuredDataAgainstCatalog } = await WebsiteStructuredDataAuditService.loadStructuredDataReconciliationModule();
23
50
  const websiteRootConfigModule = await loadWebsiteSourceModule(join(websiteSourceRoot, 'website-root.config.ts'));
24
51
  const sectionsModule = await loadWebsiteSourceModule(join(websiteSourceRoot, 'sections', 'index.ts'));
@@ -26,9 +53,6 @@ export class WebsiteStructuredDataAuditService {
26
53
  const pagePayloadsModule = existsSync(pagePayloadsModulePath)
27
54
  ? await loadWebsiteSourceModule(pagePayloadsModulePath)
28
55
  : {};
29
- const specificationsPackageRoot = join(runtimeTarget.appRoot, runtimeTarget.specifications.path);
30
- const specificationsCompanionEntryPath = resolvePackageCompanionEntryPath(specificationsPackageRoot);
31
- const specificationsModule = await import(pathToFileURL(specificationsCompanionEntryPath).href);
32
56
  const websiteRootConfig = websiteRootConfigModule.WEBSITE_ROOT_CONFIG;
33
57
  if (!websiteRootConfig) {
34
58
  throw new Error(`Website root config not exported from ${join(websiteService.path, 'src', 'website-root.config.ts')}. Expected a named WEBSITE_ROOT_CONFIG export.`);
@@ -38,14 +62,30 @@ export class WebsiteStructuredDataAuditService {
38
62
  if (!resolveSectionsForManifest && !staticSections) {
39
63
  throw new Error(`Website sections registry must export either WEBSITE_SECTIONS or resolveSectionsForManifest() in ${join(websiteService.path, 'src', 'sections', 'index.ts')}. Export one so 'wildo website audit' can walk the page registry.`);
40
64
  }
41
- const specificationsCompanionExports = specificationsModule.default;
42
- if (!specificationsCompanionExports || typeof specificationsCompanionExports !== 'object') {
43
- throw new Error(`Specifications companion export must default-export one typed object surface from ${specificationsCompanionEntryPath}.`);
44
- }
45
- const schemaOrgCatalog = specificationsCompanionExports?.catalogSpecifications?.schemaOrg;
46
- if (!schemaOrgCatalog) {
47
- throw new Error(`Specifications companion exports are missing catalogSpecifications.schemaOrg in ${join(runtimeTarget.specifications.path, 'src', 'companion-exports.ts')}. Wire the merged catalog before running 'wildo website audit'.`);
48
- }
65
+ /*
66
+ * The generic composition, for a site with no adapter (#493).
67
+ *
68
+ * This is placed AFTER the catalog is resolved and before any composition happens, so the
69
+ * adapter receives exactly what the generic path would have reconciled against — the audit keeps
70
+ * owning "which catalog is authoritative", and hands over only "which declarations does this
71
+ * site actually have".
72
+ *
73
+ * ## Why the generic path below is kept rather than deleted
74
+ *
75
+ * The `add-website` scenario template ships no `structured-data/` directory at all, so every
76
+ * freshly scaffolded site has no adapter and would otherwise become un-auditable the moment this
77
+ * preference landed. Two live paths, not drift: a generic tool with an application-owned
78
+ * override. A site that grows an adapter moves onto it by writing the file.
79
+ *
80
+ * ## The difference this could have hidden, measured rather than assumed
81
+ *
82
+ * This path merges a static `WEBSITE_SECTIONS` array with whatever `resolveSectionsForManifest()`
83
+ * returns; the dogfood adapter reads only the resolver. Those can disagree — a section in the
84
+ * static array that no manifest resolves to would be audited by one and not the other. Measured
85
+ * on `wonder-todos` (2026-09-09): 19 section refs either way, both set differences empty, so the
86
+ * switch loses nothing there. It stays a real difference for a site whose two exports diverge,
87
+ * which is why this path still merges both.
88
+ */
49
89
  const sectionsByRef = new Map();
50
90
  for (const section of staticSections ?? []) {
51
91
  sectionsByRef.set(String(section.sectionRef), section);
@@ -83,6 +123,27 @@ export class WebsiteStructuredDataAuditService {
83
123
  sectionCount: sectionsByRef.size,
84
124
  };
85
125
  }
126
+ /**
127
+ * Run the application's own `reconcileStructuredData(catalog)` when the site exposes one.
128
+ *
129
+ * Returns `undefined` — never throws — when the site has no adapter, so the generic path below
130
+ * stays reachable for a scaffolded website. A module that EXISTS and fails to load is a different
131
+ * matter and is allowed to throw: that is the site's own code being broken, and swallowing it
132
+ * would silently audit through a composition the author did not write.
133
+ */
134
+ static async reconcileThroughApplicationAdapter(websiteSourceRoot, schemaOrgCatalog) {
135
+ const adapterPath = join(websiteSourceRoot, 'structured-data', 'reconcile-structured-data.ts');
136
+ if (!existsSync(adapterPath)) {
137
+ return undefined;
138
+ }
139
+ const adapterModule = await loadWebsiteSourceModule(adapterPath);
140
+ if (typeof adapterModule.reconcileStructuredData !== 'function') {
141
+ throw new Error(`${adapterPath} exists but exports no reconcileStructuredData() function. Export one taking the `
142
+ + 'Schema.org catalog and returning { result, pageCount, sectionCount }, or delete the file so '
143
+ + "'wildo website audit' composes the registries itself.");
144
+ }
145
+ return await adapterModule.reconcileStructuredData(schemaOrgCatalog);
146
+ }
86
147
  static async loadStructuredDataReconciliationModule() {
87
148
  const packageModule = await import('@wildo-ai/saas-website');
88
149
  return packageModule;
@@ -1 +1 @@
1
- {"version":3,"file":"website-structured-data-audit.service.js","sourceRoot":"","sources":["../../../../../../src/services/website/website-structured-data-audit.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,eAAe,EACf,gCAAgC,GACjC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAqBvG,MAAM,OAAO,iCAAiC;IAC5C,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,KAA+B;QAChD,MAAM,6BAA6B,EAAE,CAAC;QAEtC,MAAM,aAAa,GAAG,MAAM,wBAAwB,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC7E,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CACb,8CAA8C,KAAK,CAAC,QAAQ,4DAA4D,CACzH,CAAC;QACJ,CAAC;QAED,MAAM,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,IAAI,CACxD,CAAC,OAAO,EA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AAC,CAAC;QAC7D,OAAO,aAAmD,CAAC;IAC7D,CAAC;CACF;AAED,IAAI,+BAA+B,GAAG,KAAK,CAAC;AAE5C,KAAK,UAAU,uBAAuB,CAAyB,QAAgB;IAC7E,OAAO,MAAM,QAAQ,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAY,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,6BAA6B;IAC1C,IAAI,+BAA+B,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IAED,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,CAAC;IACjD,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;GAqBlB,CAAC;IAEF,QAAQ,CAAC,wBAAwB,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACnE,+BAA+B,GAAG,IAAI,CAAC;AACzC,CAAC","sourcesContent":["import { existsSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { pathToFileURL } from 'node:url';\nimport {\n AppFrontendType,\n resolvePackageCompanionEntryPath,\n} from '@wildo-ai/platform-config-lib';\nimport { tsImport } from 'tsx/esm/api';\nimport type { SpecificationsCompanionExports } from '@wildo-ai/saas-specifications/companion';\nimport {\n type StructuredDataPageManifestLike,\n type StructuredDataPagePayloadLike,\n type StructuredDataReconciliationResult,\n type StructuredDataSectionDefinitionLike,\n} from '@wildo-ai/saas-website';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\n\nexport interface WebsiteStructuredDataAuditReport {\n result: StructuredDataReconciliationResult;\n pageCount: number;\n sectionCount: number;\n}\n\ninterface WebsiteAuditServiceInput {\n saasRoot: string;\n}\n\ninterface StructuredDataReconciliationModule {\n reconcileStructuredDataAgainstCatalog: (options: {\n catalog: readonly unknown[];\n pages: readonly StructuredDataPageManifestLike[];\n sections: readonly StructuredDataSectionDefinitionLike[];\n pagePayloads?: readonly StructuredDataPagePayloadLike[];\n }) => StructuredDataReconciliationResult;\n}\n\nexport class WebsiteStructuredDataAuditService {\n static async audit(input: WebsiteAuditServiceInput): Promise<WebsiteStructuredDataAuditReport> {\n await registerStaticAssetImportNoop();\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(input.saasRoot);\n if (!runtimeTarget) {\n throw new Error(\n `No SaaS application could be resolved from ${input.saasRoot}. Navigate to a directory containing wildo.saas.config.ts.`,\n );\n }\n\n const websiteService = runtimeTarget.frontendServices.find(\n (service) => service.frontendType === AppFrontendType.STATIC_WEBSITE,\n );\n if (!websiteService) {\n throw new Error(\n `Application '${runtimeTarget.appSlug}' has no STATIC_WEBSITE service. 'wildo website audit' only applies to apps shipping a marketing website.`,\n );\n }\n if (!runtimeTarget.specifications?.path) {\n throw new Error(\n `Application '${runtimeTarget.appSlug}' has no specifications package wired in wildo.saas.config.ts, so the merged Schema.org catalog cannot be loaded.`,\n );\n }\n\n const websiteSourceRoot = join(runtimeTarget.appRoot, websiteService.path, 'src');\n const { reconcileStructuredDataAgainstCatalog } =\n await WebsiteStructuredDataAuditService.loadStructuredDataReconciliationModule();\n const websiteRootConfigModule = await loadWebsiteSourceModule<{\n WEBSITE_ROOT_CONFIG?: { pageManifests: readonly StructuredDataPageManifestLike[] };\n }>(join(websiteSourceRoot, 'website-root.config.ts'));\n const sectionsModule = await loadWebsiteSourceModule<{\n WEBSITE_SECTIONS?: readonly StructuredDataSectionDefinitionLike[];\n resolveSectionsForManifest?: (\n manifest: StructuredDataPageManifestLike,\n ) => readonly StructuredDataSectionDefinitionLike[];\n }>(join(websiteSourceRoot, 'sections', 'index.ts'));\n const pagePayloadsModulePath = join(websiteSourceRoot, 'structured-data', 'page-payloads.ts');\n const pagePayloadsModule = existsSync(pagePayloadsModulePath)\n ? await loadWebsiteSourceModule<{\n resolveStructuredDataPagePayloadsForManifest?: (\n manifest: StructuredDataPageManifestLike,\n ) => readonly StructuredDataPagePayloadLike[] | Promise<readonly StructuredDataPagePayloadLike[]>;\n }>(pagePayloadsModulePath)\n : {};\n const specificationsPackageRoot = join(runtimeTarget.appRoot, runtimeTarget.specifications.path);\n const specificationsCompanionEntryPath = resolvePackageCompanionEntryPath(specificationsPackageRoot);\n const specificationsModule = await import(pathToFileURL(specificationsCompanionEntryPath).href) as {\n default?: SpecificationsCompanionExports;\n };\n\n const websiteRootConfig = websiteRootConfigModule.WEBSITE_ROOT_CONFIG;\n if (!websiteRootConfig) {\n throw new Error(\n `Website root config not exported from ${join(websiteService.path, 'src', 'website-root.config.ts')}. Expected a named WEBSITE_ROOT_CONFIG export.`,\n );\n }\n\n const resolveSectionsForManifest = sectionsModule.resolveSectionsForManifest;\n const staticSections = sectionsModule.WEBSITE_SECTIONS;\n if (!resolveSectionsForManifest && !staticSections) {\n throw new Error(\n `Website sections registry must export either WEBSITE_SECTIONS or resolveSectionsForManifest() in ${join(websiteService.path, 'src', 'sections', 'index.ts')}. Export one so 'wildo website audit' can walk the page registry.`,\n );\n }\n\n const specificationsCompanionExports = specificationsModule.default;\n if (!specificationsCompanionExports || typeof specificationsCompanionExports !== 'object') {\n throw new Error(\n `Specifications companion export must default-export one typed object surface from ${specificationsCompanionEntryPath}.`,\n );\n }\n const schemaOrgCatalog = (\n specificationsCompanionExports as {\n catalogSpecifications?: { schemaOrg?: readonly unknown[] };\n }\n )?.catalogSpecifications?.schemaOrg;\n if (!schemaOrgCatalog) {\n throw new Error(\n `Specifications companion exports are missing catalogSpecifications.schemaOrg in ${join(runtimeTarget.specifications.path, 'src', 'companion-exports.ts')}. Wire the merged catalog before running 'wildo website audit'.`,\n );\n }\n\n const sectionsByRef = new Map<string, StructuredDataSectionDefinitionLike>();\n for (const section of staticSections ?? []) {\n sectionsByRef.set(String(section.sectionRef), section);\n }\n if (resolveSectionsForManifest) {\n for (const manifest of websiteRootConfig.pageManifests) {\n let resolvedSections: readonly StructuredDataSectionDefinitionLike[];\n try {\n resolvedSections = resolveSectionsForManifest(manifest);\n } catch (error) {\n throw new Error(\n `Website sections resolver failed for page \"${manifest.ref}\" (${manifest.routePath}). ` +\n 'Fix resolveSectionsForManifest() before running structured-data audit.',\n { cause: error },\n );\n }\n for (const section of resolvedSections) {\n sectionsByRef.set(String(section.sectionRef), section);\n }\n }\n }\n const pagePayloads: StructuredDataPagePayloadLike[] = [];\n if (pagePayloadsModule.resolveStructuredDataPagePayloadsForManifest) {\n for (const manifest of websiteRootConfig.pageManifests) {\n pagePayloads.push(\n ...(await pagePayloadsModule.resolveStructuredDataPagePayloadsForManifest(manifest)),\n );\n }\n }\n\n const result = reconcileStructuredDataAgainstCatalog({\n catalog: schemaOrgCatalog,\n pages: websiteRootConfig.pageManifests,\n sections: [...sectionsByRef.values()],\n pagePayloads,\n });\n\n return {\n result,\n pageCount: websiteRootConfig.pageManifests.length,\n sectionCount: sectionsByRef.size,\n };\n }\n\n private static async loadStructuredDataReconciliationModule(): Promise<StructuredDataReconciliationModule> {\n const packageModule = await import('@wildo-ai/saas-website');\n return packageModule as StructuredDataReconciliationModule;\n }\n}\n\nlet staticAssetImportNoopRegistered = false;\n\nasync function loadWebsiteSourceModule<TModule extends object>(filePath: string): Promise<TModule> {\n return await tsImport(filePath, { parentURL: import.meta.url }) as TModule;\n}\n\nasync function registerStaticAssetImportNoop(): Promise<void> {\n if (staticAssetImportNoopRegistered) {\n return;\n }\n\n const { register } = await import('node:module');\n const hookSource = `\n const ASSET_RE = /\\\\.(css|scss|less|sass|svg|png|jpe?g|gif|webp|ico|avif|woff2?|eot|ttf|otf)(\\\\?.*)?$/;\n export function resolve(specifier, context, nextResolve) {\n if (ASSET_RE.test(specifier)) {\n return {\n shortCircuit: true,\n url: new URL(specifier, context.parentURL ?? 'file:///').href,\n };\n }\n return nextResolve(specifier, context);\n }\n export function load(url, context, nextLoad) {\n if (ASSET_RE.test(url)) {\n return {\n shortCircuit: true,\n format: 'module',\n source: 'export default \"\";\\\\n',\n };\n }\n return nextLoad(url, context);\n }\n `;\n\n register(`data:text/javascript,${encodeURIComponent(hookSource)}`);\n staticAssetImportNoopRegistered = true;\n}\n"]}
1
+ {"version":3,"file":"website-structured-data-audit.service.js","sourceRoot":"","sources":["../../../../src/services/website/website-structured-data-audit.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,eAAe,EACf,gCAAgC,GACjC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAsCvG,MAAM,OAAO,iCAAiC;IAC5C,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,KAA+B;QAChD,MAAM,6BAA6B,EAAE,CAAC;QAEtC,MAAM,aAAa,GAAG,MAAM,wBAAwB,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC7E,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CACb,8CAA8C,KAAK,CAAC,QAAQ,4DAA4D,CACzH,CAAC;QACJ,CAAC;QAED,MAAM,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,IAAI,CACxD,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,KAAK,eAAe,CAAC,cAAc,CACrE,CAAC;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CACb,gBAAgB,aAAa,CAAC,OAAO,2GAA2G,CACjJ,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC;YACxC,MAAM,IAAI,KAAK,CACb,gBAAgB,aAAa,CAAC,OAAO,mHAAmH,CACzJ,CAAC;QACJ,CAAC;QAED,MAAM,iBAAiB,GAAG,IAA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OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,uBAAuB,CAAyC,WAAW,CAAC,CAAC;QACzG,IAAI,OAAO,aAAa,CAAC,uBAAuB,KAAK,UAAU,EAAE,CAAC;YAChE,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,mFAAmF;kBAC/F,8FAA8F;kBAC9F,uDAAuD,CAC1D,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,aAAa,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAC;IACvE,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,sCAAsC;QACzD,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,wBAAwB,CAAC,CAAC;QAC7D,OAAO,aAAmD,CAAC;IAC7D,CAAC;CACF;AAED,IAAI,+BAA+B,GAAG,KAAK,CAAC;AAE5C,KAAK,UAAU,uBAAuB,CAAyB,QAAgB;IAC7E,OAAO,MAAM,QAAQ,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAY,CAAC;AAC7E,CAAC;AAED,KAAK,UAAU,6BAA6B;IAC1C,IAAI,+BAA+B,EAAE,CAAC;QACpC,OAAO;IACT,CAAC;IAED,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,CAAC;IACjD,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;GAqBlB,CAAC;IAEF,QAAQ,CAAC,wBAAwB,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACnE,+BAA+B,GAAG,IAAI,CAAC;AACzC,CAAC","sourcesContent":["import { existsSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { pathToFileURL } from 'node:url';\nimport {\n AppFrontendType,\n resolvePackageCompanionEntryPath,\n} from '@wildo-ai/platform-config-lib';\nimport { tsImport } from 'tsx/esm/api';\nimport type { SpecificationsCompanionExports } from '@wildo-ai/saas-specifications/companion';\nimport {\n type StructuredDataPageManifestLike,\n type StructuredDataPagePayloadLike,\n type StructuredDataReconciliationResult,\n type StructuredDataSectionDefinitionLike,\n} from '@wildo-ai/saas-website';\nimport { AppRuntimeTargetsService } from '~wildo-cli/services/application/app-runtime-targets.service';\n\nexport interface WebsiteStructuredDataAuditReport {\n result: StructuredDataReconciliationResult;\n pageCount: number;\n sectionCount: number;\n}\n\ninterface WebsiteAuditServiceInput {\n saasRoot: string;\n}\n\n/**\n * The application-owned composition seam (#493).\n *\n * A website may own the assembly of its own page, section and page-payload registries and expose it\n * as `structured-data/reconcile-structured-data.ts`. When it does, the audit CALLS it rather than\n * re-deriving the same composition from the three source modules — which is the whole point of the\n * seam existing: an application that composes its declarations in a non-obvious way (a conditional\n * section, a payload assembled from content files) would otherwise be audited against a composition\n * nobody authored.\n *\n * The framework still owns reconciliation mechanics and still supplies the Schema.org catalog, so\n * the accepted specification authority stays with the caller rather than moving into the site.\n */\ninterface ApplicationReconciliationAdapterModule {\n reconcileStructuredData?: (catalog: readonly unknown[]) => WebsiteStructuredDataAuditReport | Promise<WebsiteStructuredDataAuditReport>;\n}\n\ninterface StructuredDataReconciliationModule {\n reconcileStructuredDataAgainstCatalog: (options: {\n catalog: readonly unknown[];\n pages: readonly StructuredDataPageManifestLike[];\n sections: readonly StructuredDataSectionDefinitionLike[];\n pagePayloads?: readonly StructuredDataPagePayloadLike[];\n }) => StructuredDataReconciliationResult;\n}\n\nexport class WebsiteStructuredDataAuditService {\n static async audit(input: WebsiteAuditServiceInput): Promise<WebsiteStructuredDataAuditReport> {\n await registerStaticAssetImportNoop();\n\n const runtimeTarget = await AppRuntimeTargetsService.resolve(input.saasRoot);\n if (!runtimeTarget) {\n throw new Error(\n `No SaaS application could be resolved from ${input.saasRoot}. Navigate to a directory containing wildo.saas.config.ts.`,\n );\n }\n\n const websiteService = runtimeTarget.frontendServices.find(\n (service) => service.frontendType === AppFrontendType.STATIC_WEBSITE,\n );\n if (!websiteService) {\n throw new Error(\n `Application '${runtimeTarget.appSlug}' has no STATIC_WEBSITE service. 'wildo website audit' only applies to apps shipping a marketing website.`,\n );\n }\n if (!runtimeTarget.specifications?.path) {\n throw new Error(\n `Application '${runtimeTarget.appSlug}' has no specifications package wired in wildo.saas.config.ts, so the merged Schema.org catalog cannot be loaded.`,\n );\n }\n\n const websiteSourceRoot = join(runtimeTarget.appRoot, websiteService.path, 'src');\n\n /*\n * The CATALOG is resolved first, before anything is read out of the website (#493).\n *\n * It is the audit's own authority — which Schema.org specification this run reconciles against —\n * and it is the one input the application must not supply. Resolving it first is also what lets\n * the application-owned composition adapter fully REPLACE the generic source loading below,\n * rather than merely run after it: on the adapter path the three website modules are never\n * opened, so a site whose composition does not look like `WEBSITE_ROOT_CONFIG` +\n * `resolveSectionsForManifest` + `page-payloads` is no longer required to pretend it does.\n * Ordering this the other way round left every generic-path validation still gating a site that\n * had opted out of the generic path.\n */\n const specificationsPackageRoot = join(runtimeTarget.appRoot, runtimeTarget.specifications.path);\n const specificationsCompanionEntryPath = resolvePackageCompanionEntryPath(specificationsPackageRoot);\n const specificationsModule = await import(pathToFileURL(specificationsCompanionEntryPath).href) as {\n default?: SpecificationsCompanionExports;\n };\n const specificationsCompanionExports = specificationsModule.default;\n if (!specificationsCompanionExports || typeof specificationsCompanionExports !== 'object') {\n throw new Error(\n `Specifications companion export must default-export one typed object surface from ${specificationsCompanionEntryPath}.`,\n );\n }\n const schemaOrgCatalog = (\n specificationsCompanionExports as {\n catalogSpecifications?: { schemaOrg?: readonly unknown[] };\n }\n )?.catalogSpecifications?.schemaOrg;\n if (!schemaOrgCatalog) {\n throw new Error(\n `Specifications companion exports are missing catalogSpecifications.schemaOrg in ${join(runtimeTarget.specifications.path, 'src', 'companion-exports.ts')}. Wire the merged catalog before running 'wildo website audit'.`,\n );\n }\n\n const applicationReport = await WebsiteStructuredDataAuditService.reconcileThroughApplicationAdapter(\n websiteSourceRoot,\n schemaOrgCatalog,\n );\n if (applicationReport) {\n return applicationReport;\n }\n\n const { reconcileStructuredDataAgainstCatalog } =\n await WebsiteStructuredDataAuditService.loadStructuredDataReconciliationModule();\n const websiteRootConfigModule = await loadWebsiteSourceModule<{\n WEBSITE_ROOT_CONFIG?: { pageManifests: readonly StructuredDataPageManifestLike[] };\n }>(join(websiteSourceRoot, 'website-root.config.ts'));\n const sectionsModule = await loadWebsiteSourceModule<{\n WEBSITE_SECTIONS?: readonly StructuredDataSectionDefinitionLike[];\n resolveSectionsForManifest?: (\n manifest: StructuredDataPageManifestLike,\n ) => readonly StructuredDataSectionDefinitionLike[];\n }>(join(websiteSourceRoot, 'sections', 'index.ts'));\n const pagePayloadsModulePath = join(websiteSourceRoot, 'structured-data', 'page-payloads.ts');\n const pagePayloadsModule = existsSync(pagePayloadsModulePath)\n ? await loadWebsiteSourceModule<{\n resolveStructuredDataPagePayloadsForManifest?: (\n manifest: StructuredDataPageManifestLike,\n ) => readonly StructuredDataPagePayloadLike[] | Promise<readonly StructuredDataPagePayloadLike[]>;\n }>(pagePayloadsModulePath)\n : {};\n\n const websiteRootConfig = websiteRootConfigModule.WEBSITE_ROOT_CONFIG;\n if (!websiteRootConfig) {\n throw new Error(\n `Website root config not exported from ${join(websiteService.path, 'src', 'website-root.config.ts')}. Expected a named WEBSITE_ROOT_CONFIG export.`,\n );\n }\n\n const resolveSectionsForManifest = sectionsModule.resolveSectionsForManifest;\n const staticSections = sectionsModule.WEBSITE_SECTIONS;\n if (!resolveSectionsForManifest && !staticSections) {\n throw new Error(\n `Website sections registry must export either WEBSITE_SECTIONS or resolveSectionsForManifest() in ${join(websiteService.path, 'src', 'sections', 'index.ts')}. Export one so 'wildo website audit' can walk the page registry.`,\n );\n }\n\n /*\n * The generic composition, for a site with no adapter (#493).\n *\n * This is placed AFTER the catalog is resolved and before any composition happens, so the\n * adapter receives exactly what the generic path would have reconciled against — the audit keeps\n * owning \"which catalog is authoritative\", and hands over only \"which declarations does this\n * site actually have\".\n *\n * ## Why the generic path below is kept rather than deleted\n *\n * The `add-website` scenario template ships no `structured-data/` directory at all, so every\n * freshly scaffolded site has no adapter and would otherwise become un-auditable the moment this\n * preference landed. Two live paths, not drift: a generic tool with an application-owned\n * override. A site that grows an adapter moves onto it by writing the file.\n *\n * ## The difference this could have hidden, measured rather than assumed\n *\n * This path merges a static `WEBSITE_SECTIONS` array with whatever `resolveSectionsForManifest()`\n * returns; the dogfood adapter reads only the resolver. Those can disagree — a section in the\n * static array that no manifest resolves to would be audited by one and not the other. Measured\n * on `wonder-todos` (2026-09-09): 19 section refs either way, both set differences empty, so the\n * switch loses nothing there. It stays a real difference for a site whose two exports diverge,\n * which is why this path still merges both.\n */\n const sectionsByRef = new Map<string, StructuredDataSectionDefinitionLike>();\n for (const section of staticSections ?? []) {\n sectionsByRef.set(String(section.sectionRef), section);\n }\n if (resolveSectionsForManifest) {\n for (const manifest of websiteRootConfig.pageManifests) {\n let resolvedSections: readonly StructuredDataSectionDefinitionLike[];\n try {\n resolvedSections = resolveSectionsForManifest(manifest);\n } catch (error) {\n throw new Error(\n `Website sections resolver failed for page \"${manifest.ref}\" (${manifest.routePath}). ` +\n 'Fix resolveSectionsForManifest() before running structured-data audit.',\n { cause: error },\n );\n }\n for (const section of resolvedSections) {\n sectionsByRef.set(String(section.sectionRef), section);\n }\n }\n }\n const pagePayloads: StructuredDataPagePayloadLike[] = [];\n if (pagePayloadsModule.resolveStructuredDataPagePayloadsForManifest) {\n for (const manifest of websiteRootConfig.pageManifests) {\n pagePayloads.push(\n ...(await pagePayloadsModule.resolveStructuredDataPagePayloadsForManifest(manifest)),\n );\n }\n }\n\n const result = reconcileStructuredDataAgainstCatalog({\n catalog: schemaOrgCatalog,\n pages: websiteRootConfig.pageManifests,\n sections: [...sectionsByRef.values()],\n pagePayloads,\n });\n\n return {\n result,\n pageCount: websiteRootConfig.pageManifests.length,\n sectionCount: sectionsByRef.size,\n };\n }\n\n /**\n * Run the application's own `reconcileStructuredData(catalog)` when the site exposes one.\n *\n * Returns `undefined` — never throws — when the site has no adapter, so the generic path below\n * stays reachable for a scaffolded website. A module that EXISTS and fails to load is a different\n * matter and is allowed to throw: that is the site's own code being broken, and swallowing it\n * would silently audit through a composition the author did not write.\n */\n private static async reconcileThroughApplicationAdapter(\n websiteSourceRoot: string,\n schemaOrgCatalog: readonly unknown[],\n ): Promise<WebsiteStructuredDataAuditReport | undefined> {\n const adapterPath = join(websiteSourceRoot, 'structured-data', 'reconcile-structured-data.ts');\n if (!existsSync(adapterPath)) {\n return undefined;\n }\n\n const adapterModule = await loadWebsiteSourceModule<ApplicationReconciliationAdapterModule>(adapterPath);\n if (typeof adapterModule.reconcileStructuredData !== 'function') {\n throw new Error(\n `${adapterPath} exists but exports no reconcileStructuredData() function. Export one taking the `\n + 'Schema.org catalog and returning { result, pageCount, sectionCount }, or delete the file so '\n + \"'wildo website audit' composes the registries itself.\",\n );\n }\n\n return await adapterModule.reconcileStructuredData(schemaOrgCatalog);\n }\n\n private static async loadStructuredDataReconciliationModule(): Promise<StructuredDataReconciliationModule> {\n const packageModule = await import('@wildo-ai/saas-website');\n return packageModule as StructuredDataReconciliationModule;\n }\n}\n\nlet staticAssetImportNoopRegistered = false;\n\nasync function loadWebsiteSourceModule<TModule extends object>(filePath: string): Promise<TModule> {\n return await tsImport(filePath, { parentURL: import.meta.url }) as TModule;\n}\n\nasync function registerStaticAssetImportNoop(): Promise<void> {\n if (staticAssetImportNoopRegistered) {\n return;\n }\n\n const { register } = await import('node:module');\n const hookSource = `\n const ASSET_RE = /\\\\.(css|scss|less|sass|svg|png|jpe?g|gif|webp|ico|avif|woff2?|eot|ttf|otf)(\\\\?.*)?$/;\n export function resolve(specifier, context, nextResolve) {\n if (ASSET_RE.test(specifier)) {\n return {\n shortCircuit: true,\n url: new URL(specifier, context.parentURL ?? 'file:///').href,\n };\n }\n return nextResolve(specifier, context);\n }\n export function load(url, context, nextLoad) {\n if (ASSET_RE.test(url)) {\n return {\n shortCircuit: true,\n format: 'module',\n source: 'export default \"\";\\\\n',\n };\n }\n return nextLoad(url, context);\n }\n `;\n\n register(`data:text/javascript,${encodeURIComponent(hookSource)}`);\n staticAssetImportNoopRegistered = true;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"resolved-homes.test.utils.d.ts","sourceRoot":"","sources":["../../../../../src/test-utils/resolved-homes.test.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAElI,wBAAgB,wBAAwB,CACtC,SAAS,GAAE,OAAO,CAAC,oBAAoB,CAAM,GAC5C,oBAAoB,CAStB;AAED,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,oBAAoB,GACnC,aAAa,CAKf"}
1
+ {"version":3,"file":"resolved-homes.test.utils.d.ts","sourceRoot":"","sources":["../../../src/test-utils/resolved-homes.test.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAElI,wBAAgB,wBAAwB,CACtC,SAAS,GAAE,OAAO,CAAC,oBAAoB,CAAM,GAC5C,oBAAoB,CAStB;AAED,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,oBAAoB,GACnC,aAAa,CAKf"}