@wildo-ai/wildo-cli 1.1.11 → 1.1.13

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 (1926) hide show
  1. package/dist/bin/wildo.d.ts.map +1 -1
  2. package/dist/bin/wildo.js.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.map +1 -1
  5. package/dist/src/commands/align-deps.command.d.ts.map +1 -1
  6. package/dist/src/commands/align-deps.command.js +5 -3
  7. package/dist/src/commands/align-deps.command.js.map +1 -1
  8. package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
  9. package/dist/src/commands/assets/sync.command.js.map +1 -1
  10. package/dist/src/commands/assurance/assurance-command.utils.d.ts +14 -0
  11. package/dist/src/commands/assurance/assurance-command.utils.d.ts.map +1 -0
  12. package/dist/src/commands/assurance/assurance-command.utils.js +36 -0
  13. package/dist/src/commands/assurance/assurance-command.utils.js.map +1 -0
  14. package/dist/src/commands/assurance/report.command.d.ts +14 -0
  15. package/dist/src/commands/assurance/report.command.d.ts.map +1 -0
  16. package/dist/src/commands/assurance/report.command.js +28 -0
  17. package/dist/src/commands/assurance/report.command.js.map +1 -0
  18. package/dist/src/commands/assurance/run.command.d.ts +16 -0
  19. package/dist/src/commands/assurance/run.command.d.ts.map +1 -0
  20. package/dist/src/commands/assurance/run.command.js +49 -0
  21. package/dist/src/commands/assurance/run.command.js.map +1 -0
  22. package/dist/src/commands/assurance/schedule.command.d.ts +15 -0
  23. package/dist/src/commands/assurance/schedule.command.d.ts.map +1 -0
  24. package/dist/src/commands/assurance/schedule.command.js +49 -0
  25. package/dist/src/commands/assurance/schedule.command.js.map +1 -0
  26. package/dist/src/commands/blueprint/pack.command.d.ts.map +1 -1
  27. package/dist/src/commands/blueprint/pack.command.js.map +1 -1
  28. package/dist/src/commands/blueprint/publish.command.d.ts.map +1 -1
  29. package/dist/src/commands/blueprint/publish.command.js.map +1 -1
  30. package/dist/src/commands/blueprint/status.command.d.ts.map +1 -1
  31. package/dist/src/commands/blueprint/status.command.js.map +1 -1
  32. package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
  33. package/dist/src/commands/brand/propagate.command.js.map +1 -1
  34. package/dist/src/commands/build/accept.command.d.ts +4 -0
  35. package/dist/src/commands/build/accept.command.d.ts.map +1 -1
  36. package/dist/src/commands/build/accept.command.js +10 -1
  37. package/dist/src/commands/build/accept.command.js.map +1 -1
  38. package/dist/src/commands/build/approve.command.d.ts +18 -0
  39. package/dist/src/commands/build/approve.command.d.ts.map +1 -0
  40. package/dist/src/commands/build/approve.command.js +45 -0
  41. package/dist/src/commands/build/approve.command.js.map +1 -0
  42. package/dist/src/commands/build/checkpoint.command.d.ts +18 -0
  43. package/dist/src/commands/build/checkpoint.command.d.ts.map +1 -0
  44. package/dist/src/commands/build/checkpoint.command.js +36 -0
  45. package/dist/src/commands/build/checkpoint.command.js.map +1 -0
  46. package/dist/src/commands/build/close.command.d.ts +26 -0
  47. package/dist/src/commands/build/close.command.d.ts.map +1 -0
  48. package/dist/src/commands/build/close.command.js +58 -0
  49. package/dist/src/commands/build/close.command.js.map +1 -0
  50. package/dist/src/commands/build/dispatches.command.d.ts.map +1 -1
  51. package/dist/src/commands/build/dispatches.command.js +10 -9
  52. package/dist/src/commands/build/dispatches.command.js.map +1 -1
  53. package/dist/src/commands/build/next.command.d.ts.map +1 -1
  54. package/dist/src/commands/build/next.command.js +6 -1
  55. package/dist/src/commands/build/next.command.js.map +1 -1
  56. package/dist/src/commands/build/rearm.command.d.ts.map +1 -1
  57. package/dist/src/commands/build/rearm.command.js.map +1 -1
  58. package/dist/src/commands/build/run.command.d.ts.map +1 -1
  59. package/dist/src/commands/build/run.command.js.map +1 -1
  60. package/dist/src/commands/build/settle-window.command.d.ts +17 -0
  61. package/dist/src/commands/build/settle-window.command.d.ts.map +1 -0
  62. package/dist/src/commands/build/settle-window.command.js +42 -0
  63. package/dist/src/commands/build/settle-window.command.js.map +1 -0
  64. package/dist/src/commands/build/stop.command.d.ts +23 -0
  65. package/dist/src/commands/build/stop.command.d.ts.map +1 -0
  66. package/dist/src/commands/build/stop.command.js +52 -0
  67. package/dist/src/commands/build/stop.command.js.map +1 -0
  68. package/dist/src/commands/build/tasks.command.d.ts.map +1 -1
  69. package/dist/src/commands/build/tasks.command.js.map +1 -1
  70. package/dist/src/commands/compose.command.d.ts.map +1 -1
  71. package/dist/src/commands/compose.command.js.map +1 -1
  72. package/dist/src/commands/config/check-resources.command.d.ts +20 -6
  73. package/dist/src/commands/config/check-resources.command.d.ts.map +1 -1
  74. package/dist/src/commands/config/check-resources.command.js +33 -12
  75. package/dist/src/commands/config/check-resources.command.js.map +1 -1
  76. package/dist/src/commands/config/data-retention.command.d.ts.map +1 -1
  77. package/dist/src/commands/config/data-retention.command.js.map +1 -1
  78. package/dist/src/commands/config/document-releases.command.d.ts +3 -0
  79. package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
  80. package/dist/src/commands/config/document-releases.command.js +3 -0
  81. package/dist/src/commands/config/document-releases.command.js.map +1 -1
  82. package/dist/src/commands/config/legal-notice.command.d.ts.map +1 -1
  83. package/dist/src/commands/config/legal-notice.command.js.map +1 -1
  84. package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
  85. package/dist/src/commands/config/mutate.command.js.map +1 -1
  86. package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
  87. package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
  88. package/dist/src/commands/config/service-consent.command.d.ts.map +1 -1
  89. package/dist/src/commands/config/service-consent.command.js.map +1 -1
  90. package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -1
  91. package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -1
  92. package/dist/src/commands/config/sync.command.d.ts +4 -3
  93. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  94. package/dist/src/commands/config/sync.command.js +51 -17
  95. package/dist/src/commands/config/sync.command.js.map +1 -1
  96. package/dist/src/commands/config/validate.command.d.ts.map +1 -1
  97. package/dist/src/commands/config/validate.command.js +10 -10
  98. package/dist/src/commands/config/validate.command.js.map +1 -1
  99. package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
  100. package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
  101. package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
  102. package/dist/src/commands/context/coherence.command.js.map +1 -1
  103. package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
  104. package/dist/src/commands/context/context-command.utils.js.map +1 -1
  105. package/dist/src/commands/context/elements.command.d.ts +4 -2
  106. package/dist/src/commands/context/elements.command.d.ts.map +1 -1
  107. package/dist/src/commands/context/elements.command.js +4 -2
  108. package/dist/src/commands/context/elements.command.js.map +1 -1
  109. package/dist/src/commands/context/health.command.d.ts.map +1 -1
  110. package/dist/src/commands/context/health.command.js.map +1 -1
  111. package/dist/src/commands/context/info.command.d.ts.map +1 -1
  112. package/dist/src/commands/context/info.command.js.map +1 -1
  113. package/dist/src/commands/context/journey.command.d.ts +33 -2
  114. package/dist/src/commands/context/journey.command.d.ts.map +1 -1
  115. package/dist/src/commands/context/journey.command.js +186 -34
  116. package/dist/src/commands/context/journey.command.js.map +1 -1
  117. package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
  118. package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
  119. package/dist/src/commands/context/launch-blockers.command.d.ts +4 -2
  120. package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -1
  121. package/dist/src/commands/context/launch-blockers.command.js +6 -4
  122. package/dist/src/commands/context/launch-blockers.command.js.map +1 -1
  123. package/dist/src/commands/context/list.command.d.ts.map +1 -1
  124. package/dist/src/commands/context/list.command.js.map +1 -1
  125. package/dist/src/commands/context/pipelines.command.d.ts.map +1 -1
  126. package/dist/src/commands/context/pipelines.command.js.map +1 -1
  127. package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
  128. package/dist/src/commands/context/workspace.command.js.map +1 -1
  129. package/dist/src/commands/creation/accept.command.d.ts.map +1 -1
  130. package/dist/src/commands/creation/accept.command.js.map +1 -1
  131. package/dist/src/commands/creation/answer.command.d.ts +12 -0
  132. package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
  133. package/dist/src/commands/creation/answer.command.js +69 -2
  134. package/dist/src/commands/creation/answer.command.js.map +1 -1
  135. package/dist/src/commands/creation/brand-logo.command.d.ts.map +1 -1
  136. package/dist/src/commands/creation/brand-logo.command.js.map +1 -1
  137. package/dist/src/commands/creation/brief.command.d.ts +10 -3
  138. package/dist/src/commands/creation/brief.command.d.ts.map +1 -1
  139. package/dist/src/commands/creation/brief.command.js +22 -7
  140. package/dist/src/commands/creation/brief.command.js.map +1 -1
  141. package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -1
  142. package/dist/src/commands/creation/deliberate.command.js.map +1 -1
  143. package/dist/src/commands/creation/depth.command.d.ts.map +1 -1
  144. package/dist/src/commands/creation/depth.command.js.map +1 -1
  145. package/dist/src/commands/creation/diff.command.d.ts.map +1 -1
  146. package/dist/src/commands/creation/diff.command.js.map +1 -1
  147. package/dist/src/commands/creation/drive.command.d.ts +19 -0
  148. package/dist/src/commands/creation/drive.command.d.ts.map +1 -0
  149. package/dist/src/commands/creation/drive.command.js +112 -0
  150. package/dist/src/commands/creation/drive.command.js.map +1 -0
  151. package/dist/src/commands/creation/feed.command.d.ts +11 -0
  152. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  153. package/dist/src/commands/creation/feed.command.js +75 -1
  154. package/dist/src/commands/creation/feed.command.js.map +1 -1
  155. package/dist/src/commands/creation/loop.command.d.ts +6 -0
  156. package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
  157. package/dist/src/commands/creation/loop.command.js +16 -0
  158. package/dist/src/commands/creation/loop.command.js.map +1 -1
  159. package/dist/src/commands/creation/persona.command.d.ts.map +1 -1
  160. package/dist/src/commands/creation/persona.command.js.map +1 -1
  161. package/dist/src/commands/creation/preflight.command.d.ts.map +1 -1
  162. package/dist/src/commands/creation/preflight.command.js.map +1 -1
  163. package/dist/src/commands/creation/prompt-hook.command.d.ts +1 -1
  164. package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -1
  165. package/dist/src/commands/creation/prompt-hook.command.js +7 -3
  166. package/dist/src/commands/creation/prompt-hook.command.js.map +1 -1
  167. package/dist/src/commands/creation/propose.command.d.ts.map +1 -1
  168. package/dist/src/commands/creation/propose.command.js.map +1 -1
  169. package/dist/src/commands/creation/pulse.command.d.ts.map +1 -1
  170. package/dist/src/commands/creation/pulse.command.js.map +1 -1
  171. package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
  172. package/dist/src/commands/creation/questions.command.js +13 -0
  173. package/dist/src/commands/creation/questions.command.js.map +1 -1
  174. package/dist/src/commands/creation/reason.command.d.ts.map +1 -1
  175. package/dist/src/commands/creation/reason.command.js.map +1 -1
  176. package/dist/src/commands/creation/report.command.d.ts.map +1 -1
  177. package/dist/src/commands/creation/report.command.js +12 -0
  178. package/dist/src/commands/creation/report.command.js.map +1 -1
  179. package/dist/src/commands/creation/revert.command.d.ts.map +1 -1
  180. package/dist/src/commands/creation/revert.command.js +2 -0
  181. package/dist/src/commands/creation/revert.command.js.map +1 -1
  182. package/dist/src/commands/creation/run.command.d.ts.map +1 -1
  183. package/dist/src/commands/creation/run.command.js.map +1 -1
  184. package/dist/src/commands/creation/statusline.command.d.ts.map +1 -1
  185. package/dist/src/commands/creation/statusline.command.js.map +1 -1
  186. package/dist/src/commands/creation/watch.command.d.ts.map +1 -1
  187. package/dist/src/commands/creation/watch.command.js.map +1 -1
  188. package/dist/src/commands/creation/why.command.d.ts.map +1 -1
  189. package/dist/src/commands/creation/why.command.js +14 -9
  190. package/dist/src/commands/creation/why.command.js.map +1 -1
  191. package/dist/src/commands/creation/writes.command.d.ts +7 -0
  192. package/dist/src/commands/creation/writes.command.d.ts.map +1 -1
  193. package/dist/src/commands/creation/writes.command.js +21 -6
  194. package/dist/src/commands/creation/writes.command.js.map +1 -1
  195. package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -1
  196. package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -1
  197. package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
  198. package/dist/src/commands/db/db-schema-plan.utils.js +2 -2
  199. package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
  200. package/dist/src/commands/db/diff.command.d.ts +1 -1
  201. package/dist/src/commands/db/diff.command.d.ts.map +1 -1
  202. package/dist/src/commands/db/diff.command.js +2 -2
  203. package/dist/src/commands/db/diff.command.js.map +1 -1
  204. package/dist/src/commands/db/generate.command.d.ts +2 -3
  205. package/dist/src/commands/db/generate.command.d.ts.map +1 -1
  206. package/dist/src/commands/db/generate.command.js +2 -3
  207. package/dist/src/commands/db/generate.command.js.map +1 -1
  208. package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
  209. package/dist/src/commands/db/migrate.command.js +9 -1
  210. package/dist/src/commands/db/migrate.command.js.map +1 -1
  211. package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
  212. package/dist/src/commands/db/resolve.command.js.map +1 -1
  213. package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
  214. package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
  215. package/dist/src/commands/dev/design-tokens-brand.command.d.ts.map +1 -1
  216. package/dist/src/commands/dev/design-tokens-brand.command.js.map +1 -1
  217. package/dist/src/commands/dev/design-tokens-contract.command.d.ts.map +1 -1
  218. package/dist/src/commands/dev/design-tokens-contract.command.js.map +1 -1
  219. package/dist/src/commands/dev/design-tokens-contrast.command.d.ts.map +1 -1
  220. package/dist/src/commands/dev/design-tokens-contrast.command.js.map +1 -1
  221. package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
  222. package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -1
  223. package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
  224. package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -1
  225. package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
  226. package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -1
  227. package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
  228. package/dist/src/commands/dev/force-stop.command.js.map +1 -1
  229. package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
  230. package/dist/src/commands/dev/resources.command.js.map +1 -1
  231. package/dist/src/commands/dev/start.command.d.ts.map +1 -1
  232. package/dist/src/commands/dev/start.command.js.map +1 -1
  233. package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
  234. package/dist/src/commands/dev/stop-all.command.js.map +1 -1
  235. package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
  236. package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
  237. package/dist/src/commands/docs/check.command.d.ts.map +1 -1
  238. package/dist/src/commands/docs/check.command.js +12 -0
  239. package/dist/src/commands/docs/check.command.js.map +1 -1
  240. package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
  241. package/dist/src/commands/docs/publish.command.js.map +1 -1
  242. package/dist/src/commands/frontend/look.command.d.ts.map +1 -1
  243. package/dist/src/commands/frontend/look.command.js.map +1 -1
  244. package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
  245. package/dist/src/commands/frontend/publish.command.js.map +1 -1
  246. package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
  247. package/dist/src/commands/fwk/audit.command.js.map +1 -1
  248. package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
  249. package/dist/src/commands/fwk/dev-skills.command.js +20 -0
  250. package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
  251. package/dist/src/commands/fwk/generate-blueprints.command.d.ts.map +1 -1
  252. package/dist/src/commands/fwk/generate-blueprints.command.js +2 -1
  253. package/dist/src/commands/fwk/generate-blueprints.command.js.map +1 -1
  254. package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
  255. package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
  256. package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
  257. package/dist/src/commands/fwk/generate-providers.command.js +2 -2
  258. package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
  259. package/dist/src/commands/fwk/graph.command.d.ts +1 -1
  260. package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
  261. package/dist/src/commands/fwk/graph.command.js +1 -1
  262. package/dist/src/commands/fwk/graph.command.js.map +1 -1
  263. package/dist/src/commands/fwk/publish-all.command.d.ts +53 -0
  264. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  265. package/dist/src/commands/fwk/publish-all.command.js +345 -12
  266. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  267. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  268. package/dist/src/commands/fwk/publish-docker.command.js +9 -0
  269. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  270. package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
  271. package/dist/src/commands/fwk/publish-npm.command.js +15 -4
  272. package/dist/src/commands/fwk/publish-npm.command.js.map +1 -1
  273. package/dist/src/commands/fwk/publish-promote.command.d.ts.map +1 -1
  274. package/dist/src/commands/fwk/publish-promote.command.js +32 -11
  275. package/dist/src/commands/fwk/publish-promote.command.js.map +1 -1
  276. package/dist/src/commands/fwk/publish-providers.command.d.ts.map +1 -1
  277. package/dist/src/commands/fwk/publish-providers.command.js +8 -0
  278. package/dist/src/commands/fwk/publish-providers.command.js.map +1 -1
  279. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
  280. package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
  281. package/dist/src/commands/fwk/release.command.d.ts +22 -0
  282. package/dist/src/commands/fwk/release.command.d.ts.map +1 -0
  283. package/dist/src/commands/fwk/release.command.js +216 -0
  284. package/dist/src/commands/fwk/release.command.js.map +1 -0
  285. package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
  286. package/dist/src/commands/fwk/version-bump.command.js.map +1 -1
  287. package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
  288. package/dist/src/commands/fwk/version-set.command.js.map +1 -1
  289. package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
  290. package/dist/src/commands/fwk/version-show.command.js.map +1 -1
  291. package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
  292. package/dist/src/commands/fwk/version-sync.command.js.map +1 -1
  293. package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
  294. package/dist/src/commands/fwk/what-touches.command.js.map +1 -1
  295. package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
  296. package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
  297. package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
  298. package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
  299. package/dist/src/commands/generate/email-command.utils.d.ts +15 -2
  300. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  301. package/dist/src/commands/generate/email-command.utils.js +20 -7
  302. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  303. package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
  304. package/dist/src/commands/generate/email-preview.command.js.map +1 -1
  305. package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
  306. package/dist/src/commands/generate/email-status.command.js +2 -2
  307. package/dist/src/commands/generate/email-status.command.js.map +1 -1
  308. package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
  309. package/dist/src/commands/generate/email-test-send.command.js.map +1 -1
  310. package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
  311. package/dist/src/commands/generate/email-translate.command.js +2 -2
  312. package/dist/src/commands/generate/email-translate.command.js.map +1 -1
  313. package/dist/src/commands/generate/email.command.d.ts.map +1 -1
  314. package/dist/src/commands/generate/email.command.js +2 -2
  315. package/dist/src/commands/generate/email.command.js.map +1 -1
  316. package/dist/src/commands/generate/labelling-command.utils.d.ts +15 -0
  317. package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
  318. package/dist/src/commands/generate/labelling-command.utils.js +110 -12
  319. package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
  320. package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
  321. package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
  322. package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
  323. package/dist/src/commands/generate/labels.command.js.map +1 -1
  324. package/dist/src/commands/generate/translate.command.d.ts +5 -0
  325. package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
  326. package/dist/src/commands/generate/translate.command.js +9 -3
  327. package/dist/src/commands/generate/translate.command.js.map +1 -1
  328. package/dist/src/commands/help.command.d.ts.map +1 -1
  329. package/dist/src/commands/help.command.js +2 -0
  330. package/dist/src/commands/help.command.js.map +1 -1
  331. package/dist/src/commands/init.command.d.ts +11 -3
  332. package/dist/src/commands/init.command.d.ts.map +1 -1
  333. package/dist/src/commands/init.command.js +73 -27
  334. package/dist/src/commands/init.command.js.map +1 -1
  335. package/dist/src/commands/keys/legacy-envelope-key.command.d.ts +8 -0
  336. package/dist/src/commands/keys/legacy-envelope-key.command.d.ts.map +1 -0
  337. package/dist/src/commands/keys/legacy-envelope-key.command.js +140 -0
  338. package/dist/src/commands/keys/legacy-envelope-key.command.js.map +1 -0
  339. package/dist/src/commands/keys/rotate-signing-keys.command.d.ts +8 -0
  340. package/dist/src/commands/keys/rotate-signing-keys.command.d.ts.map +1 -0
  341. package/dist/src/commands/keys/rotate-signing-keys.command.js +158 -0
  342. package/dist/src/commands/keys/rotate-signing-keys.command.js.map +1 -0
  343. package/dist/src/commands/keys/rotate.command.d.ts.map +1 -1
  344. package/dist/src/commands/keys/rotate.command.js.map +1 -1
  345. package/dist/src/commands/keys/thumbprint.command.d.ts.map +1 -1
  346. package/dist/src/commands/keys/thumbprint.command.js.map +1 -1
  347. package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts +7 -0
  348. package/dist/src/commands/keys/vault-rotate-tokens.command.d.ts.map +1 -0
  349. package/dist/src/commands/keys/vault-rotate-tokens.command.js +100 -0
  350. package/dist/src/commands/keys/vault-rotate-tokens.command.js.map +1 -0
  351. package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts +7 -0
  352. package/dist/src/commands/keys/vault-rotate-unseal-key.command.d.ts.map +1 -0
  353. package/dist/src/commands/keys/vault-rotate-unseal-key.command.js +96 -0
  354. package/dist/src/commands/keys/vault-rotate-unseal-key.command.js.map +1 -0
  355. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  356. package/dist/src/commands/local/deregister.command.js.map +1 -1
  357. package/dist/src/commands/local/dev-status.command.d.ts +16 -4
  358. package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
  359. package/dist/src/commands/local/dev-status.command.js +50 -6
  360. package/dist/src/commands/local/dev-status.command.js.map +1 -1
  361. package/dist/src/commands/local/dev.command.d.ts +80 -5
  362. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  363. package/dist/src/commands/local/dev.command.js +273 -19
  364. package/dist/src/commands/local/dev.command.js.map +1 -1
  365. package/dist/src/commands/local/doctor.command.d.ts +22 -9
  366. package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
  367. package/dist/src/commands/local/doctor.command.js +59 -43
  368. package/dist/src/commands/local/doctor.command.js.map +1 -1
  369. package/dist/src/commands/local/down.command.d.ts.map +1 -1
  370. package/dist/src/commands/local/down.command.js +1 -2
  371. package/dist/src/commands/local/down.command.js.map +1 -1
  372. package/dist/src/commands/local/init.command.d.ts.map +1 -1
  373. package/dist/src/commands/local/init.command.js.map +1 -1
  374. package/dist/src/commands/local/logs.command.d.ts.map +1 -1
  375. package/dist/src/commands/local/logs.command.js.map +1 -1
  376. package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
  377. package/dist/src/commands/local/reinit.command.js.map +1 -1
  378. package/dist/src/commands/local/reset.command.d.ts.map +1 -1
  379. package/dist/src/commands/local/reset.command.js.map +1 -1
  380. package/dist/src/commands/local/restore.command.d.ts.map +1 -1
  381. package/dist/src/commands/local/restore.command.js.map +1 -1
  382. package/dist/src/commands/local/smoke.command.d.ts.map +1 -1
  383. package/dist/src/commands/local/smoke.command.js +1 -1
  384. package/dist/src/commands/local/smoke.command.js.map +1 -1
  385. package/dist/src/commands/local/sor-addresses.command.d.ts +20 -0
  386. package/dist/src/commands/local/sor-addresses.command.d.ts.map +1 -0
  387. package/dist/src/commands/local/sor-addresses.command.js +65 -0
  388. package/dist/src/commands/local/sor-addresses.command.js.map +1 -0
  389. package/dist/src/commands/local/sor-command.utils.d.ts +12 -0
  390. package/dist/src/commands/local/sor-command.utils.d.ts.map +1 -0
  391. package/dist/src/commands/local/sor-command.utils.js +28 -0
  392. package/dist/src/commands/local/sor-command.utils.js.map +1 -0
  393. package/dist/src/commands/local/sor-secrets.command.d.ts +20 -0
  394. package/dist/src/commands/local/sor-secrets.command.d.ts.map +1 -0
  395. package/dist/src/commands/local/sor-secrets.command.js +75 -0
  396. package/dist/src/commands/local/sor-secrets.command.js.map +1 -0
  397. package/dist/src/commands/local/sor-simulators.command.d.ts +21 -0
  398. package/dist/src/commands/local/sor-simulators.command.d.ts.map +1 -0
  399. package/dist/src/commands/local/sor-simulators.command.js +55 -0
  400. package/dist/src/commands/local/sor-simulators.command.js.map +1 -0
  401. package/dist/src/commands/local/status.command.d.ts.map +1 -1
  402. package/dist/src/commands/local/status.command.js.map +1 -1
  403. package/dist/src/commands/local/up.command.d.ts.map +1 -1
  404. package/dist/src/commands/local/up.command.js.map +1 -1
  405. package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
  406. package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
  407. package/dist/src/commands/lock/check.command.d.ts +7 -7
  408. package/dist/src/commands/lock/check.command.d.ts.map +1 -1
  409. package/dist/src/commands/lock/check.command.js +11 -11
  410. package/dist/src/commands/lock/check.command.js.map +1 -1
  411. package/dist/src/commands/market/generate.command.d.ts.map +1 -1
  412. package/dist/src/commands/market/generate.command.js.map +1 -1
  413. package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
  414. package/dist/src/commands/market/market-command.utils.js.map +1 -1
  415. package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
  416. package/dist/src/commands/prefs/set.command.js.map +1 -1
  417. package/dist/src/commands/providers/application-connection-session.utils.d.ts +9 -0
  418. package/dist/src/commands/providers/application-connection-session.utils.d.ts.map +1 -0
  419. package/dist/src/commands/providers/application-connection-session.utils.js +49 -0
  420. package/dist/src/commands/providers/application-connection-session.utils.js.map +1 -0
  421. package/dist/src/commands/providers/chat-command-registrations.utils.d.ts.map +1 -1
  422. package/dist/src/commands/providers/chat-command-registrations.utils.js +2 -1
  423. package/dist/src/commands/providers/chat-command-registrations.utils.js.map +1 -1
  424. package/dist/src/commands/providers/connect.command.d.ts +19 -0
  425. package/dist/src/commands/providers/connect.command.d.ts.map +1 -0
  426. package/dist/src/commands/providers/connect.command.js +257 -0
  427. package/dist/src/commands/providers/connect.command.js.map +1 -0
  428. package/dist/src/commands/providers/connections.command.d.ts +14 -0
  429. package/dist/src/commands/providers/connections.command.d.ts.map +1 -0
  430. package/dist/src/commands/providers/connections.command.js +74 -0
  431. package/dist/src/commands/providers/connections.command.js.map +1 -0
  432. package/dist/src/commands/providers/disconnect.command.d.ts +15 -0
  433. package/dist/src/commands/providers/disconnect.command.d.ts.map +1 -0
  434. package/dist/src/commands/providers/disconnect.command.js +91 -0
  435. package/dist/src/commands/providers/disconnect.command.js.map +1 -0
  436. package/dist/src/commands/providers/new.command.d.ts.map +1 -1
  437. package/dist/src/commands/providers/new.command.js +2 -2
  438. package/dist/src/commands/providers/new.command.js.map +1 -1
  439. package/dist/src/commands/providers/probe.command.d.ts +0 -1
  440. package/dist/src/commands/providers/probe.command.d.ts.map +1 -1
  441. package/dist/src/commands/providers/probe.command.js +31 -31
  442. package/dist/src/commands/providers/probe.command.js.map +1 -1
  443. package/dist/src/commands/providers/prove.command.d.ts +16 -0
  444. package/dist/src/commands/providers/prove.command.d.ts.map +1 -0
  445. package/dist/src/commands/providers/prove.command.js +174 -0
  446. package/dist/src/commands/providers/prove.command.js.map +1 -0
  447. package/dist/src/commands/providers/register.command.d.ts.map +1 -1
  448. package/dist/src/commands/providers/register.command.js +45 -10
  449. package/dist/src/commands/providers/register.command.js.map +1 -1
  450. package/dist/src/commands/providers/show.command.d.ts.map +1 -1
  451. package/dist/src/commands/providers/show.command.js.map +1 -1
  452. package/dist/src/commands/registry/add.command.d.ts.map +1 -1
  453. package/dist/src/commands/registry/add.command.js.map +1 -1
  454. package/dist/src/commands/registry/domain.command.d.ts.map +1 -1
  455. package/dist/src/commands/registry/domain.command.js.map +1 -1
  456. package/dist/src/commands/registry/info.command.d.ts.map +1 -1
  457. package/dist/src/commands/registry/info.command.js.map +1 -1
  458. package/dist/src/commands/registry/key.command.d.ts.map +1 -1
  459. package/dist/src/commands/registry/key.command.js.map +1 -1
  460. package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
  461. package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -1
  462. package/dist/src/commands/registry/login.command.d.ts.map +1 -1
  463. package/dist/src/commands/registry/login.command.js +4 -2
  464. package/dist/src/commands/registry/login.command.js.map +1 -1
  465. package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
  466. package/dist/src/commands/registry/logout.command.js.map +1 -1
  467. package/dist/src/commands/registry/outdated.command.d.ts.map +1 -1
  468. package/dist/src/commands/registry/outdated.command.js.map +1 -1
  469. package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
  470. package/dist/src/commands/registry/ping.command.js.map +1 -1
  471. package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
  472. package/dist/src/commands/registry/publish.command.js +14 -0
  473. package/dist/src/commands/registry/publish.command.js.map +1 -1
  474. package/dist/src/commands/registry/registry-transport.constants.d.ts.map +1 -1
  475. package/dist/src/commands/registry/registry-transport.constants.js.map +1 -1
  476. package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
  477. package/dist/src/commands/registry/remove.command.js.map +1 -1
  478. package/dist/src/commands/registry/repair-lockfile.command.d.ts +12 -11
  479. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  480. package/dist/src/commands/registry/repair-lockfile.command.js +47 -56
  481. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  482. package/dist/src/commands/registry/search.command.d.ts.map +1 -1
  483. package/dist/src/commands/registry/search.command.js.map +1 -1
  484. package/dist/src/commands/registry/status.command.d.ts.map +1 -1
  485. package/dist/src/commands/registry/status.command.js.map +1 -1
  486. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  487. package/dist/src/commands/registry/update.command.js.map +1 -1
  488. package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
  489. package/dist/src/commands/registry/whoami.command.js +4 -2
  490. package/dist/src/commands/registry/whoami.command.js.map +1 -1
  491. package/dist/src/commands/registry/yank.command.d.ts.map +1 -1
  492. package/dist/src/commands/registry/yank.command.js.map +1 -1
  493. package/dist/src/commands/remote/create.command.d.ts.map +1 -1
  494. package/dist/src/commands/remote/create.command.js.map +1 -1
  495. package/dist/src/commands/remote/list.command.d.ts.map +1 -1
  496. package/dist/src/commands/remote/list.command.js.map +1 -1
  497. package/dist/src/commands/remote/status.command.d.ts.map +1 -1
  498. package/dist/src/commands/remote/status.command.js.map +1 -1
  499. package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
  500. package/dist/src/commands/remote/sync.command.js +1 -1
  501. package/dist/src/commands/remote/sync.command.js.map +1 -1
  502. package/dist/src/commands/seal/currency.command.d.ts +13 -0
  503. package/dist/src/commands/seal/currency.command.d.ts.map +1 -0
  504. package/dist/src/commands/seal/currency.command.js +52 -0
  505. package/dist/src/commands/seal/currency.command.js.map +1 -0
  506. package/dist/src/commands/seal/dead.command.d.ts.map +1 -1
  507. package/dist/src/commands/seal/dead.command.js +2 -1
  508. package/dist/src/commands/seal/dead.command.js.map +1 -1
  509. package/dist/src/commands/seal/export.command.d.ts.map +1 -1
  510. package/dist/src/commands/seal/export.command.js.map +1 -1
  511. package/dist/src/commands/seal/log-export.command.d.ts.map +1 -1
  512. package/dist/src/commands/seal/log-export.command.js +6 -1
  513. package/dist/src/commands/seal/log-export.command.js.map +1 -1
  514. package/dist/src/commands/seal/log-verify.command.d.ts.map +1 -1
  515. package/dist/src/commands/seal/log-verify.command.js +2 -1
  516. package/dist/src/commands/seal/log-verify.command.js.map +1 -1
  517. package/dist/src/commands/seal/rebuild-copy.command.d.ts +14 -0
  518. package/dist/src/commands/seal/rebuild-copy.command.d.ts.map +1 -0
  519. package/dist/src/commands/seal/rebuild-copy.command.js +48 -0
  520. package/dist/src/commands/seal/rebuild-copy.command.js.map +1 -0
  521. package/dist/src/commands/seal/retry.command.d.ts.map +1 -1
  522. package/dist/src/commands/seal/retry.command.js.map +1 -1
  523. package/dist/src/commands/seal/seal-admin-door.utils.d.ts.map +1 -1
  524. package/dist/src/commands/seal/seal-admin-door.utils.js +2 -0
  525. package/dist/src/commands/seal/seal-admin-door.utils.js.map +1 -1
  526. package/dist/src/commands/seal/signing-log-files.utils.d.ts.map +1 -1
  527. package/dist/src/commands/seal/signing-log-files.utils.js.map +1 -1
  528. package/dist/src/commands/seal/verify.command.d.ts +14 -0
  529. package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
  530. package/dist/src/commands/seal/verify.command.js +85 -9
  531. package/dist/src/commands/seal/verify.command.js.map +1 -1
  532. package/dist/src/commands/secrets/github.command.d.ts.map +1 -1
  533. package/dist/src/commands/secrets/github.command.js.map +1 -1
  534. package/dist/src/commands/secrets/list.command.d.ts.map +1 -1
  535. package/dist/src/commands/secrets/list.command.js.map +1 -1
  536. package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
  537. package/dist/src/commands/secrets/set.command.js +5 -3
  538. package/dist/src/commands/secrets/set.command.js.map +1 -1
  539. package/dist/src/commands/secrets/unset.command.d.ts.map +1 -1
  540. package/dist/src/commands/secrets/unset.command.js.map +1 -1
  541. package/dist/src/commands/setup.command.d.ts.map +1 -1
  542. package/dist/src/commands/setup.command.js.map +1 -1
  543. package/dist/src/commands/update.command.d.ts.map +1 -1
  544. package/dist/src/commands/update.command.js +86 -7
  545. package/dist/src/commands/update.command.js.map +1 -1
  546. package/dist/src/commands/version.command.d.ts.map +1 -1
  547. package/dist/src/commands/version.command.js.map +1 -1
  548. package/dist/src/commands/website/audit.command.d.ts.map +1 -1
  549. package/dist/src/commands/website/audit.command.js +15 -1
  550. package/dist/src/commands/website/audit.command.js.map +1 -1
  551. package/dist/src/commands/website/look.command.d.ts.map +1 -1
  552. package/dist/src/commands/website/look.command.js.map +1 -1
  553. package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
  554. package/dist/src/commands/workbench/open.command.js +12 -3
  555. package/dist/src/commands/workbench/open.command.js.map +1 -1
  556. package/dist/src/commands/workbench/parallelism.command.d.ts.map +1 -1
  557. package/dist/src/commands/workbench/parallelism.command.js.map +1 -1
  558. package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
  559. package/dist/src/commands/workbench/status.command.js.map +1 -1
  560. package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
  561. package/dist/src/infrastructure/errors/error.utils.js.map +1 -1
  562. package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
  563. package/dist/src/infrastructure/io/file.utils.js.map +1 -1
  564. package/dist/src/infrastructure/io/io.schemas.d.ts +4 -4
  565. package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
  566. package/dist/src/infrastructure/io/io.schemas.js +4 -4
  567. package/dist/src/infrastructure/io/io.schemas.js.map +1 -1
  568. package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
  569. package/dist/src/infrastructure/io/template-processor.js.map +1 -1
  570. package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
  571. package/dist/src/infrastructure/logger/logger.service.js.map +1 -1
  572. package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
  573. package/dist/src/infrastructure/process/spawn.utils.js.map +1 -1
  574. package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
  575. package/dist/src/infrastructure/ui/formatting.service.js.map +1 -1
  576. package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
  577. package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -1
  578. package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
  579. package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -1
  580. package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
  581. package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -1
  582. package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
  583. package/dist/src/infrastructure/utils/string.utils.js.map +1 -1
  584. package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
  585. package/dist/src/infrastructure/validation/validator.service.js.map +1 -1
  586. package/dist/src/kernel/base-command.d.ts.map +1 -1
  587. package/dist/src/kernel/base-command.js.map +1 -1
  588. package/dist/src/kernel/bootstrap.d.ts +10 -0
  589. package/dist/src/kernel/bootstrap.d.ts.map +1 -1
  590. package/dist/src/kernel/bootstrap.js +13 -1
  591. package/dist/src/kernel/bootstrap.js.map +1 -1
  592. package/dist/src/kernel/command-index-cache.d.ts.map +1 -1
  593. package/dist/src/kernel/command-index-cache.js.map +1 -1
  594. package/dist/src/kernel/command-registry.d.ts.map +1 -1
  595. package/dist/src/kernel/command-registry.js +5 -0
  596. package/dist/src/kernel/command-registry.js.map +1 -1
  597. package/dist/src/kernel/command-runner.d.ts.map +1 -1
  598. package/dist/src/kernel/command-runner.js.map +1 -1
  599. package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
  600. package/dist/src/kernel/command-scope-utils.js.map +1 -1
  601. package/dist/src/kernel/flag-utils.d.ts.map +1 -1
  602. package/dist/src/kernel/flag-utils.js.map +1 -1
  603. package/dist/src/kernel/hooks.d.ts.map +1 -1
  604. package/dist/src/kernel/hooks.js.map +1 -1
  605. package/dist/src/kernel/json-document-output.d.ts.map +1 -1
  606. package/dist/src/kernel/json-document-output.js.map +1 -1
  607. package/dist/src/kernel/logger.d.ts.map +1 -1
  608. package/dist/src/kernel/logger.js.map +1 -1
  609. package/dist/src/kernel/types.d.ts +8 -1
  610. package/dist/src/kernel/types.d.ts.map +1 -1
  611. package/dist/src/kernel/types.js +7 -0
  612. package/dist/src/kernel/types.js.map +1 -1
  613. package/dist/src/main.d.ts.map +1 -1
  614. package/dist/src/main.js.map +1 -1
  615. package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
  616. package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -1
  617. package/dist/src/modules/domain/credentials/approver-user.module.d.ts.map +1 -1
  618. package/dist/src/modules/domain/credentials/approver-user.module.js.map +1 -1
  619. package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -1
  620. package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -1
  621. package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
  622. package/dist/src/modules/domain/credentials/module.types.js.map +1 -1
  623. package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
  624. package/dist/src/modules/domain/environment/database-config.module.js.map +1 -1
  625. package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
  626. package/dist/src/modules/domain/environment/module.types.js.map +1 -1
  627. package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
  628. package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -1
  629. package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
  630. package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -1
  631. package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
  632. package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -1
  633. package/dist/src/modules/domain/module.types.d.ts.map +1 -1
  634. package/dist/src/modules/domain/module.types.js.map +1 -1
  635. package/dist/src/services/application/ai-use-declarations.service.d.ts.map +1 -1
  636. package/dist/src/services/application/ai-use-declarations.service.js.map +1 -1
  637. package/dist/src/services/application/app-bootstrap.service.d.ts +42 -3
  638. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  639. package/dist/src/services/application/app-bootstrap.service.js +147 -42
  640. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  641. package/dist/src/services/application/app-env.service.d.ts.map +1 -1
  642. package/dist/src/services/application/app-env.service.js.map +1 -1
  643. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +19 -1
  644. package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
  645. package/dist/src/services/application/app-local-runtime-addresses.service.js +23 -5
  646. package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -1
  647. package/dist/src/services/application/app-runtime-targets.service.d.ts +8 -1
  648. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  649. package/dist/src/services/application/app-runtime-targets.service.js +17 -8
  650. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  651. package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
  652. package/dist/src/services/application/app-schema-bootstrap.service.js +5 -1
  653. package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -1
  654. package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
  655. package/dist/src/services/application/application-assets-delivery.service.js +10 -1
  656. package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
  657. package/dist/src/services/application/application-browser-smoke.service.d.ts +23 -0
  658. package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -1
  659. package/dist/src/services/application/application-browser-smoke.service.js +142 -19
  660. package/dist/src/services/application/application-browser-smoke.service.js.map +1 -1
  661. package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
  662. package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
  663. package/dist/src/services/application/application-dependency-alignment.service.d.ts +10 -6
  664. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  665. package/dist/src/services/application/application-dependency-alignment.service.js +32 -18
  666. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  667. package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
  668. package/dist/src/services/application/application-dev-port-offsets.js.map +1 -1
  669. package/dist/src/services/application/application-dev-script-migration.service.d.ts +56 -0
  670. package/dist/src/services/application/application-dev-script-migration.service.d.ts.map +1 -0
  671. package/dist/src/services/application/application-dev-script-migration.service.js +208 -0
  672. package/dist/src/services/application/application-dev-script-migration.service.js.map +1 -0
  673. package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -0
  674. package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
  675. package/dist/src/services/application/application-initialization-verification.service.js +31 -11
  676. package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
  677. package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
  678. package/dist/src/services/application/application-root.utils.js.map +1 -1
  679. package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
  680. package/dist/src/services/application/application-runtime-bootstrap.service.js +2 -0
  681. package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
  682. package/dist/src/services/application/backend-config.paths.d.ts.map +1 -1
  683. package/dist/src/services/application/backend-config.paths.js.map +1 -1
  684. package/dist/src/services/application/composition-provider-plan.service.d.ts +1 -1
  685. package/dist/src/services/application/composition-provider-plan.service.d.ts.map +1 -1
  686. package/dist/src/services/application/composition-provider-plan.service.js +53 -28
  687. package/dist/src/services/application/composition-provider-plan.service.js.map +1 -1
  688. package/dist/src/services/application/content-guardrail-classifier.service.d.ts +19 -0
  689. package/dist/src/services/application/content-guardrail-classifier.service.d.ts.map +1 -1
  690. package/dist/src/services/application/content-guardrail-classifier.service.js +76 -12
  691. package/dist/src/services/application/content-guardrail-classifier.service.js.map +1 -1
  692. package/dist/src/services/application/creation-host-readiness.service.d.ts +13 -1
  693. package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -1
  694. package/dist/src/services/application/creation-host-readiness.service.js +44 -5
  695. package/dist/src/services/application/creation-host-readiness.service.js.map +1 -1
  696. package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -1
  697. package/dist/src/services/application/creation-preflight.service.js.map +1 -1
  698. package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -1
  699. package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -1
  700. package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
  701. package/dist/src/services/application/dev-orchestrator.service.js.map +1 -1
  702. package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
  703. package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
  704. package/dist/src/services/application/engine-label-base-seeding.service.d.ts +85 -0
  705. package/dist/src/services/application/engine-label-base-seeding.service.d.ts.map +1 -0
  706. package/dist/src/services/application/engine-label-base-seeding.service.js +130 -0
  707. package/dist/src/services/application/engine-label-base-seeding.service.js.map +1 -0
  708. package/dist/src/services/application/environment-provider-configurations.service.d.ts.map +1 -1
  709. package/dist/src/services/application/environment-provider-configurations.service.js.map +1 -1
  710. package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
  711. package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -1
  712. package/dist/src/services/application/frontend-provider-sdk-declarations.service.d.ts.map +1 -1
  713. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js +1 -1
  714. package/dist/src/services/application/frontend-provider-sdk-declarations.service.js.map +1 -1
  715. package/dist/src/services/application/frontend-provider-source.service.d.ts.map +1 -1
  716. package/dist/src/services/application/frontend-provider-source.service.js.map +1 -1
  717. package/dist/src/services/application/frontend-providers-not-configured.service.d.ts.map +1 -1
  718. package/dist/src/services/application/frontend-providers-not-configured.service.js.map +1 -1
  719. package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -1
  720. package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -1
  721. package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts +13 -0
  722. package/dist/src/services/application/infra-system-of-record-addresses.editor.d.ts.map +1 -0
  723. package/dist/src/services/application/infra-system-of-record-addresses.editor.js +185 -0
  724. package/dist/src/services/application/infra-system-of-record-addresses.editor.js.map +1 -0
  725. package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
  726. package/dist/src/services/application/local-app-reinit.service.js.map +1 -1
  727. package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
  728. package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
  729. package/dist/src/services/application/local-provider-doubles.service.d.ts +98 -0
  730. package/dist/src/services/application/local-provider-doubles.service.d.ts.map +1 -0
  731. package/dist/src/services/application/local-provider-doubles.service.js +214 -0
  732. package/dist/src/services/application/local-provider-doubles.service.js.map +1 -0
  733. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  734. package/dist/src/services/application/provider-runtime-sync.service.js +38 -10
  735. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  736. package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
  737. package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
  738. package/dist/src/services/application/saas-skeleton.service.d.ts +6 -2
  739. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  740. package/dist/src/services/application/saas-skeleton.service.js +46 -11
  741. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  742. package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -1
  743. package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -1
  744. package/dist/src/services/application/system-of-record-simulators.service.d.ts +221 -0
  745. package/dist/src/services/application/system-of-record-simulators.service.d.ts.map +1 -0
  746. package/dist/src/services/application/system-of-record-simulators.service.js +442 -0
  747. package/dist/src/services/application/system-of-record-simulators.service.js.map +1 -0
  748. package/dist/src/services/application/systems-of-record-library.service.d.ts +1 -1
  749. package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
  750. package/dist/src/services/application/systems-of-record-library.service.js +6 -3
  751. package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
  752. package/dist/src/services/assurance/assurance-cycle-location.service.d.ts +59 -0
  753. package/dist/src/services/assurance/assurance-cycle-location.service.d.ts.map +1 -0
  754. package/dist/src/services/assurance/assurance-cycle-location.service.js +139 -0
  755. package/dist/src/services/assurance/assurance-cycle-location.service.js.map +1 -0
  756. package/dist/src/services/blueprint/blueprint-apply.service.d.ts.map +1 -1
  757. package/dist/src/services/blueprint/blueprint-apply.service.js.map +1 -1
  758. package/dist/src/services/blueprint/blueprint-artifact.service.d.ts.map +1 -1
  759. package/dist/src/services/blueprint/blueprint-artifact.service.js +2 -1
  760. package/dist/src/services/blueprint/blueprint-artifact.service.js.map +1 -1
  761. package/dist/src/services/blueprint/blueprint-definition.reader.d.ts.map +1 -1
  762. package/dist/src/services/blueprint/blueprint-definition.reader.js.map +1 -1
  763. package/dist/src/services/blueprint/blueprint-export.service.d.ts.map +1 -1
  764. package/dist/src/services/blueprint/blueprint-export.service.js +2 -1
  765. package/dist/src/services/blueprint/blueprint-export.service.js.map +1 -1
  766. package/dist/src/services/blueprint/blueprint-line.service.d.ts.map +1 -1
  767. package/dist/src/services/blueprint/blueprint-line.service.js +5 -3
  768. package/dist/src/services/blueprint/blueprint-line.service.js.map +1 -1
  769. package/dist/src/services/blueprint/blueprint-module-references.service.d.ts.map +1 -1
  770. package/dist/src/services/blueprint/blueprint-module-references.service.js.map +1 -1
  771. package/dist/src/services/blueprint/blueprint-registry.service.d.ts.map +1 -1
  772. package/dist/src/services/blueprint/blueprint-registry.service.js.map +1 -1
  773. package/dist/src/services/blueprint/blueprint-report.d.ts.map +1 -1
  774. package/dist/src/services/blueprint/blueprint-report.js.map +1 -1
  775. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts +1 -1
  776. package/dist/src/services/blueprint/framework-blueprint-catalog.service.d.ts.map +1 -1
  777. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js +1 -1
  778. package/dist/src/services/blueprint/framework-blueprint-catalog.service.js.map +1 -1
  779. package/dist/src/services/blueprint/framework-blueprints.service.d.ts.map +1 -1
  780. package/dist/src/services/blueprint/framework-blueprints.service.js +20 -7
  781. package/dist/src/services/blueprint/framework-blueprints.service.js.map +1 -1
  782. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  783. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  784. package/dist/src/services/catalog/service-catalog.schemas.d.ts +8 -33
  785. package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
  786. package/dist/src/services/catalog/service-catalog.schemas.js +23 -6
  787. package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
  788. package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
  789. package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
  790. package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -1
  791. package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -1
  792. package/dist/src/services/companion/agent-stop-reason-words.d.ts.map +1 -1
  793. package/dist/src/services/companion/agent-stop-reason-words.js.map +1 -1
  794. package/dist/src/services/companion/agent-work-shortfall-words.d.ts.map +1 -1
  795. package/dist/src/services/companion/agent-work-shortfall-words.js +21 -2
  796. package/dist/src/services/companion/agent-work-shortfall-words.js.map +1 -1
  797. package/dist/src/services/companion/build-console.service.d.ts +179 -7
  798. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  799. package/dist/src/services/companion/build-console.service.js +184 -15
  800. package/dist/src/services/companion/build-console.service.js.map +1 -1
  801. package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
  802. package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
  803. package/dist/src/services/companion/companion-client.service.d.ts +25 -1
  804. package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
  805. package/dist/src/services/companion/companion-client.service.js +61 -10
  806. package/dist/src/services/companion/companion-client.service.js.map +1 -1
  807. package/dist/src/services/companion/companion-health-hint.utils.d.ts +2 -1
  808. package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -1
  809. package/dist/src/services/companion/companion-health-hint.utils.js +8 -1
  810. package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -1
  811. package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
  812. package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -1
  813. package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
  814. package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
  815. package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
  816. package/dist/src/services/companion/companion.schemas.js.map +1 -1
  817. package/dist/src/services/companion/console-agent.d.ts +50 -0
  818. package/dist/src/services/companion/console-agent.d.ts.map +1 -0
  819. package/dist/src/services/companion/console-agent.js +67 -0
  820. package/dist/src/services/companion/console-agent.js.map +1 -0
  821. package/dist/src/services/companion/console-fast-path.d.ts +6 -4
  822. package/dist/src/services/companion/console-fast-path.d.ts.map +1 -1
  823. package/dist/src/services/companion/console-fast-path.js +12 -9
  824. package/dist/src/services/companion/console-fast-path.js.map +1 -1
  825. package/dist/src/services/companion/console-verb.utils.d.ts +7 -0
  826. package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -1
  827. package/dist/src/services/companion/console-verb.utils.js +22 -1
  828. package/dist/src/services/companion/console-verb.utils.js.map +1 -1
  829. package/dist/src/services/companion/creation-console.service.d.ts +44 -13
  830. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  831. package/dist/src/services/companion/creation-console.service.js +121 -7
  832. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  833. package/dist/src/services/companion/creation-drive.service.d.ts +262 -0
  834. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -0
  835. package/dist/src/services/companion/creation-drive.service.js +499 -0
  836. package/dist/src/services/companion/creation-drive.service.js.map +1 -0
  837. package/dist/src/services/companion/creation-run-report.models.d.ts +14 -0
  838. package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -1
  839. package/dist/src/services/companion/creation-run-report.models.js.map +1 -1
  840. package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
  841. package/dist/src/services/companion/git-helper.service.js.map +1 -1
  842. package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
  843. package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
  844. package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
  845. package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -1
  846. package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
  847. package/dist/src/services/companion/workbench-cli.service.js.map +1 -1
  848. package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -1
  849. package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -1
  850. package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
  851. package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
  852. package/dist/src/services/compliance/governed-document-releases.generator.d.ts +22 -6
  853. package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
  854. package/dist/src/services/compliance/governed-document-releases.generator.js +31 -11
  855. package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
  856. package/dist/src/services/compliance/legal-notice.generator.d.ts.map +1 -1
  857. package/dist/src/services/compliance/legal-notice.generator.js.map +1 -1
  858. package/dist/src/services/compliance/service-consent-requirement.generator.d.ts.map +1 -1
  859. package/dist/src/services/compliance/service-consent-requirement.generator.js.map +1 -1
  860. package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -1
  861. package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -1
  862. package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
  863. package/dist/src/services/context/context-manager.service.js.map +1 -1
  864. package/dist/src/services/context/context.schemas.d.ts.map +1 -1
  865. package/dist/src/services/context/context.schemas.js.map +1 -1
  866. package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -1
  867. package/dist/src/services/context/machine-preferences.writer.js.map +1 -1
  868. package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
  869. package/dist/src/services/context/state-manager.service.js.map +1 -1
  870. package/dist/src/services/credentials/application-secret-owners.service.d.ts +6 -1
  871. package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -1
  872. package/dist/src/services/credentials/application-secret-owners.service.js +50 -102
  873. package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -1
  874. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  875. package/dist/src/services/credentials/application-secrets.service.js +42 -13
  876. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  877. package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
  878. package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
  879. package/dist/src/services/credentials/composed-provider-catalogue.d.ts +54 -3
  880. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  881. package/dist/src/services/credentials/composed-provider-catalogue.js +77 -14
  882. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  883. package/dist/src/services/credentials/credentials.schemas.d.ts +21 -159
  884. package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
  885. package/dist/src/services/credentials/credentials.schemas.js +35 -18
  886. package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
  887. package/dist/src/services/credentials/credentials.service.d.ts +8 -2
  888. package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
  889. package/dist/src/services/credentials/credentials.service.js +11 -2
  890. package/dist/src/services/credentials/credentials.service.js.map +1 -1
  891. package/dist/src/services/credentials/framework-managed-secrets.d.ts +19 -5
  892. package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
  893. package/dist/src/services/credentials/framework-managed-secrets.js +42 -14
  894. package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
  895. package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
  896. package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
  897. package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -1
  898. package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -1
  899. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  900. package/dist/src/services/credentials/provider-env-vars.utils.js +21 -5
  901. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  902. package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -1
  903. package/dist/src/services/credentials/provider-secret-format.js.map +1 -1
  904. package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -1
  905. package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -1
  906. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  907. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  908. package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
  909. package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -1
  910. package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
  911. package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
  912. package/dist/src/services/credentials/secrets-rotation.service.d.ts +9 -0
  913. package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
  914. package/dist/src/services/credentials/secrets-rotation.service.js +1 -1
  915. package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
  916. package/dist/src/services/credentials/secrets-writer.service.d.ts +4 -1
  917. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  918. package/dist/src/services/credentials/secrets-writer.service.js +4 -2
  919. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  920. package/dist/src/services/data-services/data-services.schemas.d.ts +9 -0
  921. package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
  922. package/dist/src/services/data-services/data-services.schemas.js +9 -0
  923. package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
  924. package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
  925. package/dist/src/services/data-services/data-services.service.js.map +1 -1
  926. package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts +93 -0
  927. package/dist/src/services/data-services/platform-key-vault.break-glass.service.d.ts.map +1 -0
  928. package/dist/src/services/data-services/platform-key-vault.break-glass.service.js +253 -0
  929. package/dist/src/services/data-services/platform-key-vault.break-glass.service.js.map +1 -0
  930. package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts +22 -0
  931. package/dist/src/services/data-services/platform-key-vault.break-glass.target.d.ts.map +1 -0
  932. package/dist/src/services/data-services/platform-key-vault.break-glass.target.js +64 -0
  933. package/dist/src/services/data-services/platform-key-vault.break-glass.target.js.map +1 -0
  934. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts +42 -11
  935. package/dist/src/services/data-services/platform-key-vault.server-config.d.ts.map +1 -1
  936. package/dist/src/services/data-services/platform-key-vault.server-config.js +63 -16
  937. package/dist/src/services/data-services/platform-key-vault.server-config.js.map +1 -1
  938. package/dist/src/services/deployment/application-first-run-checks.service.d.ts +131 -0
  939. package/dist/src/services/deployment/application-first-run-checks.service.d.ts.map +1 -0
  940. package/dist/src/services/deployment/application-first-run-checks.service.js +438 -0
  941. package/dist/src/services/deployment/application-first-run-checks.service.js.map +1 -0
  942. package/dist/src/services/deployment/application-runtime-environment.d.ts +93 -0
  943. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -0
  944. package/dist/src/services/deployment/application-runtime-environment.js +116 -0
  945. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -0
  946. package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
  947. package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -1
  948. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  949. package/dist/src/services/deployment/ci-deploy-generator.service.js +14 -1
  950. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  951. package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
  952. package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
  953. package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
  954. package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
  955. package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
  956. package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
  957. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +177 -51
  958. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  959. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +368 -93
  960. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  961. package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
  962. package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
  963. package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
  964. package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -1
  965. package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
  966. package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
  967. package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
  968. package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
  969. package/dist/src/services/deployment/framework-pod-network-membership.d.ts +56 -0
  970. package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -0
  971. package/dist/src/services/deployment/framework-pod-network-membership.js +126 -0
  972. package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -0
  973. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
  974. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  975. package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
  976. package/dist/src/services/deployment/infra-writer.service.js +4 -4
  977. package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
  978. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -1
  979. package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -1
  980. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
  981. package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
  982. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
  983. package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -1
  984. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +51 -10
  985. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  986. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +179 -43
  987. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  988. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +38 -2
  989. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  990. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  991. package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
  992. package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -1
  993. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  994. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +35 -31
  995. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  996. package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
  997. package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -1
  998. package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
  999. package/dist/src/services/deployment/k8s/kind.service.js.map +1 -1
  1000. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
  1001. package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -1
  1002. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +38 -0
  1003. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -0
  1004. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js +84 -0
  1005. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -0
  1006. package/dist/src/services/deployment/local-dev-log-retention.service.d.ts.map +1 -1
  1007. package/dist/src/services/deployment/local-dev-log-retention.service.js +3 -2
  1008. package/dist/src/services/deployment/local-dev-log-retention.service.js.map +1 -1
  1009. package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
  1010. package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -1
  1011. package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
  1012. package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -1
  1013. package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
  1014. package/dist/src/services/deployment/local-dev-session-lease.service.js +22 -1
  1015. package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -1
  1016. package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
  1017. package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -1
  1018. package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
  1019. package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -1
  1020. package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
  1021. package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -1
  1022. package/dist/src/services/deployment/local-precondition-checks.service.d.ts +53 -0
  1023. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  1024. package/dist/src/services/deployment/local-precondition-checks.service.js +118 -1
  1025. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  1026. package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
  1027. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +32 -1
  1028. package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
  1029. package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
  1030. package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
  1031. package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
  1032. package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -1
  1033. package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
  1034. package/dist/src/services/deployment/version-compare.utils.js.map +1 -1
  1035. package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
  1036. package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -1
  1037. package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
  1038. package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -1
  1039. package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
  1040. package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -1
  1041. package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
  1042. package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -1
  1043. package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
  1044. package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -1
  1045. package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
  1046. package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -1
  1047. package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
  1048. package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -1
  1049. package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
  1050. package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
  1051. package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -1
  1052. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  1053. package/dist/src/services/environment/authored-infra-config.utils.js +14 -1
  1054. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  1055. package/dist/src/services/environment/authored-infra-member-authority.d.ts +87 -0
  1056. package/dist/src/services/environment/authored-infra-member-authority.d.ts.map +1 -0
  1057. package/dist/src/services/environment/authored-infra-member-authority.js +256 -0
  1058. package/dist/src/services/environment/authored-infra-member-authority.js.map +1 -0
  1059. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +56 -0
  1060. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -0
  1061. package/dist/src/services/environment/container-host-gateway-listen-host.js +102 -0
  1062. package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -0
  1063. package/dist/src/services/environment/env-configuration-generator.service.d.ts +13 -8
  1064. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  1065. package/dist/src/services/environment/env-configuration-generator.service.js +38 -13
  1066. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  1067. package/dist/src/services/environment/env-sync.service.d.ts +3 -2
  1068. package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
  1069. package/dist/src/services/environment/env-sync.service.js +21 -7
  1070. package/dist/src/services/environment/env-sync.service.js.map +1 -1
  1071. package/dist/src/services/environment/env-vars-builder.service.d.ts +35 -4
  1072. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  1073. package/dist/src/services/environment/env-vars-builder.service.js +88 -55
  1074. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  1075. package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
  1076. package/dist/src/services/environment/environment-hydration.utils.js +29 -30
  1077. package/dist/src/services/environment/environment-hydration.utils.js.map +1 -1
  1078. package/dist/src/services/environment/environment-lifecycle.service.d.ts +19 -0
  1079. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  1080. package/dist/src/services/environment/environment-lifecycle.service.js +35 -0
  1081. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  1082. package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
  1083. package/dist/src/services/environment/environment-paths.service.js.map +1 -1
  1084. package/dist/src/services/environment/environment-registry.service.d.ts +5 -6
  1085. package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
  1086. package/dist/src/services/environment/environment-registry.service.js +5 -6
  1087. package/dist/src/services/environment/environment-registry.service.js.map +1 -1
  1088. package/dist/src/services/environment/environment-service-profile.utils.d.ts +34 -0
  1089. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -0
  1090. package/dist/src/services/environment/environment-service-profile.utils.js +43 -0
  1091. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -0
  1092. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  1093. package/dist/src/services/environment/environment-setup.service.js +1 -1
  1094. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  1095. package/dist/src/services/environment/environment.schemas.d.ts +14 -11
  1096. package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
  1097. package/dist/src/services/environment/environment.schemas.js.map +1 -1
  1098. package/dist/src/services/environment/environment.service.d.ts +5 -0
  1099. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  1100. package/dist/src/services/environment/environment.service.js +2 -0
  1101. package/dist/src/services/environment/environment.service.js.map +1 -1
  1102. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.d.ts.map +1 -1
  1103. package/dist/src/services/environment/hosted-infrastructure-leftovers.service.js.map +1 -1
  1104. package/dist/src/services/environment/infrastructure-host.service.d.ts.map +1 -1
  1105. package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
  1106. package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
  1107. package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -1
  1108. package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
  1109. package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -1
  1110. package/dist/src/services/environment/platform-runtime.schemas.d.ts +26 -0
  1111. package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
  1112. package/dist/src/services/environment/platform-runtime.schemas.js +28 -0
  1113. package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
  1114. package/dist/src/services/environment/runtime-bootstrap.service.d.ts +106 -61
  1115. package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
  1116. package/dist/src/services/environment/runtime-bootstrap.service.js +178 -152
  1117. package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -1
  1118. package/dist/src/services/framework/application-agent-hooks-console.d.ts +153 -0
  1119. package/dist/src/services/framework/application-agent-hooks-console.d.ts.map +1 -0
  1120. package/dist/src/services/framework/application-agent-hooks-console.js +401 -0
  1121. package/dist/src/services/framework/application-agent-hooks-console.js.map +1 -0
  1122. package/dist/src/services/framework/application-agent-skills-console.d.ts +78 -0
  1123. package/dist/src/services/framework/application-agent-skills-console.d.ts.map +1 -0
  1124. package/dist/src/services/framework/application-agent-skills-console.js +116 -0
  1125. package/dist/src/services/framework/application-agent-skills-console.js.map +1 -0
  1126. package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -1
  1127. package/dist/src/services/framework/application-claude-settings.js.map +1 -1
  1128. package/dist/src/services/framework/application-console-loaders.d.ts +107 -0
  1129. package/dist/src/services/framework/application-console-loaders.d.ts.map +1 -0
  1130. package/dist/src/services/framework/application-console-loaders.js +221 -0
  1131. package/dist/src/services/framework/application-console-loaders.js.map +1 -0
  1132. package/dist/src/services/framework/application-opencode-console.d.ts +43 -0
  1133. package/dist/src/services/framework/application-opencode-console.d.ts.map +1 -0
  1134. package/dist/src/services/framework/application-opencode-console.js +68 -0
  1135. package/dist/src/services/framework/application-opencode-console.js.map +1 -0
  1136. package/dist/src/services/framework/application-provider-skills.service.d.ts.map +1 -1
  1137. package/dist/src/services/framework/application-provider-skills.service.js.map +1 -1
  1138. package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -1
  1139. package/dist/src/services/framework/application-rule-imports.js.map +1 -1
  1140. package/dist/src/services/framework/auditable-event-catalog.generator.d.ts.map +1 -1
  1141. package/dist/src/services/framework/auditable-event-catalog.generator.js.map +1 -1
  1142. package/dist/src/services/framework/claude-plugin-compiler.d.ts +6 -0
  1143. package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -1
  1144. package/dist/src/services/framework/claude-plugin-compiler.js +6 -1
  1145. package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -1
  1146. package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -1
  1147. package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -1
  1148. package/dist/src/services/framework/enum-member-docs.reader.d.ts.map +1 -1
  1149. package/dist/src/services/framework/enum-member-docs.reader.js.map +1 -1
  1150. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts +5 -0
  1151. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.d.ts.map +1 -1
  1152. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js +7 -2
  1153. package/dist/src/services/framework/flows-actors-realtime-catalog.generator.js.map +1 -1
  1154. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +19 -0
  1155. package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
  1156. package/dist/src/services/framework/framework-development-skills-sync.service.js +18 -4
  1157. package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
  1158. package/dist/src/services/framework/framework-docker-publish.service.d.ts +34 -2
  1159. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  1160. package/dist/src/services/framework/framework-docker-publish.service.js +63 -17
  1161. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  1162. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
  1163. package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -1
  1164. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +20 -3
  1165. package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
  1166. package/dist/src/services/framework/framework-knowledge-audit.service.js +86 -3
  1167. package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
  1168. package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
  1169. package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
  1170. package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
  1171. package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
  1172. package/dist/src/services/framework/framework-npm-credential.d.ts +76 -0
  1173. package/dist/src/services/framework/framework-npm-credential.d.ts.map +1 -0
  1174. package/dist/src/services/framework/framework-npm-credential.js +113 -0
  1175. package/dist/src/services/framework/framework-npm-credential.js.map +1 -0
  1176. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts +100 -8
  1177. package/dist/src/services/framework/framework-npm-dist-tag.service.d.ts.map +1 -1
  1178. package/dist/src/services/framework/framework-npm-dist-tag.service.js +147 -25
  1179. package/dist/src/services/framework/framework-npm-dist-tag.service.js.map +1 -1
  1180. package/dist/src/services/framework/framework-npm-publish.service.d.ts +50 -4
  1181. package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
  1182. package/dist/src/services/framework/framework-npm-publish.service.js +128 -56
  1183. package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
  1184. package/dist/src/services/framework/framework-publish-cli-origin.d.ts +22 -0
  1185. package/dist/src/services/framework/framework-publish-cli-origin.d.ts.map +1 -0
  1186. package/dist/src/services/framework/framework-publish-cli-origin.js +49 -0
  1187. package/dist/src/services/framework/framework-publish-cli-origin.js.map +1 -0
  1188. package/dist/src/services/framework/framework-publish-manifest.service.d.ts +18 -3
  1189. package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
  1190. package/dist/src/services/framework/framework-publish-manifest.service.js +43 -75
  1191. package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
  1192. package/dist/src/services/framework/framework-release.service.d.ts +13 -0
  1193. package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
  1194. package/dist/src/services/framework/framework-release.service.js +15 -2
  1195. package/dist/src/services/framework/framework-release.service.js.map +1 -1
  1196. package/dist/src/services/framework/framework-update.service.d.ts +7 -3
  1197. package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
  1198. package/dist/src/services/framework/framework-update.service.js +25 -16
  1199. package/dist/src/services/framework/framework-update.service.js.map +1 -1
  1200. package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
  1201. package/dist/src/services/framework/framework-version.service.js.map +1 -1
  1202. package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
  1203. package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
  1204. package/dist/src/services/framework/frontend-library-root-exports.d.ts.map +1 -1
  1205. package/dist/src/services/framework/frontend-library-root-exports.js.map +1 -1
  1206. package/dist/src/services/framework/installed-framework-assets.service.d.ts +2 -2
  1207. package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
  1208. package/dist/src/services/framework/installed-framework-assets.service.js +4 -0
  1209. package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
  1210. package/dist/src/services/framework/npm-registry-output.d.ts.map +1 -1
  1211. package/dist/src/services/framework/npm-registry-output.js.map +1 -1
  1212. package/dist/src/services/framework/package-install.service.d.ts +13 -3
  1213. package/dist/src/services/framework/package-install.service.d.ts.map +1 -1
  1214. package/dist/src/services/framework/package-install.service.js +22 -9
  1215. package/dist/src/services/framework/package-install.service.js.map +1 -1
  1216. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
  1217. package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
  1218. package/dist/src/services/framework/provider-transposition/api-version-settlement.d.ts.map +1 -1
  1219. package/dist/src/services/framework/provider-transposition/api-version-settlement.js.map +1 -1
  1220. package/dist/src/services/framework/provider-transposition/base-url-settlement.d.ts.map +1 -1
  1221. package/dist/src/services/framework/provider-transposition/base-url-settlement.js.map +1 -1
  1222. package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -1
  1223. package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
  1224. package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -1
  1225. package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -1
  1226. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
  1227. package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
  1228. package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
  1229. package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
  1230. package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
  1231. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +3 -3
  1232. package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
  1233. package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
  1234. package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
  1235. package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -1
  1236. package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -1
  1237. package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
  1238. package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
  1239. package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
  1240. package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
  1241. package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
  1242. package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
  1243. package/dist/src/services/framework/registry-host/registry-host-monitoring.d.ts.map +1 -1
  1244. package/dist/src/services/framework/registry-host/registry-host-monitoring.js.map +1 -1
  1245. package/dist/src/services/framework/registry-host/registry-host-remote.d.ts.map +1 -1
  1246. package/dist/src/services/framework/registry-host/registry-host-remote.js.map +1 -1
  1247. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
  1248. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
  1249. package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
  1250. package/dist/src/services/frontend/cloudflare-cdn.service.js +3 -6
  1251. package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -1
  1252. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +11 -3
  1253. package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
  1254. package/dist/src/services/frontend/frontend-dist-uploader.service.js +72 -29
  1255. package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -1
  1256. package/dist/src/services/frontend/frontend-look.service.d.ts.map +1 -1
  1257. package/dist/src/services/frontend/frontend-look.service.js +2 -1
  1258. package/dist/src/services/frontend/frontend-look.service.js.map +1 -1
  1259. package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
  1260. package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
  1261. package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
  1262. package/dist/src/services/generation/domain-generator.service.js.map +1 -1
  1263. package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
  1264. package/dist/src/services/generation/generator.schemas.js.map +1 -1
  1265. package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
  1266. package/dist/src/services/generation/operation-generator.service.js.map +1 -1
  1267. package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
  1268. package/dist/src/services/generation/resource-generator.service.js.map +1 -1
  1269. package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
  1270. package/dist/src/services/generation/template-registry.service.js.map +1 -1
  1271. package/dist/src/services/registry/application-provider-connection.service.d.ts +161 -0
  1272. package/dist/src/services/registry/application-provider-connection.service.d.ts.map +1 -0
  1273. package/dist/src/services/registry/application-provider-connection.service.js +337 -0
  1274. package/dist/src/services/registry/application-provider-connection.service.js.map +1 -0
  1275. package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
  1276. package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -1
  1277. package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -1
  1278. package/dist/src/services/registry/artifact-trust.utils.js.map +1 -1
  1279. package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
  1280. package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
  1281. package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -1
  1282. package/dist/src/services/registry/git-ignored-paths.utils.js +13 -2
  1283. package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -1
  1284. package/dist/src/services/registry/index.d.ts.map +1 -1
  1285. package/dist/src/services/registry/index.js.map +1 -1
  1286. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  1287. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  1288. package/dist/src/services/registry/installed-provider-module.service.d.ts.map +1 -1
  1289. package/dist/src/services/registry/installed-provider-module.service.js.map +1 -1
  1290. package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -1
  1291. package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -1
  1292. package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -1
  1293. package/dist/src/services/registry/migration-obligation.utils.js.map +1 -1
  1294. package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -1
  1295. package/dist/src/services/registry/module-acquisition.utils.js.map +1 -1
  1296. package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -1
  1297. package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -1
  1298. package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
  1299. package/dist/src/services/registry/module-install.service.js.map +1 -1
  1300. package/dist/src/services/registry/module-publish.service.d.ts.map +1 -1
  1301. package/dist/src/services/registry/module-publish.service.js +16 -7
  1302. package/dist/src/services/registry/module-publish.service.js.map +1 -1
  1303. package/dist/src/services/registry/module-registration.service.d.ts +0 -11
  1304. package/dist/src/services/registry/module-registration.service.d.ts.map +1 -1
  1305. package/dist/src/services/registry/module-registration.service.js +88 -149
  1306. package/dist/src/services/registry/module-registration.service.js.map +1 -1
  1307. package/dist/src/services/registry/module-requirements.service.d.ts.map +1 -1
  1308. package/dist/src/services/registry/module-requirements.service.js +5 -5
  1309. package/dist/src/services/registry/module-requirements.service.js.map +1 -1
  1310. package/dist/src/services/registry/provider-configuration-checks.service.d.ts +55 -0
  1311. package/dist/src/services/registry/provider-configuration-checks.service.d.ts.map +1 -0
  1312. package/dist/src/services/registry/provider-configuration-checks.service.js +208 -0
  1313. package/dist/src/services/registry/provider-configuration-checks.service.js.map +1 -0
  1314. package/dist/src/services/registry/provider-connect.service.d.ts +300 -0
  1315. package/dist/src/services/registry/provider-connect.service.d.ts.map +1 -0
  1316. package/dist/src/services/registry/provider-connect.service.js +712 -0
  1317. package/dist/src/services/registry/provider-connect.service.js.map +1 -0
  1318. package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts +29 -0
  1319. package/dist/src/services/registry/provider-graphql-schema-conformance.service.d.ts.map +1 -0
  1320. package/dist/src/services/registry/provider-graphql-schema-conformance.service.js +121 -0
  1321. package/dist/src/services/registry/provider-graphql-schema-conformance.service.js.map +1 -0
  1322. package/dist/src/services/registry/provider-install-step.d.ts +38 -4
  1323. package/dist/src/services/registry/provider-install-step.d.ts.map +1 -1
  1324. package/dist/src/services/registry/provider-install-step.js +56 -11
  1325. package/dist/src/services/registry/provider-install-step.js.map +1 -1
  1326. package/dist/src/services/registry/provider-module-checks.service.d.ts +12 -1
  1327. package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -1
  1328. package/dist/src/services/registry/provider-module-checks.service.js +114 -25
  1329. package/dist/src/services/registry/provider-module-checks.service.js.map +1 -1
  1330. package/dist/src/services/registry/provider-module-engine-range.service.d.ts +88 -0
  1331. package/dist/src/services/registry/provider-module-engine-range.service.d.ts.map +1 -0
  1332. package/dist/src/services/registry/provider-module-engine-range.service.js +386 -0
  1333. package/dist/src/services/registry/provider-module-engine-range.service.js.map +1 -0
  1334. package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -1
  1335. package/dist/src/services/registry/provider-module-identity.service.js.map +1 -1
  1336. package/dist/src/services/registry/provider-module-scaffold.service.d.ts +1 -1
  1337. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
  1338. package/dist/src/services/registry/provider-module-scaffold.service.js +9 -0
  1339. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
  1340. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts +2 -2
  1341. package/dist/src/services/registry/provider-module-vendor-packages.service.d.ts.map +1 -1
  1342. package/dist/src/services/registry/provider-module-vendor-packages.service.js +9 -6
  1343. package/dist/src/services/registry/provider-module-vendor-packages.service.js.map +1 -1
  1344. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts +22 -12
  1345. package/dist/src/services/registry/provider-openapi-conformance.service.d.ts.map +1 -1
  1346. package/dist/src/services/registry/provider-openapi-conformance.service.js +122 -51
  1347. package/dist/src/services/registry/provider-openapi-conformance.service.js.map +1 -1
  1348. package/dist/src/services/registry/provider-probe-credentials.service.d.ts +94 -0
  1349. package/dist/src/services/registry/provider-probe-credentials.service.d.ts.map +1 -0
  1350. package/dist/src/services/registry/provider-probe-credentials.service.js +184 -0
  1351. package/dist/src/services/registry/provider-probe-credentials.service.js.map +1 -0
  1352. package/dist/src/services/registry/provider-probe.service.d.ts +189 -5
  1353. package/dist/src/services/registry/provider-probe.service.d.ts.map +1 -1
  1354. package/dist/src/services/registry/provider-probe.service.js +268 -54
  1355. package/dist/src/services/registry/provider-probe.service.js.map +1 -1
  1356. package/dist/src/services/registry/provider-proof.service.d.ts +206 -0
  1357. package/dist/src/services/registry/provider-proof.service.d.ts.map +1 -0
  1358. package/dist/src/services/registry/provider-proof.service.js +640 -0
  1359. package/dist/src/services/registry/provider-proof.service.js.map +1 -0
  1360. package/dist/src/services/registry/provider-publication.service.d.ts +8 -0
  1361. package/dist/src/services/registry/provider-publication.service.d.ts.map +1 -1
  1362. package/dist/src/services/registry/provider-publication.service.js +25 -12
  1363. package/dist/src/services/registry/provider-publication.service.js.map +1 -1
  1364. package/dist/src/services/registry/provider-vendor-registration.service.d.ts +10 -0
  1365. package/dist/src/services/registry/provider-vendor-registration.service.d.ts.map +1 -1
  1366. package/dist/src/services/registry/provider-vendor-registration.service.js +34 -0
  1367. package/dist/src/services/registry/provider-vendor-registration.service.js.map +1 -1
  1368. package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -1
  1369. package/dist/src/services/registry/provider-wiring.service.js +4 -4
  1370. package/dist/src/services/registry/provider-wiring.service.js.map +1 -1
  1371. package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
  1372. package/dist/src/services/registry/registry-command.utils.js.map +1 -1
  1373. package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
  1374. package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
  1375. package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
  1376. package/dist/src/services/registry/saas-root-required.error.js.map +1 -1
  1377. package/dist/src/services/security/csp-sync.service.d.ts +20 -1
  1378. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  1379. package/dist/src/services/security/csp-sync.service.js +48 -6
  1380. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  1381. package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
  1382. package/dist/src/services/tools/utility-tools.service.js.map +1 -1
  1383. package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -1
  1384. package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -1
  1385. package/dist/src/services/website/website-label-pack-audit.service.d.ts +2 -2
  1386. package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
  1387. package/dist/src/services/website/website-label-pack-audit.service.js +5 -4
  1388. package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
  1389. package/dist/src/services/website/website-look.service.d.ts.map +1 -1
  1390. package/dist/src/services/website/website-look.service.js.map +1 -1
  1391. package/dist/src/services/website/website-schema-org-catalog.worker.d.ts +18 -0
  1392. package/dist/src/services/website/website-schema-org-catalog.worker.d.ts.map +1 -0
  1393. package/dist/src/services/website/website-schema-org-catalog.worker.js +104 -0
  1394. package/dist/src/services/website/website-schema-org-catalog.worker.js.map +1 -0
  1395. package/dist/src/services/website/website-structured-data-audit.service.d.ts +32 -5
  1396. package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
  1397. package/dist/src/services/website/website-structured-data-audit.service.js +63 -36
  1398. package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
  1399. package/dist/src/services/website/website-workspace.service.d.ts +42 -7
  1400. package/dist/src/services/website/website-workspace.service.d.ts.map +1 -1
  1401. package/dist/src/services/website/website-workspace.service.js +121 -12
  1402. package/dist/src/services/website/website-workspace.service.js.map +1 -1
  1403. package/dist/tsconfig.build.tsbuildinfo +1 -0
  1404. package/framework-root-package.json +121 -59
  1405. package/package.json +180 -99
  1406. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +67 -27
  1407. package/scripts/dev-orchestrator/local-dev-protocol.mjs +176 -7
  1408. package/scripts/dev-orchestrator/local-dev-status.mjs +297 -31
  1409. package/scripts/pnpm-workspace-members.mjs +146 -0
  1410. package/scripts/pnpm-workspace-settings.mjs +418 -0
  1411. package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
  1412. package/templates/infra/docker-compose/docker-compose.app.yml.hbs +17 -22
  1413. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +139 -63
  1414. package/templates/infra/docker-images/platform/Dockerfile.platform-base +2 -1
  1415. package/templates/infra/k8s/applications/wildo-ai-application/custom-domain-reconciler.yaml.hbs +222 -0
  1416. package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +30 -13
  1417. package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +1 -2
  1418. package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +1 -0
  1419. package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +1 -0
  1420. package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +1 -0
  1421. package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +11 -0
  1422. package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +1 -0
  1423. package/templates/infra/k8s/internal/openbao/configmap.yaml.hbs +2 -2
  1424. package/templates/infra/k8s/internal/openbao/deployment.yaml.hbs +19 -2
  1425. package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +2 -1
  1426. package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +1 -0
  1427. package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +1 -0
  1428. package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +31 -0
  1429. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +1 -0
  1430. package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +1 -0
  1431. package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +3 -1
  1432. package/templates/infra/registry-host/docker-compose.yml +4 -0
  1433. package/templates/infra/yara-service/requirements.txt +1 -1
  1434. package/templates/saas/blueprints/b2b-saas/blueprint.json +1 -1
  1435. package/templates/saas/blueprints/internal-tool/blueprint.json +13 -1
  1436. package/templates/saas/blueprints/service-firm/blueprint.json +1 -1
  1437. package/templates/saas/engine-peer-closure.json +66 -8
  1438. package/templates/saas/i18n/email/components/labels.fr.ts +1 -1
  1439. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.en.ts +19 -0
  1440. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/template.tsx +49 -0
  1441. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.en.ts +20 -0
  1442. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/template.tsx +51 -0
  1443. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.en.ts +20 -0
  1444. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/template.tsx +49 -0
  1445. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/create.organization-billing_payment-failed/labels.fr.ts +7 -5
  1446. package/templates/saas/i18n/email/resources/organizationInvoiceRefs/update.organization-billing_payment-failed/labels.fr.ts +7 -5
  1447. package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/template.tsx +1 -1
  1448. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.en.ts +23 -0
  1449. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/template.tsx +63 -0
  1450. package/templates/saas/i18n/email/resources/organizationSubscriptions/cancel.organization-billing_subscription-ending/labels.fr.ts +10 -8
  1451. package/templates/saas/i18n/email/resources/organizationSubscriptions/create.organization-billing_subscription-started/labels.fr.ts +5 -3
  1452. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-ending/labels.fr.ts +11 -9
  1453. package/templates/saas/i18n/email/resources/organizationSubscriptions/update.organization-billing_subscription-started/labels.fr.ts +5 -3
  1454. package/templates/saas/i18n/email/resources/userInvoiceRefs/create.users-custom_payment-failed/labels.fr.ts +8 -6
  1455. package/templates/saas/i18n/email/resources/userInvoiceRefs/update.users-custom_payment-failed/labels.fr.ts +6 -4
  1456. package/templates/saas/i18n/email/resources/userSubscriptions/cancel.users-custom_subscription-ending/labels.fr.ts +10 -8
  1457. package/templates/saas/i18n/email/resources/userSubscriptions/create.users-custom_subscription-started/labels.fr.ts +6 -4
  1458. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-ending/labels.fr.ts +11 -9
  1459. package/templates/saas/i18n/email/resources/userSubscriptions/update.users-custom_subscription-started/labels.fr.ts +6 -4
  1460. package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +5 -5
  1461. package/templates/saas/i18n/email/system/relationship-invitation/labels.fr.ts +3 -3
  1462. package/templates/saas/i18n/engine/README.md +8 -3
  1463. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.en.ts +2 -1
  1464. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_COMMAND_MENU.fr.ts +2 -1
  1465. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +2 -1
  1466. package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +2 -1
  1467. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +3 -3
  1468. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +3 -3
  1469. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.ts +2 -1
  1470. package/templates/saas/i18n/engine/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.ts +2 -1
  1471. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +4 -1
  1472. package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +4 -1
  1473. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.ts +2 -1
  1474. package/templates/saas/i18n/engine/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.ts +2 -1
  1475. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.ts +4 -1
  1476. package/templates/saas/i18n/engine/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.ts +4 -1
  1477. package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.en.ts +35 -0
  1478. package/templates/saas/i18n/engine/components/APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS.fr.ts +35 -0
  1479. package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +9 -9
  1480. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.ts +10 -1
  1481. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.ts +10 -1
  1482. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +18 -4
  1483. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +18 -4
  1484. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
  1485. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
  1486. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.ts +4 -1
  1487. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.ts +4 -1
  1488. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
  1489. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
  1490. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
  1491. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
  1492. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +8 -0
  1493. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +8 -0
  1494. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -7
  1495. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -7
  1496. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +432 -0
  1497. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +432 -0
  1498. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +497 -0
  1499. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +497 -0
  1500. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +3 -3
  1501. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +2 -2
  1502. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +2 -1
  1503. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +2 -1
  1504. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +57 -42
  1505. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +19 -4
  1506. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +113 -0
  1507. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +113 -0
  1508. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +18 -31
  1509. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +3 -16
  1510. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +223 -0
  1511. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +223 -0
  1512. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +64 -0
  1513. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +64 -0
  1514. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +11 -28
  1515. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +0 -17
  1516. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +8 -0
  1517. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +8 -0
  1518. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -1
  1519. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +1 -1
  1520. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +10 -24
  1521. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +3 -17
  1522. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +5 -5
  1523. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +2 -2
  1524. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +4 -4
  1525. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +5 -5
  1526. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +14 -14
  1527. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +3 -3
  1528. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +44 -44
  1529. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +1 -1
  1530. package/templates/saas/i18n/engine/resources/applications.en.ts +280 -8
  1531. package/templates/saas/i18n/engine/resources/applications.fr.ts +279 -7
  1532. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +529 -0
  1533. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +529 -0
  1534. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +281 -325
  1535. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +120 -164
  1536. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +36 -36
  1537. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +4 -4
  1538. package/templates/saas/i18n/engine/resources/files.en.ts +30 -1
  1539. package/templates/saas/i18n/engine/resources/files.fr.ts +30 -1
  1540. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +226 -248
  1541. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +60 -82
  1542. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +21 -21
  1543. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +1 -1
  1544. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +8 -0
  1545. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +8 -0
  1546. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +8 -0
  1547. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +8 -0
  1548. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +221 -0
  1549. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +221 -0
  1550. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +184 -0
  1551. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +184 -0
  1552. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +1 -1
  1553. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +1 -1
  1554. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +16 -26
  1555. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -12
  1556. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +24 -22
  1557. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +24 -22
  1558. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +1 -1
  1559. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +1 -1
  1560. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +64 -0
  1561. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +64 -0
  1562. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +11 -28
  1563. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +0 -17
  1564. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +8 -0
  1565. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +8 -0
  1566. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +12 -4
  1567. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +12 -4
  1568. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +5 -5
  1569. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +2 -2
  1570. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +1 -1
  1571. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +1 -1
  1572. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +23 -4
  1573. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +23 -4
  1574. package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.en.ts → organizationModelUsageCeilingState.en.ts} +75 -81
  1575. package/templates/saas/i18n/engine/resources/{workbenchParkedCodingQuestions.fr.ts → organizationModelUsageCeilingState.fr.ts} +75 -81
  1576. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +35 -45
  1577. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -12
  1578. package/templates/saas/i18n/engine/resources/{workbenchComplianceCandidateVariantSelections.en.ts → organizationPersonTokenCeilingState.en.ts} +70 -54
  1579. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +166 -0
  1580. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +1 -1
  1581. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +1 -1
  1582. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +9 -1
  1583. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +9 -1
  1584. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +5 -5
  1585. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +2 -2
  1586. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +27 -27
  1587. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +1 -1
  1588. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +17 -2
  1589. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +17 -2
  1590. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +8 -2
  1591. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +8 -2
  1592. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +1 -1
  1593. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +1 -1
  1594. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +20 -28
  1595. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +1 -9
  1596. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +2 -2
  1597. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +2 -2
  1598. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +6 -6
  1599. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +6 -6
  1600. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +15 -15
  1601. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +4 -4
  1602. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +69 -69
  1603. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +2 -2
  1604. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +169 -169
  1605. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +1 -1
  1606. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +4 -4
  1607. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +1 -1
  1608. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +5 -5
  1609. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +2 -2
  1610. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +19 -3
  1611. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +18 -2
  1612. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +9 -9
  1613. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +1 -1
  1614. package/templates/saas/i18n/engine/resources/organizations.en.ts +45 -10
  1615. package/templates/saas/i18n/engine/resources/organizations.fr.ts +45 -10
  1616. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +46 -46
  1617. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +1 -1
  1618. package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.en.ts → postCommitEffectOutbox.en.ts} +58 -75
  1619. package/templates/saas/i18n/engine/resources/{workbenchCreationHomeLines.fr.ts → postCommitEffectOutbox.fr.ts} +58 -75
  1620. package/templates/saas/i18n/engine/resources/prices.en.ts +10 -10
  1621. package/templates/saas/i18n/engine/resources/prices.fr.ts +10 -10
  1622. package/templates/saas/i18n/engine/resources/products.en.ts +5 -5
  1623. package/templates/saas/i18n/engine/resources/products.fr.ts +5 -5
  1624. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +345 -0
  1625. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +345 -0
  1626. package/templates/saas/i18n/engine/resources/promotions.en.ts +10 -10
  1627. package/templates/saas/i18n/engine/resources/promotions.fr.ts +2 -2
  1628. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +19 -1
  1629. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +19 -1
  1630. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +334 -0
  1631. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +334 -0
  1632. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +24 -24
  1633. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +2 -2
  1634. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +8 -2
  1635. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +8 -2
  1636. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +223 -2
  1637. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +223 -2
  1638. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -0
  1639. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -0
  1640. package/templates/saas/i18n/engine/resources/{workbenchBrandNameJurisdictions.en.ts → ssoDomainReservations.en.ts} +57 -44
  1641. package/templates/saas/i18n/engine/resources/{workbenchMarketCategories.fr.ts → ssoDomainReservations.fr.ts} +52 -47
  1642. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +69 -0
  1643. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +69 -0
  1644. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +1 -1
  1645. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +1 -1
  1646. package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +31 -31
  1647. package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +31 -31
  1648. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +64 -0
  1649. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +64 -0
  1650. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +11 -28
  1651. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +0 -17
  1652. package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +18 -5
  1653. package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +18 -5
  1654. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +5 -7
  1655. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +2 -4
  1656. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +15 -2
  1657. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +15 -2
  1658. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -2
  1659. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +15 -2
  1660. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +5 -5
  1661. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +2 -2
  1662. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +11 -11
  1663. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +1 -1
  1664. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +15 -4
  1665. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +15 -4
  1666. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +15 -4
  1667. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +15 -4
  1668. package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +7 -2
  1669. package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +7 -2
  1670. package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +25 -4
  1671. package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +25 -4
  1672. package/templates/saas/i18n/engine/resources/user_self.en.ts +46 -5
  1673. package/templates/saas/i18n/engine/resources/user_self.fr.ts +46 -5
  1674. package/templates/saas/i18n/engine/resources/users.en.ts +23 -36
  1675. package/templates/saas/i18n/engine/resources/users.fr.ts +23 -36
  1676. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__/landing.landing-hero.json.hbs +6 -0
  1677. package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +0 -5
  1678. package/templates/saas/scenarios/add-locale/scenario.json +2 -2
  1679. package/templates/saas/scenarios/add-marketing-page/files/website/src/i18n/en/__pageRef__.__pageRef__-hero.json.hbs +4 -0
  1680. package/templates/saas/scenarios/add-marketing-page/scenario.json +3 -5
  1681. package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +2 -2
  1682. package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +6 -0
  1683. package/templates/saas/scenarios/add-resource/scenario.json +1 -1
  1684. package/templates/saas/scenarios/add-technical-doc/files/patches/@docusaurus__utils@3.10.2.patch +77 -0
  1685. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +15 -13
  1686. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +2 -3
  1687. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +3 -5
  1688. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +10 -19
  1689. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
  1690. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +1 -1
  1691. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +16 -3
  1692. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/documentation-site-locales.ts +29 -0
  1693. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/api-reference/indexes/api-reference-search.json +4 -0
  1694. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/consumer-documentation/indexes/search.json +4 -0
  1695. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +10 -2
  1696. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +29 -4
  1697. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +8 -5
  1698. package/templates/saas/scenarios/add-technical-doc/scenario.json +7 -3
  1699. package/templates/saas/scenarios/add-website/files/website/Dockerfile +2 -0
  1700. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -8
  1701. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +4 -4
  1702. package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +10 -2
  1703. package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +10 -2
  1704. package/templates/saas/scenarios/add-website/files/website/src/i18n/en/landing.landing-hero.json.hbs +6 -0
  1705. package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +0 -5
  1706. package/templates/saas/scenarios/add-website/scenario.json +4 -2
  1707. package/templates/saas/scenarios/add-website-section/files/website/src/i18n/en/__pageRef__.__sectionRef__.json.hbs +10 -0
  1708. package/templates/saas/scenarios/add-website-section/scenario.json +2 -16
  1709. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +3 -2
  1710. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +2 -3
  1711. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.lock.hbs +2233 -0
  1712. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +12 -2
  1713. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +27 -9
  1714. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/README.md +96 -0
  1715. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +159 -156
  1716. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/response_integrity.rs +851 -0
  1717. package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/worker_request_keys.rs +404 -0
  1718. package/templates/saas/scenarios/add-worker-rust/scenario.json +2 -2
  1719. package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +39 -7
  1720. package/templates/saas/skeleton/backend-api/package.json.hbs +7 -2
  1721. package/templates/saas/skeleton/backend-api/src/index.ts +7 -6
  1722. package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +1 -3
  1723. package/templates/saas/skeleton/backend-api/tsconfig.build.json +1 -1
  1724. package/templates/saas/skeleton/frontend/package.json.hbs +6 -2
  1725. package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +18 -14
  1726. package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +3 -1
  1727. package/templates/saas/skeleton/frontend/src/csp.config.ts +10 -2
  1728. package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +1 -1
  1729. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +10 -2
  1730. package/templates/saas/skeleton/frontend/src/index.css.hbs +25 -18
  1731. package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +7 -2
  1732. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +20 -9
  1733. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +22 -3
  1734. package/templates/saas/skeleton/gitignore +13 -0
  1735. package/templates/saas/skeleton/shared-lib/package.json.hbs +6 -1
  1736. package/templates/saas/skeleton/specifications/package.json.hbs +10 -1
  1737. package/templates/saas/skeleton/tsconfig.common.json +6 -2
  1738. package/wildo-framework.info.json +1 -1
  1739. package/dist/src/services/application/provider-package-links.service.d.ts +0 -210
  1740. package/dist/src/services/application/provider-package-links.service.d.ts.map +0 -1
  1741. package/dist/src/services/application/provider-package-links.service.js +0 -421
  1742. package/dist/src/services/application/provider-package-links.service.js.map +0 -1
  1743. package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +0 -39
  1744. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +0 -246
  1745. package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +0 -246
  1746. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +0 -198
  1747. package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +0 -198
  1748. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.en.ts +0 -198
  1749. package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -190
  1750. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +0 -174
  1751. package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +0 -174
  1752. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.en.ts +0 -166
  1753. package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -166
  1754. package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.en.ts +0 -134
  1755. package/templates/saas/i18n/engine/resources/workbenchBrandNameCandidates.fr.ts +0 -134
  1756. package/templates/saas/i18n/engine/resources/workbenchBrandNameJurisdictions.fr.ts +0 -134
  1757. package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.en.ts +0 -134
  1758. package/templates/saas/i18n/engine/resources/workbenchBrandNameNiceClasses.fr.ts +0 -134
  1759. package/templates/saas/i18n/engine/resources/workbenchBrandNames.en.ts +0 -166
  1760. package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -166
  1761. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.en.ts +0 -166
  1762. package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -166
  1763. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +0 -278
  1764. package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +0 -278
  1765. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +0 -238
  1766. package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +0 -238
  1767. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +0 -515
  1768. package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +0 -515
  1769. package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.en.ts +0 -702
  1770. package/templates/saas/i18n/engine/resources/workbenchBuildTaskRecords.fr.ts +0 -702
  1771. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +0 -878
  1772. package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +0 -878
  1773. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +0 -238
  1774. package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +0 -238
  1775. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +0 -206
  1776. package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +0 -206
  1777. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.en.ts +0 -150
  1778. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -142
  1779. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +0 -254
  1780. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +0 -254
  1781. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -142
  1782. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +0 -246
  1783. package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +0 -246
  1784. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +0 -246
  1785. package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +0 -246
  1786. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +0 -174
  1787. package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +0 -174
  1788. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +0 -278
  1789. package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +0 -278
  1790. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +0 -214
  1791. package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +0 -214
  1792. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +0 -518
  1793. package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +0 -518
  1794. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +0 -246
  1795. package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +0 -246
  1796. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +0 -326
  1797. package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +0 -326
  1798. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +0 -326
  1799. package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +0 -326
  1800. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +0 -246
  1801. package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +0 -246
  1802. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +0 -134
  1803. package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +0 -134
  1804. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +0 -190
  1805. package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +0 -190
  1806. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +0 -198
  1807. package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +0 -198
  1808. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.en.ts +0 -150
  1809. package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -142
  1810. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.en.ts +0 -150
  1811. package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -142
  1812. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +0 -134
  1813. package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +0 -134
  1814. package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.en.ts +0 -174
  1815. package/templates/saas/i18n/engine/resources/workbenchDomainPlanLifecycles.fr.ts +0 -174
  1816. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +0 -358
  1817. package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +0 -358
  1818. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +0 -206
  1819. package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +0 -206
  1820. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +0 -430
  1821. package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +0 -430
  1822. package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +0 -534
  1823. package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +0 -534
  1824. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +0 -456
  1825. package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +0 -456
  1826. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +0 -134
  1827. package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +0 -134
  1828. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +0 -486
  1829. package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +0 -486
  1830. package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.en.ts +0 -254
  1831. package/templates/saas/i18n/engine/resources/workbenchExperienceHomes.fr.ts +0 -254
  1832. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +0 -478
  1833. package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +0 -478
  1834. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +0 -510
  1835. package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +0 -510
  1836. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +0 -390
  1837. package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +0 -390
  1838. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +0 -574
  1839. package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +0 -574
  1840. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +0 -308
  1841. package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +0 -308
  1842. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +0 -230
  1843. package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +0 -230
  1844. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +0 -334
  1845. package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +0 -334
  1846. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +0 -414
  1847. package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +0 -414
  1848. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +0 -134
  1849. package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +0 -134
  1850. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +0 -334
  1851. package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +0 -334
  1852. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.en.ts +0 -230
  1853. package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -222
  1854. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.en.ts +0 -606
  1855. package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -598
  1856. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.en.ts +0 -198
  1857. package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -190
  1858. package/templates/saas/i18n/engine/resources/workbenchMarketCategories.en.ts +0 -150
  1859. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.en.ts +0 -270
  1860. package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -262
  1861. package/templates/saas/i18n/engine/resources/workbenchMarketGains.en.ts +0 -270
  1862. package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -262
  1863. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +0 -990
  1864. package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +0 -990
  1865. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.en.ts +0 -350
  1866. package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -342
  1867. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.en.ts +0 -198
  1868. package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -190
  1869. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.en.ts +0 -422
  1870. package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -414
  1871. package/templates/saas/i18n/engine/resources/workbenchMarketPains.en.ts +0 -294
  1872. package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -294
  1873. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.en.ts +0 -518
  1874. package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -510
  1875. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.en.ts +0 -342
  1876. package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -334
  1877. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.en.ts +0 -366
  1878. package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -358
  1879. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +0 -294
  1880. package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +0 -294
  1881. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.en.ts +0 -286
  1882. package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -278
  1883. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +0 -574
  1884. package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +0 -574
  1885. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +0 -254
  1886. package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +0 -254
  1887. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.en.ts +0 -190
  1888. package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -182
  1889. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +0 -358
  1890. package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +0 -358
  1891. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +0 -1256
  1892. package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +0 -1256
  1893. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +0 -286
  1894. package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +0 -286
  1895. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.en.ts +0 -150
  1896. package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -142
  1897. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.en.ts +0 -150
  1898. package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -142
  1899. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +0 -294
  1900. package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +0 -294
  1901. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.en.ts +0 -134
  1902. package/templates/saas/i18n/engine/resources/workbenchRiskRegisterEntries.fr.ts +0 -134
  1903. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +0 -478
  1904. package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +0 -478
  1905. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +0 -599
  1906. package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +0 -599
  1907. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +0 -478
  1908. package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +0 -478
  1909. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +0 -394
  1910. package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +0 -394
  1911. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.en.ts +0 -190
  1912. package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -182
  1913. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.en.ts +0 -150
  1914. package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -142
  1915. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.en.ts +0 -150
  1916. package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -142
  1917. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.en.ts +0 -150
  1918. package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -142
  1919. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +0 -390
  1920. package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +0 -390
  1921. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +0 -214
  1922. package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +0 -214
  1923. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +0 -214
  1924. package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +0 -214
  1925. /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.en.ts +0 -0
  1926. /package/templates/saas/i18n/email/resources/organizationMembers/{update.organization-users → update.organization-user-management}/labels.fr.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"transposed-provider.model.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/provider-transposition/transposed-provider.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2DAA2D;AAC3D,MAAM,CAAN,IAAY,6BAkBX;AAlBD,WAAY,6BAA6B;IACvC;;;OAGG;IACH,sDAAqB,CAAA;IACrB;;;;;OAKG;IACH,sEAAqC,CAAA;IACrC;;;OAGG;IACH,0DAAyB,CAAA;AAC3B,CAAC,EAlBW,6BAA6B,KAA7B,6BAA6B,QAkBxC;AAED,4FAA4F;AAC5F,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,4CAAa,CAAA;IACb,8CAAe,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esContent":["/**\n * The SOURCE-NEUTRAL intermediate model of the provider transposer.\n *\n * A reader turns one external catalogue's source into these shapes; the emitter turns these shapes\n * into a Wildo provider package. Nothing here names Activepieces or Sim, deliberately: the two\n * catalogues describe the same thing in different syntax, and a model that leaked either one's\n * spelling would force the emitter to know which reader produced its input — which is exactly how a\n * second catalogue becomes a second emitter.\n *\n * Why an intermediate model at all, rather than reading straight into the engine's\n * `ProviderRestOperation`: a transposed operation is frequently INCOMPLETE. An action whose endpoint\n * lives inside a vendor SDK carries its identity, its inputs and its auth and no URL, and that is a\n * legitimate, useful result — it is a work item, not a failure. `ProviderRestOperation` cannot\n * express it, because a runtime operation without a path is not executable and the engine contract is\n * right to refuse one. So the incompleteness lives here, and only RESOLVED operations cross into the\n * engine's shape.\n */\n\n/** How completely a reader recovered one source action. */\nexport enum TransposedOperationResolution {\n /**\n * Method and URL template were both recovered. Emitted as an executable\n * `ProviderRestOperation`.\n */\n RESOLVED = 'RESOLVED',\n /**\n * The vendor operation is NAMED but its endpoint is not in the source — the action delegates to a\n * vendor SDK (`client.conversations.create`). Everything except method and path is known.\n * Emitted as a pending record a later pass, or another catalogue covering the same vendor,\n * completes.\n */\n PENDING_ENDPOINT = 'PENDING_ENDPOINT',\n /**\n * Nothing usable was recovered. Listed by ref and reason, never guessed and never silently\n * dropped — the refusal list is the run's second most valuable output.\n */\n UNREADABLE = 'UNREADABLE',\n}\n\n/** Where a recovered parameter rides. Mirrors the engine's location vocabulary by VALUE. */\nexport enum TransposedParameterLocation {\n PATH = 'path',\n QUERY = 'query',\n HEADER = 'header',\n BODY = 'body',\n}\n\nexport interface TransposedParameter {\n /** The name on the wire. */\n readonly name: string;\n readonly in: TransposedParameterLocation;\n /** The source input field feeding it, when it differs from the wire name. */\n readonly from?: string;\n readonly required?: boolean;\n readonly description?: string;\n}\n\n/**\n * The credential shape a source declares, reduced to the four kinds every catalogue expresses.\n *\n * OAuth2 is one kind and not one-per-vendor on purpose: the dance is identical everywhere and only\n * its endpoints and scopes differ, so a transposer that emitted bespoke OAuth per vendor would be\n * writing the same code 117 times.\n */\nexport enum TransposedAuthKind {\n NONE = 'NONE',\n /** A single secret placed in a header — the API-key case. */\n SECRET_TEXT = 'SECRET_TEXT',\n BASIC = 'BASIC',\n OAUTH2 = 'OAUTH2',\n /** A vendor-specific bag of fields (commonly base URL + key). Inspected, never assumed. */\n CUSTOM = 'CUSTOM',\n}\n\n/**\n * The closed set of values a source lets a person choose for a placeholder that forms an OAuth2\n * endpoint's HOST or ORIGIN — read from the source's own dropdown, never inferred.\n *\n * Only the declared-values shape exists here because it is the only one a SOURCE can state. A host\n * SUFFIX (Salesforce My Domain) or a deployment-configured origin (self-hosted Gitea) is a judgement,\n * and judgements live in the catalogue decisions, not in a reader's output.\n */\nexport interface TransposedEndpointHostAllowance {\n readonly values: readonly string[];\n /**\n * Values the source offers that the vendor record declines, each with its reason (#1937) — removed from `values` and\n * carried to the emitted allowance's `unsupportedValues`. Set only by `applyVendorUnsupportedConnectionValues`.\n */\n readonly unsupportedValues?: Readonly<Record<string, string>>;\n}\n\nexport interface TransposedAuth {\n readonly kind: TransposedAuthKind;\n /** OAUTH2 only. */\n readonly authUrl?: string;\n readonly tokenUrl?: string;\n /**\n * OAUTH2 only: per host/origin placeholder, the values the source's dropdown admits (#623). Absent\n * for a placeholder whose prop is free text — the runtime refuses such a host until a decision\n * records an allowance. Includes a placeholder that forms the ORIGIN of a scope (`{hostUrl}/.default`,\n * #991), which is governed by the same allow-list.\n */\n readonly endpointHostAllowances?: Readonly<Record<string, TransposedEndpointHostAllowance>>;\n /**\n * OAUTH2 only: per WHOLE-SCOPE placeholder (`scope: ['{permissions}']`), the scope strings the source's\n * dropdown admits (#991). Absent for a free-text one — the runtime then refuses the connection.\n */\n readonly scopeValueAllowances?: Readonly<Record<string, TransposedEndpointHostAllowance>>;\n /**\n * OAUTH2 only: set when the source's endpoints were found and deliberately NOT carried, with the\n * reason — e.g. an unevaluable `${…}` expression. Emitted into the module's documentation so the gap\n * is visible in the diff rather than looking like \"not recovered\".\n */\n readonly endpointsWithheldBecause?: string;\n readonly scopes?: readonly string[];\n /** CUSTOM only: the field names the vendor asks for, so a human can complete the mapping. */\n readonly customFields?: readonly string[];\n /** Where the credential rides once resolved, when the source says. */\n readonly headerName?: string;\n readonly headerPrefix?: string;\n}\n\n/**\n * The operation HOST a source derives from a connect-time answer, read by evaluating the source's own base-URL\n * function once per value that answer admits (#1937).\n *\n * Activepieces' Microsoft pieces call `getGraphBaseUrl(cloud)`, which maps the connection's login host to its Graph\n * host. A token minted by one national cloud is not accepted by another, so one fixed Graph host is wrong for every\n * cloud but one. The table here is what that function RETURNS for each admitted answer — evaluated, never assumed — and\n * `whenUnanswered` is what it returns for no answer at all, the source's own default. The source's US Government row\n * is read, then removed by the Microsoft vendor record's `unsupportedConnectionValues` (out of scope, 2026-09-29).\n */\nexport interface TransposedConnectionDerivedHost {\n /** The connect-time answer the host is derived from (`cloud`) — an OAuth2 endpoint placeholder of the same provider. */\n readonly answer: string;\n /** Per admitted answer value, the operation host the source's function returns for it. */\n readonly hosts: Readonly<Record<string, string>>;\n /** The host the source's function returns when the connection answered nothing. */\n readonly whenUnanswered: string;\n /** Answers the vendor record declines, with the reason (#1937). See {@link TransposedEndpointHostAllowance.unsupportedValues}. */\n readonly unsupportedValues?: Readonly<Record<string, string>>;\n}\n\n/** Which catalogue, and at exactly which revision, a definition came from. */\nexport interface TransposedProvenance {\n /** `ACTIVEPIECES` | `SIM` | `OPENAPI_DOCUMENT` — the engine's `ProviderCatalogueSource` values. */\n readonly source: string;\n /** How that catalogue addresses the artifact: a piece directory, a tool module, a document path. */\n readonly sourceRef: string;\n /** The exact upstream revision read. */\n readonly sourceVersion: string;\n}\n\n/**\n * The scalar kinds a source's input declaration reduces to.\n *\n * Deliberately small. Activepieces declares fourteen `Property.*` constructors and Sim a handful of\n * `type` strings, and most of that distinction is AUTHORING chrome — a dropdown and a short text are\n * both a string on the wire, and which one a builder should see is a question about a form, not\n * about a request. What survives is what changes the REQUEST: is it a string, a number, a boolean, a\n * list, or a nested object.\n */\nexport enum TransposedInputKind {\n STRING = 'STRING',\n NUMBER = 'NUMBER',\n BOOLEAN = 'BOOLEAN',\n ARRAY = 'ARRAY',\n OBJECT = 'OBJECT',\n /** The source declares an input whose kind could not be read. Typed as unknown, never guessed. */\n UNKNOWN = 'UNKNOWN',\n /**\n * A value the REQUEST needs and the source never described — recovered from a URL template or a\n * query bag rather than from a declared input.\n *\n * Distinct from {@link UNKNOWN}, which says \"declared, kind unreadable\". Here the kind IS known as\n * far as it can be: the position accepts whatever a URL segment accepts, so `string | number |\n * boolean` is the honest ceiling. Narrowing it to STRING is not a harmless simplification — it\n * makes the emitted schema REJECT a boolean query value that the wire encodes perfectly well, and\n * a call that worked before the field was declared then fails validation.\n */\n WIRE_SCALAR = 'WIRE_SCALAR',\n /** {@link WIRE_SCALAR} in a position that also accepts repeats — a query bag, never a path. */\n WIRE_SCALAR_OR_LIST = 'WIRE_SCALAR_OR_LIST',\n}\n\n/**\n * A recursive value shape — what an operation ANSWERS, as the source described it.\n *\n * Deliberately not the input model. An input is a flat list of fields a caller passes; a response is\n * a tree, and flattening it would lose exactly the part a caller needs to read a result. The kind\n * vocabulary is shared because the question is the same one at every level: string, number, boolean,\n * list, object, or honestly unknown.\n */\nexport interface TransposedShape {\n readonly kind: TransposedInputKind;\n /** OBJECT only. */\n readonly fields?: Readonly<Record<string, TransposedShape>>;\n /** ARRAY only — the element shape, when the source stated one. */\n readonly items?: TransposedShape;\n readonly description?: string;\n /** Whether the source marked this member optional. Absent means required. */\n readonly optional?: boolean;\n}\n\n/**\n * Where an input's CHOICES come from, as the transposer read it off the source's account-dependent dropdown\n * (#1045): the options OPERATION (another operation of the same provider, run through the same connection,\n * derived from the dropdown's own `options` body and pushed into the provider's operations), the paths inside\n * each listed item, and the inputs the listing depends on.\n *\n * The options operation is named by its ENDPOINT, never by its operation id: ids are assigned by the ledger\n * and disambiguated at merge, and two dropdowns listing the same endpoint collapse into one operation there.\n * The emitter resolves the endpoint against the operations it actually exports and renders `inputOptions`\n * only when the listing survived — an input whose listing was withdrawn stays a typed input, honestly.\n */\nexport interface TransposedInputOptionsSource {\n readonly endpoint: { readonly method: string; readonly pathTemplate: string };\n /** Dot-path, inside each listed item, to the value the input receives. */\n readonly valuePath: string;\n /** Dot-path, inside each listed item, to the text a person reads. */\n readonly labelPath: string;\n /** `{ <options-operation input>: <this operation's input> }`, from the dropdown's `refreshers`. */\n readonly dependsOn?: Readonly<Record<string, string>>;\n /**\n * The `resultPath` the listing needs so its answer is the LIST (`data` for an envelope), absent when the body\n * is the list. Carried so the emitter can refuse a picker whose listing collapsed into an action reading the\n * envelope whole — the executor would meet an object where it needs an array.\n */\n readonly resultPath?: string;\n}\n\n/** One field of an operation's input, as the source declared it. */\nexport interface TransposedInputField {\n readonly name: string;\n readonly kind: TransposedInputKind;\n readonly required: boolean;\n /** The source's own words, carried through so a typed client can document itself. */\n readonly description?: string;\n /** Set when the source lists this input's choices from the connected account (#1045). */\n readonly options?: TransposedInputOptionsSource;\n}\n\n/**\n * WHY an operation is UNREADABLE, as a closed vocabulary (#1019).\n *\n * `unreadableReason` is the sentence a human reads; this is what a record counts. The inventory groups a vendor's\n * losses by it, so \"every operation was refused by the request-helper fold, and here is the kind of refusal\" is\n * answerable from the committed catalogue record instead of by re-running the reader.\n */\nexport enum TransposedUnreadableClass {\n /** No request literal carrying a method and a path, and no SDK call naming a vendor operation. */\n NO_REQUEST_FOUND = 'NO_REQUEST_FOUND',\n /** The URL is computed (a function call, a variable the reader cannot follow), not a literal or a template. */\n URL_NOT_A_TEMPLATE = 'URL_NOT_A_TEMPLATE',\n /** The request goes through a piece helper the piece defines more than once, so which one runs cannot be read. */\n HELPER_AMBIGUOUS = 'HELPER_AMBIGUOUS',\n /** The request goes through a piece helper whose own request cannot be found. */\n HELPER_REQUEST_NOT_FOUND = 'HELPER_REQUEST_NOT_FOUND',\n /** The helper is given a path it does not visibly place in its URL. */\n HELPER_PATH_NOT_PLACED = 'HELPER_PATH_NOT_PLACED',\n /** The helper composes its URL through a shape the fold refuses (a conditional, a transform, a mid-URL unknown). */\n HELPER_URL_UNREADABLE = 'HELPER_URL_UNREADABLE',\n /** The helper's URL puts a value in the HOST that is not a named member of the connection. */\n HELPER_HOST_NOT_A_MEMBER = 'HELPER_HOST_NOT_A_MEMBER',\n /** The call site's own path opens with an unreadable base and then passes through a helper. */\n HELPER_CALL_SITE_BASE_UNREADABLE = 'HELPER_CALL_SITE_BASE_UNREADABLE',\n /** The helper's parameters cannot be bound (a rest parameter, a spread, a destructuring the fold cannot follow). */\n HELPER_PARAMETERS_UNREADABLE = 'HELPER_PARAMETERS_UNREADABLE',\n /** The request passes through more helpers or functions than the fold follows. */\n HELPER_TOO_DEEP = 'HELPER_TOO_DEEP',\n /**\n * The operation's URL is not relative to the base URL the provider carries (review F1). A provider has ONE base URL:\n * an operation naming another origin (`upload.vendor.test` beside `api.vendor.test`), or one relative to a base its\n * source does not state beside operations naming an origin, would be sent to the wrong host or without its prefix.\n * See {@link settleProviderBaseUrl}.\n */\n BASE_URL_INCONSISTENT = 'BASE_URL_INCONSISTENT',\n /**\n * The operation's path carries a vendor API version other than the ONE the provider targets, recorded as\n * `apiVersion` in `catalogue-record/decisions/<ref>.json` (#1053). A provider supports one vendor API version; a\n * source that also calls another is transposed to that version's operations only. See {@link settleProviderApiVersion}.\n */\n API_VERSION_INCONSISTENT = 'API_VERSION_INCONSISTENT',\n}\n\nexport interface TransposedOperation {\n /** Stable within the vendor. The address an application calls. */\n readonly operationId: string;\n /** The lazy-load unit, so a vendor with hundreds need not evaluate them all to run one. */\n readonly domain: string;\n readonly resolution: TransposedOperationResolution;\n /** RESOLVED only. */\n readonly method?: string;\n /** RESOLVED only. `{token}` interpolates a PATH parameter. Relative to the provider base URL. */\n readonly pathTemplate?: string;\n /**\n * Dot-path inside the response body to the payload a caller relies on, when the source read one — an options\n * listing that maps `response.data` carries `data` (#1045), so the executor's \"answered a list\" check meets the\n * array and not the envelope around it.\n */\n readonly resultPath?: string;\n /**\n * Set on an operation the reader DERIVED from a dropdown's `options` body to list an input's choices (#1045),\n * as opposed to one the source declared as an action or a trigger poll. Read at merge (an action that lists the\n * same endpoint always wins, whatever it declares) and at emit (a listing no exported operation picks from is\n * refused, and a vendor whose only executable operations are listings exports nothing).\n */\n readonly derivedListing?: true;\n /**\n * PENDING_ENDPOINT only: the vendor operation the source named, as the SDK spelled it\n * (`conversations.create`). This is the key a later pass, or another catalogue, matches on.\n */\n readonly vendorOperationName?: string;\n /** UNREADABLE only: why, in words a human can act on. */\n readonly unreadableReason?: string;\n /** UNREADABLE only: the class of {@link unreadableReason}, which the catalogue inventory counts. */\n readonly unreadableClass?: TransposedUnreadableClass;\n readonly summary?: string;\n /** READ or WRITE — the engine's `ExternalOperation_Classification` values. */\n readonly classification: string;\n readonly parameters: readonly TransposedParameter[];\n /**\n * The operation's whole declared input, before any of it is assigned to a wire location.\n *\n * Kept SEPARATE from {@link parameters} on purpose: a parameter says where a value rides, and this\n * says what the caller may pass. The two overlap — a path parameter is also an input field — and\n * collapsing them would lose the fields that ride in the BODY, which is most of them and precisely\n * what a typed client needs in order to type anything at all.\n */\n readonly inputFields: readonly TransposedInputField[];\n /**\n * What the operation answers, when a source described it.\n *\n * Absent is a legitimate and common answer: a catalogue that shapes its response in a FUNCTION\n * describes nothing a reader can transpose, and the contract is explicit that an absent\n * `outputSchema` returns the parsed body as `unknown`. Emitting a guessed shape would be worse\n * than none — a caller would type against it and the vendor would disagree.\n */\n readonly outputShape?: TransposedShape;\n readonly hasRequestBody: boolean;\n /**\n * Where the definition being emitted came from. For an operation COMPLETED by the merge — an\n * action that named its vendor operation and a tool that carried the endpoint — this stays the\n * source that supplied the operation's identity, inputs and description, and\n * {@link endpointFrom} names the one that supplied the URL.\n */\n readonly provenance: TransposedProvenance;\n /**\n * Set when the merge completed a PENDING operation: the catalogue whose entry supplied the method\n * and path template. Recorded separately from {@link provenance} because the two answer different\n * questions — who described this operation, and who told us where it lives — and a regeneration\n * that collapsed them could not say which upstream movement changed which half.\n */\n readonly endpointFrom?: TransposedProvenance;\n /**\n * Other catalogues that described the same operation and lost the tie. Kept rather than dropped:\n * the NOTICE owes them attribution, and a later disagreement between two sources is only\n * diagnosable if both were recorded.\n */\n readonly alsoDescribedBy?: readonly TransposedProvenance[];\n}\n\n/**\n * One vendor's whole transposed surface — the unit the emitter turns into a package.\n *\n * A vendor, NOT a source artifact: Slack, Google, HubSpot and Notion appear in more than one\n * catalogue, and Paul decided on 2026-09-06 that they produce ONE Wildo provider each. So a merge\n * happens before emission, and provenance is carried per OPERATION rather than per provider —\n * otherwise a regenerated package could not say which source moved.\n */\nexport interface TransposedProvider {\n /** The Wildo provider ref, and the package directory name. */\n readonly ref: string;\n /**\n * The vendor as the SOURCE names it, which is always the ref: no catalogue says which company an entry belongs to.\n * What an emitted module and contribution declare as `vendor` is resolved from the catalogue record instead\n * (`resolveCatalogueVendor`, #1673) — `microsoft` for `microsoft-teams` — because that is a judgement, not a fact\n * any source carries. So nothing past the readers should read this field.\n */\n readonly vendor: string;\n readonly displayName?: string;\n /** Absolute API base URL, when a source stated one. */\n readonly baseUrl?: string;\n /**\n * The vendor-reported account fact the source dials as its base URL, as the token answer names it\n * (`api_domain`, `instance_url`) — set when every operation that opens its URL with a reported fact\n * reads THIS one and no base URL was stated (#1052). The emitter carries it as\n * `baseUrlConnectionFact` once a decision records the origins it may name; until then the fact is\n * captured at connect and the deployment base still serves every account.\n */\n readonly baseUrlReportedFact?: string;\n /**\n * Two or more DIFFERENT reported facts open the source's URLs, so no one of them is the provider's\n * base for a connected account. Reported (inventory), never derived from.\n */\n readonly conflictingReportedOriginFacts?: readonly string[];\n /**\n * The base URL's HOST is derived from a connect-time answer (#1937): `baseUrl` is the origin for an unanswered\n * connection, and every operation of a connection that answered is sent to the host this table maps its answer to.\n * Set only when every kept operation that derived its origin agrees on the same table.\n */\n readonly baseUrlHostFromConnectionAnswer?: TransposedConnectionDerivedHost;\n /**\n * The API base the source piece DECLARES for itself — Activepieces' `createCustomApiCallAction({ baseUrl })` —\n * evaluated per connect-time answer (#1937), with its path prefix dropped. Evidence about the vendor's API host\n * even when no action is readable (Outlook and Planner reach Graph through its SDK), so the merge applies it to a\n * provider whose settled base is this table's unanswered origin, when no operation derived a table of its own.\n */\n readonly declaredApiBaseHostFromConnectionAnswer?: TransposedConnectionDerivedHost;\n /**\n * Account-dependent dropdowns whose `options` body the reader could NOT turn into a listing operation (#1045):\n * no request found, not a GET, a mapping it cannot read. Counted, so the inventory says how much of a vendor's\n * choice surface is still untyped, and never guessed — an input with no readable listing stays a typed input.\n */\n readonly inputOptionsUnreadable?: number;\n readonly auth: TransposedAuth;\n readonly operations: readonly TransposedOperation[];\n /** Every catalogue that contributed, for the package NOTICE and for regeneration diffs. */\n readonly provenances: readonly TransposedProvenance[];\n /**\n * The vendor's own OpenAPI documents that CONTRIBUTED to this provider — a response shape, a summary or\n * a path-hole name (#1572). Kept apart from {@link provenances} on purpose: a catalogue decides which\n * operations exist, a document only answers questions about them, and a header reading \"transposed from\n * OPENAPI_DOCUMENT\" would claim the opposite. Absent when no document contributed anything.\n */\n readonly documentedBy?: readonly TransposedProvenance[];\n}\n"]}
