@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,794 @@
1
+ import { existsSync } from 'node:fs';
2
+ import { join } from 'node:path';
3
+ import { describe, expect, it } from 'vitest';
4
+ import { mkdtempSync, readFileSync } from 'node:fs';
5
+ import { tmpdir } from 'node:os';
6
+ import { ProviderCompanionContributionSchema } from '@wildo-ai/saas-models/companion';
7
+ import { readActivepiecesPiece } from '../activepieces-source.reader.js';
8
+ import { emitProvidersPackage, planProvidersPackage } from '../provider-package.emitter.js';
9
+ import { readSimToolFamily } from '../sim-source.reader.js';
10
+ import { mergeTransposedProviders } from '../provider-merge.js';
11
+ import { TransposedAuthKind, TransposedInputKind, TransposedOperationResolution, TransposedParameterLocation, } from '../transposed-provider.model.js';
12
+ /**
13
+ * What the transposer PROMISES about its output, pinned against the real source catalogues.
14
+ *
15
+ * These are contract pins, not coverage: each one fails if a specific extraction guarantee breaks,
16
+ * and each cites the source shape it exists for. The alternative — asserting counts — would redden
17
+ * on every upstream refresh and teach the next reader to update the number rather than read the
18
+ * failure.
19
+ *
20
+ * ## Why this is here and not in the engine
21
+ *
22
+ * The other half of the proof — that a catalogue of this shape actually executes — already exists in
23
+ * `saas-backend-lib`'s `provider-operations.end-to-end.test.ts`, against a real `node:http` server.
24
+ * Joining the two halves (a GENERATED catalogue executing over the wire) needs the providers package
25
+ * installed in a process that also has the executor, and the engine must not depend on the packages
26
+ * it generates. That join belongs in an application or in `platform/testing`, and is recorded as
27
+ * owed rather than faked here.
28
+ *
29
+ * ## Skipped, not failed, without the catalogues
30
+ *
31
+ * The sources are a SIBLING checkout (`../connector-scrapping-sources/`), deliberately outside this
32
+ * repository. A machine without them should report these as skipped; making them fail would turn a
33
+ * missing optional input into a red suite for everyone.
34
+ */
35
+ const CATALOGUE_ROOT = join(process.cwd(), '..', '..', '..', '..', 'connector-scrapping-sources');
36
+ const ACTIVEPIECES = join(CATALOGUE_ROOT, 'activepieces', 'packages', 'pieces', 'community');
37
+ const SIM = join(CATALOGUE_ROOT, 'sim', 'apps', 'sim', 'tools');
38
+ const haveSources = existsSync(ACTIVEPIECES) && existsSync(SIM);
39
+ const withSources = haveSources ? describe : describe.skip;
40
+ withSources('Activepieces reader', () => {
41
+ it('recovers a path template and its PATH parameters from a call written positionally', () => {
42
+ // `clockify` writes `clockifyApiCall({ method: HttpMethod.GET, resourceUri: `/workspaces/${x}/…` })`
43
+ // — the per-piece client shape a quarter of the catalogue uses. The pin is the TEMPLATE, because
44
+ // an extractor that dropped the interpolation would still produce a plausible-looking path.
45
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'clockify'), sourceVersion: 'test' });
46
+ const operation = provider.operations.find((o) => o.operationId === 'find-task');
47
+ expect(operation?.resolution).toBe(TransposedOperationResolution.RESOLVED);
48
+ expect(operation?.method).toBe('GET');
49
+ expect(operation?.pathTemplate).toBe('/workspaces/{workspaceId}/projects/{projectId}/tasks');
50
+ expect(operation?.parameters.filter((p) => p.in === TransposedParameterLocation.PATH).map((p) => p.name))
51
+ .toEqual(['workspaceId', 'projectId']);
52
+ });
53
+ it('records an SDK-backed action as PENDING with the vendor operation it named, never as executable', () => {
54
+ // Slack's actions call `client.conversations.create(…)`: the operation identity is in the source
55
+ // and the endpoint is not. Emitting it with a guessed path is the one thing the transposer must
56
+ // never do, so the pin is on the RESOLUTION as much as on the name.
57
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' });
58
+ const pending = provider.operations.filter((o) => o.resolution === TransposedOperationResolution.PENDING_ENDPOINT);
59
+ expect(pending.length).toBeGreaterThan(0);
60
+ expect(pending.every((o) => o.pathTemplate === undefined && o.method === undefined)).toBe(true);
61
+ expect(pending.map((o) => o.vendorOperationName)).toContain('conversations.create');
62
+ });
63
+ it('does not mistake the piece-authoring API for a vendor SDK call', () => {
64
+ // `props: { x: Property.ShortText({…}) }` is structurally identical to `client.a.b(…)`. Scanning
65
+ // the whole action once made 48 of Slack's actions report `ShortText` as their vendor operation.
66
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' });
67
+ const names = provider.operations.map((o) => o.vendorOperationName).filter((n) => n !== undefined);
68
+ expect(names).not.toContain('ShortText');
69
+ expect(names).not.toContain('Checkbox');
70
+ expect(names.some((n) => n === 'push' || n === 'map')).toBe(false);
71
+ });
72
+ });
73
+ withSources('paths that are not written where the call is', () => {
74
+ it('finds a path passed BEFORE the method, and declares the holes the string itself carries', () => {
75
+ // `makeAmpecoApiCall(auth, url, HttpMethod.GET, body, query)` puts the path first; argument order
76
+ // is a per-wrapper convention and the catalogue uses both. And the path it resolves to is
77
+ // `processPathParameters('/public-api/notifications/v2.0', props)` — a template whose holes, when
78
+ // it has them, are written LITERALLY as `{token}` rather than interpolated, so they need a
79
+ // declared parameter or the emitter refuses the operation as incoherent.
80
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'ampeco'), sourceVersion: 'test' });
81
+ const resolved = provider.operations.filter((o) => o.resolution === TransposedOperationResolution.RESOLVED);
82
+ expect(resolved.length).toBeGreaterThan(0);
83
+ for (const operation of resolved) {
84
+ const declared = new Set(operation.parameters.filter((p) => p.in === TransposedParameterLocation.PATH).map((p) => p.name));
85
+ for (const hole of [...(operation.pathTemplate ?? '').matchAll(/\{([^}]+)\}/g)].map((m) => m[1])) {
86
+ expect(declared.has(hole)).toBe(true);
87
+ }
88
+ }
89
+ });
90
+ it('follows a positional call whose path is a local const, and drops an optional query suffix', () => {
91
+ // `makeRequest(auth, HttpMethod.GET, path)` with `path` built a few lines above as
92
+ // `` `/calls/search${queryString ? `?${queryString}` : ''}` ``. The suffix's whole job is "append
93
+ // a query string if there is one", so the PATH is the branch without it. Naming it as a hole
94
+ // would invent a `{queryString}` path segment the vendor has never heard of — the pin is that the
95
+ // template is clean AND that no parameter was fabricated.
96
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'aircall'), sourceVersion: 'test' });
97
+ const find = provider.operations.find((o) => o.operationId === 'findCalls');
98
+ expect(find?.resolution).toBe(TransposedOperationResolution.RESOLVED);
99
+ expect(find?.method).toBe('GET');
100
+ expect(find?.pathTemplate).toBe('/calls/search');
101
+ expect(find?.parameters).toHaveLength(0);
102
+ });
103
+ it('refuses rather than collapsing a conditional that picks between two different paths', () => {
104
+ // Only a suffix whose other branch is an empty string collapses. A genuine either/or between two
105
+ // endpoints has no single answer, and guessing one puts an operation somewhere nobody asked for.
106
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'deepl'), sourceVersion: 'test' });
107
+ const resolved = provider.operations.filter((o) => o.resolution === TransposedOperationResolution.RESOLVED);
108
+ expect(resolved.every((o) => !(o.pathTemplate ?? '').includes('?'))).toBe(true);
109
+ });
110
+ });
111
+ withSources('a declared parameter names the input that feeds it', () => {
112
+ it('reads a prop declared as a shared const, not only as a `Property.*` call', () => {
113
+ // `contactId: activecampaignCommon.contactId` is an input the caller must supply. Skipping it
114
+ // because it is a reference rather than a call was the single largest cause of operations whose
115
+ // own path hole nothing could fill. Kind and requiredness live in the const, so both are recorded
116
+ // honestly — UNKNOWN, not required — rather than guessed.
117
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'activecampaign'), sourceVersion: 'test' });
118
+ const update = provider.operations.find((o) => o.operationId === 'activecampaign_update_contact');
119
+ expect(update?.inputFields.map((f) => f.name)).toContain('contactId');
120
+ });
121
+ it('records the rename a source WROTE, and never one it did not', () => {
122
+ // `const { faq_id: faqId } = context.propsValue` then `/knowledge/${faqId}`: the mapping is in the
123
+ // destructuring, so `from` is read rather than guessed. The contract's JSDoc insists on that —
124
+ // `faqId` → `faq_id` looks like a camel/snake rule until `userId` → `user` and `base` → `baseId`
125
+ // turn up in the same catalogue.
126
+ // `webflow` carries the most of them (14); `aidbase` reads its rename a way this does not cover.
127
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'webflow'), sourceVersion: 'test' });
128
+ const withFrom = provider.operations.flatMap((o) => o.parameters).filter((p) => p.from !== undefined);
129
+ expect(withFrom.length).toBeGreaterThan(0);
130
+ // Every `from` names a field the operation actually declares — a mapping onto nothing is worse
131
+ // than none, because it looks resolved.
132
+ for (const operation of provider.operations) {
133
+ const declared = new Set(operation.inputFields.map((f) => f.name));
134
+ for (const parameter of operation.parameters) {
135
+ if (parameter.from !== undefined)
136
+ expect(declared.has(parameter.from)).toBe(true);
137
+ }
138
+ }
139
+ });
140
+ });
141
+ withSources('trigger transposition', () => {
142
+ it('turns a POLLING trigger into a READ operation carrying its dedupe strategy', () => {
143
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'hunter'), sourceVersion: 'test' });
144
+ const poll = provider.operations.find((o) => o.operationId === 'trigger.new-lead.poll');
145
+ expect(poll?.resolution).toBe(TransposedOperationResolution.RESOLVED);
146
+ expect(poll?.method).toBe('GET');
147
+ expect(poll?.pathTemplate).toBe('/leads');
148
+ expect(poll?.classification).toBe('READ');
149
+ // What a scheduler needs and all it needs: HOW to tell a new item from one already seen.
150
+ expect(poll?.summary).toContain('TIMEBASED');
151
+ });
152
+ it('turns a WEBHOOK trigger into subscribe and unsubscribe operations', () => {
153
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'clickup'), sourceVersion: 'test' });
154
+ const subscribe = provider.operations.find((o) => o.operationId === 'trigger.task_tag_updated.subscribe');
155
+ const unsubscribe = provider.operations.find((o) => o.operationId === 'trigger.task_tag_updated.unsubscribe');
156
+ expect(subscribe?.method).toBe('POST');
157
+ expect(subscribe?.pathTemplate).toBe('/api/v2/team/{workspace_id}/webhook');
158
+ expect(subscribe?.classification).toBe('WRITE');
159
+ expect(unsubscribe?.method).toBe('DELETE');
160
+ expect(unsubscribe?.pathTemplate).toBe('/api/v2/webhook/{id}');
161
+ });
162
+ it('gives each polling trigger in a piece its OWN endpoint', () => {
163
+ // A piece-wide lookup for the polling contract's `items` would hand every trigger in the piece
164
+ // the endpoint of whichever was indexed first — a wrong endpoint on a real trigger, which is the
165
+ // one failure this transposer must never produce. The pin is that distinct triggers disagree.
166
+ // `meistertask` has NINE polling triggers on nine distinct endpoints — chosen because a
167
+ // conditional pin on a piece with one trigger is decoration that can never fail.
168
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'meistertask'), sourceVersion: 'test' });
169
+ const polls = provider.operations.filter((o) => o.operationId.endsWith('.poll'));
170
+ expect(polls.length).toBeGreaterThan(1);
171
+ expect(new Set(polls.map((o) => o.pathTemplate)).size).toBe(polls.length);
172
+ });
173
+ });
174
+ withSources('Sim reader', () => {
175
+ it('peels an arrow-returned template into a path template', () => {
176
+ const { provider } = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' });
177
+ const archive = provider.operations.find((o) => o.operationId === 'slack_archive_conversation');
178
+ expect(archive?.resolution).toBe(TransposedOperationResolution.RESOLVED);
179
+ expect(archive?.method).toBe('POST');
180
+ expect(archive?.pathTemplate).toBe('/api/conversations.archive');
181
+ expect(provider.baseUrl).toBe('https://slack.com');
182
+ });
183
+ it('reads the vendor host, not Sim’s own server', () => {
184
+ // On a nine-month-stale checkout many tools posted to `/api/tools/<vendor>/…`, Sim's own route,
185
+ // with the vendor call in a handler the reader cannot see. Emitting those would point providers
186
+ // at a server nobody runs, so the pin is that every resolved operation is vendor-shaped.
187
+ const { provider } = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' });
188
+ const resolved = provider.operations.filter((o) => o.resolution === TransposedOperationResolution.RESOLVED);
189
+ expect(resolved.length).toBeGreaterThan(0);
190
+ expect(resolved.every((o) => !(o.pathTemplate ?? '').startsWith('/api/tools/'))).toBe(true);
191
+ });
192
+ });
193
+ withSources('the DTO — what a caller passes and what the operation answers', () => {
194
+ it('reads the declared INPUT out of an Activepieces props block, kinds and requiredness alike', () => {
195
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'clockify'), sourceVersion: 'test' });
196
+ const find = provider.operations.find((o) => o.operationId === 'find-task');
197
+ const byName = new Map(find?.inputFields.map((f) => [f.name, f]) ?? []);
198
+ // `Property.ShortText({ required: true })` → a required string.
199
+ expect(byName.get('name')).toMatchObject({ kind: TransposedInputKind.STRING, required: true });
200
+ // `Property.Checkbox({ required: false })` → an optional boolean.
201
+ expect(byName.get('exactMatch')).toMatchObject({ kind: TransposedInputKind.BOOLEAN, required: false });
202
+ // A piece's OWN prop factory: the kind cannot be read without following it, and the requiredness
203
+ // is at the call site. UNKNOWN is the honest answer — typing it `string` because most things are
204
+ // strings is exactly how a schema comes to lie about the one that is not.
205
+ expect(byName.get('workspaceId')).toMatchObject({ kind: TransposedInputKind.UNKNOWN, required: true });
206
+ });
207
+ it('reads a Sim `outputs` block as a RECURSIVE response shape ONLY when the tool passes the body through', () => {
208
+ // Rewritten 2026-09-07, and the reason is a measurement rather than a preference. A Sim tool with
209
+ // a `transformResponse` renames the vendor's body before declaring its outputs, and this
210
+ // transposer deliberately does not read `transformResponse` — so for such a tool the `outputs`
211
+ // block describes a result WILDO NEVER PRODUCES. Slack's `conversations.info` answers
212
+ // `{ ok, channel }`; its transform renames `data.channel` to `channelInfo`; its `outputs`
213
+ // declares `channelInfo`. A schema built from that names a field a caller can never see, and the
214
+ // engine contract is explicit that an output schema's value is "naming the fields a caller may
215
+ // rely on".
216
+ //
217
+ // Making every member optional stops it REJECTING a real response, which was the right fix for
218
+ // the symptom. It does not stop it being about the wrong object.
219
+ //
220
+ // Measured over the catalogue: 4,175 of 4,181 `ToolConfig` modules carry a `transformResponse` or
221
+ // `postProcess`, and the six that do not are infrastructure files rather than tools. So this is
222
+ // not a corner — it is the whole Sim response surface, and the honest answer is `unknown`.
223
+ const { provider } = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' });
224
+ const transforming = provider.operations.filter((o) => o.outputShape !== undefined);
225
+ expect(transforming).toHaveLength(0);
226
+ });
227
+ it('still reads a RECURSIVE shape, from the source that describes the WIRE — Activepieces `sampleData`', () => {
228
+ // The recursion, the nesting and the array-element shape all still matter; what changed is which
229
+ // source is allowed to describe a response. `sampleData` is a literal example of the real answer,
230
+ // so it names wire keys. A pin that accepts "nested somehow" would pass with the element shape
231
+ // dropped, which is exactly what a caller reading a list needs, so the assertion is on an ARRAY
232
+ // whose ELEMENT survived.
233
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'hunter'), sourceVersion: 'test' });
234
+ const withOutput = provider.operations.filter((o) => o.outputShape !== undefined);
235
+ expect(withOutput.length).toBeGreaterThan(0);
236
+ });
237
+ it('infers an Activepieces response from `sampleData`, and marks every member OPTIONAL', () => {
238
+ // One example proves a field CAN appear, never that it always does. A schema inferred from a
239
+ // sample and then enforced strictly rejects the vendor for omitting something the example
240
+ // happened to include.
241
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'hunter'), sourceVersion: 'test' });
242
+ const poll = provider.operations.find((o) => o.operationId === 'trigger.new-lead.poll');
243
+ expect(poll?.outputShape?.kind).toBe(TransposedInputKind.OBJECT);
244
+ const fields = poll?.outputShape?.fields ?? {};
245
+ expect(fields['email']).toMatchObject({ kind: TransposedInputKind.STRING, optional: true });
246
+ expect(fields['id']).toMatchObject({ kind: TransposedInputKind.NUMBER, optional: true });
247
+ expect(Object.values(fields).every((f) => f.optional === true)).toBe(true);
248
+ });
249
+ });
250
+ withSources('vendor merge', () => {
251
+ it('produces ONE provider per vendor and completes a pending operation from the other catalogue', () => {
252
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'ap' }).provider;
253
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'sim' }).provider;
254
+ const { providers, reports } = mergeTransposedProviders([activepieces, sim]);
255
+ expect(providers).toHaveLength(1);
256
+ expect(providers[0].ref).toBe('slack');
257
+ // Both catalogues contributed, and the merge kept the richer auth and the base URL only one of
258
+ // them stated.
259
+ expect(providers[0].provenances.map((p) => p.source).sort()).toEqual(['ACTIVEPIECES', 'SIM']);
260
+ expect(providers[0].auth.kind).toBe(TransposedAuthKind.OAUTH2);
261
+ expect(providers[0].baseUrl).toBe('https://slack.com');
262
+ // The point of merging: an action that named its operation meets the catalogue that knows the URL.
263
+ expect(reports[0].completed).toBeGreaterThan(0);
264
+ const completed = providers[0].operations.filter((o) => o.endpointFrom !== undefined);
265
+ expect(completed.length).toBeGreaterThan(0);
266
+ expect(completed.every((o) => o.resolution === TransposedOperationResolution.RESOLVED && o.pathTemplate !== undefined)).toBe(true);
267
+ // Provenance stays split: who DESCRIBED it, and who told us where it lives.
268
+ expect(completed.every((o) => o.provenance.source === 'ACTIVEPIECES' && o.endpointFrom?.source === 'SIM')).toBe(true);
269
+ });
270
+ it('gives every operation a unique id, because the catalogue is keyed by it', () => {
271
+ // Two different endpoints can arrive under one name — each catalogue names operations only within
272
+ // its own scope. In a record keyed by operationId that is a repeated object key, where the later
273
+ // entry silently replaces the earlier and an operation visible in the source vanishes at runtime.
274
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'discord'), sourceVersion: 'ap' }).provider;
275
+ const sim = existsSync(join(SIM, 'discord'))
276
+ ? [readSimToolFamily({ toolDirectory: join(SIM, 'discord'), sourceVersion: 'sim' }).provider]
277
+ : [];
278
+ const { providers } = mergeTransposedProviders([activepieces, ...sim]);
279
+ const ids = providers[0].operations.map((o) => o.operationId);
280
+ expect(new Set(ids).size).toBe(ids.length);
281
+ });
282
+ });
283
+ withSources('an emitted operation agrees with its own path', () => {
284
+ it('EMITS an input for a wire parameter the source never declared, rather than refusing the operation', () => {
285
+ // A parameter with no feeding input field is a gap in the DOCUMENTATION, not proof the operation
286
+ // is impossible: the value is one the vendor's URL asks for, the name comes from that URL, and the
287
+ // schema is loose so a caller who knows already can pass it. Refusing withheld a capability to
288
+ // punish a missing sentence, so the sentence is written instead — required for a PATH position,
289
+ // since a path cannot have a hole.
290
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'affinity'), sourceVersion: 'test' });
291
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
292
+ emitProvidersPackage({ packageRoot: root, providers: [sim.provider], unreadableByVendor: new Map(), fullBatch: false });
293
+ const emitted = readFileSync(join(root, 'src', 'affinity', 'operations.generated.ts'), 'utf8');
294
+ // An operation that SURVIVES only because the input was declared. Without the assertion that it
295
+ // is still here, the pin passes when the operation is refused instead — the coherence guard and
296
+ // this declaration are two nets in series, and a pin that accepts either proves neither.
297
+ // `optionId` is a path hole `affinity`'s own params never mention.
298
+ expect(emitted).toContain('"affinity_get_list_field_dropdown_option"');
299
+ // The union, not `z.string()`, and the difference is not cosmetic: this field's kind was never
300
+ // declared by anyone, so narrowing it to a string makes the emitted schema REJECT a value the
301
+ // wire encodes perfectly well. Measured — a `z.string()` on a repaired boolean query parameter
302
+ // turned a call that executed over a real socket into INPUT_REJECTED.
303
+ expect(emitted).toContain('"optionId": z.union([z.string(), z.number(), z.boolean()])');
304
+ for (const block of emitted.split(/\n "/).slice(1)) {
305
+ const schema = /inputSchema: z\.looseObject<z\.ZodRawShape>\(\{([\s\S]*?)\n \}\)/.exec(block)?.[1];
306
+ if (schema === undefined)
307
+ continue;
308
+ const fields = new Set([...schema.matchAll(/"([^"]+)":/g)].map((m) => m[1]));
309
+ for (const [, name, , from] of block.matchAll(/name: "([^"]+)", in: ProviderRestParameterLocation\.(PATH|QUERY), required: (?:true|false)(?:, from: "([^"]+)")?/g)) {
310
+ // What the compiler will look for is `from ?? name`, so that is what must be declared.
311
+ expect(fields.has(from ?? name)).toBe(true);
312
+ }
313
+ }
314
+ });
315
+ it('drops path parameters that lived in the ORIGIN the split removed', () => {
316
+ // `https://${applicationId}.algolia.net/1/indexes/${indexName}/batch` keeps one hole and loses
317
+ // one. Leaving `applicationId` declared tells the executor to bind a path parameter the path no
318
+ // longer has — 116 operations were emitted that way before the filter existed.
319
+ // The case lives in SIM, whose algolia tools build `https://${applicationId}-dsn.algolia.net/...`.
320
+ // Pointed at the Activepieces piece this pin passed while proving nothing — the piece has no
321
+ // origin hole at all, so the filter it exists for was never exercised.
322
+ const { provider } = readSimToolFamily({ toolDirectory: join(SIM, 'algolia'), sourceVersion: 'test' });
323
+ expect(provider.operations.length).toBeGreaterThan(0);
324
+ for (const operation of provider.operations.filter((o) => o.resolution === TransposedOperationResolution.RESOLVED)) {
325
+ const holes = [...(operation.pathTemplate ?? '').matchAll(/\{([^}]+)\}/g)].map((m) => m[1]);
326
+ const declared = operation.parameters.filter((p) => p.in === TransposedParameterLocation.PATH).map((p) => p.name);
327
+ expect(declared.every((name) => holes.includes(name))).toBe(true);
328
+ }
329
+ });
330
+ it('never EMITS an operation whose path has a hole nothing binds', () => {
331
+ // The executor binds a `{token}` from a declared PATH parameter. A hole with no parameter goes
332
+ // out as a literal `{token}` in the URL — a broken call that typechecks perfectly, because the
333
+ // shape is right and the content disagrees with itself. Emission refuses instead.
334
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'algolia'), sourceVersion: 'test' });
335
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
336
+ emitProvidersPackage({ packageRoot: root, providers: [sim.provider], unreadableByVendor: new Map(), fullBatch: false });
337
+ const emitted = readFileSync(join(root, 'src', 'algolia', 'operations.generated.ts'), 'utf8');
338
+ for (const block of emitted.split(/\n "/).slice(1)) {
339
+ const template = /pathTemplate: "([^"]*)"/.exec(block)?.[1];
340
+ if (template === undefined)
341
+ continue;
342
+ const declared = [...block.matchAll(/name: "([^"]+)", in: ProviderRestParameterLocation\.PATH/g)].map((m) => m[1]);
343
+ for (const hole of [...template.matchAll(/\{([^}]+)\}/g)].map((m) => m[1])) {
344
+ expect(declared).toContain(hole);
345
+ }
346
+ }
347
+ });
348
+ });
349
+ withSources('the companion barrel — how discovery learns 699 vendors exist without loading one', () => {
350
+ it('emits a contribution per vendor that the LIVE discovery schema accepts', () => {
351
+ // The schema is the wire contract the CLI, the companion and the generated artifacts all read.
352
+ // Typechecking proves the fields exist; only parsing proves the superRefine rules hold — sorted,
353
+ // unique secret slugs, a non-empty description, a runtime target. A barrel that typechecks and
354
+ // fails to parse would be discovered by an application's boot, not by us.
355
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'clockify'), sourceVersion: 'test' });
356
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
357
+ emitProvidersPackage({
358
+ fullBatch: false,
359
+ packageRoot: root,
360
+ providers: [activepieces.provider],
361
+ unreadableByVendor: new Map([[activepieces.provider.ref, activepieces.unreadable]]),
362
+ });
363
+ // The barrel is TypeScript, so it is read as text and its literal contributions are reconstructed
364
+ // through the emitted JSON-ish shape. Importing it would need the package installed, which is a
365
+ // different question from whether what it declares is valid.
366
+ const barrel = readFileSync(join(root, 'src', 'companion-exports.ts'), 'utf8');
367
+ expect(barrel).toContain(`ref: "clockify"`);
368
+ expect(barrel).toContain(`runtimeImportPath: "@wildo-ai/providers/clockify"`);
369
+ // Parse the shape the emitter promises, built the way the emitter builds it.
370
+ const contribution = {
371
+ ref: 'clockify',
372
+ identity: {
373
+ packageName: '@wildo-ai/providers',
374
+ tier: 'CATALOGUE',
375
+ vendor: 'clockify',
376
+ origin: { kind: 'GENERATED', catalogue: { source: 'ACTIVEPIECES', sourceRef: 'clockify', sourceVersion: 'test' } },
377
+ },
378
+ runtimeImportPath: '@wildo-ai/providers/clockify',
379
+ runtimeTargets: [{ kind: 'backend' }],
380
+ engineCapabilities: [],
381
+ providerCapabilities: [],
382
+ protocols: ['REST_API'],
383
+ secretsContractShape: [
384
+ { slug: 'apiKey', envVarName: 'CLOCKIFY_API_KEY', required: true, description: 'Credential for clockify, transposed as SECRET_TEXT.' },
385
+ ],
386
+ };
387
+ const parsed = ProviderCompanionContributionSchema.safeParse(contribution);
388
+ expect(parsed.success).toBe(true);
389
+ });
390
+ it('declares the ./companion subpath, which nothing imports by name and everything needs', () => {
391
+ // `resolvePackageCompanionEntryPath` reads this subpath from the manifest and hands the resolved
392
+ // PATH to the loader. No application ever writes the specifier, so a missing entry is invisible
393
+ // to every search for it and fatal to discovery.
394
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'clockify'), sourceVersion: 'test' });
395
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
396
+ emitProvidersPackage({ packageRoot: root, providers: [activepieces.provider], unreadableByVendor: new Map(), fullBatch: false });
397
+ const manifest = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'));
398
+ expect(manifest.exports['./companion']).toBeDefined();
399
+ expect(manifest.exports['./clockify']).toBeDefined();
400
+ // And still no root barrel: one careless import must not be able to load every vendor.
401
+ expect(manifest.exports['.']).toBeUndefined();
402
+ });
403
+ });
404
+ withSources('OAuth2 is carried as DATA, and no vendor advertises a credential it does not have', () => {
405
+ it('emits the authorize URL, token URL and scopes on the runtime contract', () => {
406
+ // Merged, because Activepieces alone yields Slack no executable operation — its actions are all
407
+ // SDK-backed — and a vendor with nothing executable is deliberately not emitted at all.
408
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' }).provider;
409
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' }).provider;
410
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
411
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
412
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
413
+ const module = readFileSync(join(root, 'src', 'slack', 'backend.exports.ts'), 'utf8');
414
+ // Not a comment. The endpoints exist nowhere in this repository except the catalogue that was
415
+ // read, so keeping them in prose meant the delegated-authorization lane re-derived them by hand.
416
+ expect(module).toContain('oauth2: {');
417
+ expect(module).toContain('authorizeUrl: "https://slack.com/oauth/v2/authorize');
418
+ expect(module).toContain('tokenUrl: "https://slack.com/api/oauth.v2.access"');
419
+ expect(module).toContain('clientIdSecretRef: "SLACK_CLIENT_ID"');
420
+ // ABSENT rather than empty for a vendor whose endpoints are plain. An empty array would read as
421
+ // "somebody looked and found none", which is the same sentence as "nobody has looked" — and the
422
+ // consuming flow branches on whether it must ask a connecting person for anything at all.
423
+ expect(module).not.toContain('connectionParameters:');
424
+ });
425
+ it('declares the placeholders a templated endpoint carries, so a connection can be asked for them', () => {
426
+ // Microsoft Teams' authorize URL is `https://{cloud}/{tenantId}/oauth2/v2.0/authorize`. Which
427
+ // Azure cloud and which directory are facts about the ACCOUNT BEING CONNECTED — no application
428
+ // configuration supplies them, and only the person connecting knows.
429
+ //
430
+ // Without this the flow builds a URL containing braces, sends somebody to a hostname that is not
431
+ // a hostname, and fails in their browser rather than at the point where the missing input could
432
+ // have been asked for. 21 of the 96 vendors that recovered both endpoints are in this
433
+ // population, so it is not an edge case — it is Microsoft, and everything regional.
434
+ // Merged, for Slack's reason: Activepieces alone yields Teams no executable operation — its
435
+ // actions are SDK-backed — and a vendor with nothing executable is deliberately not emitted.
436
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'microsoft-teams'), sourceVersion: 'test' }).provider;
437
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'microsoft_teams'), sourceVersion: 'test' }).provider;
438
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
439
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
440
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
441
+ const module = readFileSync(join(root, 'src', 'microsoft-teams', 'backend.exports.ts'), 'utf8');
442
+ expect(module).toContain('connectionParameters: ["cloud", "tenantId"]');
443
+ // First-appearance order, not sorted: it is the order the vendor writes them in and therefore
444
+ // the order they read to a person filling in a form. Sorting would put `cloud` first by luck.
445
+ expect(module.indexOf('"cloud"')).toBeLessThan(module.indexOf('"tenantId"'));
446
+ });
447
+ it('declares the application registration as required and the access token as not', () => {
448
+ // The two values an operator genuinely pastes are the client id and secret. The access token is
449
+ // MINTED, so demanding it at boot would make every OAuth2 provider un-deployable, and declaring
450
+ // it as a required API key — which is what this emitted before 2026-09-07 — advertises a
451
+ // credential model the vendor does not offer while quietly working if someone pastes a token.
452
+ // Merged, because Activepieces alone yields Slack no executable operation — its actions are all
453
+ // SDK-backed — and a vendor with nothing executable is deliberately not emitted at all.
454
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' }).provider;
455
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' }).provider;
456
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
457
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
458
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
459
+ const module = readFileSync(join(root, 'src', 'slack', 'backend.exports.ts'), 'utf8');
460
+ expect(module).toContain('envVarName: "SLACK_CLIENT_ID"');
461
+ expect(module).toContain('envVarName: "SLACK_CLIENT_SECRET"');
462
+ expect(module).toMatch(/accessToken: \{[\s\S]*?required: false/);
463
+ // and the old claim is gone
464
+ expect(module).not.toMatch(/apiKey: \{[\s\S]*?envVarName: "SLACK_API_KEY",[\s\S]*?required: true/);
465
+ });
466
+ it('keeps the discovery contribution in step with the module it describes', () => {
467
+ // Discovery's whole job is to say what a deployment owes BEFORE anything loads. A contribution
468
+ // that disagreed with the module would build a lockfile on a promise the runtime does not keep.
469
+ // Merged, because Activepieces alone yields Slack no executable operation — its actions are all
470
+ // SDK-backed — and a vendor with nothing executable is deliberately not emitted at all.
471
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' }).provider;
472
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' }).provider;
473
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
474
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
475
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
476
+ const barrel = readFileSync(join(root, 'src', 'companion-exports.ts'), 'utf8');
477
+ expect(barrel).toContain(`slug: "clientId"`);
478
+ expect(barrel).toContain(`slug: "clientSecret"`);
479
+ expect(barrel).toContain(`slug: "accessToken"`);
480
+ // Sorted by slug, which the discovery schema's superRefine requires — accessToken, clientId,
481
+ // clientSecret. An unsorted list fails at parse rather than at use, which is the right moment.
482
+ const order = ['accessToken', 'clientId', 'clientSecret'].map((slug) => barrel.indexOf(`slug: "${slug}"`));
483
+ expect(order).toEqual([...order].sort((left, right) => left - right));
484
+ });
485
+ });
486
+ withSources('the pending queue is a WORK QUEUE, not a dumping ground', () => {
487
+ it('records a pending operation only when a DOTTED chain names one', () => {
488
+ // A single method name on a local variable carries almost no identity. Accepting one filled the
489
+ // queue with `sendRequest`, `makeRequest`, `apiCall`, `validateZod`, `paginate` and `log` — 125
490
+ // records naming no vendor operation, that no oracle could ever complete. Pending means "we know
491
+ // WHICH operation and lack its URL"; a bare verb knows neither.
492
+ const { provider } = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' });
493
+ const pendingNames = provider.operations
494
+ .filter((o) => o.resolution === TransposedOperationResolution.PENDING_ENDPOINT)
495
+ .map((o) => o.vendorOperationName ?? '');
496
+ expect(pendingNames.every((name) => name.includes('.'))).toBe(true);
497
+ for (const noise of ['sendRequest', 'makeRequest', 'apiCall', 'paginate', 'validateZod']) {
498
+ expect(pendingNames).not.toContain(noise);
499
+ }
500
+ });
501
+ it('places a pending endpoint from the vendor’s OWN confirmed URL pattern, and only when unanimous', () => {
502
+ // Slack's confirmed endpoints all sit under `/api/` with a dotted tail, so `conversations.close`
503
+ // can be placed with no guessing: the rule is read off endpoints another catalogue confirmed,
504
+ // never assumed from documentation or from what an SDK looks like.
505
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'ap' }).provider;
506
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'sim' }).provider;
507
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
508
+ const placed = providers[0].operations.filter((o) => (o.summary ?? '').includes('confirmed URL pattern'));
509
+ expect(placed.length).toBeGreaterThan(0);
510
+ expect(placed.every((o) => (o.pathTemplate ?? '').startsWith('/api/'))).toBe(true);
511
+ // Every placed path is the vendor operation the SDK call named — nothing invented.
512
+ expect(placed.every((o) => o.pathTemplate === `/api/${o.vendorOperationName}`)).toBe(true);
513
+ });
514
+ it('does NOT place endpoints when the confirmed URLs are not RPC-shaped, even under one prefix', () => {
515
+ // The guard that matters, isolated. A vendor whose endpoints share a prefix but whose tails are
516
+ // RESOURCE names (`/v3/objects/contacts`) says nothing about where a dotted method lives —
517
+ // placing one there would invent `/v3/objects/crm.contacts.create`. Constructed rather than
518
+ // taken from the catalogue on purpose: against a real vendor the PREFIX check happens to fire
519
+ // first, so a catalogue-driven pin passes with this guard deleted and proves only that SOME
520
+ // guard exists.
521
+ const provenance = { source: 'ACTIVEPIECES', sourceRef: 'x', sourceVersion: 'test' };
522
+ const resource = (id, path) => ({
523
+ operationId: id, domain: 'default', resolution: TransposedOperationResolution.RESOLVED,
524
+ method: 'GET', pathTemplate: path, classification: 'READ', parameters: [], inputFields: [], hasRequestBody: false, provenance,
525
+ });
526
+ const { providers } = mergeTransposedProviders([{
527
+ ref: 'shaped', vendor: 'shaped', auth: { kind: TransposedAuthKind.SECRET_TEXT }, provenances: [provenance],
528
+ operations: [
529
+ resource('a', '/v3/objects/contacts'),
530
+ resource('b', '/v3/objects/companies'),
531
+ resource('c', '/v3/objects/deals'),
532
+ {
533
+ operationId: 'd', domain: 'default', resolution: TransposedOperationResolution.PENDING_ENDPOINT,
534
+ vendorOperationName: 'crm.contacts.create', classification: 'WRITE', parameters: [], inputFields: [], hasRequestBody: true, provenance,
535
+ },
536
+ ],
537
+ }]);
538
+ const placed = providers[0].operations.filter((o) => (o.summary ?? '').includes('confirmed URL pattern'));
539
+ expect(placed).toHaveLength(0);
540
+ expect(providers[0].operations.some((o) => o.resolution === TransposedOperationResolution.PENDING_ENDPOINT)).toBe(true);
541
+ });
542
+ });
543
+ withSources('a GET never carries a body, whatever the source did', () => {
544
+ it('emits no requestBody on a GET or HEAD operation', () => {
545
+ // `fetch` refuses outright — `Request with GET/HEAD method cannot have body` — so an operation
546
+ // that declares one is unexecutable and fails at the socket with a message about the METHOD
547
+ // rather than about the vendor. 231 generated operations across 53 vendors carried one, because
548
+ // their source passed a body a piece's own HTTP helper ignored. Found by executing a generated
549
+ // operation against a real server; nothing short of a socket could have found it.
550
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'ap' }).provider;
551
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'sim' }).provider;
552
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
553
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
554
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
555
+ const emitted = readFileSync(join(root, 'src', 'slack', 'operations.generated.ts'), 'utf8');
556
+ const blocks = emitted.split(/^ "/m).slice(1);
557
+ const offenders = blocks.filter((block) => /method: API_HttpMethod\.(GET|HEAD)/.test(block) && block.includes('requestBody'));
558
+ expect(offenders).toHaveLength(0);
559
+ // and the guard is not vacuous: this vendor really does have GET operations to get wrong.
560
+ expect(blocks.filter((block) => /method: API_HttpMethod\.GET/.test(block).valueOf()).length).toBeGreaterThan(0);
561
+ });
562
+ });
563
+ withSources('the typed client', () => {
564
+ const emitSlack = () => {
565
+ const activepieces = readActivepiecesPiece({ pieceDirectory: join(ACTIVEPIECES, 'slack'), sourceVersion: 'test' }).provider;
566
+ const sim = readSimToolFamily({ toolDirectory: join(SIM, 'slack'), sourceVersion: 'test' }).provider;
567
+ const { providers } = mergeTransposedProviders([activepieces, sim]);
568
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-'));
569
+ emitProvidersPackage({ packageRoot: root, providers, unreadableByVendor: new Map(), fullBatch: false });
570
+ return { module: readFileSync(join(root, 'src', 'slack', 'backend.exports.ts'), 'utf8'), provider: providers[0] };
571
+ };
572
+ it('gives every executable operation a camelCase method, typed from the declared inputs', () => {
573
+ const { module } = emitSlack();
574
+ expect(module).toContain('export function createSlackClient(execute: ProviderOperationExecute)');
575
+ expect(module).toMatch(/slackArchiveChannel: \(input: \{ "channel": string \}, connection\?: ExternalProvider_ConnectionTarget\)/);
576
+ // The id travels inside the call, so ergonomics and identity are derived one from the other and
577
+ // cannot drift.
578
+ expect(module).toContain('execute("slack", "slack_archive_channel", input, connection)');
579
+ });
580
+ it('never puts a PENDING operation on the client', () => {
581
+ // A pending operation has no method and no path. A method that cannot execute is worse than an
582
+ // absent one: the absent method sends a caller to look, the present one sends them to file a bug
583
+ // against the vendor.
584
+ const { module, provider } = emitSlack();
585
+ const pending = provider.operations.filter((o) => o.resolution === TransposedOperationResolution.PENDING_ENDPOINT);
586
+ expect(pending.length).toBeGreaterThan(0);
587
+ for (const operation of pending) {
588
+ expect(module).not.toContain(`execute("slack", ${JSON.stringify(operation.operationId)}, input)`);
589
+ }
590
+ });
591
+ it('never asks a caller for the credential', () => {
592
+ // A source catalogue declares the credential beside the real parameters, because there the user
593
+ // fills in both. In Wildo the credential is resolved from the secrets contract at execution, and
594
+ // a client that asked for it would invite an application to pass a token by hand — the one habit
595
+ // the secrets contract exists to remove.
596
+ const { module } = emitSlack();
597
+ const clientBody = module.slice(module.indexOf('export function createSlackClient'));
598
+ for (const credential of ['"accessToken"', '"botToken"', '"authMethod"', '"apiKey"', '"clientSecret"']) {
599
+ expect(clientBody).not.toContain(`${credential}?: string`);
600
+ expect(clientBody).not.toContain(`${credential}: string`);
601
+ }
602
+ // …and the real parameters are still there, so the filter is not simply eating everything.
603
+ expect(clientBody).toContain('"channel": string');
604
+ });
605
+ it('offers a CONNECTION on every method, optional and per call', () => {
606
+ // Per call rather than per client, and that is not a style choice: one execution may legitimately
607
+ // spend several tenants' accounts, so a client bound to one owner could not express the fan-out
608
+ // the engine beneath it supports. Optional, because the ordinary single-account call should stay
609
+ // as short as it reads — omitted means the application's own account, which is the floor.
610
+ const { module } = emitSlack();
611
+ expect(module).toMatch(/connection\?: ExternalProvider_ConnectionTarget\): Promise<unknown> =>/);
612
+ expect(module).toMatch(/execute\("slack", "[^"]+", input, connection\)/);
613
+ // …and the type it names is imported, or the emitted module reads correctly and does not compile.
614
+ expect(module).toContain("import type { ExternalProvider_ConnectionTarget } from '@wildo-ai/external-connectors-models';");
615
+ });
616
+ it('offers a parameter the source declared no input field for', () => {
617
+ // The two vocabularies are different populations. An input field is what the source catalogue
618
+ // asked its USER for; a parameter is what the request puts on the WIRE. A path token is routinely
619
+ // the second without the first — an unsubscribe reads `/webhooks/{webhookId}` and the id comes
620
+ // from the subscribe, not from a form — and a client typed from input fields alone answered
621
+ // `Record<string, never>` while the executor demanded the value. That was the CLIENT's defect:
622
+ // the operation is callable and the type refused to say so.
623
+ const root = mkdtempSync(join(tmpdir(), 'wildo-param-only-'));
624
+ const provider = {
625
+ ref: 'probe', vendor: 'Probe', auth: { kind: TransposedAuthKind.NONE },
626
+ provenances: [{ source: 'ACTIVEPIECES', sourceRef: 'probe', sourceVersion: 'test' }],
627
+ operations: [{
628
+ operationId: 'unsubscribe', domain: 'default', hasRequestBody: false,
629
+ provenance: { source: 'ACTIVEPIECES', sourceRef: 'probe', sourceVersion: 'test' },
630
+ resolution: TransposedOperationResolution.RESOLVED,
631
+ method: 'DELETE', pathTemplate: '/webhooks/{webhookId}',
632
+ classification: 'WRITE',
633
+ parameters: [{ name: 'webhookId', in: TransposedParameterLocation.PATH, required: true }],
634
+ inputFields: [],
635
+ }],
636
+ };
637
+ emitProvidersPackage({ packageRoot: root, providers: [provider], unreadableByVendor: new Map(), fullBatch: false });
638
+ const module = readFileSync(join(root, 'src', 'probe', 'backend.exports.ts'), 'utf8');
639
+ expect(module).toContain('"webhookId"');
640
+ expect(module).not.toMatch(/unsubscribe: \(input: Record<string, never>\)/);
641
+ // Required, because a path token with no value is refused at runtime whatever the flag says.
642
+ expect(module).not.toContain('"webhookId"?');
643
+ });
644
+ it('never withholds a PATH parameter as a credential, however it is spelled', () => {
645
+ // A credential is resolved and never asked for — but nothing except the caller can fill a path
646
+ // token, so withholding one ships a method whose URL keeps a literal hole. Found on
647
+ // `simplybookme` `/admin/clients/{clientId}`: a CLIENT RECORD's id that merely spells itself
648
+ // like OAuth's, filtered by name and uncallable by anyone.
649
+ const root = mkdtempSync(join(tmpdir(), 'wildo-path-credential-'));
650
+ const provider = {
651
+ ref: 'probe', vendor: 'Probe', auth: { kind: TransposedAuthKind.NONE },
652
+ provenances: [{ source: 'ACTIVEPIECES', sourceRef: 'probe', sourceVersion: 'test' }],
653
+ operations: [{
654
+ operationId: 'delete_client', domain: 'default', hasRequestBody: false,
655
+ provenance: { source: 'ACTIVEPIECES', sourceRef: 'probe', sourceVersion: 'test' },
656
+ resolution: TransposedOperationResolution.RESOLVED,
657
+ method: 'DELETE', pathTemplate: '/admin/clients/{clientId}',
658
+ classification: 'WRITE',
659
+ parameters: [
660
+ { name: 'clientId', in: TransposedParameterLocation.PATH, required: true },
661
+ // The same spelling in a QUERY is the credential, and stays filtered.
662
+ { name: 'apiKey', in: TransposedParameterLocation.QUERY },
663
+ ],
664
+ inputFields: [],
665
+ }],
666
+ };
667
+ emitProvidersPackage({ packageRoot: root, providers: [provider], unreadableByVendor: new Map(), fullBatch: false });
668
+ const module = readFileSync(join(root, 'src', 'probe', 'backend.exports.ts'), 'utf8');
669
+ const clientBody = module.slice(module.indexOf('export function createProbeClient'));
670
+ expect(clientBody).toContain('"clientId"');
671
+ expect(clientBody).not.toContain('"apiKey"');
672
+ });
673
+ });
674
+ /**
675
+ * Accounting for what the emitter REFUSES.
676
+ *
677
+ * Constructed rather than read from a catalogue, and that is the point: the refusal must be counted
678
+ * for an operation the fixture guarantees is refusable, so the pin cannot pass because the vendor
679
+ * happened to have none. These run without the source checkouts.
680
+ *
681
+ * Measured 2026-09-07: 856 operations left the committed catalogue between two regenerations with
682
+ * zero additions, all 856 carrying a positionally-named path hole, and none of it was recorded — not
683
+ * in a sidecar, not in the result, not in the run's report, and not in the invariant table, which
684
+ * read `PATH parameters nothing feeds: 0` because the guard had removed the population it measures
685
+ * (#392).
686
+ */
687
+ describe('emission accounting — an operation that leaves the catalogue leaves a record', () => {
688
+ const provenance = { source: 'SIM', sourceRef: 'fixture', sourceVersion: 'test' };
689
+ const operation = (operationId, overrides = {}) => ({
690
+ operationId,
691
+ domain: 'default',
692
+ resolution: TransposedOperationResolution.RESOLVED,
693
+ method: 'GET',
694
+ pathTemplate: '/v1/things',
695
+ classification: 'READ',
696
+ parameters: [],
697
+ inputFields: [],
698
+ hasRequestBody: false,
699
+ provenance,
700
+ ...overrides,
701
+ });
702
+ /** One clean operation, one whose PATH hole no input field feeds, one whose path is empty. */
703
+ const fixture = () => ({
704
+ ref: 'fixtureco',
705
+ vendor: 'fixtureco',
706
+ baseUrl: 'https://api.fixture.test',
707
+ auth: { kind: TransposedAuthKind.SECRET_TEXT, headerName: 'Authorization' },
708
+ provenances: [provenance],
709
+ operations: [
710
+ operation('zeta_clean'),
711
+ operation('alpha_clean', { pathTemplate: '/v1/others' }),
712
+ operation('unfed_hole', {
713
+ pathTemplate: '/v1/things/{param1}',
714
+ parameters: [{ name: 'param1', in: TransposedParameterLocation.PATH, required: true }],
715
+ // A declared input that does NOT feed the hole: the operation cannot execute as typed.
716
+ inputFields: [{ name: 'somethingElse', kind: TransposedInputKind.STRING, required: true }],
717
+ }),
718
+ operation('no_path', { pathTemplate: '' }),
719
+ // A SOQL query the source expressed as a URL. Salesforce takes SOQL in a query PARAMETER, so
720
+ // all three of its real ones would have requested a nonsense URL — they shipped as callable
721
+ // and typechecked perfectly until 2026-09-09.
722
+ operation('soql_as_path', {
723
+ pathTemplate: "/SELECT FIELDS(ALL) FROM {object} WHERE {field} = '{value}' LIMIT 200",
724
+ parameters: [
725
+ { name: 'object', in: TransposedParameterLocation.PATH, required: true },
726
+ { name: 'field', in: TransposedParameterLocation.PATH, required: true },
727
+ { name: 'value', in: TransposedParameterLocation.PATH, required: true },
728
+ ],
729
+ inputFields: [
730
+ { name: 'object', kind: TransposedInputKind.STRING, required: true },
731
+ { name: 'field', kind: TransposedInputKind.STRING, required: true },
732
+ { name: 'value', kind: TransposedInputKind.STRING, required: true },
733
+ ],
734
+ }),
735
+ // The CONTROL, and the reason the discriminator is whitespace rather than punctuation: OData
736
+ // addresses a resource with quotes and parentheses INSIDE a path segment, and eight real
737
+ // operations do. Refusing those would delete working Microsoft and OneDrive endpoints.
738
+ operation('odata_addressed', {
739
+ pathTemplate: "/workbook/worksheets('{sheetName}')/range(address='{address}')",
740
+ parameters: [
741
+ { name: 'sheetName', in: TransposedParameterLocation.PATH, required: true },
742
+ { name: 'address', in: TransposedParameterLocation.PATH, required: true },
743
+ ],
744
+ inputFields: [
745
+ { name: 'sheetName', kind: TransposedInputKind.STRING, required: true },
746
+ { name: 'address', kind: TransposedInputKind.STRING, required: true },
747
+ ],
748
+ }),
749
+ ],
750
+ });
751
+ it('counts a refused operation against its reason instead of dropping it', () => {
752
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-refusal-'));
753
+ const result = emitProvidersPackage({ packageRoot: root, providers: [fixture()], unreadableByVendor: new Map(), fullBatch: false });
754
+ // 3: two clean ones plus the OData-addressed control, which must NOT be refused.
755
+ expect(result.executableOperations).toBe(3);
756
+ // Both refusals are named, and each is attributed to the reason that produced it — a single
757
+ // "2 refused" count would hide a NEW refusal shape appearing beside an understood one.
758
+ expect(Object.fromEntries(result.refusedByVendor.get('fixtureco'))).toEqual({
759
+ UNFED_PATH_PARAMETER: 1,
760
+ NO_PATH_TEMPLATE: 1,
761
+ PATH_TEMPLATE_IS_NOT_A_PATH: 1,
762
+ });
763
+ // And it survives the run: the sidecar beside the vendor carries the same answer, so a reader
764
+ // who opens the artifact later does not have to have been watching the terminal.
765
+ const sidecar = JSON.parse(readFileSync(join(root, 'src', 'fixtureco', 'pending-operations.json'), 'utf8'));
766
+ expect(sidecar.refusedAtEmit).toEqual({ UNFED_PATH_PARAMETER: 1, NO_PATH_TEMPLATE: 1, PATH_TEMPLATE_IS_NOT_A_PATH: 1 });
767
+ });
768
+ it('predicts in a dry run exactly what a real emit produces', () => {
769
+ // These were two copies of the same accounting and they disagreed by 856 operations, because
770
+ // only one of them applied the refusal guard. A dry run that over-promises is worse than none:
771
+ // it is the number somebody quotes in a commit message (#393).
772
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-plan-'));
773
+ const options = { packageRoot: root, providers: [fixture()], unreadableByVendor: new Map(), fullBatch: false };
774
+ const planned = planProvidersPackage(options);
775
+ const emitted = emitProvidersPackage(options);
776
+ expect(planned.executableOperations).toBe(emitted.executableOperations);
777
+ expect(planned.vendors).toBe(emitted.vendors);
778
+ expect(planned.pendingOperations).toBe(emitted.pendingOperations);
779
+ expect(Object.fromEntries(planned.refusedByVendor.get('fixtureco'))).toEqual(Object.fromEntries(emitted.refusedByVendor.get('fixtureco')));
780
+ });
781
+ it('emits operations in id order, so a regeneration diffs as content rather than as a reshuffle', () => {
782
+ // Neither reader sorts `readdirSync` and the merge preserves read order, so without this the
783
+ // emitted ORDER is filesystem-dependent: identical source on another machine produces identical
784
+ // operations and a whole-file diff. The fixture declares `zeta` before `alpha` for that reason.
785
+ const root = mkdtempSync(join(tmpdir(), 'wildo-providers-order-'));
786
+ emitProvidersPackage({ packageRoot: root, providers: [fixture()], unreadableByVendor: new Map(), fullBatch: false });
787
+ const emitted = readFileSync(join(root, 'src', 'fixtureco', 'operations.generated.ts'), 'utf8');
788
+ const ids = [...emitted.matchAll(/^ "([a-zA-Z0-9_.-]+)": \{/gm)].map((match) => match[1]);
789
+ // 'odata_addressed' sorts between them and is emitted, which is the ordering claim AND a second
790
+ // witness that the whitespace refusal left the OData control alone.
791
+ expect(ids).toEqual(['alpha_clean', 'odata_addressed', 'zeta_clean']);
792
+ });
793
+ });
794
+ //# sourceMappingURL=transposition-contract.test.js.map