@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,372 @@
1
+ import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
2
+ import { tmpdir } from 'node:os';
3
+ import { join } from 'node:path';
4
+ import { describe, expect, it } from 'vitest';
5
+ import { NATURAL_KEY_VERSION, applyRecord, naturalKeysFor, withdrawVendor, CatalogueEntryClassification, readInventory, writeInventory, } from '../provider-catalogue-record.js';
6
+ import { TransposedAuthKind, TransposedOperationResolution, } from '../transposed-provider.model.js';
7
+ /**
8
+ * What the record PROMISES: an id an application already calls does not move.
9
+ *
10
+ * The derivation it replaces is genuinely unstable — an operation id comes from the source's action
11
+ * name, then a method suffix, then a path tail, then an ordinal — so a source rename, a new
12
+ * colliding operation, or a pending operation finally resolving each moves an id with no signal
13
+ * anywhere. 6,054 ids are exposed this way.
14
+ *
15
+ * Each pin below is one of the ways that happens.
16
+ */
17
+ describe('the catalogue record', () => {
18
+ const provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' };
19
+ const TODAY = '2026-09-08';
20
+ const resolved = (operationId, method, pathTemplate) => ({
21
+ operationId,
22
+ domain: 'default',
23
+ resolution: TransposedOperationResolution.RESOLVED,
24
+ method,
25
+ pathTemplate,
26
+ classification: 'READ',
27
+ parameters: [],
28
+ inputFields: [],
29
+ hasRequestBody: false,
30
+ provenance,
31
+ });
32
+ const pendingOperation = (operationId, vendorOperationName) => ({
33
+ operationId,
34
+ domain: 'default',
35
+ resolution: TransposedOperationResolution.PENDING_ENDPOINT,
36
+ vendorOperationName,
37
+ classification: 'WRITE',
38
+ parameters: [],
39
+ inputFields: [],
40
+ hasRequestBody: false,
41
+ provenance,
42
+ });
43
+ const provider = {
44
+ ref: 'fixtureco',
45
+ vendor: 'fixtureco',
46
+ auth: { kind: TransposedAuthKind.SECRET_TEXT },
47
+ operations: [],
48
+ provenances: [provenance],
49
+ };
50
+ const apply = (operations, pending, ledger, decisions) => applyRecord({ provider, operations, pending, ledger, decisions, refusals: new Map(), today: TODAY });
51
+ it('keys on the ENDPOINT, never on the id the run derived', () => {
52
+ // Keying on the id would defeat the whole purpose: the id is the thing being stabilised. Path
53
+ // holes are normalised away so a parameter rename is not an endpoint change.
54
+ expect(naturalKeysFor(resolved('anything', 'GET', '/v1/users/{userId}'))).toEqual(['endpoint:GET /v1/users/{}']);
55
+ expect(naturalKeysFor(pendingOperation('anything', 'files.uploadV2'))).toEqual(['vendorOperation:files.uploadV2']);
56
+ });
57
+ it('makes an id that cannot be typed into one that can, BEFORE the ledger freezes it', () => {
58
+ // A source that titles an action "Add Order Note" produces exactly that as the operation id, and
59
+ // the id is the address an application calls. 16 of 6,054 arrived carrying a space or a
60
+ // parenthesis. Normalising after the ledger is seeded would be a rename, which is the one thing
61
+ // the ledger exists to prevent — so it happens on the way in.
62
+ const applied = apply([resolved('Add Order Note', 'POST', '/wp-json/wc/v3/orders/{}/notes')], [], undefined);
63
+ expect(applied.operations[0].operationId).toBe('Add_Order_Note');
64
+ expect(applied.ledger.operations.Add_Order_Note).toBeDefined();
65
+ expect(applied.ledger.operations['Add Order Note']).toBeUndefined();
66
+ });
67
+ it('keeps the recorded id when the SOURCE renames the action', () => {
68
+ // The failure this exists for. A catalogue renames `slack-send-message` to `slack-post-message`
69
+ // upstream; the endpoint is identical, so the operation is identical, and an application calling
70
+ // the old id must keep working.
71
+ const first = apply([resolved('fixture_send_message', 'POST', '/v1/messages')], [], undefined);
72
+ expect(first.operations[0].operationId).toBe('fixture_send_message');
73
+ const second = apply([resolved('fixture_post_message', 'POST', '/v1/messages')], [], first.ledger);
74
+ expect(second.operations[0].operationId).toBe('fixture_send_message');
75
+ expect(second.ledger.operations.fixture_post_message).toBeUndefined();
76
+ });
77
+ it('does NOT rename an operation when it stops being pending', () => {
78
+ // The most common GOOD event in this lane, and a single-key ledger would treat it as a
79
+ // withdrawal plus an arrival. The row absorbs the endpoint key and keeps the id.
80
+ const first = apply([], [pendingOperation('uploadFile', 'files.uploadV2')], undefined);
81
+ expect(first.ledger.operations.uploadFile.pending).toBe(true);
82
+ const nowResolved = {
83
+ ...resolved('files_upload_v2', 'POST', '/api/files.getUploadURLExternal'),
84
+ vendorOperationName: 'files.uploadV2',
85
+ };
86
+ const second = apply([nowResolved], [], first.ledger);
87
+ expect(second.operations[0].operationId).toBe('uploadFile');
88
+ expect(second.ledger.operations.uploadFile.keys).toContain('endpoint:POST /api/files.getUploadURLExternal');
89
+ expect(second.ledger.operations.uploadFile.keys).toContain('vendorOperation:files.uploadV2');
90
+ expect(second.ledger.withdrawn.uploadFile).toBeUndefined();
91
+ expect(second.ledger.operations.uploadFile.pending).toBeUndefined();
92
+ });
93
+ it('records a WITHDRAWAL rather than letting an operation vanish silently', () => {
94
+ // A caller of a removed id deserves "withdrawn on <date>, the source removed it" and not
95
+ // "unknown operation". Only this file can say which.
96
+ const first = apply([resolved('fixture_get_thing', 'GET', '/v1/things')], [], undefined);
97
+ const second = apply([], [], first.ledger);
98
+ expect(second.ledger.operations.fixture_get_thing).toBeUndefined();
99
+ expect(second.ledger.withdrawn.fixture_get_thing).toEqual({
100
+ since: TODAY,
101
+ keys: ['endpoint:GET /v1/things'],
102
+ // Carried through the withdrawal (#500), so a resurrection restores the date the id first
103
+ // appeared instead of calling a long-standing id new on the day it comes back.
104
+ firstEmitted: TODAY,
105
+ // The reason states WHAT was observed, never WHY. It claimed "the source no longer describes
106
+ // it" until 2026-09-09, when the emitter began refusing Salesforce's SOQL-as-a-path operations
107
+ // and the record wrote that sentence three times about operations the source still describes.
108
+ reason: expect.stringContaining('matched any of its natural keys'),
109
+ });
110
+ expect(second.ledger.withdrawn.fixture_get_thing.reason).not.toContain('source no longer');
111
+ });
112
+ it('un-withdraws an operation that comes back, rather than recording it in both places', () => {
113
+ // A source can restore an endpoint. Leaving the id in `withdrawn` while it is live again would
114
+ // make the record contradict itself, and a record that contradicts itself is not consultable.
115
+ const first = apply([resolved('fixture_get_thing', 'GET', '/v1/things')], [], undefined);
116
+ const gone = apply([], [], first.ledger);
117
+ const back = apply([resolved('fixture_renamed_upstream', 'GET', '/v1/things')], [], gone.ledger);
118
+ expect(back.operations[0].operationId).toBe('fixture_get_thing');
119
+ expect(back.ledger.withdrawn.fixture_get_thing).toBeUndefined();
120
+ });
121
+ it('ACCUMULATES keys, so an alias the source stops carrying still identifies the operation', () => {
122
+ // The union is not decoration. A catalogue can drop the SDK-backed action that named the vendor
123
+ // operation while another keeps the endpoint — the operation is unchanged and its old alias is
124
+ // the only thing that will still match it if the endpoint later moves. Without the union the row
125
+ // narrows to whatever the LAST run happened to see, and the history is gone.
126
+ const withBothKeys = {
127
+ ...resolved('fixture_upload', 'POST', '/v1/upload'),
128
+ vendorOperationName: 'files.uploadV2',
129
+ };
130
+ const first = apply([withBothKeys], [], undefined);
131
+ expect(first.ledger.operations.fixture_upload.keys).toHaveLength(2);
132
+ // The next run sees only the endpoint — the action that named `files.uploadV2` is gone upstream.
133
+ const second = apply([resolved('fixture_upload', 'POST', '/v1/upload')], [], first.ledger);
134
+ expect(second.ledger.operations.fixture_upload.keys).toContain('vendorOperation:files.uploadV2');
135
+ // Which is what lets a third run match it when the endpoint moves and the action returns.
136
+ const third = apply([pendingOperation('some_new_derived_name', 'files.uploadV2')], [], second.ledger);
137
+ expect(third.ledger.operations.fixture_upload).toBeDefined();
138
+ expect(third.ledger.withdrawn.fixture_upload).toBeUndefined();
139
+ });
140
+ it('lets a RECORDED id beat a freshly derived one that collides with it', () => {
141
+ // A new upstream operation whose derived id collides with a recorded one must yield: the
142
+ // recorded id is the one an application is already calling. The derivation used to decide this
143
+ // by map insertion order, which is filesystem-dependent.
144
+ const first = apply([resolved('fixture_thing', 'GET', '/v1/things')], [], undefined);
145
+ const second = apply([resolved('fixture_thing', 'POST', '/v1/things/new'), resolved('unrelated_name', 'GET', '/v1/things')], [], first.ledger);
146
+ const byPath = Object.fromEntries(second.operations.map((operation) => [operation.pathTemplate, operation.operationId]));
147
+ expect(byPath['/v1/things']).toBe('fixture_thing');
148
+ expect(byPath['/v1/things/new']).toBe('fixture_thing-2');
149
+ });
150
+ it('follows a SUCCESSION a human declared, so a version bump is not a rename', () => {
151
+ // `/v1/x` → `/v2/x` produces a new natural key, which without this reads as a withdrawal plus an
152
+ // arrival. Asserting that two endpoints are one operation is a judgement no generator can make.
153
+ const first = apply([resolved('fixture_list', 'GET', '/v1/things')], [], undefined);
154
+ const second = apply([resolved('fixture_list_v2', 'GET', '/v2/things')], [], first.ledger, {
155
+ ref: 'fixtureco',
156
+ reason: 'the vendor moved the endpoint to v2 without changing the operation',
157
+ succession: { 'endpoint:GET /v2/things': 'endpoint:GET /v1/things' },
158
+ });
159
+ expect(second.operations[0].operationId).toBe('fixture_list');
160
+ expect(second.ledger.withdrawn.fixture_list).toBeUndefined();
161
+ });
162
+ it('REPORTS a succession that matched nothing, rather than passing silently', () => {
163
+ // The reconciliation turns this into a refused batch. A succession for an endpoint that moved
164
+ // again is a correction that has stopped applying, and it is invisible unless something says so.
165
+ const applied = apply([resolved('fixture_list', 'GET', '/v1/things')], [], undefined, {
166
+ ref: 'fixtureco',
167
+ reason: 'stale',
168
+ succession: { 'endpoint:GET /v3/things': 'endpoint:GET /v1/things' },
169
+ });
170
+ expect(applied.unmatched).toEqual([
171
+ { ref: 'fixtureco', kind: 'succession', detail: expect.stringContaining("'endpoint:GET /v3/things'") },
172
+ ]);
173
+ });
174
+ it('reports how the refusal count MOVED, rather than gating on it', () => {
175
+ // Growth here is ordinary: an upstream catalogue adding an operation with a positionally-named
176
+ // path hole produces it, and refusing that would make the batch un-runnable for a reason nobody
177
+ // can act on. So the movement is surfaced and the count is committed, and the diff is the record.
178
+ const withRefusals = (counts) => applyRecord({
179
+ provider,
180
+ operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],
181
+ pending: [],
182
+ ledger: undefined,
183
+ decisions: undefined,
184
+ refusals: new Map(Object.entries(counts)),
185
+ today: TODAY,
186
+ });
187
+ const first = withRefusals({ UNFED_PATH_PARAMETER: 3 });
188
+ expect(first.refusalDelta).toEqual({ UNFED_PATH_PARAMETER: 3 });
189
+ const worse = applyRecord({
190
+ provider,
191
+ operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],
192
+ pending: [],
193
+ ledger: first.ledger,
194
+ decisions: undefined,
195
+ refusals: new Map([['UNFED_PATH_PARAMETER', 7], ['NO_PATH_TEMPLATE', 1]]),
196
+ today: TODAY,
197
+ });
198
+ expect(worse.refusalDelta).toEqual({ UNFED_PATH_PARAMETER: 4, NO_PATH_TEMPLATE: 1 });
199
+ // Reported, and the run still succeeds — the count is recorded at its new value.
200
+ expect(worse.ledger.refusals).toEqual({ UNFED_PATH_PARAMETER: 7, NO_PATH_TEMPLATE: 1 });
201
+ const unchanged = applyRecord({
202
+ provider,
203
+ operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],
204
+ pending: [],
205
+ ledger: worse.ledger,
206
+ decisions: undefined,
207
+ refusals: new Map([['UNFED_PATH_PARAMETER', 7], ['NO_PATH_TEMPLATE', 1]]),
208
+ today: TODAY,
209
+ });
210
+ // Silence when nothing moved, or the report becomes noise nobody reads.
211
+ expect(unchanged.refusalDelta).toEqual({});
212
+ });
213
+ it('stamps the key version, so a normalisation change cannot remint the catalogue in silence', () => {
214
+ const applied = apply([resolved('fixture_get_thing', 'GET', '/v1/things/{id}')], [], undefined);
215
+ expect(applied.ledger.keyVersion).toBe(NATURAL_KEY_VERSION);
216
+ expect(applied.ledger.operations.fixture_get_thing.rawEndpoint).toBe('GET /v1/things/{id}');
217
+ });
218
+ /**
219
+ * A vendor that leaves the sources is WITHDRAWN, not deleted (#500).
220
+ *
221
+ * The record already refused to lose an id in the two neighbouring cases — an operation the source
222
+ * drops keeps its keys, and a withheld vendor keeps its whole ledger — and the vendor-level case
223
+ * deleted the file. That was the one path where an id could be lost, and the worst of the three: a
224
+ * vendor absent upstream for one release and back the next returned with every operation freshly
225
+ * derived, breaking every application that called one of its ids, silently.
226
+ */
227
+ describe('withdrawing a whole vendor', () => {
228
+ const liveLedger = {
229
+ ref: 'fixtureco',
230
+ keyVersion: NATURAL_KEY_VERSION,
231
+ operations: {
232
+ fixtureco_create_thing: { keys: ['endpoint:POST /things'], rawEndpoint: 'POST /things', firstEmitted: '2026-01-01' },
233
+ fixtureco_list_things: { keys: ['endpoint:GET /things'], rawEndpoint: 'GET /things', firstEmitted: '2026-01-01' },
234
+ },
235
+ withdrawn: {},
236
+ refusals: { unnamed_path_hole: 3 },
237
+ };
238
+ it('moves every live operation to withdrawn, keeping its keys', () => {
239
+ const withdrawnLedger = withdrawVendor(liveLedger, TODAY, 'gone upstream');
240
+ expect(Object.keys(withdrawnLedger.operations)).toEqual([]);
241
+ expect(Object.keys(withdrawnLedger.withdrawn).sort()).toEqual(['fixtureco_create_thing', 'fixtureco_list_things']);
242
+ // The KEYS are the whole point — an id with no key cannot be matched back to a restored endpoint.
243
+ expect(withdrawnLedger.withdrawn.fixtureco_create_thing.keys).toEqual(['endpoint:POST /things']);
244
+ expect(withdrawnLedger.withdrawn.fixtureco_create_thing.since).toBe(TODAY);
245
+ });
246
+ it('RESURRECTS the ids when the vendor comes back, rather than minting new ones', () => {
247
+ /*
248
+ * The pin that IS the fix, and the only one that proves the withdrawal is read rather than
249
+ * merely written. Deleting the ledger passes every assertion above by vacuity and fails here.
250
+ */
251
+ const withdrawnLedger = withdrawVendor(liveLedger, TODAY, 'gone upstream');
252
+ const applied = applyRecord({
253
+ provider,
254
+ operations: [resolved('fixtureco_create_thing_v2', 'POST', '/things')],
255
+ pending: [],
256
+ ledger: withdrawnLedger,
257
+ decisions: undefined,
258
+ refusals: new Map(),
259
+ today: '2026-10-01',
260
+ });
261
+ expect(applied.operations[0].operationId).toBe('fixtureco_create_thing');
262
+ expect(applied.ledger.operations.fixtureco_create_thing.firstEmitted).toBe('2026-01-01');
263
+ // Back from the dead means OUT of `withdrawn` — a record naming it both live and gone
264
+ // contradicts itself, and a reader cannot tell which half to believe.
265
+ expect(applied.ledger.withdrawn.fixtureco_create_thing).toBeUndefined();
266
+ // The one that did NOT come back stays withdrawn, holding its key for next time.
267
+ expect(applied.ledger.withdrawn.fixtureco_list_things?.keys).toEqual(['endpoint:GET /things']);
268
+ });
269
+ it('drops the refusal counts, which describe an emit that no longer happens', () => {
270
+ // A frozen count reads as current. "How is this vendor trending at emit" has no answer for a
271
+ // vendor with no emit, and the honest answer is no number rather than yesterday's.
272
+ expect(withdrawVendor(liveLedger, TODAY, 'gone upstream').refusals).toEqual({});
273
+ });
274
+ it('leaves a refusals-only ledger with nothing to record, so the file goes', () => {
275
+ /*
276
+ * The case where deletion IS right, and the reason the pass does not need to special-case it:
277
+ * a vendor that never produced an operation has no id to preserve, so withdrawal reduces it to
278
+ * three empty objects and `writeLedger` removes it on that basis alone.
279
+ */
280
+ const refusalsOnly = {
281
+ ref: 'fixtureco', keyVersion: NATURAL_KEY_VERSION, operations: {}, withdrawn: {}, refusals: { unnamed_path_hole: 1 },
282
+ };
283
+ const withdrawnLedger = withdrawVendor(refusalsOnly, TODAY, 'gone upstream');
284
+ expect(Object.keys(withdrawnLedger.operations)).toEqual([]);
285
+ expect(Object.keys(withdrawnLedger.withdrawn)).toEqual([]);
286
+ expect(Object.keys(withdrawnLedger.refusals)).toEqual([]);
287
+ });
288
+ });
289
+ });
290
+ // ── The consolidated inventory ────────────────────────────────────────────────────────────────────
291
+ /**
292
+ * Four records existed and none answered "where do we stand".
293
+ *
294
+ * The ledger holds operation IDENTITY, the decisions hold hand-written judgements one file at a time,
295
+ * each vendor's `pending-operations.json` holds that vendor's own losses, and a run's summary holds
296
+ * totals that name nobody. So every question spanning the catalogue — which entries are unjudged,
297
+ * which are platform internals, which lost the most operations — meant a script across all four, and
298
+ * the answers were re-derived and then lost in a commit message.
299
+ */
300
+ describe('the catalogue inventory', () => {
301
+ const entry = (over) => ({
302
+ classification: CatalogueEntryClassification.THIRD_PARTY_VENDOR,
303
+ sources: ['ACTIVEPIECES'],
304
+ exported: true,
305
+ withheld: false,
306
+ admissibilityJudged: false,
307
+ operations: 3,
308
+ pending: 0,
309
+ unreadable: 0,
310
+ refusedAtEmit: {},
311
+ ...over,
312
+ });
313
+ it('round-trips, and sorts by ref so a diff shows a change rather than a reordering', () => {
314
+ const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));
315
+ mkdirSync(join(root, 'catalogue-record'), { recursive: true });
316
+ writeInventory(root, {
317
+ generatedOn: '2026-09-09',
318
+ sourcesRead: ['ACTIVEPIECES', 'SIM'],
319
+ entries: [entry({ ref: 'zoom' }), entry({ ref: 'asana' }), entry({ ref: 'mistral-ai' })],
320
+ });
321
+ const read = readInventory(root);
322
+ expect(read?.entries.map((e) => e.ref)).toEqual(['asana', 'mistral-ai', 'zoom']);
323
+ expect(read?.sourcesRead).toEqual(['ACTIVEPIECES', 'SIM']);
324
+ rmSync(root, { recursive: true, force: true });
325
+ });
326
+ it('SUPERSEDES the withheld record rather than sitting beside it', () => {
327
+ // Two overlapping reports is how a reader comes to trust the stale one. The old file answered a
328
+ // strict subset of this one, so the first run that writes an inventory removes it — a checkout
329
+ // that predates the change converges instead of carrying both.
330
+ const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));
331
+ mkdirSync(join(root, 'catalogue-record'), { recursive: true });
332
+ writeFileSync(join(root, 'catalogue-record/withheld.json'), '{"vendors":[]}\n', 'utf8');
333
+ writeInventory(root, { generatedOn: '2026-09-09', sourcesRead: ['SIM'], entries: [entry({ ref: 'a' })] });
334
+ expect(existsSync(join(root, 'catalogue-record/withheld.json'))).toBe(false);
335
+ expect(existsSync(join(root, 'catalogue-record/inventory.json'))).toBe(true);
336
+ rmSync(root, { recursive: true, force: true });
337
+ });
338
+ it('keeps WITHHELD and PRODUCED-NOTHING apart — they look alike and are not', () => {
339
+ // Both end up unexported, and conflating them loses the only thing worth knowing: one is a
340
+ // decision somebody made and can revisit, the other is a transposer failure somebody could fix.
341
+ const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));
342
+ mkdirSync(join(root, 'catalogue-record'), { recursive: true });
343
+ writeInventory(root, {
344
+ generatedOn: '2026-09-09',
345
+ sourcesRead: ['SIM'],
346
+ entries: [
347
+ entry({ ref: 'activepieces', exported: false, withheld: true, classification: CatalogueEntryClassification.SOURCE_PLATFORM_INTERNAL }),
348
+ entry({ ref: 'semrush', exported: false, withheld: false, operations: 0, unreadable: 44 }),
349
+ ],
350
+ });
351
+ const read = readInventory(root);
352
+ const [platform, failed] = read.entries;
353
+ expect(platform.withheld).toBe(true);
354
+ expect(platform.classification).toBe(CatalogueEntryClassification.SOURCE_PLATFORM_INTERNAL);
355
+ expect(failed.withheld).toBe(false);
356
+ expect(failed.unreadable).toBe(44);
357
+ rmSync(root, { recursive: true, force: true });
358
+ });
359
+ it('every classification has a stable wire value, because it is stored in a committed file', () => {
360
+ // These land in `decisions/*.json` and in the inventory, both of which are read back by later
361
+ // runs and diffed by people. Renaming a member is a data migration, not a rename, so the values
362
+ // are pinned rather than left to whatever the enum happens to emit.
363
+ expect(Object.values(CatalogueEntryClassification)).toEqual([
364
+ 'third-party-vendor',
365
+ 'source-platform-internal',
366
+ 'core-provider-duplicate',
367
+ 'infrastructure-not-integration',
368
+ 'vendor-service-family-member',
369
+ ]);
370
+ });
371
+ });
372
+ //# sourceMappingURL=provider-catalogue-record.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-catalogue-record.test.js","sourceRoot":"","sources":["../../../../../../src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,aAAa,EACb,cAAc,GAGf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,kBAAkB,EAClB,6BAA6B,GAG9B,MAAM,8BAA8B,CAAC;AAEtC;;;;;;;;;GASG;AACH,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,MAAM,UAAU,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAW,CAAC;IAC3F,MAAM,KAAK,GAAG,YAAY,CAAC;IAE3B,MAAM,QAAQ,GAAG,CAAC,WAAmB,EAAE,MAAc,EAAE,YAAoB,EAAuB,EAAE,CAAC,CAAC;QACpG,WAAW;QACX,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,6BAA6B,CAAC,QAAQ;QAClD,MAAM;QACN,YAAY;QACZ,cAAc,EAAE,MAAM;QACtB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,KAAK;QACrB,UAAU;KACX,CAAC,CAAC;IAEH,MAAM,gBAAgB,GAAG,CAAC,WAAmB,EAAE,mBAA2B,EAAuB,EAAE,CAAC,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;YACzB,gCAAgC;YAChC,8BAA8B;SAC/B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';\nimport { tmpdir } from 'node:os';\nimport { join } from 'node:path';\n\nimport { describe, expect, it } from 'vitest';\n\nimport {\n NATURAL_KEY_VERSION,\n applyRecord,\n naturalKeysFor,\n withdrawVendor,\n CatalogueEntryClassification,\n readInventory,\n writeInventory,\n type CatalogueLedger,\n type InventoryEntry,\n} from '../provider-catalogue-record';\nimport {\n TransposedAuthKind,\n TransposedOperationResolution,\n type TransposedOperation,\n type TransposedProvider,\n} from '../transposed-provider.model';\n\n/**\n * What the record PROMISES: an id an application already calls does not move.\n *\n * The derivation it replaces is genuinely unstable — an operation id comes from the source's action\n * name, then a method suffix, then a path tail, then an ordinal — so a source rename, a new\n * colliding operation, or a pending operation finally resolving each moves an id with no signal\n * anywhere. 6,054 ids are exposed this way.\n *\n * Each pin below is one of the ways that happens.\n */\ndescribe('the catalogue record', () => {\n const provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' } as const;\n const TODAY = '2026-09-08';\n\n const resolved = (operationId: string, method: string, pathTemplate: string): TransposedOperation => ({\n operationId,\n domain: 'default',\n resolution: TransposedOperationResolution.RESOLVED,\n method,\n pathTemplate,\n classification: 'READ',\n parameters: [],\n inputFields: [],\n hasRequestBody: false,\n provenance,\n });\n\n const pendingOperation = (operationId: string, vendorOperationName: string): TransposedOperation => ({\n operationId,\n domain: 'default',\n resolution: TransposedOperationResolution.PENDING_ENDPOINT,\n vendorOperationName,\n classification: 'WRITE',\n parameters: [],\n inputFields: [],\n hasRequestBody: false,\n provenance,\n });\n\n const provider: TransposedProvider = {\n ref: 'fixtureco',\n vendor: 'fixtureco',\n auth: { kind: TransposedAuthKind.SECRET_TEXT },\n operations: [],\n provenances: [provenance],\n };\n\n const apply = (\n operations: readonly TransposedOperation[],\n pending: readonly TransposedOperation[],\n ledger: CatalogueLedger | undefined,\n decisions?: Parameters<typeof applyRecord>[0]['decisions'],\n ) => applyRecord({ provider, operations, pending, ledger, decisions, refusals: new Map(), today: TODAY });\n\n it('keys on the ENDPOINT, never on the id the run derived', () => {\n // Keying on the id would defeat the whole purpose: the id is the thing being stabilised. Path\n // holes are normalised away so a parameter rename is not an endpoint change.\n expect(naturalKeysFor(resolved('anything', 'GET', '/v1/users/{userId}'))).toEqual(['endpoint:GET /v1/users/{}']);\n expect(naturalKeysFor(pendingOperation('anything', 'files.uploadV2'))).toEqual(['vendorOperation:files.uploadV2']);\n });\n\n it('makes an id that cannot be typed into one that can, BEFORE the ledger freezes it', () => {\n // A source that titles an action \"Add Order Note\" produces exactly that as the operation id, and\n // the id is the address an application calls. 16 of 6,054 arrived carrying a space or a\n // parenthesis. Normalising after the ledger is seeded would be a rename, which is the one thing\n // the ledger exists to prevent — so it happens on the way in.\n const applied = apply([resolved('Add Order Note', 'POST', '/wp-json/wc/v3/orders/{}/notes')], [], undefined);\n\n expect(applied.operations[0]!.operationId).toBe('Add_Order_Note');\n expect(applied.ledger.operations.Add_Order_Note).toBeDefined();\n expect(applied.ledger.operations['Add Order Note']).toBeUndefined();\n });\n\n it('keeps the recorded id when the SOURCE renames the action', () => {\n // The failure this exists for. A catalogue renames `slack-send-message` to `slack-post-message`\n // upstream; the endpoint is identical, so the operation is identical, and an application calling\n // the old id must keep working.\n const first = apply([resolved('fixture_send_message', 'POST', '/v1/messages')], [], undefined);\n expect(first.operations[0]!.operationId).toBe('fixture_send_message');\n\n const second = apply([resolved('fixture_post_message', 'POST', '/v1/messages')], [], first.ledger);\n expect(second.operations[0]!.operationId).toBe('fixture_send_message');\n expect(second.ledger.operations.fixture_post_message).toBeUndefined();\n });\n\n it('does NOT rename an operation when it stops being pending', () => {\n // The most common GOOD event in this lane, and a single-key ledger would treat it as a\n // withdrawal plus an arrival. The row absorbs the endpoint key and keeps the id.\n const first = apply([], [pendingOperation('uploadFile', 'files.uploadV2')], undefined);\n expect(first.ledger.operations.uploadFile!.pending).toBe(true);\n\n const nowResolved: TransposedOperation = {\n ...resolved('files_upload_v2', 'POST', '/api/files.getUploadURLExternal'),\n vendorOperationName: 'files.uploadV2',\n };\n const second = apply([nowResolved], [], first.ledger);\n\n expect(second.operations[0]!.operationId).toBe('uploadFile');\n expect(second.ledger.operations.uploadFile!.keys).toContain('endpoint:POST /api/files.getUploadURLExternal');\n expect(second.ledger.operations.uploadFile!.keys).toContain('vendorOperation:files.uploadV2');\n expect(second.ledger.withdrawn.uploadFile).toBeUndefined();\n expect(second.ledger.operations.uploadFile!.pending).toBeUndefined();\n });\n\n it('records a WITHDRAWAL rather than letting an operation vanish silently', () => {\n // A caller of a removed id deserves \"withdrawn on <date>, the source removed it\" and not\n // \"unknown operation\". Only this file can say which.\n const first = apply([resolved('fixture_get_thing', 'GET', '/v1/things')], [], undefined);\n const second = apply([], [], first.ledger);\n\n expect(second.ledger.operations.fixture_get_thing).toBeUndefined();\n expect(second.ledger.withdrawn.fixture_get_thing).toEqual({\n since: TODAY,\n keys: ['endpoint:GET /v1/things'],\n // Carried through the withdrawal (#500), so a resurrection restores the date the id first\n // appeared instead of calling a long-standing id new on the day it comes back.\n firstEmitted: TODAY,\n // The reason states WHAT was observed, never WHY. It claimed \"the source no longer describes\n // it\" until 2026-09-09, when the emitter began refusing Salesforce's SOQL-as-a-path operations\n // and the record wrote that sentence three times about operations the source still describes.\n reason: expect.stringContaining('matched any of its natural keys'),\n });\n expect(second.ledger.withdrawn.fixture_get_thing!.reason).not.toContain('source no longer');\n });\n\n it('un-withdraws an operation that comes back, rather than recording it in both places', () => {\n // A source can restore an endpoint. Leaving the id in `withdrawn` while it is live again would\n // make the record contradict itself, and a record that contradicts itself is not consultable.\n const first = apply([resolved('fixture_get_thing', 'GET', '/v1/things')], [], undefined);\n const gone = apply([], [], first.ledger);\n const back = apply([resolved('fixture_renamed_upstream', 'GET', '/v1/things')], [], gone.ledger);\n\n expect(back.operations[0]!.operationId).toBe('fixture_get_thing');\n expect(back.ledger.withdrawn.fixture_get_thing).toBeUndefined();\n });\n\n it('ACCUMULATES keys, so an alias the source stops carrying still identifies the operation', () => {\n // The union is not decoration. A catalogue can drop the SDK-backed action that named the vendor\n // operation while another keeps the endpoint — the operation is unchanged and its old alias is\n // the only thing that will still match it if the endpoint later moves. Without the union the row\n // narrows to whatever the LAST run happened to see, and the history is gone.\n const withBothKeys: TransposedOperation = {\n ...resolved('fixture_upload', 'POST', '/v1/upload'),\n vendorOperationName: 'files.uploadV2',\n };\n const first = apply([withBothKeys], [], undefined);\n expect(first.ledger.operations.fixture_upload!.keys).toHaveLength(2);\n\n // The next run sees only the endpoint — the action that named `files.uploadV2` is gone upstream.\n const second = apply([resolved('fixture_upload', 'POST', '/v1/upload')], [], first.ledger);\n expect(second.ledger.operations.fixture_upload!.keys).toContain('vendorOperation:files.uploadV2');\n\n // Which is what lets a third run match it when the endpoint moves and the action returns.\n const third = apply([pendingOperation('some_new_derived_name', 'files.uploadV2')], [], second.ledger);\n expect(third.ledger.operations.fixture_upload).toBeDefined();\n expect(third.ledger.withdrawn.fixture_upload).toBeUndefined();\n });\n\n it('lets a RECORDED id beat a freshly derived one that collides with it', () => {\n // A new upstream operation whose derived id collides with a recorded one must yield: the\n // recorded id is the one an application is already calling. The derivation used to decide this\n // by map insertion order, which is filesystem-dependent.\n const first = apply([resolved('fixture_thing', 'GET', '/v1/things')], [], undefined);\n const second = apply(\n [resolved('fixture_thing', 'POST', '/v1/things/new'), resolved('unrelated_name', 'GET', '/v1/things')],\n [],\n first.ledger,\n );\n\n const byPath = Object.fromEntries(second.operations.map((operation) => [operation.pathTemplate, operation.operationId]));\n expect(byPath['/v1/things']).toBe('fixture_thing');\n expect(byPath['/v1/things/new']).toBe('fixture_thing-2');\n });\n\n it('follows a SUCCESSION a human declared, so a version bump is not a rename', () => {\n // `/v1/x` → `/v2/x` produces a new natural key, which without this reads as a withdrawal plus an\n // arrival. Asserting that two endpoints are one operation is a judgement no generator can make.\n const first = apply([resolved('fixture_list', 'GET', '/v1/things')], [], undefined);\n const second = apply([resolved('fixture_list_v2', 'GET', '/v2/things')], [], first.ledger, {\n ref: 'fixtureco',\n reason: 'the vendor moved the endpoint to v2 without changing the operation',\n succession: { 'endpoint:GET /v2/things': 'endpoint:GET /v1/things' },\n });\n\n expect(second.operations[0]!.operationId).toBe('fixture_list');\n expect(second.ledger.withdrawn.fixture_list).toBeUndefined();\n });\n\n it('REPORTS a succession that matched nothing, rather than passing silently', () => {\n // The reconciliation turns this into a refused batch. A succession for an endpoint that moved\n // again is a correction that has stopped applying, and it is invisible unless something says so.\n const applied = apply([resolved('fixture_list', 'GET', '/v1/things')], [], undefined, {\n ref: 'fixtureco',\n reason: 'stale',\n succession: { 'endpoint:GET /v3/things': 'endpoint:GET /v1/things' },\n });\n\n expect(applied.unmatched).toEqual([\n { ref: 'fixtureco', kind: 'succession', detail: expect.stringContaining(\"'endpoint:GET /v3/things'\") },\n ]);\n });\n\n it('reports how the refusal count MOVED, rather than gating on it', () => {\n // Growth here is ordinary: an upstream catalogue adding an operation with a positionally-named\n // path hole produces it, and refusing that would make the batch un-runnable for a reason nobody\n // can act on. So the movement is surfaced and the count is committed, and the diff is the record.\n const withRefusals = (counts: Record<string, number>) =>\n applyRecord({\n provider,\n operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],\n pending: [],\n ledger: undefined,\n decisions: undefined,\n refusals: new Map(Object.entries(counts)),\n today: TODAY,\n });\n\n const first = withRefusals({ UNFED_PATH_PARAMETER: 3 });\n expect(first.refusalDelta).toEqual({ UNFED_PATH_PARAMETER: 3 });\n\n const worse = applyRecord({\n provider,\n operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],\n pending: [],\n ledger: first.ledger,\n decisions: undefined,\n refusals: new Map([['UNFED_PATH_PARAMETER', 7], ['NO_PATH_TEMPLATE', 1]]),\n today: TODAY,\n });\n expect(worse.refusalDelta).toEqual({ UNFED_PATH_PARAMETER: 4, NO_PATH_TEMPLATE: 1 });\n // Reported, and the run still succeeds — the count is recorded at its new value.\n expect(worse.ledger.refusals).toEqual({ UNFED_PATH_PARAMETER: 7, NO_PATH_TEMPLATE: 1 });\n\n const unchanged = applyRecord({\n provider,\n operations: [resolved('fixture_get_thing', 'GET', '/v1/things')],\n pending: [],\n ledger: worse.ledger,\n decisions: undefined,\n refusals: new Map([['UNFED_PATH_PARAMETER', 7], ['NO_PATH_TEMPLATE', 1]]),\n today: TODAY,\n });\n // Silence when nothing moved, or the report becomes noise nobody reads.\n expect(unchanged.refusalDelta).toEqual({});\n });\n\n it('stamps the key version, so a normalisation change cannot remint the catalogue in silence', () => {\n const applied = apply([resolved('fixture_get_thing', 'GET', '/v1/things/{id}')], [], undefined);\n expect(applied.ledger.keyVersion).toBe(NATURAL_KEY_VERSION);\n expect(applied.ledger.operations.fixture_get_thing!.rawEndpoint).toBe('GET /v1/things/{id}');\n });\n\n /**\n * A vendor that leaves the sources is WITHDRAWN, not deleted (#500).\n *\n * The record already refused to lose an id in the two neighbouring cases — an operation the source\n * drops keeps its keys, and a withheld vendor keeps its whole ledger — and the vendor-level case\n * deleted the file. That was the one path where an id could be lost, and the worst of the three: a\n * vendor absent upstream for one release and back the next returned with every operation freshly\n * derived, breaking every application that called one of its ids, silently.\n */\n describe('withdrawing a whole vendor', () => {\n const liveLedger: CatalogueLedger = {\n ref: 'fixtureco',\n keyVersion: NATURAL_KEY_VERSION,\n operations: {\n fixtureco_create_thing: { keys: ['endpoint:POST /things'], rawEndpoint: 'POST /things', firstEmitted: '2026-01-01' },\n fixtureco_list_things: { keys: ['endpoint:GET /things'], rawEndpoint: 'GET /things', firstEmitted: '2026-01-01' },\n },\n withdrawn: {},\n refusals: { unnamed_path_hole: 3 },\n };\n\n it('moves every live operation to withdrawn, keeping its keys', () => {\n const withdrawnLedger = withdrawVendor(liveLedger, TODAY, 'gone upstream');\n\n expect(Object.keys(withdrawnLedger.operations)).toEqual([]);\n expect(Object.keys(withdrawnLedger.withdrawn).sort()).toEqual(['fixtureco_create_thing', 'fixtureco_list_things']);\n // The KEYS are the whole point — an id with no key cannot be matched back to a restored endpoint.\n expect(withdrawnLedger.withdrawn.fixtureco_create_thing.keys).toEqual(['endpoint:POST /things']);\n expect(withdrawnLedger.withdrawn.fixtureco_create_thing.since).toBe(TODAY);\n });\n\n it('RESURRECTS the ids when the vendor comes back, rather than minting new ones', () => {\n /*\n * The pin that IS the fix, and the only one that proves the withdrawal is read rather than\n * merely written. Deleting the ledger passes every assertion above by vacuity and fails here.\n */\n const withdrawnLedger = withdrawVendor(liveLedger, TODAY, 'gone upstream');\n\n const applied = applyRecord({\n provider,\n operations: [resolved('fixtureco_create_thing_v2', 'POST', '/things')],\n pending: [],\n ledger: withdrawnLedger,\n decisions: undefined,\n refusals: new Map(),\n today: '2026-10-01',\n });\n\n expect(applied.operations[0].operationId).toBe('fixtureco_create_thing');\n expect(applied.ledger.operations.fixtureco_create_thing.firstEmitted).toBe('2026-01-01');\n // Back from the dead means OUT of `withdrawn` — a record naming it both live and gone\n // contradicts itself, and a reader cannot tell which half to believe.\n expect(applied.ledger.withdrawn.fixtureco_create_thing).toBeUndefined();\n // The one that did NOT come back stays withdrawn, holding its key for next time.\n expect(applied.ledger.withdrawn.fixtureco_list_things?.keys).toEqual(['endpoint:GET /things']);\n });\n\n it('drops the refusal counts, which describe an emit that no longer happens', () => {\n // A frozen count reads as current. \"How is this vendor trending at emit\" has no answer for a\n // vendor with no emit, and the honest answer is no number rather than yesterday's.\n expect(withdrawVendor(liveLedger, TODAY, 'gone upstream').refusals).toEqual({});\n });\n\n it('leaves a refusals-only ledger with nothing to record, so the file goes', () => {\n /*\n * The case where deletion IS right, and the reason the pass does not need to special-case it:\n * a vendor that never produced an operation has no id to preserve, so withdrawal reduces it to\n * three empty objects and `writeLedger` removes it on that basis alone.\n */\n const refusalsOnly: CatalogueLedger = {\n ref: 'fixtureco', keyVersion: NATURAL_KEY_VERSION, operations: {}, withdrawn: {}, refusals: { unnamed_path_hole: 1 },\n };\n const withdrawnLedger = withdrawVendor(refusalsOnly, TODAY, 'gone upstream');\n\n expect(Object.keys(withdrawnLedger.operations)).toEqual([]);\n expect(Object.keys(withdrawnLedger.withdrawn)).toEqual([]);\n expect(Object.keys(withdrawnLedger.refusals)).toEqual([]);\n });\n });\n});\n\n// ── The consolidated inventory ────────────────────────────────────────────────────────────────────\n\n/**\n * Four records existed and none answered \"where do we stand\".\n *\n * The ledger holds operation IDENTITY, the decisions hold hand-written judgements one file at a time,\n * each vendor's `pending-operations.json` holds that vendor's own losses, and a run's summary holds\n * totals that name nobody. So every question spanning the catalogue — which entries are unjudged,\n * which are platform internals, which lost the most operations — meant a script across all four, and\n * the answers were re-derived and then lost in a commit message.\n */\ndescribe('the catalogue inventory', () => {\n const entry = (over: Partial<InventoryEntry> & { ref: string }): InventoryEntry => ({\n classification: CatalogueEntryClassification.THIRD_PARTY_VENDOR,\n sources: ['ACTIVEPIECES'],\n exported: true,\n withheld: false,\n admissibilityJudged: false,\n operations: 3,\n pending: 0,\n unreadable: 0,\n refusedAtEmit: {},\n ...over,\n });\n\n it('round-trips, and sorts by ref so a diff shows a change rather than a reordering', () => {\n const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));\n mkdirSync(join(root, 'catalogue-record'), { recursive: true });\n\n writeInventory(root, {\n generatedOn: '2026-09-09',\n sourcesRead: ['ACTIVEPIECES', 'SIM'],\n entries: [entry({ ref: 'zoom' }), entry({ ref: 'asana' }), entry({ ref: 'mistral-ai' })],\n });\n\n const read = readInventory(root);\n expect(read?.entries.map((e) => e.ref)).toEqual(['asana', 'mistral-ai', 'zoom']);\n expect(read?.sourcesRead).toEqual(['ACTIVEPIECES', 'SIM']);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('SUPERSEDES the withheld record rather than sitting beside it', () => {\n // Two overlapping reports is how a reader comes to trust the stale one. The old file answered a\n // strict subset of this one, so the first run that writes an inventory removes it — a checkout\n // that predates the change converges instead of carrying both.\n const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));\n mkdirSync(join(root, 'catalogue-record'), { recursive: true });\n writeFileSync(join(root, 'catalogue-record/withheld.json'), '{\"vendors\":[]}\\n', 'utf8');\n\n writeInventory(root, { generatedOn: '2026-09-09', sourcesRead: ['SIM'], entries: [entry({ ref: 'a' })] });\n\n expect(existsSync(join(root, 'catalogue-record/withheld.json'))).toBe(false);\n expect(existsSync(join(root, 'catalogue-record/inventory.json'))).toBe(true);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('keeps WITHHELD and PRODUCED-NOTHING apart — they look alike and are not', () => {\n // Both end up unexported, and conflating them loses the only thing worth knowing: one is a\n // decision somebody made and can revisit, the other is a transposer failure somebody could fix.\n const root = mkdtempSync(join(tmpdir(), 'wildo-inventory-'));\n mkdirSync(join(root, 'catalogue-record'), { recursive: true });\n\n writeInventory(root, {\n generatedOn: '2026-09-09',\n sourcesRead: ['SIM'],\n entries: [\n entry({ ref: 'activepieces', exported: false, withheld: true, classification: CatalogueEntryClassification.SOURCE_PLATFORM_INTERNAL }),\n entry({ ref: 'semrush', exported: false, withheld: false, operations: 0, unreadable: 44 }),\n ],\n });\n\n const read = readInventory(root)!;\n const [platform, failed] = read.entries;\n expect(platform!.withheld).toBe(true);\n expect(platform!.classification).toBe(CatalogueEntryClassification.SOURCE_PLATFORM_INTERNAL);\n expect(failed!.withheld).toBe(false);\n expect(failed!.unreadable).toBe(44);\n rmSync(root, { recursive: true, force: true });\n });\n\n it('every classification has a stable wire value, because it is stored in a committed file', () => {\n // These land in `decisions/*.json` and in the inventory, both of which are read back by later\n // runs and diffed by people. Renaming a member is a data migration, not a rename, so the values\n // are pinned rather than left to whatever the enum happens to emit.\n expect(Object.values(CatalogueEntryClassification)).toEqual([\n 'third-party-vendor',\n 'source-platform-internal',\n 'core-provider-duplicate',\n 'infrastructure-not-integration',\n 'vendor-service-family-member',\n ]);\n });\n});\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=transposition-contract.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transposition-contract.test.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/provider-transposition/__tests__/transposition-contract.test.ts"],"names":[],"mappings":""}