1
+ {"version":3,"file":"transposed-provider.model.js","sourceRoot":"","sources":["../../../../../src/services/framework/provider-transposition/transposed-provider.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2DAA2D;AAC3D,MAAM,CAAN,IAAY,6BAkBX;AAlBD,WAAY,6BAA6B;IACvC;;;OAGG;IACH,sDAAqB,CAAA;IACrB;;;;;OAKG;IACH,sEAAqC,CAAA;IACrC;;;OAGG;IACH,0DAAyB,CAAA;AAC3B,CAAC,EAlBW,6BAA6B,KAA7B,6BAA6B,QAkBxC;AAED,4FAA4F;AAC5F,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,4CAAa,CAAA;IACb,8CAAe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cesContent":["/**\n * The SOURCE-NEUTRAL intermediate model of the provider transposer.\n *\n * A reader turns one external catalogue's source into these shapes; the emitter turns these shapes\n * into a Wildo provider package. Nothing here names Activepieces or Sim, deliberately: the two\n * catalogues describe the same thing in different syntax, and a model that leaked either one's\n * spelling would force the emitter to know which reader produced its input — which is exactly how a\n * second catalogue becomes a second emitter.\n *\n * Why an intermediate model at all, rather than reading straight into the engine's\n * `ProviderRestOperation`: a transposed operation is frequently INCOMPLETE. An action whose endpoint\n * lives inside a vendor SDK carries its identity, its inputs and its auth and no URL, and that is a\n * legitimate, useful result — it is a work item, not a failure. `ProviderRestOperation` cannot\n * express it, because a runtime operation without a path is not executable and the engine contract is\n * right to refuse one. So the incompleteness lives here, and only RESOLVED operations cross into the\n * engine's shape.\n */\n\n/** How completely a reader recovered one source action. */\nexport enum TransposedOperationResolution {\n /**\n * Method and URL template were both recovered. Emitted as an executable\n * `ProviderRestOperation`.\n */\n RESOLVED = 'RESOLVED',\n /**\n * The vendor operation is NAMED but its endpoint is not in the source — the action delegates to a\n * vendor SDK (`client.conversations.create`). Everything except method and path is known.\n * Emitted as a pending record a later pass, or another catalogue covering the same vendor,\n * completes.\n */\n PENDING_ENDPOINT = 'PENDING_ENDPOINT',\n /**\n * Nothing usable was recovered. Listed by ref and reason, never guessed and never silently\n * dropped — the refusal list is the run's second most valuable output.\n */\n UNREADABLE = 'UNREADABLE',\n}\n\n/** Where a recovered parameter rides. Mirrors the engine's location vocabulary by VALUE. */\nexport enum TransposedParameterLocation {\n PATH = 'path',\n QUERY = 'query',\n HEADER = 'header',\n BODY = 'body',\n}\n\nexport interface TransposedParameter {\n /** The name on the wire. */\n readonly name: string;\n readonly in: TransposedParameterLocation;\n /** The source input field feeding it, when it differs from the wire name. */\n readonly from?: string;\n readonly required?: boolean;\n readonly description?: string;\n}\n\n/**\n * The credential shape a source declares, reduced to the four kinds every catalogue expresses.\n *\n * OAuth2 is one kind and not one-per-vendor on purpose: the dance is identical everywhere and only\n * its endpoints and scopes differ, so a transposer that emitted bespoke OAuth per vendor would be\n * writing the same code 117 times.\n */\nexport enum TransposedAuthKind {\n NONE = 'NONE',\n /** A single secret placed in a header — the API-key case. */\n SECRET_TEXT = 'SECRET_TEXT',\n BASIC = 'BASIC',\n OAUTH2 = 'OAUTH2',\n /** A vendor-specific bag of fields (commonly base URL + key). Inspected, never assumed. */\n CUSTOM = 'CUSTOM',\n}\n\n/**\n * The closed set of values a source lets a person choose for a placeholder that forms an OAuth2\n * endpoint's HOST or ORIGIN — read from the source's own dropdown, never inferred.\n *\n * Only the declared-values shape exists here because it is the only one a SOURCE can state. A host\n * SUFFIX (Salesforce My Domain) or a deployment-configured origin (self-hosted Gitea) is a judgement,\n * and judgements live in the catalogue decisions, not in a reader's output.\n */\nexport interface TransposedEndpointHostAllowance {\n readonly values: readonly string[];\n /**\n * Values the source offers that the vendor record declines, each with its reason (#1937) — removed from `values` and\n * carried to the emitted allowance's `unsupportedValues`. Set only by `applyVendorUnsupportedConnectionValues`.\n */\n readonly unsupportedValues?: Readonly<Record<string, string>>;\n}\n\nexport interface TransposedAuth {\n readonly kind: TransposedAuthKind;\n /** OAUTH2 only. */\n readonly authUrl?: string;\n readonly tokenUrl?: string;\n /**\n * OAUTH2 only: per host/origin placeholder, the values the source's dropdown admits (#623). Absent\n * for a placeholder whose prop is free text — the runtime refuses such a host until a decision\n * records an allowance. Includes a placeholder that forms the ORIGIN of a scope (`{hostUrl}/.default`,\n * #991), which is governed by the same allow-list.\n */\n readonly endpointHostAllowances?: Readonly<Record<string, TransposedEndpointHostAllowance>>;\n /**\n * OAUTH2 only: per WHOLE-SCOPE placeholder (`scope: ['{permissions}']`), the scope strings the source's\n * dropdown admits (#991). Absent for a free-text one — the runtime then refuses the connection.\n */\n readonly scopeValueAllowances?: Readonly<Record<string, TransposedEndpointHostAllowance>>;\n /**\n * OAUTH2 only: set when the source's endpoints were found and deliberately NOT carried, with the\n * reason — e.g. an unevaluable `${…}` expression. Emitted into the module's documentation so the gap\n * is visible in the diff rather than looking like \"not recovered\".\n */\n readonly endpointsWithheldBecause?: string;\n readonly scopes?: readonly string[];\n /** CUSTOM only: the field names the vendor asks for, so a human can complete the mapping. */\n readonly customFields?: readonly string[];\n /** Where the credential rides once resolved, when the source says. */\n readonly headerName?: string;\n readonly headerPrefix?: string;\n}\n\n/**\n * The operation HOST a source derives from a connect-time answer, read by evaluating the source's own base-URL\n * function once per value that answer admits (#1937).\n *\n * Activepieces' Microsoft pieces call `getGraphBaseUrl(cloud)`, which maps the connection's login host to its Graph\n * host. A token minted by one national cloud is not accepted by another, so one fixed Graph host is wrong for every\n * cloud but one. The table here is what that function RETURNS for each admitted answer — evaluated, never assumed — and\n * `whenUnanswered` is what it returns for no answer at all, the source's own default. The source's US Government row\n * is read, then removed by the Microsoft vendor record's `unsupportedConnectionValues` (out of scope, 2026-09-29).\n */\nexport interface TransposedConnectionDerivedHost {\n /** The connect-time answer the host is derived from (`cloud`) — an OAuth2 endpoint placeholder of the same provider. */\n readonly answer: string;\n /** Per admitted answer value, the operation host the source's function returns for it. */\n readonly hosts: Readonly<Record<string, string>>;\n /** The host the source's function returns when the connection answered nothing. */\n readonly whenUnanswered: string;\n /** Answers the vendor record declines, with the reason (#1937). See {@link TransposedEndpointHostAllowance.unsupportedValues}. */\n readonly unsupportedValues?: Readonly<Record<string, string>>;\n}\n\n/** Which catalogue, and at exactly which revision, a definition came from. */\nexport interface TransposedProvenance {\n /** `ACTIVEPIECES` | `SIM` | `OPENAPI_DOCUMENT` — the engine's `ProviderCatalogueSource` values. */\n readonly source: string;\n /** How that catalogue addresses the artifact: a piece directory, a tool module, a document path. */\n readonly sourceRef: string;\n /** The exact upstream revision read. */\n readonly sourceVersion: string;\n}\n\n/**\n * The scalar kinds a source's input declaration reduces to.\n *\n * Deliberately small. Activepieces declares fourteen `Property.*` constructors and Sim a handful of\n * `type` strings, and most of that distinction is AUTHORING chrome — a dropdown and a short text are\n * both a string on the wire, and which one a builder should see is a question about a form, not\n * about a request. What survives is what changes the REQUEST: is it a string, a number, a boolean, a\n * list, or a nested object.\n */\nexport enum TransposedInputKind {\n STRING = 'STRING',\n NUMBER = 'NUMBER',\n BOOLEAN = 'BOOLEAN',\n ARRAY = 'ARRAY',\n OBJECT = 'OBJECT',\n /** The source declares an input whose kind could not be read. Typed as unknown, never guessed. */\n UNKNOWN = 'UNKNOWN',\n /**\n * A value the REQUEST needs and the source never described — recovered from a URL template or a\n * query bag rather than from a declared input.\n *\n * Distinct from {@link UNKNOWN}, which says \"declared, kind unreadable\". Here the kind IS known as\n * far as it can be: the position accepts whatever a URL segment accepts, so `string | number |\n * boolean` is the honest ceiling. Narrowing it to STRING is not a harmless simplification — it\n * makes the emitted schema REJECT a boolean query value that the wire encodes perfectly well, and\n * a call that worked before the field was declared then fails validation.\n */\n WIRE_SCALAR = 'WIRE_SCALAR',\n /** {@link WIRE_SCALAR} in a position that also accepts repeats — a query bag, never a path. */\n WIRE_SCALAR_OR_LIST = 'WIRE_SCALAR_OR_LIST',\n}\n\n/**\n * A recursive value shape — what an operation ANSWERS, as the source described it.\n *\n * Deliberately not the input model. An input is a flat list of fields a caller passes; a response is\n * a tree, and flattening it would lose exactly the part a caller needs to read a result. The kind\n * vocabulary is shared because the question is the same one at every level: string, number, boolean,\n * list, object, or honestly unknown.\n */\nexport interface TransposedShape {\n readonly kind: TransposedInputKind;\n /** OBJECT only. */\n readonly fields?: Readonly<Record<string, TransposedShape>>;\n /** ARRAY only — the element shape, when the source stated one. */\n readonly items?: TransposedShape;\n readonly description?: string;\n /** Whether the source marked this member optional. Absent means required. */\n readonly optional?: boolean;\n}\n\n/**\n * Where an input's CHOICES come from, as the transposer read it off the source's account-dependent dropdown\n * (#1045): the options OPERATION (another operation of the same provider, run through the same connection,\n * derived from the dropdown's own `options` body and pushed into the provider's operations), the paths inside\n * each listed item, and the inputs the listing depends on.\n *\n * The options operation is named by its ENDPOINT, never by its operation id: ids are assigned by the ledger\n * and disambiguated at merge, and two dropdowns listing the same endpoint collapse into one operation there.\n * The emitter resolves the endpoint against the operations it actually exports and renders `inputOptions`\n * only when the listing survived — an input whose listing was withdrawn stays a typed input, honestly.\n */\nexport interface TransposedInputOptionsSource {\n readonly endpoint: { readonly method: string; readonly pathTemplate: string };\n /** Dot-path, inside each listed item, to the value the input receives. */\n readonly valuePath: string;\n /** Dot-path, inside each listed item, to the text a person reads. */\n readonly labelPath: string;\n /** `{ <options-operation input>: <this operation's input> }`, from the dropdown's `refreshers`. */\n readonly dependsOn?: Readonly<Record<string, string>>;\n /**\n * The `resultPath` the listing needs so its answer is the LIST (`data` for an envelope), absent when the body\n * is the list. Carried so the emitter can refuse a picker whose listing collapsed into an action reading the\n * envelope whole — the executor would meet an object where it needs an array.\n */\n readonly resultPath?: string;\n}\n\n/** One field of an operation's input, as the source declared it. */\nexport interface TransposedInputField {\n readonly name: string;\n readonly kind: TransposedInputKind;\n readonly required: boolean;\n /** The source's own words, carried through so a typed client can document itself. */\n readonly description?: string;\n /** Set when the source lists this input's choices from the connected account (#1045). */\n readonly options?: TransposedInputOptionsSource;\n}\n\n/**\n * WHY an operation is UNREADABLE, as a closed vocabulary (#1019).\n *\n * `unreadableReason` is the sentence a human reads; this is what a record counts. The inventory groups a vendor's\n * losses by it, so \"every operation was refused by the request-helper fold, and here is the kind of refusal\" is\n * answerable from the committed catalogue record instead of by re-running the reader.\n */\nexport enum TransposedUnreadableClass {\n /** No request literal carrying a method and a path, and no SDK call naming a vendor operation. */\n NO_REQUEST_FOUND = 'NO_REQUEST_FOUND',\n /** The URL is computed (a function call, a variable the reader cannot follow), not a literal or a template. */\n URL_NOT_A_TEMPLATE = 'URL_NOT_A_TEMPLATE',\n /** The request goes through a piece helper the piece defines more than once, so which one runs cannot be read. */\n HELPER_AMBIGUOUS = 'HELPER_AMBIGUOUS',\n /** The request goes through a piece helper whose own request cannot be found. */\n HELPER_REQUEST_NOT_FOUND = 'HELPER_REQUEST_NOT_FOUND',\n /** The helper is given a path it does not visibly place in its URL. */\n HELPER_PATH_NOT_PLACED = 'HELPER_PATH_NOT_PLACED',\n /** The helper composes its URL through a shape the fold refuses (a conditional, a transform, a mid-URL unknown). */\n HELPER_URL_UNREADABLE = 'HELPER_URL_UNREADABLE',\n /** The helper's URL puts a value in the HOST that is not a named member of the connection. */\n HELPER_HOST_NOT_A_MEMBER = 'HELPER_HOST_NOT_A_MEMBER',\n /** The call site's own path opens with an unreadable base and then passes through a helper. */\n HELPER_CALL_SITE_BASE_UNREADABLE = 'HELPER_CALL_SITE_BASE_UNREADABLE',\n /** The helper's parameters cannot be bound (a rest parameter, a spread, a destructuring the fold cannot follow). */\n HELPER_PARAMETERS_UNREADABLE = 'HELPER_PARAMETERS_UNREADABLE',\n /** The request passes through more helpers or functions than the fold follows. */\n HELPER_TOO_DEEP = 'HELPER_TOO_DEEP',\n /**\n * The operation's URL is not relative to the base URL the provider carries (review F1). A provider has ONE base URL:\n * an operation naming another origin (`upload.vendor.test` beside `api.vendor.test`), or one relative to a base its\n * source does not state beside operations naming an origin, would be sent to the wrong host or without its prefix.\n * See {@link settleProviderBaseUrl}.\n */\n BASE_URL_INCONSISTENT = 'BASE_URL_INCONSISTENT',\n /**\n * The operation's path carries a vendor API version other than the ONE the provider targets, recorded as\n * `apiVersion` in `catalogue-record/decisions/<ref>.json` (#1053). A provider supports one vendor API version; a\n * source that also calls another is transposed to that version's operations only. See {@link settleProviderApiVersion}.\n */\n API_VERSION_INCONSISTENT = 'API_VERSION_INCONSISTENT',\n}\n\nexport interface TransposedOperation {\n /** Stable within the vendor. The address an application calls. */\n readonly operationId: string;\n /** The lazy-load unit, so a vendor with hundreds need not evaluate them all to run one. */\n readonly domain: string;\n readonly resolution: TransposedOperationResolution;\n /** RESOLVED only. */\n readonly method?: string;\n /** RESOLVED only. `{token}` interpolates a PATH parameter. Relative to the provider base URL. */\n readonly pathTemplate?: string;\n /**\n * Dot-path inside the response body to the payload a caller relies on, when the source read one — an options\n * listing that maps `response.data` carries `data` (#1045), so the executor's \"answered a list\" check meets the\n * array and not the envelope around it.\n */\n readonly resultPath?: string;\n /**\n * Set on an operation the reader DERIVED from a dropdown's `options` body to list an input's choices (#1045),\n * as opposed to one the source declared as an action or a trigger poll. Read at merge (an action that lists the\n * same endpoint always wins, whatever it declares) and at emit (a listing no exported operation picks from is\n * refused, and a vendor whose only executable operations are listings exports nothing).\n */\n readonly derivedListing?: true;\n /**\n * PENDING_ENDPOINT only: the vendor operation the source named, as the SDK spelled it\n * (`conversations.create`). This is the key a later pass, or another catalogue, matches on.\n */\n readonly vendorOperationName?: string;\n /** UNREADABLE only: why, in words a human can act on. */\n readonly unreadableReason?: string;\n /** UNREADABLE only: the class of {@link unreadableReason}, which the catalogue inventory counts. */\n readonly unreadableClass?: TransposedUnreadableClass;\n readonly summary?: string;\n /** READ or WRITE — the engine's `ExternalOperation_Classification` values. */\n readonly classification: string;\n readonly parameters: readonly TransposedParameter[];\n /**\n * The operation's whole declared input, before any of it is assigned to a wire location.\n *\n * Kept SEPARATE from {@link parameters} on purpose: a parameter says where a value rides, and this\n * says what the caller may pass. The two overlap — a path parameter is also an input field — and\n * collapsing them would lose the fields that ride in the BODY, which is most of them and precisely\n * what a typed client needs in order to type anything at all.\n */\n readonly inputFields: readonly TransposedInputField[];\n /**\n * What the operation answers, when a source described it.\n *\n * Absent is a legitimate and common answer: a catalogue that shapes its response in a FUNCTION\n * describes nothing a reader can transpose, and the contract is explicit that an absent\n * `outputSchema` returns the parsed body as `unknown`. Emitting a guessed shape would be worse\n * than none — a caller would type against it and the vendor would disagree.\n */\n readonly outputShape?: TransposedShape;\n readonly hasRequestBody: boolean;\n /**\n * Where the definition being emitted came from. For an operation COMPLETED by the merge — an\n * action that named its vendor operation and a tool that carried the endpoint — this stays the\n * source that supplied the operation's identity, inputs and description, and\n * {@link endpointFrom} names the one that supplied the URL.\n */\n readonly provenance: TransposedProvenance;\n /**\n * Set when the merge completed a PENDING operation: the catalogue whose entry supplied the method\n * and path template. Recorded separately from {@link provenance} because the two answer different\n * questions — who described this operation, and who told us where it lives — and a regeneration\n * that collapsed them could not say which upstream movement changed which half.\n */\n readonly endpointFrom?: TransposedProvenance;\n /**\n * Other catalogues that described the same operation and lost the tie. Kept rather than dropped:\n * the NOTICE owes them attribution, and a later disagreement between two sources is only\n * diagnosable if both were recorded.\n */\n readonly alsoDescribedBy?: readonly TransposedProvenance[];\n}\n\n/**\n * One vendor's whole transposed surface — the unit the emitter turns into a package.\n *\n * A vendor, NOT a source artifact: Slack, Google, HubSpot and Notion appear in more than one\n * catalogue, and Paul decided on 2026-09-06 that they produce ONE Wildo provider each. So a merge\n * happens before emission, and provenance is carried per OPERATION rather than per provider —\n * otherwise a regenerated package could not say which source moved.\n */\nexport interface TransposedProvider {\n /** The Wildo provider ref, and the package directory name. */\n readonly ref: string;\n /**\n * The vendor as the SOURCE names it, which is always the ref: no catalogue says which company an entry belongs to.\n * What an emitted module and contribution declare as `vendor` is resolved from the catalogue record instead\n * (`resolveCatalogueVendor`, #1673) — `microsoft` for `microsoft-teams` — because that is a judgement, not a fact\n * any source carries. So nothing past the readers should read this field.\n */\n readonly vendor: string;\n readonly displayName?: string;\n /** Absolute API base URL, when a source stated one. */\n readonly baseUrl?: string;\n /**\n * The vendor-reported account fact the source dials as its base URL, as the token answer names it\n * (`api_domain`, `instance_url`) — set when every operation that opens its URL with a reported fact\n * reads THIS one and no base URL was stated (#1052). The emitter carries it as\n * `baseUrlConnectionFact` once a decision records the origins it may name; until then the fact is\n * captured at connect and the deployment base still serves every account.\n */\n readonly baseUrlReportedFact?: string;\n /**\n * Two or more DIFFERENT reported facts open the source's URLs, so no one of them is the provider's\n * base for a connected account. Reported (inventory), never derived from.\n */\n readonly conflictingReportedOriginFacts?: readonly string[];\n /**\n * The base URL's HOST is derived from a connect-time answer (#1937): `baseUrl` is the origin for an unanswered\n * connection, and every operation of a connection that answered is sent to the host this table maps its answer to.\n * Set only when every kept operation that derived its origin agrees on the same table.\n */\n readonly baseUrlHostFromConnectionAnswer?: TransposedConnectionDerivedHost;\n /**\n * The API base the source piece DECLARES for itself — Activepieces' `createCustomApiCallAction({ baseUrl })` —\n * evaluated per connect-time answer (#1937), with its path prefix dropped. Evidence about the vendor's API host\n * even when no action is readable (Outlook and Planner reach Graph through its SDK), so the merge applies it to a\n * provider whose settled base is this table's unanswered origin, when no operation derived a table of its own.\n */\n readonly declaredApiBaseHostFromConnectionAnswer?: TransposedConnectionDerivedHost;\n /**\n * Account-dependent dropdowns whose `options` body the reader could NOT turn into a listing operation (#1045):\n * no request found, not a GET, a mapping it cannot read. Counted, so the inventory says how much of a vendor's\n * choice surface is still untyped, and never guessed — an input with no readable listing stays a typed input.\n */\n readonly inputOptionsUnreadable?: number;\n readonly auth: TransposedAuth;\n readonly operations: readonly TransposedOperation[];\n /** Every catalogue that contributed, for the package NOTICE and for regeneration diffs. */\n readonly provenances: readonly TransposedProvenance[];\n /**\n * The vendor's own OpenAPI documents that CONTRIBUTED to this provider — a response shape, a summary or\n * a path-hole name (#1572). Kept apart from {@link provenances} on purpose: a catalogue decides which\n * operations exist, a document only answers questions about them, and a header reading \"transposed from\n * OPENAPI_DOCUMENT\" would claim the opposite. Absent when no document contributed anything.\n */\n readonly documentedBy?: readonly TransposedProvenance[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"url-template.extractor.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAEnF;;;;;;;;;;;;;GAaG;AAEH,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC,oDAAoD;IACpD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,Q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,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CA2B/F;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,4BAAiC,GAAG,qBAAqB,CAKvI;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACvD,uHAAuH;IACvH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CACzC;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,4BAAiC,GACzC,mBAAmB,GAAG,kBAAkB,CA2D1C;AAsDD,qGAAqG;AACrG,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,sBAAsB,EAAE,GAAG,oBAAoB,CAEtH"}
1
+ {"version":3,"file":"url-template.extractor.d.ts","sourceRoot":"","sources":["../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAEnF;;;;;;;;;;;;;GAaG;AAEH,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC,oDAAoD;IACpD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC3D,s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AC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,4BAAiC,GAAG,qBAAqB,CAKvI;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACvD,uHAAuH;IACvH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CACzC;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,4BAAiC,GACzC,mBAAmB,GAAG,kBAAkB,CA2D1C;AAsDD,qGAAqG;AACrG,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,sBAAsB,EAAE,GAAG,oBAAoB,CAEtH"}
@@ -1 +1 @@
1
- {"version":3,"file":"url-template.extractor.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AA4ExG,MAAM,UAAU,oBAAoB,CAAC,KAAkD;IACrF,OAAQ,KAA4B,CAAC,OAAO,KAAK,IAAI,CAAC;AACxD,CAAC;AAED,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAEtD;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAAC,UAAyB;IACpD,IAAI,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,CAAC;QAAE,OAAO,SAAS,CAAC;IAC9D,MAAM,QAAQ,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAC7D,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC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CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACrE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,qBAAqB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC;AAC7G,CAAC","sourcesContent":["import ts from 'typescript';\n\nimport { UNEVALUABLE, evaluateStatically, staticEvaluationContextFor } from './source-static-evaluator';\nimport type { TransposedConnectionDerivedHost } from './transposed-provider.model';\n\n/**\n * Turning a source's URL expression into a URL TEMPLATE plus its parameter binding.\n *\n * This is the single most load-bearing capability of the transposer, and it is deliberately narrow:\n * it understands template literals and string literals, and nothing else. Measured over the two\n * catalogues on 2026-09-06, that covers class A, class B and class C1 of Activepieces (90.8% of\n * 5,719 actions) and every Sim tool that declares `url` as an arrow returning a template — one\n * mechanism, both catalogues.\n *\n * It does NOT evaluate expressions, and that is the point rather than a limitation. A URL built by a\n * conditional, a concatenation of variables, or a helper call is REFUSED and reported by name. A\n * transposer that guessed there would emit an operation that points somewhere plausible and wrong,\n * and a wrong endpoint is discovered by a customer, not by a test.\n */\n\n/** A `${…}` hole recovered from a template literal. */\nexport interface ExtractedPathParameter {\n /** The `{token}` name written into the template. */\n readonly name: string;\n /** The source expression text, so a reader can bind it to an input field. */\n readonly expressionText: string;\n}\n\nexport interface ExtractedUrlTemplate {\n /**\n * The path with every hole rewritten as `{name}`. A leading absolute origin is stripped into\n * {@link absoluteOrigin} so the operation stays relative to the provider's base URL, which is\n * where the engine contract expects it.\n */\n readonly pathTemplate: string;\n readonly pathParameters: readonly ExtractedPathParameter[];\n /** Present when the literal carried its own `https://host` prefix. */\n readonly absoluteOrigin?: string;\n /**\n * Present when the template began with a `${…}` hole rather than a literal — the base-URL const\n * case (`` `${API_BASE}/users/${id}` ``). The reader resolves it one hop; the extractor only\n * reports that it is there, because resolving an identifier is a module-graph question and this\n * function has no module graph.\n */\n readonly leadingExpressionText?: string;\n /**\n * Present when the leading `${…}` is a fact the vendor REPORTED for the connected account\n * (`auth.data.api_domain`, a helper parameter bound to `auth.data['instance_url']`) — the field's\n * name (#1052). The operation is then relative to the CONNECTED ACCOUNT's own origin, which the\n * provider carries as `baseUrlConnectionFact`; for the application's own account the deployment\n * still names the base. Set by the reader, which is what can see the chain.\n */\n readonly leadingReportedAccountFact?: string;\n /**\n * Present when the leading `${…}` is a base URL the source COMPUTES from a connect-time answer, and evaluating that\n * computation for every admitted answer gave one host per answer under one path prefix (#1937). `absoluteOrigin` is\n * then the origin for an unanswered connection, and the path carries the prefix. Set by the reader.\n */\n readonly connectionDerivedHost?: TransposedConnectionDerivedHost;\n /**\n * The query the template carried INLINE (`projects?workspace={workspace}` → `workspace={workspace}`), with the\n * holes it names. The path template ends at the `?` — a query is recovered from the request's own query object —\n * but a listing that writes its dependency straight into the URL has no such object, and without this its\n * dependency vanished with the query (#1045). Read by the input-options derivation; every other consumer keeps\n * reading the split path.\n */\n readonly inlineQueryTemplate?: string;\n readonly inlineQueryParameters?: readonly ExtractedPathParameter[];\n}\n\nexport interface UrlTemplateRefusal {\n readonly refused: true;\n /** Why, in words that name the shape rather than the file. */\n readonly reason: string;\n}\n\nexport type UrlTemplateExtraction = ExtractedUrlTemplate | UrlTemplateRefusal;\n\nexport function isUrlTemplateRefusal(value: UrlTemplateExtraction | RenderedUrlTemplate): value is UrlTemplateRefusal {\n return (value as UrlTemplateRefusal).refused === true;\n}\n\nconst ABSOLUTE_ORIGIN = /^(https?:\\/\\/[^/]+)(\\/.*)?$/;\n\n/**\n * A conditional hole that appends an optional query string, collapsed to what the PATH is without it.\n *\n * Recognised narrowly, on purpose: exactly one branch must be an empty string literal, and the other\n * must contain a `?`. Anything else is a genuine either/or between two different paths, which cannot\n * be collapsed and must still refuse — a conditional that picks between two endpoints has no single\n * answer, and guessing one puts an operation somewhere the caller did not ask for.\n */\nfunction collapseQuerySuffix(expression: ts.Expression): string | undefined {\n if (!ts.isConditionalExpression(expression)) return undefined;\n const branches = [expression.whenTrue, expression.whenFalse];\n const empty = branches.find((branch) => isEmptyStringLiteral(branch));\n const other = branches.find((branch) => !isEmptyStringLiteral(branch));\n if (empty === undefined || other === undefined) return undefined;\n return other.getText().includes('?') ? '' : undefined;\n}\n\nfunction isEmptyStringLiteral(node: ts.Expression): boolean {\n return (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) && node.text === '';\n}\n\n/**\n * Names a `${…}` hole. Prefers the identifier or the last property in a chain\n * (`params.collectionId` → `collectionId`), because that is the name the vendor's own path uses and\n * the name a caller will pass. Falls back to a positional name so a template with an expression too\n * complex to name still produces a usable, if uglier, parameter rather than a refusal.\n */\n/** What a reader knows about the surrounding source that the extractor cannot see. */\nexport interface UrlTemplateExtractionOptions {\n /**\n * The input names the source DECLARES for this operation (Activepieces `props`, Sim `params`).\n *\n * Used only to name a hole written as a fallback chain — `params.domain || params.shopDomain || params.idToken`\n * — by the operand the source actually asks a person for. Without it the chain had no nameable form at all and\n * became the positional `{param1}` (Shopify's base URL, #1015), a name nothing can answer.\n */\n readonly declaredInputNames?: ReadonlySet<string>;\n}\n\n/**\n * Methods that DRESS a value without changing which value it is — `params.threadId.trim()`,\n * `params.ids.join(',')`, `x.toString()`. A hole or a query value written through one is named by its RECEIVER.\n *\n * One vocabulary for both places that name a source value (the path-hole namer below and the Sim reader's\n * query-value namer, `nameOfFedField`), because they had drifted: the Sim reader unwrapped the dressing and the\n * hole namer did not, so `${params.threadId.trim()}` became the positional `{param1}` and its operation was\n * refused as UNFED_PATH_PARAMETER while the source named the value outright. Measured 2026-09-24 (#1572):\n * 550 Sim tool files build a URL that way, and pitchbook's 73 refused operations were all of that shape.\n */\nexport const VALUE_DRESSING_METHODS: ReadonlySet<string> = new Set(['trim', 'toString', 'toLowerCase', 'toUpperCase', 'valueOf', 'join']);\n\n/** The dressing methods that CHANGE the value's case — not unwrapped for a path hole (see `nameHole`). */\nconst CASE_CHANGING_METHODS: ReadonlySet<string> = new Set(['toLowerCase', 'toUpperCase']);\n\nfunction nameHole(expression: ts.Expression, index: number, options: UrlTemplateExtractionOptions = {}): string {\n if (ts.isIdentifier(expression)) return expression.text;\n if (ts.isPropertyAccessExpression(expression)) return expression.name.text;\n // `params.threadId.trim()` — the dressing method is not the value's name; its receiver is (see the vocabulary).\n // A CASE change is not dressing in a PATH: the vendor may answer 404 to `Contacts` where the source sent\n // `contacts`, and naming the receiver would send the caller's value without the source's change. So those stay\n // positional here; the Sim query namer, where a case-insensitive vendor is the norm, keeps them.\n if (ts.isCallExpression(expression) && ts.isPropertyAccessExpression(expression.expression)\n && VALUE_DRESSING_METHODS.has(expression.expression.name.text)\n && !CASE_CHANGING_METHODS.has(expression.expression.name.text)\n && joinKeepsTheWireValue(expression)) {\n return nameHole(expression.expression.expression, index, options);\n }\n if (ts.isElementAccessExpression(expression) && ts.isStringLiteral(expression.argumentExpression)) {\n return expression.argumentExpression.text;\n }\n // A call wrapping the value — `encodeURIComponent(x)`, `assertId(params.companyId, 'company')`,\n // `requireOneOf(params.entityType, TYPES, 'entityType')`. The FIRST nameable argument is the value;\n // the rest are the helper's own configuration.\n //\n // This used to require exactly ONE argument, and the difference was 1,151 path holes named\n // `param1` — a positional name no input field can ever match, which makes the operation\n // unexecutable by anyone following its own types. A guard wrapper with a second argument is the\n // catalogue's most common idiom, and the name was always sitting in its first.\n if (ts.isCallExpression(expression)) {\n for (const argument of expression.arguments) {\n const named = nameHole(argument, index, options);\n if (!named.startsWith('param')) return named;\n }\n }\n if (ts.isNonNullExpression(expression) || ts.isParenthesizedExpression(expression) || ts.isAsExpression(expression)) {\n return nameHole(expression.expression, index, options);\n }\n // `a || b || c` / `a ?? b` — a fallback chain names ONE value. The operand the source declares as an input is\n // the one a person supplies; the others are injected alternatives. With no declared operand the FIRST nameable\n // one is taken, which is the value the source prefers when present.\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n const operands = flattenFallbackChain(expression)\n .map((operand) => nameHole(operand, index, options))\n .filter((named) => !named.startsWith('param'));\n const declared = operands.find((named) => options.declaredInputNames?.has(named) === true);\n if (declared !== undefined) return declared;\n if (operands[0] !== undefined) return operands[0];\n }\n return `param${index + 1}`;\n}\n\n/**\n * `join` dresses a value only when the caller's list, rendered by the executor, is the same string: `String(list)`\n * joins with `,`, so `ids.join()` and `ids.join(',')` name `ids`, while `queryParams.join('&')` BUILDS something\n * (a query string, a clause) and stays positional — naming it would declare a local variable as a caller input.\n * Every other dressing method keeps the value whatever its arguments.\n */\nfunction joinKeepsTheWireValue(call: ts.CallExpression): boolean {\n if (!ts.isPropertyAccessExpression(call.expression) || call.expression.name.text !== 'join') return true;\n const separator = call.arguments[0];\n if (separator === undefined) return true;\n return (ts.isStringLiteral(separator) || ts.isNoSubstitutionTemplateLiteral(separator)) && separator.text === ',';\n}\n\nfunction isFallbackOperator(kind: ts.SyntaxKind): boolean {\n return kind === ts.SyntaxKind.BarBarToken || kind === ts.SyntaxKind.QuestionQuestionToken;\n}\n\nfunction flattenFallbackChain(expression: ts.Expression): ts.Expression[] {\n if (ts.isParenthesizedExpression(expression)) return flattenFallbackChain(expression.expression);\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n return [...flattenFallbackChain(expression.left), ...flattenFallbackChain(expression.right)];\n }\n return [expression];\n}\n\n/**\n * A path segment written ONLY with characters a URL path carries literally. A constant outside this set —\n * a brace (read back as a placeholder), `?`/`#` (the path would end), `%` (an escape nobody wrote), whitespace\n * or a backslash — is not inlined, and the hole stays what it was.\n * spec-cite: RFC 3986 §3.3 (`pchar` = unreserved / sub-delims / \":\" / \"@\"), plus \"/\" between segments.\n */\nconst LITERAL_PATH_TEXT = /^[A-Za-z0-9\\-._~!$&'()*+,;=:@/]+$/;\n/** A leading constant that is an absolute base: a literal DNS host (no placeholder), an optional port, a literal path. */\nconst LITERAL_ABSOLUTE_BASE = /^https?:\\/\\/[A-Za-z0-9.-]+(?::\\d{1,5})?(?:\\/[A-Za-z0-9\\-._~!$&'()*+,;=:@/]*)?$/;\n\n/**\n * The value of a hole that names a MODULE-LEVEL constant, or `undefined` (#1019).\n *\n * `/ccx/api/${WQL_BASE}/${tenant}/data` with `const WQL_BASE = 'wql/v1'` at the top of the file is a fixed path,\n * and naming the hole made it a REQUIRED caller path parameter — one that could not even survive encoding\n * (`wql%2Fv1`). The source states the value, so it is read, through the same static evaluator that reads OAuth2\n * endpoints (constants, relative imports, member access, pure helpers).\n *\n * Refused — the hole stays a parameter exactly as before — when:\n * - the expression is anything but an identifier or a member chain rooted in one (a call, `this`, a conditional);\n * - the root name is DECLARED anywhere inside the enclosing top-level statement (a parameter, a local, a binding\n * element): a local that shadows a module constant is a runtime value, and resolving it by name would read the\n * wrong declaration. Conservative on purpose — a same-named local elsewhere in the same function also refuses;\n * - the value is not a string or finite number, or is not literal path text (`leading` also admits an absolute\n * base with a literal host).\n */\nexport function resolveModuleConstantHole(expression: ts.Expression, leading: boolean): string | undefined {\n const root = memberChainRoot(expression);\n if (root === undefined) return undefined;\n if (isDeclaredWithinEnclosingTopLevelStatement(root.text, expression)) return undefined;\n const source = expression.getSourceFile();\n const context = staticEvaluationContextFor(source.fileName, source);\n if (context === undefined) return undefined;\n const value = evaluateStatically(expression, context);\n if (value === UNEVALUABLE) return undefined;\n const text = typeof value === 'string' ? value : typeof value === 'number' && Number.isFinite(value) ? String(value) : undefined;\n if (text === undefined || text === '') return undefined;\n if (LITERAL_PATH_TEXT.test(text) && !/^https?:/i.test(text)) return text;\n if (leading && LITERAL_ABSOLUTE_BASE.test(text)) return text;\n return undefined;\n}\n\n/**\n * Whether an inlined absolute BASE is followed by something that ends its authority — `/`, `?`, `#`, or the end of\n * the URL. `${BASE}${path}` is not: the next hole would be spliced onto the HOST (`https://api.vendor.test{path}`),\n * so such a base stays the un-inlined leading expression it always was, and the path keeps its old shape.\n */\nfunction baseIsTerminated(constant: string, followingLiteral: string, anotherHoleFollows: boolean): boolean {\n // A base that already carries a PATH (`https://api.trello.com/1/`) has ended its host whatever follows it: the next\n // text extends the path, never the authority (review F1). Only a bare host needs a following `/`, `?` or `#`.\n if (/^https?:\\/\\/[^/?#]+[/?#]/i.test(constant)) return true;\n if (followingLiteral === '') return !anotherHoleFollows;\n return /^[/?#]/.test(followingLiteral);\n}\n\nfunction memberChainRoot(expression: ts.Expression): ts.Identifier | undefined {\n let current: ts.Expression = expression;\n for (;;) {\n if (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isPropertyAccessExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isElementAccessExpression(current) && (ts.isStringLiteral(current.argumentExpression) || ts.isNumericLiteral(current.argumentExpression))) {\n current = current.expression;\n continue;\n }\n return ts.isIdentifier(current) && current.text !== 'undefined' ? current : undefined;\n }\n}\n\n/** Whether `name` is declared (parameter, local, binding, function or class) inside the top-level statement holding `node`. */\nexport function isDeclaredWithinEnclosingTopLevelStatement(name: string, node: ts.Node): boolean {\n let statement: ts.Node = node;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n let declared = false;\n const bindsName = (binding: ts.BindingName): boolean => ts.isIdentifier(binding)\n ? binding.text === name\n : binding.elements.some((element) => !ts.isOmittedExpression(element) && bindsName(element.name));\n const visit = (current: ts.Node): void => {\n if (declared) return;\n if (current !== statement || !ts.isVariableStatement(current)) {\n if ((ts.isVariableDeclaration(current) || ts.isParameter(current) || ts.isBindingElement(current)) && bindsName(current.name)) {\n // The top-level statement's OWN declaration is the module constant itself, never a shadow.\n if (!(ts.isVariableDeclaration(current) && current.parent.parent === statement)) {\n declared = true;\n return;\n }\n }\n if ((ts.isFunctionDeclaration(current) || ts.isFunctionExpression(current) || ts.isClassDeclaration(current) || ts.isClassExpression(current))\n && current !== statement && current.name?.text === name) {\n declared = true;\n return;\n }\n }\n ts.forEachChild(current, visit);\n };\n visit(statement);\n return declared;\n}\n\n/**\n * Extract a URL template from a string or template literal node.\n *\n * @param node the expression a source assigned to `url` / `resourceUri` / `path`.\n * @param sourceText the full file text, used to quote hole expressions verbatim.\n */\nexport function extractUrlTemplate(node: ts.Node, sourceText: string, options: UrlTemplateExtractionOptions = {}): UrlTemplateExtraction {\n const raw = renderUrlTemplate(node, sourceText, options);\n if (isUrlTemplateRefusal(raw)) return raw;\n const split = splitUrlTemplate(raw.template, raw.parameters);\n return raw.leadingExpressionText === undefined ? split : { ...split, leadingExpressionText: raw.leadingExpressionText };\n}\n\n/**\n * A URL expression rendered as ONE template string with `{name}` holes, BEFORE the origin is split off and\n * before a leading slash is forced — the form a request helper's prefix can be joined to (#1019).\n */\nexport interface RenderedUrlTemplate {\n readonly template: string;\n readonly parameters: readonly ExtractedPathParameter[];\n /** A leading hole that could not be resolved to a constant; see {@link ExtractedUrlTemplate.leadingExpressionText}. */\n readonly leadingExpressionText?: string;\n}\n\nexport function renderUrlTemplate(\n node: ts.Node,\n sourceText: string,\n options: UrlTemplateExtractionOptions = {},\n): RenderedUrlTemplate | UrlTemplateRefusal {\n if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) {\n return { template: node.text, parameters: [] };\n }\n\n // `'/a/' + id + '/b'` — a concatenation is a template written with plus signs, and flattening it\n // costs a few lines while refusing it would lose real operations. Anything that is not a string\n // or a nameable expression still refuses, so nothing is guessed.\n if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n return flattenConcatenation(node, sourceText, options);\n }\n\n if (!ts.isTemplateExpression(node)) {\n return {\n refused: true,\n reason: `the URL is a ${ts.SyntaxKind[node.kind]}, not a literal or a template — it is computed, and a computed endpoint cannot be transposed without evaluating it`,\n };\n }\n\n const parameters: ExtractedPathParameter[] = [];\n let template = node.head.text;\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n\n node.templateSpans.forEach((span, index) => {\n const expressionText = sourceText.slice(span.expression.getStart(), span.expression.getEnd()).trim();\n const leading = index === 0 && template.length === 0;\n const constant = resolveModuleConstantHole(span.expression, leading);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, span.literal.text, node.templateSpans[index + 1] !== undefined))) {\n template += constant;\n } else if (leading) {\n // A hole in first position with no literal before it is the base-URL const case. It is not a\n // path parameter — writing it as one would put the API host inside the path.\n const choice = leadingChoiceReason(span.expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n } else {\n const collapsed = collapseQuerySuffix(span.expression);\n if (collapsed !== undefined) {\n // The hole was `queryString ? `?${queryString}` : ''` — an optional query suffix, not a path\n // segment. Its whole job is \"append a query string if there is one\", so the operation's PATH\n // is the branch without it; naming it as a path parameter would invent a `{queryString}`\n // segment the vendor has never heard of. The query parameters it was appending are recovered\n // separately, from the builder's own `set`/`append` calls.\n template += collapsed;\n } else {\n const name = nameHole(span.expression, index, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n }\n }\n template += span.literal.text;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n\n/**\n * Why an expression that OPENS a URL may not be dropped as the unstated base, or `undefined` when it may.\n *\n * Dropping the opening expression is what lets `${base}${path}` be read at all, and it is sound for ONE ADDRESS the\n * reader cannot see — a connection value, an instance field, a deployment's host. It is NOT sound for a CHOICE: an\n * action writing `${version === 'v2' ? '…/wiki/api/v2' : '…/wiki/rest/api'}${path}` has two different prefixes, and\n * emitting both operations under one base URL sends one of them to a path the vendor does not serve. The fold refuses\n * that shape (`HelperUrlRefusal.choice`); this is the same rule for a request literal an action writes itself, which\n * never reaches the fold (review round 3, F-A).\n *\n * The one admitted conditional is the TRAILING-SLASH normalisation (`base.endsWith('/') ? base : base + '/'`): both\n * branches are the same value, so it is one address written twice.\n */\nfunction leadingChoiceReason(expression: ts.Expression, depth = 0): string | undefined {\n let current: ts.Expression = expression;\n while (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n }\n if (ts.isIdentifier(current) && depth < 2) {\n const declared = singleDeclarationInitializer(current.text, current);\n return declared === undefined ? undefined : leadingChoiceReason(declared, depth + 1);\n }\n if (!ts.isConditionalExpression(current)) return undefined;\n const sameValue = (left: ts.Expression, right: ts.Expression): boolean => {\n const bare = (node: ts.Expression): string => {\n const text = node.getText().trim();\n // `base + '/'` is the same address as `base`; a path template's leading slash is normalised anyway.\n return text.replace(/\\s*\\+\\s*(['\"`])\\/\\1$/, '').trim();\n };\n return bare(left) === bare(right);\n };\n return sameValue(current.whenTrue, current.whenFalse)\n ? undefined\n : `the URL opens with a value the source CHOOSES (${current.getText().slice(0, 120)}), so which base it takes cannot be read — the operation would be emitted under one of two different prefixes`;\n}\n\n/** The initializer of the ONE declaration of `name` visible around `at`, or `undefined` (none, or more than one). */\nfunction singleDeclarationInitializer(name: string, at: ts.Node): ts.Expression | undefined {\n let statement: ts.Node = at;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n const initializers: ts.Expression[] = [];\n const visit = (node: ts.Node): void => {\n if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.name.text === name && node.initializer !== undefined) {\n initializers.push(node.initializer);\n }\n ts.forEachChild(node, visit);\n };\n visit(statement);\n if (initializers.length === 0) visit(at.getSourceFile());\n return initializers.length === 1 ? initializers[0] : undefined;\n}\n\n/** {@link splitOrigin}, exported for a reader that rendered and joined a template itself (#1019). */\nexport function splitUrlTemplate(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n return splitOrigin(template, parameters);\n}\n\n/**\n * Separate an absolute origin from the path. The engine contract keeps the origin on the PROVIDER\n * (one base URL per provider) and the path on the operation, so an action that inlined the whole\n * URL has to be split before it can be emitted — and the origin it carried is evidence about the\n * provider's base URL that the reader uses when the source never states one explicitly.\n */\nfunction splitOrigin(rawWithQuery: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n // A path template ENDS at the query string. A builder that appends `?${search}` in one expression\n // rather than through the conditional shape leaves the whole query inside the template, and the\n // hole in it then reads as a PATH parameter — `/autocompletes?{param2}`, an operation whose path\n // contains a question mark and whose \"path parameter\" is a query bag. The query is recovered from\n // the builder's own `set`/`append` calls; what is cut here is a duplicate of it in the wrong place.\n const raw = rawWithQuery.includes('?') ? rawWithQuery.slice(0, rawWithQuery.indexOf('?')) : rawWithQuery;\n const inlineQuery = rawWithQuery.includes('?')\n ? { inlineQueryTemplate: rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), inlineQueryParameters: retainHolesPresentIn(rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), parameters) }\n : {};\n const match = ABSOLUTE_ORIGIN.exec(raw);\n if (match === null) {\n const path = raw.startsWith('/') ? raw : `/${raw}`;\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), ...inlineQuery };\n }\n const path = match[2] ?? '/';\n // Parameters that lived in the ORIGIN do not survive the split, and must not survive in the\n // declaration either. `https://${applicationId}.algolia.net/1/indexes/{indexName}` keeps one hole\n // and loses one; leaving `applicationId` declared would tell the executor to bind a path parameter\n // the path no longer has — 116 operations were emitted that way before this filter existed. The\n // origin's own holes are a per-deployment host, which the provider's base URL answers.\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), absoluteOrigin: match[1]!, ...inlineQuery };\n}\n\n/**\n * The parameters the FINAL template actually needs.\n *\n * Two directions, and the second is easy to miss. Parameters whose hole did not survive an origin\n * split are dropped — they described a per-deployment host, which the base URL answers. And holes the\n * template carries LITERALLY gain a parameter: a source that writes\n * `processPathParameters('/actions/{chargePoint}/change-availability', props)` has stated the hole in\n * the string itself rather than through an interpolation, and without this the template would arrive\n * with a token nothing declares — which the emitter then refuses as incoherent, correctly and\n * uselessly. 552 actions in one piece family were written that way.\n */\nfunction retainHolesPresentIn(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedPathParameter[] {\n const holes = [...template.matchAll(/\\{([^}]+)\\}/g)].map((match) => match[1]!);\n const holeSet = new Set(holes);\n const kept = parameters.filter((parameter) => holeSet.has(parameter.name));\n const declared = new Set(kept.map((parameter) => parameter.name));\n for (const hole of holes) {\n if (declared.has(hole)) continue;\n declared.add(hole);\n kept.push({ name: hole, expressionText: `{${hole}}` });\n }\n return kept;\n}\n\n\n/** Flatten a `+` chain of literals and expressions into the same template/parameter pair. */\nfunction flattenConcatenation(node: ts.BinaryExpression, sourceText: string, options: UrlTemplateExtractionOptions): RenderedUrlTemplate | UrlTemplateRefusal {\n // A template literal inside the chain (`${base}cards/` + id) is flattened into its own literal text and holes. Kept\n // whole, an unreadable leading one was dropped as the base WITH the literal text it carried — `cards/` vanished and\n // `get_card` was emitted as `/{cardId}` (review F1).\n const parts: (ts.Expression | { readonly text: string })[] = [];\n // The position each part held in the `+` chain: an unnamed hole is named positionally, and flattening a template must\n // not renumber the holes around it.\n const chainIndexes: number[] = [];\n let chainIndex = -1;\n const push = (part: ts.Expression | { readonly text: string }): void => {\n parts.push(part);\n chainIndexes.push(chainIndex);\n };\n const walk = (expression: ts.Expression): void => {\n if (ts.isBinaryExpression(expression) && expression.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n walk(expression.left);\n walk(expression.right);\n return;\n }\n chainIndex += 1;\n if (ts.isTemplateExpression(expression)) {\n if (expression.head.text !== '') push({ text: expression.head.text });\n for (const span of expression.templateSpans) {\n push(span.expression);\n if (span.literal.text !== '') push({ text: span.literal.text });\n }\n return;\n }\n push(expression);\n };\n walk(node);\n const literalText = (part: (typeof parts)[number] | undefined): string | undefined =>\n part === undefined ? undefined : !('kind' in part) ? part.text : ts.isStringLiteral(part) || ts.isNoSubstitutionTemplateLiteral(part) ? part.text : undefined;\n\n const parameters: ExtractedPathParameter[] = [];\n let template = '';\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n parts.forEach((part, index) => {\n const text = literalText(part);\n if (text !== undefined) {\n template += text;\n return;\n }\n const expression = part as ts.Expression;\n const leading = template.length === 0 && parameters.length === 0 && leadingExpressionText === undefined;\n const expressionText = sourceText.slice(expression.getStart(), expression.getEnd()).trim();\n const constant = resolveModuleConstantHole(expression, leading);\n const next = parts[index + 1];\n const nextText = next === undefined ? '' : literalText(next);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, nextText ?? '', nextText === undefined))) {\n template += constant;\n return;\n }\n if (leading) {\n const choice = leadingChoiceReason(expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n return;\n }\n const name = nameHole(expression, chainIndexes[index]!, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n"]}
1
+ {"version":3,"file":"url-template.extractor.js","sourceRoot":"","sources":["../../../../../src/services/framework/provider-transposition/url-template.extractor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AA4ExG,MAAM,UAAU,oBAAoB,CAAC,KAAkD;IACrF,OAAQ,KAA4B,CAAC,OAAO,KAAK,IAAI,CAAC;AACxD,CAAC;AAED,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAEtD;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAAC,UAAyB;IACpD,IAAI,CAAC,EAAE,CAAC,uBAAuB,CAAC,UAAU,CAAC;QAAE,OAAO,SAAS,CAAC;IAC9D,MAAM,QAAQ,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAC7D,MAAM,KAAK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IAAI,GAAG,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACrE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,qBAAqB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC;AAC7G,CAAC","sourcesContent":["import ts from 'typescript';\n\nimport { UNEVALUABLE, evaluateStatically, staticEvaluationContextFor } from './source-static-evaluator';\nimport type { TransposedConnectionDerivedHost } from './transposed-provider.model';\n\n/**\n * Turning a source's URL expression into a URL TEMPLATE plus its parameter binding.\n *\n * This is the single most load-bearing capability of the transposer, and it is deliberately narrow:\n * it understands template literals and string literals, and nothing else. Measured over the two\n * catalogues on 2026-09-06, that covers class A, class B and class C1 of Activepieces (90.8% of\n * 5,719 actions) and every Sim tool that declares `url` as an arrow returning a template — one\n * mechanism, both catalogues.\n *\n * It does NOT evaluate expressions, and that is the point rather than a limitation. A URL built by a\n * conditional, a concatenation of variables, or a helper call is REFUSED and reported by name. A\n * transposer that guessed there would emit an operation that points somewhere plausible and wrong,\n * and a wrong endpoint is discovered by a customer, not by a test.\n */\n\n/** A `${…}` hole recovered from a template literal. */\nexport interface ExtractedPathParameter {\n /** The `{token}` name written into the template. */\n readonly name: string;\n /** The source expression text, so a reader can bind it to an input field. */\n readonly expressionText: string;\n}\n\nexport interface ExtractedUrlTemplate {\n /**\n * The path with every hole rewritten as `{name}`. A leading absolute origin is stripped into\n * {@link absoluteOrigin} so the operation stays relative to the provider's base URL, which is\n * where the engine contract expects it.\n */\n readonly pathTemplate: string;\n readonly pathParameters: readonly ExtractedPathParameter[];\n /** Present when the literal carried its own `https://host` prefix. */\n readonly absoluteOrigin?: string;\n /**\n * Present when the template began with a `${…}` hole rather than a literal — the base-URL const\n * case (`` `${API_BASE}/users/${id}` ``). The reader resolves it one hop; the extractor only\n * reports that it is there, because resolving an identifier is a module-graph question and this\n * function has no module graph.\n */\n readonly leadingExpressionText?: string;\n /**\n * Present when the leading `${…}` is a fact the vendor REPORTED for the connected account\n * (`auth.data.api_domain`, a helper parameter bound to `auth.data['instance_url']`) — the field's\n * name (#1052). The operation is then relative to the CONNECTED ACCOUNT's own origin, which the\n * provider carries as `baseUrlConnectionFact`; for the application's own account the deployment\n * still names the base. Set by the reader, which is what can see the chain.\n */\n readonly leadingReportedAccountFact?: string;\n /**\n * Present when the leading `${…}` is a base URL the source COMPUTES from a connect-time answer, and evaluating that\n * computation for every admitted answer gave one host per answer under one path prefix (#1937). `absoluteOrigin` is\n * then the origin for an unanswered connection, and the path carries the prefix. Set by the reader.\n */\n readonly connectionDerivedHost?: TransposedConnectionDerivedHost;\n /**\n * The query the template carried INLINE (`projects?workspace={workspace}` → `workspace={workspace}`), with the\n * holes it names. The path template ends at the `?` — a query is recovered from the request's own query object —\n * but a listing that writes its dependency straight into the URL has no such object, and without this its\n * dependency vanished with the query (#1045). Read by the input-options derivation; every other consumer keeps\n * reading the split path.\n */\n readonly inlineQueryTemplate?: string;\n readonly inlineQueryParameters?: readonly ExtractedPathParameter[];\n}\n\nexport interface UrlTemplateRefusal {\n readonly refused: true;\n /** Why, in words that name the shape rather than the file. */\n readonly reason: string;\n}\n\nexport type UrlTemplateExtraction = ExtractedUrlTemplate | UrlTemplateRefusal;\n\nexport function isUrlTemplateRefusal(value: UrlTemplateExtraction | RenderedUrlTemplate): value is UrlTemplateRefusal {\n return (value as UrlTemplateRefusal).refused === true;\n}\n\nconst ABSOLUTE_ORIGIN = /^(https?:\\/\\/[^/]+)(\\/.*)?$/;\n\n/**\n * A conditional hole that appends an optional query string, collapsed to what the PATH is without it.\n *\n * Recognised narrowly, on purpose: exactly one branch must be an empty string literal, and the other\n * must contain a `?`. Anything else is a genuine either/or between two different paths, which cannot\n * be collapsed and must still refuse — a conditional that picks between two endpoints has no single\n * answer, and guessing one puts an operation somewhere the caller did not ask for.\n */\nfunction collapseQuerySuffix(expression: ts.Expression): string | undefined {\n if (!ts.isConditionalExpression(expression)) return undefined;\n const branches = [expression.whenTrue, expression.whenFalse];\n const empty = branches.find((branch) => isEmptyStringLiteral(branch));\n const other = branches.find((branch) => !isEmptyStringLiteral(branch));\n if (empty === undefined || other === undefined) return undefined;\n return other.getText().includes('?') ? '' : undefined;\n}\n\nfunction isEmptyStringLiteral(node: ts.Expression): boolean {\n return (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) && node.text === '';\n}\n\n/**\n * Names a `${…}` hole. Prefers the identifier or the last property in a chain\n * (`params.collectionId` → `collectionId`), because that is the name the vendor's own path uses and\n * the name a caller will pass. Falls back to a positional name so a template with an expression too\n * complex to name still produces a usable, if uglier, parameter rather than a refusal.\n */\n/** What a reader knows about the surrounding source that the extractor cannot see. */\nexport interface UrlTemplateExtractionOptions {\n /**\n * The input names the source DECLARES for this operation (Activepieces `props`, Sim `params`).\n *\n * Used only to name a hole written as a fallback chain — `params.domain || params.shopDomain || params.idToken`\n * — by the operand the source actually asks a person for. Without it the chain had no nameable form at all and\n * became the positional `{param1}` (Shopify's base URL, #1015), a name nothing can answer.\n */\n readonly declaredInputNames?: ReadonlySet<string>;\n}\n\n/**\n * Methods that DRESS a value without changing which value it is — `params.threadId.trim()`,\n * `params.ids.join(',')`, `x.toString()`. A hole or a query value written through one is named by its RECEIVER.\n *\n * One vocabulary for both places that name a source value (the path-hole namer below and the Sim reader's\n * query-value namer, `nameOfFedField`), because they had drifted: the Sim reader unwrapped the dressing and the\n * hole namer did not, so `${params.threadId.trim()}` became the positional `{param1}` and its operation was\n * refused as UNFED_PATH_PARAMETER while the source named the value outright. Measured 2026-09-24 (#1572):\n * 550 Sim tool files build a URL that way, and pitchbook's 73 refused operations were all of that shape.\n */\nexport const VALUE_DRESSING_METHODS: ReadonlySet<string> = new Set(['trim', 'toString', 'toLowerCase', 'toUpperCase', 'valueOf', 'join']);\n\n/** The dressing methods that CHANGE the value's case — not unwrapped for a path hole (see `nameHole`). */\nconst CASE_CHANGING_METHODS: ReadonlySet<string> = new Set(['toLowerCase', 'toUpperCase']);\n\nfunction nameHole(expression: ts.Expression, index: number, options: UrlTemplateExtractionOptions = {}): string {\n if (ts.isIdentifier(expression)) return expression.text;\n if (ts.isPropertyAccessExpression(expression)) return expression.name.text;\n // `params.threadId.trim()` — the dressing method is not the value's name; its receiver is (see the vocabulary).\n // A CASE change is not dressing in a PATH: the vendor may answer 404 to `Contacts` where the source sent\n // `contacts`, and naming the receiver would send the caller's value without the source's change. So those stay\n // positional here; the Sim query namer, where a case-insensitive vendor is the norm, keeps them.\n if (ts.isCallExpression(expression) && ts.isPropertyAccessExpression(expression.expression)\n && VALUE_DRESSING_METHODS.has(expression.expression.name.text)\n && !CASE_CHANGING_METHODS.has(expression.expression.name.text)\n && joinKeepsTheWireValue(expression)) {\n return nameHole(expression.expression.expression, index, options);\n }\n if (ts.isElementAccessExpression(expression) && ts.isStringLiteral(expression.argumentExpression)) {\n return expression.argumentExpression.text;\n }\n // A call wrapping the value — `encodeURIComponent(x)`, `assertId(params.companyId, 'company')`,\n // `requireOneOf(params.entityType, TYPES, 'entityType')`. The FIRST nameable argument is the value;\n // the rest are the helper's own configuration.\n //\n // This used to require exactly ONE argument, and the difference was 1,151 path holes named\n // `param1` — a positional name no input field can ever match, which makes the operation\n // unexecutable by anyone following its own types. A guard wrapper with a second argument is the\n // catalogue's most common idiom, and the name was always sitting in its first.\n if (ts.isCallExpression(expression)) {\n for (const argument of expression.arguments) {\n const named = nameHole(argument, index, options);\n if (!named.startsWith('param')) return named;\n }\n }\n if (ts.isNonNullExpression(expression) || ts.isParenthesizedExpression(expression) || ts.isAsExpression(expression)) {\n return nameHole(expression.expression, index, options);\n }\n // `a || b || c` / `a ?? b` — a fallback chain names ONE value. The operand the source declares as an input is\n // the one a person supplies; the others are injected alternatives. With no declared operand the FIRST nameable\n // one is taken, which is the value the source prefers when present.\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n const operands = flattenFallbackChain(expression)\n .map((operand) => nameHole(operand, index, options))\n .filter((named) => !named.startsWith('param'));\n const declared = operands.find((named) => options.declaredInputNames?.has(named) === true);\n if (declared !== undefined) return declared;\n if (operands[0] !== undefined) return operands[0];\n }\n return `param${index + 1}`;\n}\n\n/**\n * `join` dresses a value only when the caller's list, rendered by the executor, is the same string: `String(list)`\n * joins with `,`, so `ids.join()` and `ids.join(',')` name `ids`, while `queryParams.join('&')` BUILDS something\n * (a query string, a clause) and stays positional — naming it would declare a local variable as a caller input.\n * Every other dressing method keeps the value whatever its arguments.\n */\nfunction joinKeepsTheWireValue(call: ts.CallExpression): boolean {\n if (!ts.isPropertyAccessExpression(call.expression) || call.expression.name.text !== 'join') return true;\n const separator = call.arguments[0];\n if (separator === undefined) return true;\n return (ts.isStringLiteral(separator) || ts.isNoSubstitutionTemplateLiteral(separator)) && separator.text === ',';\n}\n\nfunction isFallbackOperator(kind: ts.SyntaxKind): boolean {\n return kind === ts.SyntaxKind.BarBarToken || kind === ts.SyntaxKind.QuestionQuestionToken;\n}\n\nfunction flattenFallbackChain(expression: ts.Expression): ts.Expression[] {\n if (ts.isParenthesizedExpression(expression)) return flattenFallbackChain(expression.expression);\n if (ts.isBinaryExpression(expression) && isFallbackOperator(expression.operatorToken.kind)) {\n return [...flattenFallbackChain(expression.left), ...flattenFallbackChain(expression.right)];\n }\n return [expression];\n}\n\n/**\n * A path segment written ONLY with characters a URL path carries literally. A constant outside this set —\n * a brace (read back as a placeholder), `?`/`#` (the path would end), `%` (an escape nobody wrote), whitespace\n * or a backslash — is not inlined, and the hole stays what it was.\n * spec-cite: RFC 3986 §3.3 (`pchar` = unreserved / sub-delims / \":\" / \"@\"), plus \"/\" between segments.\n */\nconst LITERAL_PATH_TEXT = /^[A-Za-z0-9\\-._~!$&'()*+,;=:@/]+$/;\n/** A leading constant that is an absolute base: a literal DNS host (no placeholder), an optional port, a literal path. */\nconst LITERAL_ABSOLUTE_BASE = /^https?:\\/\\/[A-Za-z0-9.-]+(?::\\d{1,5})?(?:\\/[A-Za-z0-9\\-._~!$&'()*+,;=:@/]*)?$/;\n\n/**\n * The value of a hole that names a MODULE-LEVEL constant, or `undefined` (#1019).\n *\n * `/ccx/api/${WQL_BASE}/${tenant}/data` with `const WQL_BASE = 'wql/v1'` at the top of the file is a fixed path,\n * and naming the hole made it a REQUIRED caller path parameter — one that could not even survive encoding\n * (`wql%2Fv1`). The source states the value, so it is read, through the same static evaluator that reads OAuth2\n * endpoints (constants, relative imports, member access, pure helpers).\n *\n * Refused — the hole stays a parameter exactly as before — when:\n * - the expression is anything but an identifier or a member chain rooted in one (a call, `this`, a conditional);\n * - the root name is DECLARED anywhere inside the enclosing top-level statement (a parameter, a local, a binding\n * element): a local that shadows a module constant is a runtime value, and resolving it by name would read the\n * wrong declaration. Conservative on purpose — a same-named local elsewhere in the same function also refuses;\n * - the value is not a string or finite number, or is not literal path text (`leading` also admits an absolute\n * base with a literal host).\n */\nexport function resolveModuleConstantHole(expression: ts.Expression, leading: boolean): string | undefined {\n const root = memberChainRoot(expression);\n if (root === undefined) return undefined;\n if (isDeclaredWithinEnclosingTopLevelStatement(root.text, expression)) return undefined;\n const source = expression.getSourceFile();\n const context = staticEvaluationContextFor(source.fileName, source);\n if (context === undefined) return undefined;\n const value = evaluateStatically(expression, context);\n if (value === UNEVALUABLE) return undefined;\n const text = typeof value === 'string' ? value : typeof value === 'number' && Number.isFinite(value) ? String(value) : undefined;\n if (text === undefined || text === '') return undefined;\n if (LITERAL_PATH_TEXT.test(text) && !/^https?:/i.test(text)) return text;\n if (leading && LITERAL_ABSOLUTE_BASE.test(text)) return text;\n return undefined;\n}\n\n/**\n * Whether an inlined absolute BASE is followed by something that ends its authority — `/`, `?`, `#`, or the end of\n * the URL. `${BASE}${path}` is not: the next hole would be spliced onto the HOST (`https://api.vendor.test{path}`),\n * so such a base stays the un-inlined leading expression it always was, and the path keeps its old shape.\n */\nfunction baseIsTerminated(constant: string, followingLiteral: string, anotherHoleFollows: boolean): boolean {\n // A base that already carries a PATH (`https://api.trello.com/1/`) has ended its host whatever follows it: the next\n // text extends the path, never the authority (review F1). Only a bare host needs a following `/`, `?` or `#`.\n if (/^https?:\\/\\/[^/?#]+[/?#]/i.test(constant)) return true;\n if (followingLiteral === '') return !anotherHoleFollows;\n return /^[/?#]/.test(followingLiteral);\n}\n\nfunction memberChainRoot(expression: ts.Expression): ts.Identifier | undefined {\n let current: ts.Expression = expression;\n for (;;) {\n if (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isPropertyAccessExpression(current)) {\n current = current.expression;\n continue;\n }\n if (ts.isElementAccessExpression(current) && (ts.isStringLiteral(current.argumentExpression) || ts.isNumericLiteral(current.argumentExpression))) {\n current = current.expression;\n continue;\n }\n return ts.isIdentifier(current) && current.text !== 'undefined' ? current : undefined;\n }\n}\n\n/** Whether `name` is declared (parameter, local, binding, function or class) inside the top-level statement holding `node`. */\nexport function isDeclaredWithinEnclosingTopLevelStatement(name: string, node: ts.Node): boolean {\n let statement: ts.Node = node;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n let declared = false;\n const bindsName = (binding: ts.BindingName): boolean => ts.isIdentifier(binding)\n ? binding.text === name\n : binding.elements.some((element) => !ts.isOmittedExpression(element) && bindsName(element.name));\n const visit = (current: ts.Node): void => {\n if (declared) return;\n if (current !== statement || !ts.isVariableStatement(current)) {\n if ((ts.isVariableDeclaration(current) || ts.isParameter(current) || ts.isBindingElement(current)) && bindsName(current.name)) {\n // The top-level statement's OWN declaration is the module constant itself, never a shadow.\n if (!(ts.isVariableDeclaration(current) && current.parent.parent === statement)) {\n declared = true;\n return;\n }\n }\n if ((ts.isFunctionDeclaration(current) || ts.isFunctionExpression(current) || ts.isClassDeclaration(current) || ts.isClassExpression(current))\n && current !== statement && current.name?.text === name) {\n declared = true;\n return;\n }\n }\n ts.forEachChild(current, visit);\n };\n visit(statement);\n return declared;\n}\n\n/**\n * Extract a URL template from a string or template literal node.\n *\n * @param node the expression a source assigned to `url` / `resourceUri` / `path`.\n * @param sourceText the full file text, used to quote hole expressions verbatim.\n */\nexport function extractUrlTemplate(node: ts.Node, sourceText: string, options: UrlTemplateExtractionOptions = {}): UrlTemplateExtraction {\n const raw = renderUrlTemplate(node, sourceText, options);\n if (isUrlTemplateRefusal(raw)) return raw;\n const split = splitUrlTemplate(raw.template, raw.parameters);\n return raw.leadingExpressionText === undefined ? split : { ...split, leadingExpressionText: raw.leadingExpressionText };\n}\n\n/**\n * A URL expression rendered as ONE template string with `{name}` holes, BEFORE the origin is split off and\n * before a leading slash is forced — the form a request helper's prefix can be joined to (#1019).\n */\nexport interface RenderedUrlTemplate {\n readonly template: string;\n readonly parameters: readonly ExtractedPathParameter[];\n /** A leading hole that could not be resolved to a constant; see {@link ExtractedUrlTemplate.leadingExpressionText}. */\n readonly leadingExpressionText?: string;\n}\n\nexport function renderUrlTemplate(\n node: ts.Node,\n sourceText: string,\n options: UrlTemplateExtractionOptions = {},\n): RenderedUrlTemplate | UrlTemplateRefusal {\n if (ts.isStringLiteral(node) || ts.isNoSubstitutionTemplateLiteral(node)) {\n return { template: node.text, parameters: [] };\n }\n\n // `'/a/' + id + '/b'` — a concatenation is a template written with plus signs, and flattening it\n // costs a few lines while refusing it would lose real operations. Anything that is not a string\n // or a nameable expression still refuses, so nothing is guessed.\n if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n return flattenConcatenation(node, sourceText, options);\n }\n\n if (!ts.isTemplateExpression(node)) {\n return {\n refused: true,\n reason: `the URL is a ${ts.SyntaxKind[node.kind]}, not a literal or a template — it is computed, and a computed endpoint cannot be transposed without evaluating it`,\n };\n }\n\n const parameters: ExtractedPathParameter[] = [];\n let template = node.head.text;\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n\n node.templateSpans.forEach((span, index) => {\n const expressionText = sourceText.slice(span.expression.getStart(), span.expression.getEnd()).trim();\n const leading = index === 0 && template.length === 0;\n const constant = resolveModuleConstantHole(span.expression, leading);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, span.literal.text, node.templateSpans[index + 1] !== undefined))) {\n template += constant;\n } else if (leading) {\n // A hole in first position with no literal before it is the base-URL const case. It is not a\n // path parameter — writing it as one would put the API host inside the path.\n const choice = leadingChoiceReason(span.expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n } else {\n const collapsed = collapseQuerySuffix(span.expression);\n if (collapsed !== undefined) {\n // The hole was `queryString ? `?${queryString}` : ''` — an optional query suffix, not a path\n // segment. Its whole job is \"append a query string if there is one\", so the operation's PATH\n // is the branch without it; naming it as a path parameter would invent a `{queryString}`\n // segment the vendor has never heard of. The query parameters it was appending are recovered\n // separately, from the builder's own `set`/`append` calls.\n template += collapsed;\n } else {\n const name = nameHole(span.expression, index, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n }\n }\n template += span.literal.text;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n\n/**\n * Why an expression that OPENS a URL may not be dropped as the unstated base, or `undefined` when it may.\n *\n * Dropping the opening expression is what lets `${base}${path}` be read at all, and it is sound for ONE ADDRESS the\n * reader cannot see — a connection value, an instance field, a deployment's host. It is NOT sound for a CHOICE: an\n * action writing `${version === 'v2' ? '…/wiki/api/v2' : '…/wiki/rest/api'}${path}` has two different prefixes, and\n * emitting both operations under one base URL sends one of them to a path the vendor does not serve. The fold refuses\n * that shape (`HelperUrlRefusal.choice`); this is the same rule for a request literal an action writes itself, which\n * never reaches the fold (review round 3, F-A).\n *\n * The one admitted conditional is the TRAILING-SLASH normalisation (`base.endsWith('/') ? base : base + '/'`): both\n * branches are the same value, so it is one address written twice.\n */\nfunction leadingChoiceReason(expression: ts.Expression, depth = 0): string | undefined {\n let current: ts.Expression = expression;\n while (ts.isParenthesizedExpression(current) || ts.isAsExpression(current) || ts.isNonNullExpression(current) || ts.isSatisfiesExpression(current)) {\n current = current.expression;\n }\n if (ts.isIdentifier(current) && depth < 2) {\n const declared = singleDeclarationInitializer(current.text, current);\n return declared === undefined ? undefined : leadingChoiceReason(declared, depth + 1);\n }\n if (!ts.isConditionalExpression(current)) return undefined;\n const sameValue = (left: ts.Expression, right: ts.Expression): boolean => {\n const bare = (node: ts.Expression): string => {\n const text = node.getText().trim();\n // `base + '/'` is the same address as `base`; a path template's leading slash is normalised anyway.\n return text.replace(/\\s*\\+\\s*(['\"`])\\/\\1$/, '').trim();\n };\n return bare(left) === bare(right);\n };\n return sameValue(current.whenTrue, current.whenFalse)\n ? undefined\n : `the URL opens with a value the source CHOOSES (${current.getText().slice(0, 120)}), so which base it takes cannot be read — the operation would be emitted under one of two different prefixes`;\n}\n\n/** The initializer of the ONE declaration of `name` visible around `at`, or `undefined` (none, or more than one). */\nfunction singleDeclarationInitializer(name: string, at: ts.Node): ts.Expression | undefined {\n let statement: ts.Node = at;\n while (statement.parent !== undefined && !ts.isSourceFile(statement.parent)) statement = statement.parent;\n const initializers: ts.Expression[] = [];\n const visit = (node: ts.Node): void => {\n if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.name.text === name && node.initializer !== undefined) {\n initializers.push(node.initializer);\n }\n ts.forEachChild(node, visit);\n };\n visit(statement);\n if (initializers.length === 0) visit(at.getSourceFile());\n return initializers.length === 1 ? initializers[0] : undefined;\n}\n\n/** {@link splitOrigin}, exported for a reader that rendered and joined a template itself (#1019). */\nexport function splitUrlTemplate(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n return splitOrigin(template, parameters);\n}\n\n/**\n * Separate an absolute origin from the path. The engine contract keeps the origin on the PROVIDER\n * (one base URL per provider) and the path on the operation, so an action that inlined the whole\n * URL has to be split before it can be emitted — and the origin it carried is evidence about the\n * provider's base URL that the reader uses when the source never states one explicitly.\n */\nfunction splitOrigin(rawWithQuery: string, parameters: readonly ExtractedPathParameter[]): ExtractedUrlTemplate {\n // A path template ENDS at the query string. A builder that appends `?${search}` in one expression\n // rather than through the conditional shape leaves the whole query inside the template, and the\n // hole in it then reads as a PATH parameter — `/autocompletes?{param2}`, an operation whose path\n // contains a question mark and whose \"path parameter\" is a query bag. The query is recovered from\n // the builder's own `set`/`append` calls; what is cut here is a duplicate of it in the wrong place.\n const raw = rawWithQuery.includes('?') ? rawWithQuery.slice(0, rawWithQuery.indexOf('?')) : rawWithQuery;\n const inlineQuery = rawWithQuery.includes('?')\n ? { inlineQueryTemplate: rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), inlineQueryParameters: retainHolesPresentIn(rawWithQuery.slice(rawWithQuery.indexOf('?') + 1), parameters) }\n : {};\n const match = ABSOLUTE_ORIGIN.exec(raw);\n if (match === null) {\n const path = raw.startsWith('/') ? raw : `/${raw}`;\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), ...inlineQuery };\n }\n const path = match[2] ?? '/';\n // Parameters that lived in the ORIGIN do not survive the split, and must not survive in the\n // declaration either. `https://${applicationId}.algolia.net/1/indexes/{indexName}` keeps one hole\n // and loses one; leaving `applicationId` declared would tell the executor to bind a path parameter\n // the path no longer has — 116 operations were emitted that way before this filter existed. The\n // origin's own holes are a per-deployment host, which the provider's base URL answers.\n return { pathTemplate: path, pathParameters: retainHolesPresentIn(path, parameters), absoluteOrigin: match[1]!, ...inlineQuery };\n}\n\n/**\n * The parameters the FINAL template actually needs.\n *\n * Two directions, and the second is easy to miss. Parameters whose hole did not survive an origin\n * split are dropped — they described a per-deployment host, which the base URL answers. And holes the\n * template carries LITERALLY gain a parameter: a source that writes\n * `processPathParameters('/actions/{chargePoint}/change-availability', props)` has stated the hole in\n * the string itself rather than through an interpolation, and without this the template would arrive\n * with a token nothing declares — which the emitter then refuses as incoherent, correctly and\n * uselessly. 552 actions in one piece family were written that way.\n */\nfunction retainHolesPresentIn(template: string, parameters: readonly ExtractedPathParameter[]): ExtractedPathParameter[] {\n const holes = [...template.matchAll(/\\{([^}]+)\\}/g)].map((match) => match[1]!);\n const holeSet = new Set(holes);\n const kept = parameters.filter((parameter) => holeSet.has(parameter.name));\n const declared = new Set(kept.map((parameter) => parameter.name));\n for (const hole of holes) {\n if (declared.has(hole)) continue;\n declared.add(hole);\n kept.push({ name: hole, expressionText: `{${hole}}` });\n }\n return kept;\n}\n\n\n/** Flatten a `+` chain of literals and expressions into the same template/parameter pair. */\nfunction flattenConcatenation(node: ts.BinaryExpression, sourceText: string, options: UrlTemplateExtractionOptions): RenderedUrlTemplate | UrlTemplateRefusal {\n // A template literal inside the chain (`${base}cards/` + id) is flattened into its own literal text and holes. Kept\n // whole, an unreadable leading one was dropped as the base WITH the literal text it carried — `cards/` vanished and\n // `get_card` was emitted as `/{cardId}` (review F1).\n const parts: (ts.Expression | { readonly text: string })[] = [];\n // The position each part held in the `+` chain: an unnamed hole is named positionally, and flattening a template must\n // not renumber the holes around it.\n const chainIndexes: number[] = [];\n let chainIndex = -1;\n const push = (part: ts.Expression | { readonly text: string }): void => {\n parts.push(part);\n chainIndexes.push(chainIndex);\n };\n const walk = (expression: ts.Expression): void => {\n if (ts.isBinaryExpression(expression) && expression.operatorToken.kind === ts.SyntaxKind.PlusToken) {\n walk(expression.left);\n walk(expression.right);\n return;\n }\n chainIndex += 1;\n if (ts.isTemplateExpression(expression)) {\n if (expression.head.text !== '') push({ text: expression.head.text });\n for (const span of expression.templateSpans) {\n push(span.expression);\n if (span.literal.text !== '') push({ text: span.literal.text });\n }\n return;\n }\n push(expression);\n };\n walk(node);\n const literalText = (part: (typeof parts)[number] | undefined): string | undefined =>\n part === undefined ? undefined : !('kind' in part) ? part.text : ts.isStringLiteral(part) || ts.isNoSubstitutionTemplateLiteral(part) ? part.text : undefined;\n\n const parameters: ExtractedPathParameter[] = [];\n let template = '';\n let leadingExpressionText: string | undefined;\n let refusal: string | undefined;\n parts.forEach((part, index) => {\n const text = literalText(part);\n if (text !== undefined) {\n template += text;\n return;\n }\n const expression = part as ts.Expression;\n const leading = template.length === 0 && parameters.length === 0 && leadingExpressionText === undefined;\n const expressionText = sourceText.slice(expression.getStart(), expression.getEnd()).trim();\n const constant = resolveModuleConstantHole(expression, leading);\n const next = parts[index + 1];\n const nextText = next === undefined ? '' : literalText(next);\n if (constant !== undefined && (!leading || !/^https?:/i.test(constant) || baseIsTerminated(constant, nextText ?? '', nextText === undefined))) {\n template += constant;\n return;\n }\n if (leading) {\n const choice = leadingChoiceReason(expression);\n if (choice !== undefined) {\n refusal = choice;\n return;\n }\n leadingExpressionText = expressionText;\n return;\n }\n const name = nameHole(expression, chainIndexes[index]!, options);\n parameters.push({ name, expressionText });\n template += `{${name}}`;\n });\n\n if (refusal !== undefined) return { refused: true, reason: refusal };\n return { template, parameters, ...(leadingExpressionText === undefined ? {} : { leadingExpressionText }) };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"registry-host-monitoring.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/framework/registry-host/registry-host-monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,uCAAuC,MAAM,CAAC;AAC3D,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAC1D,4EAA4E;AAC5E,eAAO,MAAM,wCAAwC,QAAS,CAAC;AAC/D,eAAO,MAAM,uCAAuC,OAAQ,CAAC;AAE7D,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3F,QAAQ,CAAC,SAAS,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAClG;AAOD,4GAA4G;AAC5G,wBAAsB,4BAA4B,CAAC,KAAK,EAAE;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CA6DxC"}
1
+ {"version":3,"file":"registry-host-monitoring.d.ts","sourceRoot":"","sources":["../../../../../src/services/framework/registry-host/registry-host-monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,uCAAuC,MAAM,CAAC;AAC3D,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAC1D,4EAA4E;AAC5E,eAAO,MAAM,wCAAwC,QAAS,CAAC;AAC/D,eAAO,MAAM,uCAAuC,OAAQ,CAAC;AAE7D,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3F,QAAQ,CAAC,SAAS,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAClG;AAOD,4GAA4G;AAC5G,wBAAsB,4BAA4B,CAAC,KAAK,EAAE;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CA6DxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"registry-host-monitoring.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/registry-host/registry-host-monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2FAA2F;AAC3F,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,CAAC;AAC3D,MAAM,CAAC,MAAM,uCAAuC,GAAG,EAAE,CAAC;AAC1D,4EAA4E;AAC5E,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC;AAC/D,MAAM,CAAC,MAAM,uCAAuC,GAAG,KAAK,CAAC;AAY7D,4GAA4G;AAC5G,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,KAKlD;IACC,MAAM,IAAI,GAAG,KAAK,EAAE,MAAc,EAAE,IAAY,EAAE,IAA8B,EAA8C,EAAE;QAC9H,uFAAuF;QACvF,MAAM,GAAG,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC;QAC5F,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,CAAC,GAAG,EAAE;YACrD,MAAM;YACN,OAAO,EAAE,EAAE,aAAa,EAAE,UAAU,KAAK,CAAC,KAAK,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;YACvF,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC/C,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC;SACpC,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAA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E,MAA+B;IACpF,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC;AACrG,CAAC","sourcesContent":["/**\n * Better Stack Uptime for the public module registry (#2135): an uptime monitor on its health endpoint, and the\n * heartbeat its nightly backup reports to. Ensured through the Uptime API by `wildo fwk registry-host deploy`, so the\n * monitoring is code and a rebuilt host gets the same, rather than a configuration someone clicked once.\n *\n * Idempotent and adopting: a monitor already watching this registry's host is taken over and corrected (one had been\n * created by hand on the bare domain, whose root answers 404, so it reported a healthy registry as down), never\n * duplicated. Only what differs is sent.\n *\n * The heartbeat is how a backup failure reaches a person: the job pings it on success and calls it with its exit code\n * and output on failure, and a ping that never comes (a dead timer, a powered-off host) opens an incident too, after\n * `period + grace`. Routing to Slack or anywhere else is Better Stack's escalation policy, not the host's concern.\n *\n * spec-cite: https://betterstack.com/docs/uptime/api/update-an-existing-monitor/ (url, monitor_type `status` = any 2XX,\n * check_frequency in seconds, request_timeout in seconds for HTTP) and https://betterstack.com/docs/uptime/api/create-a-hearbeat/\n * (POST /api/v2/heartbeats with name, period and grace in seconds; the response attribute `url` is the ping URL).\n */\n\n/** How often the health endpoint is checked, and how long one check may take (seconds). */\nexport const REGISTRY_UPTIME_CHECK_FREQUENCY_SECONDS = 180;\nexport const REGISTRY_UPTIME_REQUEST_TIMEOUT_SECONDS = 15;\n/** The backup runs daily; a run more than two hours late is an incident. */\nexport const REGISTRY_BACKUP_HEARTBEAT_PERIOD_SECONDS = 86_400;\nexport const REGISTRY_BACKUP_HEARTBEAT_GRACE_SECONDS = 7_200;\n\nexport interface RegistryHostMonitoringResult {\n readonly monitor: { id: string; action: 'created' | 'updated' | 'unchanged'; url: string };\n readonly heartbeat: { id: string; action: 'created' | 'updated' | 'unchanged'; pingUrl: string };\n}\n\ninterface ApiObject {\n id: string;\n attributes: Record<string, unknown>;\n}\n\n/** Ensure the uptime monitor and the backup heartbeat for `domain`, and return the heartbeat's ping URL. */\nexport async function ensureRegistryHostMonitoring(input: {\n apiUrl: string;\n token: string;\n domain: string;\n fetchImpl?: typeof fetch;\n}): Promise<RegistryHostMonitoringResult> {\n const call = async (method: string, path: string, body?: Record<string, unknown>): Promise<{ data: ApiObject | ApiObject[] }> => {\n // `path` is relative to the API base, or a full URL (the API's own `pagination.next`).\n const url = /^https?:\\/\\//.test(path) ? path : `${input.apiUrl.replace(/\\/+$/, '')}${path}`;\n const response = await (input.fetchImpl ?? fetch)(url, {\n method,\n headers: { authorization: `Bearer ${input.token}`, 'content-type': 'application/json' },\n ...(body ? { body: JSON.stringify(body) } : {}),\n signal: AbortSignal.timeout(20_000),\n });\n const text = await response.text();\n if (!response.ok) throw new Error(`Better Stack ${method} ${path} answered ${response.status}: ${text.slice(0, 300)}`);\n return JSON.parse(text) as { data: ApiObject | ApiObject[] };\n };\n const list = async (path: string): Promise<ApiObject[]> => {\n const all: ApiObject[] = [];\n let next: string | null = path;\n // Follow the API's own pagination; a team with many monitors must not hide this registry's on page two.\n while (next) {\n const page = (await call('GET', next)) as { data: ApiObject[]; pagination?: { next?: string | null } };\n all.push(...page.data);\n next = page.pagination?.next ?? null;\n }\n return all;\n };\n\n const monitorUrl = `https://${input.domain}/health/ready`;\n const wantedMonitor = {\n url: monitorUrl,\n monitor_type: 'status',\n check_frequency: REGISTRY_UPTIME_CHECK_FREQUENCY_SECONDS,\n request_timeout: REGISTRY_UPTIME_REQUEST_TIMEOUT_SECONDS,\n pronounceable_name: input.domain,\n };\n const monitors = await list('/monitors');\n const existingMonitor = monitors.find((monitor) => hostOf(monitor.attributes.url) === input.domain);\n let monitor: RegistryHostMonitoringResult['monitor'];\n if (!existingMonitor) {\n const created = (await call('POST', '/monitors', wantedMonitor)).data as ApiObject;\n monitor = { id: created.id, action: 'created', url: monitorUrl };\n } else {\n const changes = differences(existingMonitor.attributes, wantedMonitor);\n if (Object.keys(changes).length > 0) await call('PATCH', `/monitors/${existingMonitor.id}`, changes);\n monitor = { id: existingMonitor.id, action: Object.keys(changes).length > 0 ? 'updated' : 'unchanged', url: monitorUrl };\n }\n\n const heartbeatName = `${input.domain} backups`;\n const wantedHeartbeat = { name: heartbeatName, period: REGISTRY_BACKUP_HEARTBEAT_PERIOD_SECONDS, grace: REGISTRY_BACKUP_HEARTBEAT_GRACE_SECONDS };\n const heartbeats = await list('/heartbeats');\n const existingHeartbeat = heartbeats.find((heartbeat) => heartbeat.attributes.name === heartbeatName);\n let heartbeat: RegistryHostMonitoringResult['heartbeat'];\n if (!existingHeartbeat) {\n const created = (await call('POST', '/heartbeats', wantedHeartbeat)).data as ApiObject;\n heartbeat = { id: created.id, action: 'created', pingUrl: String(created.attributes.url) };\n } else {\n const changes = differences(existingHeartbeat.attributes, wantedHeartbeat);\n if (Object.keys(changes).length > 0) await call('PATCH', `/heartbeats/${existingHeartbeat.id}`, changes);\n heartbeat = { id: existingHeartbeat.id, action: Object.keys(changes).length > 0 ? 'updated' : 'unchanged', pingUrl: String(existingHeartbeat.attributes.url) };\n }\n if (!/^https:\\/\\//.test(heartbeat.pingUrl)) throw new Error(`Better Stack returned no ping URL for the heartbeat \"${heartbeatName}\".`);\n return { monitor, heartbeat };\n}\n\nfunction hostOf(url: unknown): string | null {\n try {\n return typeof url === 'string' ? new URL(url).hostname : null;\n } catch {\n return null;\n }\n}\n\n/** The wanted fields whose current value differs. */\nfunction differences(current: Record<string, unknown>, wanted: Record<string, unknown>): Record<string, unknown> {\n return Object.fromEntries(Object.entries(wanted).filter(([key, value]) => current[key] !== value));\n}\n"]}
1
+ {"version":3,"file":"registry-host-monitoring.js","sourceRoot":"","sources":["../../../../../src/services/framework/registry-host/registry-host-monitoring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2FAA2F;AAC3F,MAAM,CAAC,MAAM,uC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":["/**\n * Better Stack Uptime for the public module registry (#2135): an uptime monitor on its health endpoint, and the\n * heartbeat its nightly backup reports to. Ensured through the Uptime API by `wildo fwk registry-host deploy`, so the\n * monitoring is code and a rebuilt host gets the same, rather than a configuration someone clicked once.\n *\n * Idempotent and adopting: a monitor already watching this registry's host is taken over and corrected (one had been\n * created by hand on the bare domain, whose root answers 404, so it reported a healthy registry as down), never\n * duplicated. Only what differs is sent.\n *\n * The heartbeat is how a backup failure reaches a person: the job pings it on success and calls it with its exit code\n * and output on failure, and a ping that never comes (a dead timer, a powered-off host) opens an incident too, after\n * `period + grace`. Routing to Slack or anywhere else is Better Stack's escalation policy, not the host's concern.\n *\n * spec-cite: https://betterstack.com/docs/uptime/api/update-an-existing-monitor/ (url, monitor_type `status` = any 2XX,\n * check_frequency in seconds, request_timeout in seconds for HTTP) and https://betterstack.com/docs/uptime/api/create-a-hearbeat/\n * (POST /api/v2/heartbeats with name, period and grace in seconds; the response attribute `url` is the ping URL).\n */\n\n/** How often the health endpoint is checked, and how long one check may take (seconds). */\nexport const REGISTRY_UPTIME_CHECK_FREQUENCY_SECONDS = 180;\nexport const REGISTRY_UPTIME_REQUEST_TIMEOUT_SECONDS = 15;\n/** The backup runs daily; a run more than two hours late is an incident. */\nexport const REGISTRY_BACKUP_HEARTBEAT_PERIOD_SECONDS = 86_400;\nexport const REGISTRY_BACKUP_HEARTBEAT_GRACE_SECONDS = 7_200;\n\nexport interface RegistryHostMonitoringResult {\n readonly monitor: { id: string; action: 'created' | 'updated' | 'unchanged'; url: string };\n readonly heartbeat: { id: string; action: 'created' | 'updated' | 'unchanged'; pingUrl: string };\n}\n\ninterface ApiObject {\n id: string;\n attributes: Record<string, unknown>;\n}\n\n/** Ensure the uptime monitor and the backup heartbeat for `domain`, and return the heartbeat's ping URL. */\nexport async function ensureRegistryHostMonitoring(input: {\n apiUrl: string;\n token: string;\n domain: string;\n fetchImpl?: typeof fetch;\n}): Promise<RegistryHostMonitoringResult> {\n const call = async (method: string, path: string, body?: Record<string, unknown>): Promise<{ data: ApiObject | ApiObject[] }> => {\n // `path` is relative to the API base, or a full URL (the API's own `pagination.next`).\n const url = /^https?:\\/\\//.test(path) ? path : `${input.apiUrl.replace(/\\/+$/, '')}${path}`;\n const response = await (input.fetchImpl ?? fetch)(url, {\n method,\n headers: { authorization: `Bearer ${input.token}`, 'content-type': 'application/json' },\n ...(body ? { body: JSON.stringify(body) } : {}),\n signal: AbortSignal.timeout(20_000),\n });\n const text = await response.text();\n if (!response.ok) throw new Error(`Better Stack ${method} ${path} answered ${response.status}: ${text.slice(0, 300)}`);\n return JSON.parse(text) as { data: ApiObject | ApiObject[] };\n };\n const list = async (path: string): Promise<ApiObject[]> => {\n const all: ApiObject[] = [];\n let next: string | null = path;\n // Follow the API's own pagination; a team with many monitors must not hide this registry's on page two.\n while (next) {\n const page = (await call('GET', next)) as { data: ApiObject[]; pagination?: { next?: string | null } };\n all.push(...page.data);\n next = page.pagination?.next ?? null;\n }\n return all;\n };\n\n const monitorUrl = `https://${input.domain}/health/ready`;\n const wantedMonitor = {\n url: monitorUrl,\n monitor_type: 'status',\n check_frequency: REGISTRY_UPTIME_CHECK_FREQUENCY_SECONDS,\n request_timeout: REGISTRY_UPTIME_REQUEST_TIMEOUT_SECONDS,\n pronounceable_name: input.domain,\n };\n const monitors = await list('/monitors');\n const existingMonitor = monitors.find((monitor) => hostOf(monitor.attributes.url) === input.domain);\n let monitor: RegistryHostMonitoringResult['monitor'];\n if (!existingMonitor) {\n const created = (await call('POST', '/monitors', wantedMonitor)).data as ApiObject;\n monitor = { id: created.id, action: 'created', url: monitorUrl };\n } else {\n const changes = differences(existingMonitor.attributes, wantedMonitor);\n if (Object.keys(changes).length > 0) await call('PATCH', `/monitors/${existingMonitor.id}`, changes);\n monitor = { id: existingMonitor.id, action: Object.keys(changes).length > 0 ? 'updated' : 'unchanged', url: monitorUrl };\n }\n\n const heartbeatName = `${input.domain} backups`;\n const wantedHeartbeat = { name: heartbeatName, period: REGISTRY_BACKUP_HEARTBEAT_PERIOD_SECONDS, grace: REGISTRY_BACKUP_HEARTBEAT_GRACE_SECONDS };\n const heartbeats = await list('/heartbeats');\n const existingHeartbeat = heartbeats.find((heartbeat) => heartbeat.attributes.name === heartbeatName);\n let heartbeat: RegistryHostMonitoringResult['heartbeat'];\n if (!existingHeartbeat) {\n const created = (await call('POST', '/heartbeats', wantedHeartbeat)).data as ApiObject;\n heartbeat = { id: created.id, action: 'created', pingUrl: String(created.attributes.url) };\n } else {\n const changes = differences(existingHeartbeat.attributes, wantedHeartbeat);\n if (Object.keys(changes).length > 0) await call('PATCH', `/heartbeats/${existingHeartbeat.id}`, changes);\n heartbeat = { id: existingHeartbeat.id, action: Object.keys(changes).length > 0 ? 'updated' : 'unchanged', pingUrl: String(existingHeartbeat.attributes.url) };\n }\n if (!/^https:\\/\\//.test(heartbeat.pingUrl)) throw new Error(`Better Stack returned no ping URL for the heartbeat \"${heartbeatName}\".`);\n return { monitor, heartbeat };\n}\n\nfunction hostOf(url: unknown): string | null {\n try {\n return typeof url === 'string' ? new URL(url).hostname : null;\n } catch {\n return null;\n }\n}\n\n/** The wanted fields whose current value differs. */\nfunction differences(current: Record<string, unknown>, wanted: Record<string, unknown>): Record<string, unknown> {\n return Object.fromEntries(Object.entries(wanted).filter(([key, value]) => current[key] !== value));\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"registry-host-remote.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/framework/registry-host/registry-host-remote.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAEtF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,+FAA+F;AAC/F,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wEAAwE;AACxE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,gCAAgC,GAAG,MAAM,EAAE,CAapF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,gCAAgC,EACtC,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACjD,OAAO,CAAC,eAAe,CAAC,CAmB1B;AAED;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,gCAAgC,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGpJ;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,gCAAgC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBjH"}
1
+ {"version":3,"file":"registry-host-remote.d.ts","sourceRoot":"","sources":["../../../../../src/services/framework/registry-host/registry-host-remote.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAEtF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,+FAA+F;AAC/F,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wEAAwE;AACxE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,gCAAgC,GAAG,MAAM,EAAE,CAapF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,gCAAgC,EACtC,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACjD,OAAO,CAAC,eAAe,CAAC,CAmB1B;AAED;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,gCAAgC,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGpJ;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,gCAAgC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBjH"}
@@ -1 +1 @@
1
- {"version":3,"file":"registry-host-remote.js","sourceRoot":"","sources":["../../../../../../../src/services/framework/registry-host/registry-host-remote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,KAAK,EAAqB,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASlC,+FAA+F;AAC/F,MAAM,UAAU,UAAU,CAAC,KAAa;IACtC,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC;AAC/C,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,mBAAmB,CAAC,IAAsC;IACxE,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC;IACxE,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1B,2GAA2G;QAC3G,uEAAuE;QACvE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,iHAAiH;QACjH,mBAAmB;QACnB,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,eAAe;QACrB,GAAG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;iBAC9G,IAAI,QAAQ,KAAK,CAAC;gBAAE,MAAM,CAAC,IAAI,KAAK,CAAC,4CAA4C,SAAS,CAAC,IAAI,EAAE,IAAI,QAAQ,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;;gBAC5H,OAAO,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * Running things on the registry host (#2135): the system `ssh` as a child process, never an SSH library.\n *\n * The same choice `marketing/tooling/src/remote.ts` makes for the website's machine, for the same reason: the operator's\n * `ssh` already knows their keys, agent, `~/.ssh/config` and known_hosts, and a deploy that connects differently from\n * the `ssh` the same person types by hand is a deploy nobody can debug.\n *\n * `BatchMode` never prompts, so a host whose key this machine has not accepted yet is refused: connect once by hand\n * (`ssh -p <sshPort> <sshUser>@<address>`) and accept the key, which is the one moment a person should check it.\n */\nimport { spawn, type ChildProcess } from 'node:child_process';\nimport { homedir } from 'node:os';\nimport type { WildoFrameworkModuleRegistryHost } from '@wildo-ai/platform-config-lib';\n\nexport interface RemoteRunResult {\n readonly code: number;\n readonly stdout: string;\n readonly stderr: string;\n}\n\n/** Single-quote a value for the far side's POSIX shell, which every remote command crosses. */\nexport function shellQuote(value: string): string {\n return `'${value.replaceAll(\"'\", `'\\\\''`)}'`;\n}\n\n/** The ssh argument vector for the host, without the remote command. */\nexport function registryHostSshArgs(host: WildoFrameworkModuleRegistryHost): string[] {\n const identity = host.sshIdentityFile?.replace(/^~(?=\\/|$)/, homedir());\n return [\n '-p', String(host.sshPort),\n // Only the declared key: no dependence on the agent's contents, and no parade of other keys for the host's\n // brute-force protection to count (a deploy once tripped it that way).\n ...(identity ? ['-i', identity, '-o', 'IdentitiesOnly=yes'] : []),\n // Fail rather than hang, and never prompt: a deploy waiting on a password prompt nobody sees looks like a deploy\n // that is working.\n '-o', 'ConnectTimeout=15',\n '-o', 'BatchMode=yes',\n `${host.sshUser}@${host.address}`,\n ];\n}\n\n/**\n * Run one command on the host. `stdin` is written and closed (how a file reaches the host without a temporary copy on\n * either machine); `stream` echoes output as it arrives, for long steps.\n */\nexport function runOnRegistryHost(\n host: WildoFrameworkModuleRegistryHost,\n remoteCommand: string,\n options: { stdin?: string; stream?: boolean } = {},\n): Promise<RemoteRunResult> {\n return new Promise((resolve, reject) => {\n const child = spawn('ssh', [...registryHostSshArgs(host), remoteCommand], {\n stdio: [options.stdin === undefined ? 'ignore' : 'pipe', 'pipe', 'pipe'],\n });\n let stdout = '';\n let stderr = '';\n child.stdout.on('data', (chunk: Buffer) => {\n stdout += chunk.toString();\n if (options.stream) process.stdout.write(chunk);\n });\n child.stderr.on('data', (chunk: Buffer) => {\n stderr += chunk.toString();\n if (options.stream) process.stderr.write(chunk);\n });\n child.on('error', reject);\n child.on('close', (code) => resolve({ code: code ?? 1, stdout, stderr }));\n if (options.stdin !== undefined) child.stdin?.end(options.stdin);\n });\n}\n\n/**\n * Write a file on the host from a string, with an explicit mode, through ssh's stdin: `install -m <mode> /dev/stdin`\n * never creates a temporary file, which matters for the `.env` holding every password.\n */\nexport async function writeRegistryHostFile(host: WildoFrameworkModuleRegistryHost, remotePath: string, content: string, mode: string): Promise<void> {\n const result = await runOnRegistryHost(host, `install -D -m ${mode} /dev/stdin ${shellQuote(remotePath)}`, { stdin: content });\n if (result.code !== 0) throw new Error(`Could not write ${remotePath} on the registry host: ${result.stderr.trim() || `exit ${result.code}`}`);\n}\n\n/**\n * Stream a local image to the host's Docker daemon: `docker save` here, piped into `docker load` there. No registry is\n * involved, so an image built from the checkout reaches the host without being published.\n */\nexport function streamImageToRegistryHost(host: WildoFrameworkModuleRegistryHost, imageRef: string): Promise<void> {\n return new Promise((resolve, reject) => {\n const save = spawn('docker', ['save', imageRef], { stdio: ['ignore', 'pipe', 'pipe'] });\n const load = spawn('ssh', [...registryHostSshArgs(host), 'docker load'], { stdio: ['pipe', 'pipe', 'pipe'] });\n let saveError = '';\n let loadError = '';\n save.stderr.on('data', (chunk: Buffer) => (saveError += chunk.toString()));\n load.stderr.on('data', (chunk: Buffer) => (loadError += chunk.toString()));\n load.stdout.on('data', (chunk: Buffer) => process.stdout.write(chunk));\n save.stdout.pipe(load.stdin);\n // If the far side dies first, the pipe breaks: that is reported by the exit codes below, never a crash.\n load.stdin.on('error', () => undefined);\n save.on('error', reject);\n load.on('error', reject);\n // Judge only once BOTH have exited: either side failing makes the other exit too, in either order.\n const exited = (child: ChildProcess) => new Promise<number | null>((done) => child.on('close', done));\n void Promise.all([exited(save), exited(load)]).then(([saveCode, loadCode]) => {\n if (saveCode !== 0) reject(new Error(`docker save ${imageRef} failed: ${saveError.trim() || `exit ${saveCode}`}`));\n else if (loadCode !== 0) reject(new Error(`docker load on the registry host failed: ${loadError.trim() || `exit ${loadCode}`}`));\n else resolve();\n });\n });\n}\n"]}
1
+ {"version":3,"file":"registry-host-remote.js","sourceRoot":"","sources":["../../../../../src/services/framework/registry-host/registry-host-remote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,KAAK,EAAqB,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASlC,+FAA+F;AAC/F,MAAM,UAAU,UAAU,CAAC,KAAa;IACtC,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC;AAC/C,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,mBAAmB,CAAC,IAAsC;IACxE,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC;IACxE,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1B,2GAA2G;QAC3G,uEAAuE;QACvE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAA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CAAC,eAAe,QAAQ,YAAY,SAAS,CAAC,IAAI,EAAE,IAAI,QAAQ,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;iBAC9G,IAAI,QAAQ,KAAK,CAAC;gBAAE,MAAM,CAAC,IAAI,KAAK,CAAC,4CAA4C,SAAS,CAAC,IAAI,EAAE,IAAI,QAAQ,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;;gBAC5H,OAAO,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * Running things on the registry host (#2135): the system `ssh` as a child process, never an SSH library.\n *\n * The same choice `marketing/tooling/src/remote.ts` makes for the website's machine, for the same reason: the operator's\n * `ssh` already knows their keys, agent, `~/.ssh/config` and known_hosts, and a deploy that connects differently from\n * the `ssh` the same person types by hand is a deploy nobody can debug.\n *\n * `BatchMode` never prompts, so a host whose key this machine has not accepted yet is refused: connect once by hand\n * (`ssh -p <sshPort> <sshUser>@<address>`) and accept the key, which is the one moment a person should check it.\n */\nimport { spawn, type ChildProcess } from 'node:child_process';\nimport { homedir } from 'node:os';\nimport type { WildoFrameworkModuleRegistryHost } from '@wildo-ai/platform-config-lib';\n\nexport interface RemoteRunResult {\n readonly code: number;\n readonly stdout: string;\n readonly stderr: string;\n}\n\n/** Single-quote a value for the far side's POSIX shell, which every remote command crosses. */\nexport function shellQuote(value: string): string {\n return `'${value.replaceAll(\"'\", `'\\\\''`)}'`;\n}\n\n/** The ssh argument vector for the host, without the remote command. */\nexport function registryHostSshArgs(host: WildoFrameworkModuleRegistryHost): string[] {\n const identity = host.sshIdentityFile?.replace(/^~(?=\\/|$)/, homedir());\n return [\n '-p', String(host.sshPort),\n // Only the declared key: no dependence on the agent's contents, and no parade of other keys for the host's\n // brute-force protection to count (a deploy once tripped it that way).\n ...(identity ? ['-i', identity, '-o', 'IdentitiesOnly=yes'] : []),\n // Fail rather than hang, and never prompt: a deploy waiting on a password prompt nobody sees looks like a deploy\n // that is working.\n '-o', 'ConnectTimeout=15',\n '-o', 'BatchMode=yes',\n `${host.sshUser}@${host.address}`,\n ];\n}\n\n/**\n * Run one command on the host. `stdin` is written and closed (how a file reaches the host without a temporary copy on\n * either machine); `stream` echoes output as it arrives, for long steps.\n */\nexport function runOnRegistryHost(\n host: WildoFrameworkModuleRegistryHost,\n remoteCommand: string,\n options: { stdin?: string; stream?: boolean } = {},\n): Promise<RemoteRunResult> {\n return new Promise((resolve, reject) => {\n const child = spawn('ssh', [...registryHostSshArgs(host), remoteCommand], {\n stdio: [options.stdin === undefined ? 'ignore' : 'pipe', 'pipe', 'pipe'],\n });\n let stdout = '';\n let stderr = '';\n child.stdout.on('data', (chunk: Buffer) => {\n stdout += chunk.toString();\n if (options.stream) process.stdout.write(chunk);\n });\n child.stderr.on('data', (chunk: Buffer) => {\n stderr += chunk.toString();\n if (options.stream) process.stderr.write(chunk);\n });\n child.on('error', reject);\n child.on('close', (code) => resolve({ code: code ?? 1, stdout, stderr }));\n if (options.stdin !== undefined) child.stdin?.end(options.stdin);\n });\n}\n\n/**\n * Write a file on the host from a string, with an explicit mode, through ssh's stdin: `install -m <mode> /dev/stdin`\n * never creates a temporary file, which matters for the `.env` holding every password.\n */\nexport async function writeRegistryHostFile(host: WildoFrameworkModuleRegistryHost, remotePath: string, content: string, mode: string): Promise<void> {\n const result = await runOnRegistryHost(host, `install -D -m ${mode} /dev/stdin ${shellQuote(remotePath)}`, { stdin: content });\n if (result.code !== 0) throw new Error(`Could not write ${remotePath} on the registry host: ${result.stderr.trim() || `exit ${result.code}`}`);\n}\n\n/**\n * Stream a local image to the host's Docker daemon: `docker save` here, piped into `docker load` there. No registry is\n * involved, so an image built from the checkout reaches the host without being published.\n */\nexport function streamImageToRegistryHost(host: WildoFrameworkModuleRegistryHost, imageRef: string): Promise<void> {\n return new Promise((resolve, reject) => {\n const save = spawn('docker', ['save', imageRef], { stdio: ['ignore', 'pipe', 'pipe'] });\n const load = spawn('ssh', [...registryHostSshArgs(host), 'docker load'], { stdio: ['pipe', 'pipe', 'pipe'] });\n let saveError = '';\n let loadError = '';\n save.stderr.on('data', (chunk: Buffer) => (saveError += chunk.toString()));\n load.stderr.on('data', (chunk: Buffer) => (loadError += chunk.toString()));\n load.stdout.on('data', (chunk: Buffer) => process.stdout.write(chunk));\n save.stdout.pipe(load.stdin);\n // If the far side dies first, the pipe breaks: that is reported by the exit codes below, never a crash.\n load.stdin.on('error', () => undefined);\n save.on('error', reject);\n load.on('error', reject);\n // Judge only once BOTH have exited: either side failing makes the other exit too, in either order.\n const exited = (child: ChildProcess) => new Promise<number | null>((done) => child.on('close', done));\n void Promise.all([exited(save), exited(load)]).then(([saveCode, loadCode]) => {\n if (saveCode !== 0) reject(new Error(`docker save ${imageRef} failed: ${saveError.trim() || `exit ${saveCode}`}`));\n else if (loadCode !== 0) reject(new Error(`docker load on the registry host failed: ${loadError.trim() || `exit ${loadCode}`}`));\n else resolve();\n });\n });\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"registry-host.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/framework/registry-host/registry-host.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAEL,KAAK,gCAAgC,EAMrC,KAAK,gCAAgC,EAErC,KAAK,sBAAsB,EAe5B,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAAiC,KAAK,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAYjI;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAUjH;AAED,oHAAoH;AACpH,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,MAAM,GAAG,gCAAgC,GAAG,IAAI,CAEzG;AAED,qHAAqH;AACrH,eAAO,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,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgGxF;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAO5E;AAED,qEAAqE;AACrE,wBAAgB,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAM9H;AAKD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAa1E;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAWvF;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAI9E;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,gCAAgC,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,sBAAsB,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAkB5J"}
1
+ {"version":3,"file":"registry-host.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/framework/registry-host/registry-host.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAEL,KAAK,gCAAgC,EAMrC,KAAK,gCAAgC,EAErC,KAAK,sBAAsB,EAe5B,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAAiC,KAAK,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAYjI;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,G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