@vibesdotdev/infra-deploy 0.0.2 → 1.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +76 -12
  3. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts +48 -35
  4. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts.map +1 -1
  5. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js +1 -1
  6. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js.map +1 -1
  7. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts +2 -1
  8. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts.map +1 -1
  9. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js +31 -21
  10. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js.map +1 -1
  11. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts +26 -27
  12. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts.map +1 -1
  13. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js +1 -1
  14. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js.map +1 -1
  15. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts +2 -1
  16. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts.map +1 -1
  17. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js +11 -11
  18. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js.map +1 -1
  19. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts +19 -17
  20. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts.map +1 -1
  21. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js +1 -1
  22. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js.map +1 -1
  23. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts +2 -1
  24. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts.map +1 -1
  25. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js +15 -14
  26. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js.map +1 -1
  27. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.d.ts +8 -8
  28. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js +1 -1
  29. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js.map +1 -1
  30. package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts +24 -17
  31. package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts.map +1 -1
  32. package/dist/cli/audit/infra-audit.cli-command.descriptor.js +8 -3
  33. package/dist/cli/audit/infra-audit.cli-command.descriptor.js.map +1 -1
  34. package/dist/cli/audit/infra-audit.cli-command.impl.d.ts +164 -1
  35. package/dist/cli/audit/infra-audit.cli-command.impl.d.ts.map +1 -1
  36. package/dist/cli/audit/infra-audit.cli-command.impl.js +557 -76
  37. package/dist/cli/audit/infra-audit.cli-command.impl.js.map +1 -1
  38. package/dist/cli/db/infra-db.cli-command.descriptor.d.ts +49 -0
  39. package/dist/cli/db/infra-db.cli-command.descriptor.d.ts.map +1 -0
  40. package/dist/cli/db/infra-db.cli-command.descriptor.js +60 -0
  41. package/dist/cli/db/infra-db.cli-command.descriptor.js.map +1 -0
  42. package/dist/cli/db/infra-db.cli-command.impl.d.ts +30 -0
  43. package/dist/cli/db/infra-db.cli-command.impl.d.ts.map +1 -0
  44. package/dist/cli/db/infra-db.cli-command.impl.js +167 -0
  45. package/dist/cli/db/infra-db.cli-command.impl.js.map +1 -0
  46. package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts +6 -0
  47. package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts.map +1 -0
  48. package/dist/cli/dns/infra-dns-activate.cli-command.impl.js +53 -0
  49. package/dist/cli/dns/infra-dns-activate.cli-command.impl.js.map +1 -0
  50. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts +41 -0
  51. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts.map +1 -0
  52. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js +50 -0
  53. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js.map +1 -0
  54. package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts +12 -0
  55. package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts.map +1 -0
  56. package/dist/cli/dns/infra-dns-delete.cli-command.impl.js +70 -0
  57. package/dist/cli/dns/infra-dns-delete.cli-command.impl.js.map +1 -0
  58. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts +32 -0
  59. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts.map +1 -0
  60. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js +39 -0
  61. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js.map +1 -0
  62. package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts +17 -0
  63. package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts.map +1 -0
  64. package/dist/cli/dns/infra-dns-list.cli-command.impl.js +66 -0
  65. package/dist/cli/dns/infra-dns-list.cli-command.impl.js.map +1 -0
  66. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts +58 -0
  67. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts.map +1 -0
  68. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js +72 -0
  69. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js.map +1 -0
  70. package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts +14 -0
  71. package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts.map +1 -0
  72. package/dist/cli/dns/infra-dns-set.cli-command.impl.js +110 -0
  73. package/dist/cli/dns/infra-dns-set.cli-command.impl.js.map +1 -0
  74. package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts +41 -0
  75. package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts.map +1 -0
  76. package/dist/cli/dns/infra-dns.cli-group.descriptor.js +47 -0
  77. package/dist/cli/dns/infra-dns.cli-group.descriptor.js.map +1 -0
  78. package/dist/cli/dns/resolve-dns-provider.d.ts +24 -0
  79. package/dist/cli/dns/resolve-dns-provider.d.ts.map +1 -0
  80. package/dist/cli/dns/resolve-dns-provider.js +62 -0
  81. package/dist/cli/dns/resolve-dns-provider.js.map +1 -0
  82. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts +37 -0
  83. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts.map +1 -0
  84. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js +45 -0
  85. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js.map +1 -0
  86. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts +15 -0
  87. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts.map +1 -0
  88. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js +78 -0
  89. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js.map +1 -0
  90. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts +29 -0
  91. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts.map +1 -0
  92. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js +35 -0
  93. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js.map +1 -0
  94. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts +19 -0
  95. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts.map +1 -0
  96. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js +73 -0
  97. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js.map +1 -0
  98. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts +41 -0
  99. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map +1 -0
  100. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js +50 -0
  101. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js.map +1 -0
  102. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts +16 -0
  103. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts.map +1 -0
  104. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js +81 -0
  105. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js.map +1 -0
  106. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts +40 -0
  107. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts.map +1 -0
  108. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js +49 -0
  109. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js.map +1 -0
  110. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts +14 -0
  111. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts.map +1 -0
  112. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js +78 -0
  113. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js.map +1 -0
  114. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts +12 -0
  115. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts.map +1 -0
  116. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js +12 -0
  117. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js.map +1 -0
  118. package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts +25 -0
  119. package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts.map +1 -0
  120. package/dist/cli/edge-tls/resolve-edge-tls-provider.js +74 -0
  121. package/dist/cli/edge-tls/resolve-edge-tls-provider.js.map +1 -0
  122. package/dist/cli/infra-deploy.cli-group.descriptor.d.ts +8 -8
  123. package/dist/cli/infra-deploy.cli-group.descriptor.js +1 -1
  124. package/dist/cli/infra-deploy.cli-group.descriptor.js.map +1 -1
  125. package/dist/cli/infra.cli-group.descriptor.d.ts +7 -7
  126. package/dist/cli/infra.cli-group.descriptor.js +1 -1
  127. package/dist/cli/infra.cli-group.descriptor.js.map +1 -1
  128. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts +26 -0
  129. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts.map +1 -0
  130. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js +18 -0
  131. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js.map +1 -0
  132. package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts +18 -0
  133. package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts.map +1 -0
  134. package/dist/cli/inventory/infra-inventory.cli-command.impl.js +204 -0
  135. package/dist/cli/inventory/infra-inventory.cli-command.impl.js.map +1 -0
  136. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts +40 -30
  137. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts.map +1 -1
  138. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js +7 -3
  139. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js.map +1 -1
  140. package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts +35 -1
  141. package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts.map +1 -1
  142. package/dist/cli/list/infra-deploy.list.cli-command.impl.js +202 -20
  143. package/dist/cli/list/infra-deploy.list.cli-command.impl.js.map +1 -1
  144. package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts +113 -35
  145. package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts.map +1 -1
  146. package/dist/cli/logs/infra-logs.cli-command.descriptor.js +87 -3
  147. package/dist/cli/logs/infra-logs.cli-command.descriptor.js.map +1 -1
  148. package/dist/cli/logs/infra-logs.cli-command.impl.d.ts +61 -1
  149. package/dist/cli/logs/infra-logs.cli-command.impl.d.ts.map +1 -1
  150. package/dist/cli/logs/infra-logs.cli-command.impl.js +1160 -111
  151. package/dist/cli/logs/infra-logs.cli-command.impl.js.map +1 -1
  152. package/dist/cli/logs/stream-worker-tail.d.ts +7 -2
  153. package/dist/cli/logs/stream-worker-tail.d.ts.map +1 -1
  154. package/dist/cli/logs/stream-worker-tail.js +280 -113
  155. package/dist/cli/logs/stream-worker-tail.js.map +1 -1
  156. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts +62 -0
  157. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts.map +1 -0
  158. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js +79 -0
  159. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js.map +1 -0
  160. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts +8 -0
  161. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts.map +1 -0
  162. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js +105 -0
  163. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js.map +1 -0
  164. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts +34 -0
  165. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts.map +1 -0
  166. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js +42 -0
  167. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js.map +1 -0
  168. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts +13 -0
  169. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts.map +1 -0
  170. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js +82 -0
  171. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js.map +1 -0
  172. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts +80 -23
  173. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts.map +1 -1
  174. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js +48 -16
  175. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js.map +1 -1
  176. package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts +47 -1
  177. package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts.map +1 -1
  178. package/dist/cli/npm/infra-npm-publish.cli-command.impl.js +532 -351
  179. package/dist/cli/npm/infra-npm-publish.cli-command.impl.js.map +1 -1
  180. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts +28 -0
  181. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts.map +1 -0
  182. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js +34 -0
  183. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js.map +1 -0
  184. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts +12 -0
  185. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts.map +1 -0
  186. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js +134 -0
  187. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js.map +1 -0
  188. package/dist/cli/npm/infra-npm.cli-group.descriptor.d.ts +8 -8
  189. package/dist/cli/npm/infra-npm.cli-group.descriptor.js +1 -1
  190. package/dist/cli/npm/infra-npm.cli-group.descriptor.js.map +1 -1
  191. package/dist/cli/npm/mirror-registry-artifacts.d.ts +64 -0
  192. package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
  193. package/dist/cli/npm/mirror-registry-artifacts.js +114 -0
  194. package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
  195. package/dist/cli/npm/publish/command-options.d.ts +24 -0
  196. package/dist/cli/npm/publish/command-options.d.ts.map +1 -0
  197. package/dist/cli/npm/publish/command-options.js +85 -0
  198. package/dist/cli/npm/publish/command-options.js.map +1 -0
  199. package/dist/cli/npm/publish/concurrency.d.ts +19 -0
  200. package/dist/cli/npm/publish/concurrency.d.ts.map +1 -0
  201. package/dist/cli/npm/publish/concurrency.js +60 -0
  202. package/dist/cli/npm/publish/concurrency.js.map +1 -0
  203. package/dist/cli/npm/publish/consumer-smoke.d.ts +83 -0
  204. package/dist/cli/npm/publish/consumer-smoke.d.ts.map +1 -0
  205. package/dist/cli/npm/publish/consumer-smoke.js +371 -0
  206. package/dist/cli/npm/publish/consumer-smoke.js.map +1 -0
  207. package/dist/cli/npm/publish/consumer-surfaces.d.ts +81 -0
  208. package/dist/cli/npm/publish/consumer-surfaces.d.ts.map +1 -0
  209. package/dist/cli/npm/publish/consumer-surfaces.js +199 -0
  210. package/dist/cli/npm/publish/consumer-surfaces.js.map +1 -0
  211. package/dist/cli/npm/publish/external-requirements.d.ts +171 -0
  212. package/dist/cli/npm/publish/external-requirements.d.ts.map +1 -0
  213. package/dist/cli/npm/publish/external-requirements.js +365 -0
  214. package/dist/cli/npm/publish/external-requirements.js.map +1 -0
  215. package/dist/cli/npm/publish/forge-source-identity.d.ts +64 -0
  216. package/dist/cli/npm/publish/forge-source-identity.d.ts.map +1 -0
  217. package/dist/cli/npm/publish/forge-source-identity.js +201 -0
  218. package/dist/cli/npm/publish/forge-source-identity.js.map +1 -0
  219. package/dist/cli/npm/publish/fs-paths.d.ts +25 -0
  220. package/dist/cli/npm/publish/fs-paths.d.ts.map +1 -0
  221. package/dist/cli/npm/publish/fs-paths.js +87 -0
  222. package/dist/cli/npm/publish/fs-paths.js.map +1 -0
  223. package/dist/cli/npm/publish/lease-preflight-answer.d.ts +17 -0
  224. package/dist/cli/npm/publish/lease-preflight-answer.d.ts.map +1 -0
  225. package/dist/cli/npm/publish/lease-preflight-answer.js +35 -0
  226. package/dist/cli/npm/publish/lease-preflight-answer.js.map +1 -0
  227. package/dist/cli/npm/publish/lease-preflight.d.ts +92 -0
  228. package/dist/cli/npm/publish/lease-preflight.d.ts.map +1 -0
  229. package/dist/cli/npm/publish/lease-preflight.js +205 -0
  230. package/dist/cli/npm/publish/lease-preflight.js.map +1 -0
  231. package/dist/cli/npm/publish/managed-lease.d.ts +110 -0
  232. package/dist/cli/npm/publish/managed-lease.d.ts.map +1 -0
  233. package/dist/cli/npm/publish/managed-lease.js +191 -0
  234. package/dist/cli/npm/publish/managed-lease.js.map +1 -0
  235. package/dist/cli/npm/publish/npm-exec.d.ts +148 -0
  236. package/dist/cli/npm/publish/npm-exec.d.ts.map +1 -0
  237. package/dist/cli/npm/publish/npm-exec.js +311 -0
  238. package/dist/cli/npm/publish/npm-exec.js.map +1 -0
  239. package/dist/cli/npm/publish/package-artifact.d.ts +107 -0
  240. package/dist/cli/npm/publish/package-artifact.d.ts.map +1 -0
  241. package/dist/cli/npm/publish/package-artifact.js +418 -0
  242. package/dist/cli/npm/publish/package-artifact.js.map +1 -0
  243. package/dist/cli/npm/publish/platform-registry.d.ts +76 -0
  244. package/dist/cli/npm/publish/platform-registry.d.ts.map +1 -0
  245. package/dist/cli/npm/publish/platform-registry.js +324 -0
  246. package/dist/cli/npm/publish/platform-registry.js.map +1 -0
  247. package/dist/cli/npm/publish/proof-external-closure.d.ts +139 -0
  248. package/dist/cli/npm/publish/proof-external-closure.d.ts.map +1 -0
  249. package/dist/cli/npm/publish/proof-external-closure.js +339 -0
  250. package/dist/cli/npm/publish/proof-external-closure.js.map +1 -0
  251. package/dist/cli/npm/publish/proof-installed-graph.d.ts +26 -0
  252. package/dist/cli/npm/publish/proof-installed-graph.d.ts.map +1 -0
  253. package/dist/cli/npm/publish/proof-installed-graph.js +229 -0
  254. package/dist/cli/npm/publish/proof-installed-graph.js.map +1 -0
  255. package/dist/cli/npm/publish/proof-registry.d.ts +74 -0
  256. package/dist/cli/npm/publish/proof-registry.d.ts.map +1 -0
  257. package/dist/cli/npm/publish/proof-registry.js +335 -0
  258. package/dist/cli/npm/publish/proof-registry.js.map +1 -0
  259. package/dist/cli/npm/publish/proof-source-credentials.d.ts +42 -0
  260. package/dist/cli/npm/publish/proof-source-credentials.d.ts.map +1 -0
  261. package/dist/cli/npm/publish/proof-source-credentials.js +129 -0
  262. package/dist/cli/npm/publish/proof-source-credentials.js.map +1 -0
  263. package/dist/cli/npm/publish/publish-package.d.ts +66 -0
  264. package/dist/cli/npm/publish/publish-package.d.ts.map +1 -0
  265. package/dist/cli/npm/publish/publish-package.js +544 -0
  266. package/dist/cli/npm/publish/publish-package.js.map +1 -0
  267. package/dist/cli/npm/publish/publisher-manifest.d.ts +173 -0
  268. package/dist/cli/npm/publish/publisher-manifest.d.ts.map +1 -0
  269. package/dist/cli/npm/publish/publisher-manifest.js +79 -0
  270. package/dist/cli/npm/publish/publisher-manifest.js.map +1 -0
  271. package/dist/cli/npm/publish/rc-major-exception.d.ts +20 -0
  272. package/dist/cli/npm/publish/rc-major-exception.d.ts.map +1 -0
  273. package/dist/cli/npm/publish/rc-major-exception.js +46 -0
  274. package/dist/cli/npm/publish/rc-major-exception.js.map +1 -0
  275. package/dist/cli/npm/publish/registry-availability.d.ts +150 -0
  276. package/dist/cli/npm/publish/registry-availability.d.ts.map +1 -0
  277. package/dist/cli/npm/publish/registry-availability.js +570 -0
  278. package/dist/cli/npm/publish/registry-availability.js.map +1 -0
  279. package/dist/cli/npm/publish/registry-credentials.d.ts +108 -0
  280. package/dist/cli/npm/publish/registry-credentials.d.ts.map +1 -0
  281. package/dist/cli/npm/publish/registry-credentials.js +290 -0
  282. package/dist/cli/npm/publish/registry-credentials.js.map +1 -0
  283. package/dist/cli/npm/publish/registry-reads.d.ts +42 -0
  284. package/dist/cli/npm/publish/registry-reads.d.ts.map +1 -0
  285. package/dist/cli/npm/publish/registry-reads.js +164 -0
  286. package/dist/cli/npm/publish/registry-reads.js.map +1 -0
  287. package/dist/cli/npm/publish/release-build.d.ts +46 -0
  288. package/dist/cli/npm/publish/release-build.d.ts.map +1 -0
  289. package/dist/cli/npm/publish/release-build.js +140 -0
  290. package/dist/cli/npm/publish/release-build.js.map +1 -0
  291. package/dist/cli/npm/publish/release-consumer-proof.d.ts +70 -0
  292. package/dist/cli/npm/publish/release-consumer-proof.d.ts.map +1 -0
  293. package/dist/cli/npm/publish/release-consumer-proof.js +397 -0
  294. package/dist/cli/npm/publish/release-consumer-proof.js.map +1 -0
  295. package/dist/cli/npm/publish/release-executor.d.ts +46 -0
  296. package/dist/cli/npm/publish/release-executor.d.ts.map +1 -0
  297. package/dist/cli/npm/publish/release-executor.js +181 -0
  298. package/dist/cli/npm/publish/release-executor.js.map +1 -0
  299. package/dist/cli/npm/publish/release-grants.client.impl.d.ts +10 -0
  300. package/dist/cli/npm/publish/release-grants.client.impl.d.ts.map +1 -0
  301. package/dist/cli/npm/publish/release-grants.client.impl.js +63 -0
  302. package/dist/cli/npm/publish/release-grants.client.impl.js.map +1 -0
  303. package/dist/cli/npm/publish/release-jobs.client.d.ts +39 -0
  304. package/dist/cli/npm/publish/release-jobs.client.d.ts.map +1 -0
  305. package/dist/cli/npm/publish/release-jobs.client.js +124 -0
  306. package/dist/cli/npm/publish/release-jobs.client.js.map +1 -0
  307. package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts +20 -0
  308. package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts.map +1 -0
  309. package/dist/cli/npm/publish/release-jobs.consumer.plugin.js +82 -0
  310. package/dist/cli/npm/publish/release-jobs.consumer.plugin.js.map +1 -0
  311. package/dist/cli/npm/publish/release-jobs.impl.d.ts +15 -0
  312. package/dist/cli/npm/publish/release-jobs.impl.d.ts.map +1 -0
  313. package/dist/cli/npm/publish/release-jobs.impl.js +42 -0
  314. package/dist/cli/npm/publish/release-jobs.impl.js.map +1 -0
  315. package/dist/cli/npm/publish/release-lock.d.ts +143 -0
  316. package/dist/cli/npm/publish/release-lock.d.ts.map +1 -0
  317. package/dist/cli/npm/publish/release-lock.js +371 -0
  318. package/dist/cli/npm/publish/release-lock.js.map +1 -0
  319. package/dist/cli/npm/publish/release-phases.d.ts +93 -0
  320. package/dist/cli/npm/publish/release-phases.d.ts.map +1 -0
  321. package/dist/cli/npm/publish/release-phases.js +175 -0
  322. package/dist/cli/npm/publish/release-phases.js.map +1 -0
  323. package/dist/cli/npm/publish/release-plan.d.ts +65 -0
  324. package/dist/cli/npm/publish/release-plan.d.ts.map +1 -0
  325. package/dist/cli/npm/publish/release-plan.js +178 -0
  326. package/dist/cli/npm/publish/release-plan.js.map +1 -0
  327. package/dist/cli/npm/publish/release-preflight.job.impl.d.ts +16 -0
  328. package/dist/cli/npm/publish/release-preflight.job.impl.d.ts.map +1 -0
  329. package/dist/cli/npm/publish/release-preflight.job.impl.js +71 -0
  330. package/dist/cli/npm/publish/release-preflight.job.impl.js.map +1 -0
  331. package/dist/cli/npm/publish/release-publish.job.impl.d.ts +18 -0
  332. package/dist/cli/npm/publish/release-publish.job.impl.d.ts.map +1 -0
  333. package/dist/cli/npm/publish/release-publish.job.impl.js +295 -0
  334. package/dist/cli/npm/publish/release-publish.job.impl.js.map +1 -0
  335. package/dist/cli/npm/publish/release-workspace.d.ts +95 -0
  336. package/dist/cli/npm/publish/release-workspace.d.ts.map +1 -0
  337. package/dist/cli/npm/publish/release-workspace.js +243 -0
  338. package/dist/cli/npm/publish/release-workspace.js.map +1 -0
  339. package/dist/cli/npm/publish/sensitive-temp.d.ts +90 -0
  340. package/dist/cli/npm/publish/sensitive-temp.d.ts.map +1 -0
  341. package/dist/cli/npm/publish/sensitive-temp.js +351 -0
  342. package/dist/cli/npm/publish/sensitive-temp.js.map +1 -0
  343. package/dist/cli/npm/publish/source-snapshot.d.ts +91 -0
  344. package/dist/cli/npm/publish/source-snapshot.d.ts.map +1 -0
  345. package/dist/cli/npm/publish/source-snapshot.js +245 -0
  346. package/dist/cli/npm/publish/source-snapshot.js.map +1 -0
  347. package/dist/cli/npm/publish/types.d.ts +69 -0
  348. package/dist/cli/npm/publish/types.d.ts.map +1 -0
  349. package/dist/cli/npm/publish/types.js +2 -0
  350. package/dist/cli/npm/publish/types.js.map +1 -0
  351. package/dist/cli/npm/publish/workspace-discovery.d.ts +48 -0
  352. package/dist/cli/npm/publish/workspace-discovery.d.ts.map +1 -0
  353. package/dist/cli/npm/publish/workspace-discovery.js +313 -0
  354. package/dist/cli/npm/publish/workspace-discovery.js.map +1 -0
  355. package/dist/cli/npm/put-attested-packument.d.ts +96 -0
  356. package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
  357. package/dist/cli/npm/put-attested-packument.js +240 -0
  358. package/dist/cli/npm/put-attested-packument.js.map +1 -0
  359. package/dist/cli/npm/reconcile-latest.d.ts +55 -0
  360. package/dist/cli/npm/reconcile-latest.d.ts.map +1 -0
  361. package/dist/cli/npm/reconcile-latest.js +59 -0
  362. package/dist/cli/npm/reconcile-latest.js.map +1 -0
  363. package/dist/cli/observability/blind-spots.d.ts +10 -0
  364. package/dist/cli/observability/blind-spots.d.ts.map +1 -0
  365. package/dist/cli/observability/blind-spots.js +19 -0
  366. package/dist/cli/observability/blind-spots.js.map +1 -0
  367. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts +6 -0
  368. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts.map +1 -0
  369. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js +75 -0
  370. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js.map +1 -0
  371. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts +42 -21
  372. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts.map +1 -1
  373. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js +3 -3
  374. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js.map +1 -1
  375. package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts +3 -2
  376. package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts.map +1 -1
  377. package/dist/cli/observability/infra-observability-set.cli-command.impl.js +14 -14
  378. package/dist/cli/observability/infra-observability-set.cli-command.impl.js.map +1 -1
  379. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts +25 -17
  380. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts.map +1 -1
  381. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js +1 -1
  382. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js.map +1 -1
  383. package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts +2 -1
  384. package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts.map +1 -1
  385. package/dist/cli/observability/infra-observability-status.cli-command.impl.js +30 -23
  386. package/dist/cli/observability/infra-observability-status.cli-command.impl.js.map +1 -1
  387. package/dist/cli/observability/infra-observability.cli-group.descriptor.d.ts +8 -8
  388. package/dist/cli/observability/infra-observability.cli-group.descriptor.js +1 -1
  389. package/dist/cli/observability/infra-observability.cli-group.descriptor.js.map +1 -1
  390. package/dist/cli/plugin.d.ts +3 -0
  391. package/dist/cli/plugin.d.ts.map +1 -0
  392. package/dist/cli/plugin.js +45 -0
  393. package/dist/cli/plugin.js.map +1 -0
  394. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts +38 -0
  395. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts.map +1 -0
  396. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js +43 -0
  397. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js.map +1 -0
  398. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts +117 -0
  399. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts.map +1 -0
  400. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js +678 -0
  401. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js.map +1 -0
  402. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts +37 -23
  403. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts.map +1 -1
  404. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js +7 -1
  405. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js.map +1 -1
  406. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts +2 -1
  407. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts.map +1 -1
  408. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js +100 -25
  409. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js.map +1 -1
  410. package/dist/cli/release/cli/latest-manifest.d.ts +148 -0
  411. package/dist/cli/release/cli/latest-manifest.d.ts.map +1 -0
  412. package/dist/cli/release/cli/latest-manifest.js +152 -0
  413. package/dist/cli/release/cli/latest-manifest.js.map +1 -0
  414. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts +41 -0
  415. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts.map +1 -0
  416. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js +49 -0
  417. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js.map +1 -0
  418. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts +16 -0
  419. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts.map +1 -0
  420. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js +52 -0
  421. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js.map +1 -0
  422. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts +19 -17
  423. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts.map +1 -1
  424. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js +1 -1
  425. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js.map +1 -1
  426. package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts +2 -1
  427. package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts.map +1 -1
  428. package/dist/cli/rum/infra-rum-status.cli-command.impl.js +21 -15
  429. package/dist/cli/rum/infra-rum-status.cli-command.impl.js.map +1 -1
  430. package/dist/cli/rum/infra-rum.cli-group.descriptor.d.ts +8 -8
  431. package/dist/cli/rum/infra-rum.cli-group.descriptor.js +1 -1
  432. package/dist/cli/rum/infra-rum.cli-group.descriptor.js.map +1 -1
  433. package/dist/cli/run/deploy-smoke.d.ts +57 -0
  434. package/dist/cli/run/deploy-smoke.d.ts.map +1 -0
  435. package/dist/cli/run/deploy-smoke.js +251 -0
  436. package/dist/cli/run/deploy-smoke.js.map +1 -0
  437. package/dist/cli/run/deployment-marker.d.ts +74 -0
  438. package/dist/cli/run/deployment-marker.d.ts.map +1 -0
  439. package/dist/cli/run/deployment-marker.js +237 -0
  440. package/dist/cli/run/deployment-marker.js.map +1 -0
  441. package/dist/cli/run/deployment-provider.d.ts +56 -0
  442. package/dist/cli/run/deployment-provider.d.ts.map +1 -0
  443. package/dist/cli/run/deployment-provider.js +295 -0
  444. package/dist/cli/run/deployment-provider.js.map +1 -0
  445. package/dist/cli/run/deployment-run-ledger.d.ts +72 -0
  446. package/dist/cli/run/deployment-run-ledger.d.ts.map +1 -0
  447. package/dist/cli/run/deployment-run-ledger.js +164 -0
  448. package/dist/cli/run/deployment-run-ledger.js.map +1 -0
  449. package/dist/cli/run/git-source-identity.d.ts +21 -0
  450. package/dist/cli/run/git-source-identity.d.ts.map +1 -0
  451. package/dist/cli/run/git-source-identity.js +73 -0
  452. package/dist/cli/run/git-source-identity.js.map +1 -0
  453. package/dist/cli/run/immutable-deployment-release.program.d.ts +403 -0
  454. package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
  455. package/dist/cli/run/immutable-deployment-release.program.js +589 -0
  456. package/dist/cli/run/immutable-deployment-release.program.js.map +1 -0
  457. package/dist/cli/run/immutable-deployment-workspace.d.ts +39 -0
  458. package/dist/cli/run/immutable-deployment-workspace.d.ts.map +1 -0
  459. package/dist/cli/run/immutable-deployment-workspace.js +525 -0
  460. package/dist/cli/run/immutable-deployment-workspace.js.map +1 -0
  461. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts +80 -23
  462. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts.map +1 -1
  463. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js +50 -8
  464. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js.map +1 -1
  465. package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts +46 -1
  466. package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts.map +1 -1
  467. package/dist/cli/run/infra-deploy.run.cli-command.impl.js +464 -226
  468. package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
  469. package/dist/cli/shared/build-workspace-artifacts.d.ts +147 -0
  470. package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
  471. package/dist/cli/shared/build-workspace-artifacts.js +2013 -0
  472. package/dist/cli/shared/build-workspace-artifacts.js.map +1 -0
  473. package/dist/cli/shared/credential-source.d.ts +3 -0
  474. package/dist/cli/shared/credential-source.d.ts.map +1 -0
  475. package/dist/cli/shared/credential-source.js +19 -0
  476. package/dist/cli/shared/credential-source.js.map +1 -0
  477. package/dist/cli/shared/discover-deployments.d.ts +46 -5
  478. package/dist/cli/shared/discover-deployments.d.ts.map +1 -1
  479. package/dist/cli/shared/discover-deployments.js +167 -41
  480. package/dist/cli/shared/discover-deployments.js.map +1 -1
  481. package/dist/cli/shared/infer-apex-zone.d.ts +18 -0
  482. package/dist/cli/shared/infer-apex-zone.d.ts.map +1 -0
  483. package/dist/cli/shared/infer-apex-zone.js +75 -0
  484. package/dist/cli/shared/infer-apex-zone.js.map +1 -0
  485. package/dist/cli/shared/option-strings.d.ts +2 -0
  486. package/dist/cli/shared/option-strings.d.ts.map +1 -0
  487. package/dist/cli/shared/option-strings.js +13 -0
  488. package/dist/cli/shared/option-strings.js.map +1 -0
  489. package/dist/cli/shared/repository-collection.d.ts +42 -0
  490. package/dist/cli/shared/repository-collection.d.ts.map +1 -0
  491. package/dist/cli/shared/repository-collection.js +111 -0
  492. package/dist/cli/shared/repository-collection.js.map +1 -0
  493. package/dist/cli/shared/runtime-execution.d.ts +78 -0
  494. package/dist/cli/shared/runtime-execution.d.ts.map +1 -0
  495. package/dist/cli/shared/runtime-execution.js +182 -0
  496. package/dist/cli/shared/runtime-execution.js.map +1 -0
  497. package/dist/cli/shared/workspace-artifact-lock.d.ts +17 -0
  498. package/dist/cli/shared/workspace-artifact-lock.d.ts.map +1 -0
  499. package/dist/cli/shared/workspace-artifact-lock.js +37 -0
  500. package/dist/cli/shared/workspace-artifact-lock.js.map +1 -0
  501. package/dist/cli/workers/doks-worker-runtime.d.ts +238 -0
  502. package/dist/cli/workers/doks-worker-runtime.d.ts.map +1 -0
  503. package/dist/cli/workers/doks-worker-runtime.js +410 -0
  504. package/dist/cli/workers/doks-worker-runtime.js.map +1 -0
  505. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts +28 -0
  506. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts.map +1 -0
  507. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js +28 -0
  508. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js.map +1 -0
  509. package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts +6 -0
  510. package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts.map +1 -0
  511. package/dist/cli/workers/infra-workers-apply.cli-command.impl.js +75 -0
  512. package/dist/cli/workers/infra-workers-apply.cli-command.impl.js.map +1 -0
  513. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts +31 -0
  514. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts.map +1 -0
  515. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js +32 -0
  516. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js.map +1 -0
  517. package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts +6 -0
  518. package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts.map +1 -0
  519. package/dist/cli/workers/infra-workers-build.cli-command.impl.js +67 -0
  520. package/dist/cli/workers/infra-workers-build.cli-command.impl.js.map +1 -0
  521. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts +48 -0
  522. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts.map +1 -0
  523. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js +60 -0
  524. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js.map +1 -0
  525. package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts +6 -0
  526. package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts.map +1 -0
  527. package/dist/cli/workers/infra-workers-logs.cli-command.impl.js +74 -0
  528. package/dist/cli/workers/infra-workers-logs.cli-command.impl.js.map +1 -0
  529. package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts +12 -0
  530. package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts.map +1 -0
  531. package/dist/cli/workers/infra-workers.cli-group.descriptor.js +12 -0
  532. package/dist/cli/workers/infra-workers.cli-group.descriptor.js.map +1 -0
  533. package/dist/config-loader.d.ts +60 -13
  534. package/dist/config-loader.d.ts.map +1 -1
  535. package/dist/config-loader.js +371 -104
  536. package/dist/config-loader.js.map +1 -1
  537. package/dist/declared-provider.d.ts +27 -0
  538. package/dist/declared-provider.d.ts.map +1 -0
  539. package/dist/declared-provider.js +46 -0
  540. package/dist/declared-provider.js.map +1 -0
  541. package/dist/deployment-collisions.d.ts +55 -0
  542. package/dist/deployment-collisions.d.ts.map +1 -0
  543. package/dist/deployment-collisions.js +70 -0
  544. package/dist/deployment-collisions.js.map +1 -0
  545. package/dist/deployment-environment.d.ts +57 -0
  546. package/dist/deployment-environment.d.ts.map +1 -0
  547. package/dist/deployment-environment.js +198 -0
  548. package/dist/deployment-environment.js.map +1 -0
  549. package/dist/deployment-settings.d.ts +27 -0
  550. package/dist/deployment-settings.d.ts.map +1 -0
  551. package/dist/deployment-settings.js +52 -0
  552. package/dist/deployment-settings.js.map +1 -0
  553. package/dist/deployment.config.descriptor.d.ts +59 -0
  554. package/dist/deployment.config.descriptor.d.ts.map +1 -0
  555. package/dist/deployment.config.descriptor.js +54 -0
  556. package/dist/deployment.config.descriptor.js.map +1 -0
  557. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts +29 -0
  558. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts.map +1 -0
  559. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js +35 -0
  560. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js.map +1 -0
  561. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts +12 -0
  562. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map +1 -0
  563. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js +12 -0
  564. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map +1 -0
  565. package/dist/index.d.ts +11 -3
  566. package/dist/index.d.ts.map +1 -1
  567. package/dist/index.js +11 -3
  568. package/dist/index.js.map +1 -1
  569. package/dist/infra-deploy.plugin.d.ts +2 -2
  570. package/dist/infra-deploy.plugin.d.ts.map +1 -1
  571. package/dist/infra-deploy.plugin.js +63 -20
  572. package/dist/infra-deploy.plugin.js.map +1 -1
  573. package/dist/logger.d.ts +10 -0
  574. package/dist/logger.d.ts.map +1 -0
  575. package/dist/logger.js +11 -0
  576. package/dist/logger.js.map +1 -0
  577. package/dist/migrations/migrate-workspace.d.ts +21 -0
  578. package/dist/migrations/migrate-workspace.d.ts.map +1 -0
  579. package/dist/migrations/migrate-workspace.js +83 -0
  580. package/dist/migrations/migrate-workspace.js.map +1 -0
  581. package/dist/migrations/run-migrate.d.ts +15 -0
  582. package/dist/migrations/run-migrate.d.ts.map +1 -0
  583. package/dist/migrations/run-migrate.js +314 -0
  584. package/dist/migrations/run-migrate.js.map +1 -0
  585. package/dist/regenerate.d.ts +52 -30
  586. package/dist/regenerate.d.ts.map +1 -1
  587. package/dist/regenerate.js +176 -148
  588. package/dist/regenerate.js.map +1 -1
  589. package/dist/runtime-execution.d.ts +5 -0
  590. package/dist/runtime-execution.d.ts.map +1 -0
  591. package/dist/runtime-execution.js +12 -0
  592. package/dist/runtime-execution.js.map +1 -0
  593. package/dist/schemas/migrate.d.ts +110 -0
  594. package/dist/schemas/migrate.d.ts.map +1 -0
  595. package/dist/schemas/migrate.js +55 -0
  596. package/dist/schemas/migrate.js.map +1 -0
  597. package/dist/schemas/proof-registry.d.ts +25 -0
  598. package/dist/schemas/proof-registry.d.ts.map +1 -0
  599. package/dist/schemas/proof-registry.js +24 -0
  600. package/dist/schemas/proof-registry.js.map +1 -0
  601. package/dist/schemas/release-grants.d.ts +7 -0
  602. package/dist/schemas/release-grants.d.ts.map +1 -0
  603. package/dist/schemas/release-grants.js +6 -0
  604. package/dist/schemas/release-grants.js.map +1 -0
  605. package/dist/schemas/release-jobs.d.ts +444 -0
  606. package/dist/schemas/release-jobs.d.ts.map +1 -0
  607. package/dist/schemas/release-jobs.js +204 -0
  608. package/dist/schemas/release-jobs.js.map +1 -0
  609. package/dist/schemas/service-release.d.ts +15 -0
  610. package/dist/schemas/service-release.d.ts.map +1 -0
  611. package/dist/schemas/service-release.js +13 -0
  612. package/dist/schemas/service-release.js.map +1 -0
  613. package/dist/schemas/worker-logs.d.ts +42 -0
  614. package/dist/schemas/worker-logs.d.ts.map +1 -0
  615. package/dist/schemas/worker-logs.js +29 -0
  616. package/dist/schemas/worker-logs.js.map +1 -0
  617. package/dist/storage/deployment-runs.schema.d.ts +199 -0
  618. package/dist/storage/deployment-runs.schema.d.ts.map +1 -0
  619. package/dist/storage/deployment-runs.schema.js +61 -0
  620. package/dist/storage/deployment-runs.schema.js.map +1 -0
  621. package/dist/storage/deployment-runs.storage.descriptor.d.ts +4 -0
  622. package/dist/storage/deployment-runs.storage.descriptor.d.ts.map +1 -0
  623. package/dist/storage/deployment-runs.storage.descriptor.js +36 -0
  624. package/dist/storage/deployment-runs.storage.descriptor.js.map +1 -0
  625. package/package.json +107 -38
  626. package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
  627. package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
  628. package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
  629. package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
  630. package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
  631. package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
  632. package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
  633. package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
  634. package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
  635. package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
  636. package/src/cli/infra.cli-group.descriptor.ts +0 -11
  637. package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
  638. package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
  639. package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
  640. package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
  641. package/src/cli/logs/stream-worker-tail.ts +0 -202
  642. package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
  643. package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
  644. package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
  645. package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
  646. package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
  647. package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
  648. package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
  649. package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
  650. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
  651. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
  652. package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
  653. package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
  654. package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
  655. package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
  656. package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
  657. package/src/cli/shared/discover-deployments.ts +0 -127
  658. package/src/config-loader.ts +0 -179
  659. package/src/index.ts +0 -11
  660. package/src/infra-deploy.plugin.ts +0 -83
  661. package/src/regenerate.ts +0 -230
@@ -0,0 +1,570 @@
1
+ import { GIT_CHILD_ENV } from "@vibesdotdev/git-operations/core";
2
+ import { hashBase64 } from "@vibesdotdev/crypto";
3
+ import { resolveFileSystemAdapter } from "@vibesdotdev/filesystem";
4
+ import { getRuntimePath } from "@vibesdotdev/paths";
5
+ import { z } from "zod/v4";
6
+ import { CapabilityError, settle, valueFreeFailure } from "@vibesdotdev/kernel";
7
+ import { classifyRegistryPublishedReuse, isCanonicalRegistryGitHead, } from "@vibesdotdev/registry";
8
+ import { runRuntimeCommand, } from "../../shared/runtime-execution.js";
9
+ import { readString } from "./command-options.js";
10
+ import { mapWithConcurrencyUntilFirstFailure } from "./concurrency.js";
11
+ import { isolatedNpmPackEnv, NpmCommandError, npmTarballFilename, registryReadNpmrc, runNpm, versionSpec, } from "./npm-exec.js";
12
+ import { normalizeRegistryUrl, REGISTRY_SESSION_JWT_MIN_LIFETIME_MS, registryReadCredentialRenewalError, registrySessionJwtClaims, registrySessionJwtContinuityMatches, registryServiceOrigin, } from "./registry-credentials.js";
13
+ import { npmListPublishedVersions, npmPublishedArtifactIdentity, } from "./registry-reads.js";
14
+ import { assignRegistryReleaseVersion, planRegistryReleaseVersionProbe, } from "@vibesdotdev/registry";
15
+ import { cleanupSensitiveTempRoot, createReleaseTempRoot, SENSITIVE_TEMP_ROOT_PREFIXES, writeSensitiveNpmrcAtomically, } from "./sensitive-temp.js";
16
+ import { isGeneratedWorkspaceSnapshotPath } from "./source-snapshot.js";
17
+ /**
18
+ * Registry reads, Git inspections and tarball fetches in flight at once; also
19
+ * how many Registry inputs are sealed at once.
20
+ */
21
+ export const REGISTRY_AVAILABILITY_CONCURRENCY = 8;
22
+ /**
23
+ * Classify whether `artifact` (published at `target.version`) is this source's content.
24
+ *
25
+ * The published tarball is the expensive read (one `npm pack` download), so it
26
+ * comes last. The bytes can only add a `tarball-integrity` conflict: Registry
27
+ * reuses a version only when the conflict set is empty, and every other
28
+ * conflict is decided by the metadata and Git evidence alone. So when that
29
+ * evidence already conflicts with the bytes assumed intact, no bytes can make
30
+ * the version reusable. A caller that needs only that verdict skips the
31
+ * download; one that reports every conflict (`reportEveryConflict`) still
32
+ * fetches so `tarball-integrity` is not left out.
33
+ *
34
+ * `signal` aborts once another inspection has failed the plan; the download is
35
+ * then skipped by rejecting with `signal.reason`.
36
+ */
37
+ async function inspectRegistryPublishedReuse(options) {
38
+ const { target, artifact } = options;
39
+ const git = isCanonicalRegistryGitHead(artifact.gitHead)
40
+ ? await options.authorities.inspectGit({
41
+ target,
42
+ publishedGitHead: artifact.gitHead,
43
+ expectedGitHead: options.expectedGitHead,
44
+ })
45
+ : { reachableAncestor: false, packageSubtreeMatches: false };
46
+ const classify = (tarballIntegrityMatches) => classifyRegistryPublishedReuse({
47
+ published: artifact,
48
+ canonicalRepository: target.workspaceProvenance.repository,
49
+ publishedGitHeadIsReachable: git.reachableAncestor,
50
+ packageSubtreeMatches: git.packageSubtreeMatches,
51
+ requirePackageSubtreeMatch: options.requireSourceMatch || target.roles.includes("root"),
52
+ tarballIntegrityMatches,
53
+ });
54
+ if (!options.reportEveryConflict) {
55
+ const withIntactBytes = classify(true);
56
+ if (withIntactBytes.action === "conflict")
57
+ return { action: "conflict", conflicts: withIntactBytes.conflicts };
58
+ }
59
+ let fetched;
60
+ if (artifact.integrity && artifact.tarball) {
61
+ // A failed plan discards this evidence; do not start another download
62
+ // after a sibling inspection has already failed.
63
+ options.signal.throwIfAborted();
64
+ const download = await settle(() => options.authorities.fetchPublishedTarball({ target, published: artifact }));
65
+ if (!download.ok) {
66
+ throw new CapabilityError(`Registry tarball evidence for ${target.name}@${target.version} could not be read`, "UNAVAILABLE", {
67
+ reason: "registry-tarball-evidence-unavailable",
68
+ details: { package: target.name, version: target.version },
69
+ cause: valueFreeFailure(download.cause),
70
+ });
71
+ }
72
+ fetched = download.value;
73
+ }
74
+ const availability = classify(fetched?.integrity === artifact.integrity);
75
+ if (availability.action === "conflict")
76
+ return { action: "conflict", conflicts: availability.conflicts };
77
+ if (availability.action !== "reuse")
78
+ throw new Error(`Registry reuse classification changed for ${target.name}`);
79
+ if (!fetched)
80
+ throw new Error(`Registry reuse evidence lost tarball for ${target.name}`);
81
+ return {
82
+ action: "reuse",
83
+ result: {
84
+ name: target.name,
85
+ version: target.version,
86
+ sourceVersion: options.sourceVersion,
87
+ packageDir: target.packageDir,
88
+ tarball: fetched.path,
89
+ dryRun: true,
90
+ ok: true,
91
+ skipped: true,
92
+ reason: "already-published",
93
+ attempts: 0,
94
+ artifactIntegrity: artifact.integrity,
95
+ gitHead: artifact.gitHead,
96
+ publishMetadata: {
97
+ registry: target.registry,
98
+ provenance: target.workspaceProvenance,
99
+ },
100
+ },
101
+ };
102
+ }
103
+ /**
104
+ * Plans the whole immutable-version frontier before any workspace build/stage.
105
+ *
106
+ * With `assign` versioning (release outputs) every target gets a computed
107
+ * version: the highest published version of its line is reused when it holds
108
+ * this source's content, otherwise the next patch publishes. A version the
109
+ * Registry already holds is never republished. With `exact` versioning
110
+ * (Registry inputs) the exact version must be reusable; every conflict is
111
+ * reported together.
112
+ *
113
+ * Registry reads and reuse evidence are gathered for all targets concurrently.
114
+ * Results are assembled in target order, and a failure is the one the lowest
115
+ * failing target hits, so neither the plan nor its error depends on which
116
+ * Registry or Git read finishes first. Nothing started is still running when
117
+ * the plan rejects.
118
+ */
119
+ export async function planRegistryReleaseAvailability(options) {
120
+ const versioning = options.versioning ?? "exact";
121
+ const requireSourceMatch = options.requireSourceMatch === true;
122
+ const listPublishedVersions = options.authorities.listPublishedVersions;
123
+ if (versioning === "assign" && !listPublishedVersions) {
124
+ throw new Error("Registry release version assignment requires a published-version listing");
125
+ }
126
+ const expectedGitHeadFor = (target) => {
127
+ const expectedGitHead = options.expectedGitHeads?.get(target.sourceRoot) ??
128
+ options.expectedGitHead;
129
+ if (!expectedGitHead) {
130
+ throw new Error(`Registry release snapshot is missing for ${target.name}`);
131
+ }
132
+ return expectedGitHead;
133
+ };
134
+ // Resolve the version each target is inspected at: its exact version, or
135
+ // the highest published version of its line.
136
+ const probes = await mapWithConcurrencyUntilFirstFailure(options.targets, REGISTRY_AVAILABILITY_CONCURRENCY, async (target) => {
137
+ if (versioning === "exact")
138
+ return { target, inspect: target.version };
139
+ const probe = planRegistryReleaseVersionProbe({
140
+ name: target.name,
141
+ sourceVersion: target.version,
142
+ published: (await listPublishedVersions(target)) ?? [],
143
+ });
144
+ return probe.kind === "assigned"
145
+ ? { target, assignment: probe.assignment }
146
+ : { target, inspect: probe.highestPublished };
147
+ });
148
+ const published = await mapWithConcurrencyUntilFirstFailure(probes, REGISTRY_AVAILABILITY_CONCURRENCY, (probe) => probe.inspect === undefined
149
+ ? Promise.resolve(null)
150
+ : options.authorities.loadPublished({
151
+ ...probe.target,
152
+ version: probe.inspect,
153
+ }));
154
+ const evidenceByTarget = await mapWithConcurrencyUntilFirstFailure(probes, REGISTRY_AVAILABILITY_CONCURRENCY, async (probe, index, signal) => {
155
+ if (probe.inspect === undefined)
156
+ return undefined;
157
+ const artifact = published[index];
158
+ if (!artifact) {
159
+ if (versioning === "exact")
160
+ return undefined;
161
+ throw new Error(`Registry lists ${probe.target.name}@${probe.inspect} but its version metadata is unavailable`);
162
+ }
163
+ return inspectRegistryPublishedReuse({
164
+ runtime: options.runtime,
165
+ target: { ...probe.target, version: probe.inspect },
166
+ sourceVersion: probe.target.version,
167
+ artifact,
168
+ expectedGitHead: expectedGitHeadFor(probe.target),
169
+ reportEveryConflict: versioning === "exact",
170
+ requireSourceMatch,
171
+ signal,
172
+ authorities: options.authorities,
173
+ });
174
+ });
175
+ const reuse = new Map();
176
+ const publish = [];
177
+ const assignments = new Map();
178
+ const conflicts = [];
179
+ for (let index = 0; index < probes.length; index += 1) {
180
+ const probe = probes[index];
181
+ const target = probe.target;
182
+ if (probe.assignment) {
183
+ assignments.set(target.name, probe.assignment);
184
+ publish.push({ ...target, version: probe.assignment.version });
185
+ continue;
186
+ }
187
+ const evidence = evidenceByTarget[index];
188
+ if (!evidence) {
189
+ publish.push(target);
190
+ continue;
191
+ }
192
+ if (versioning === "exact") {
193
+ if (evidence.action === "conflict")
194
+ conflicts.push({ target, conflicts: evidence.conflicts });
195
+ else
196
+ reuse.set(target.name, evidence.result);
197
+ continue;
198
+ }
199
+ const assignment = assignRegistryReleaseVersion({
200
+ name: target.name,
201
+ sourceVersion: target.version,
202
+ highestPublished: probe.inspect,
203
+ reusable: evidence.action === "reuse",
204
+ });
205
+ assignments.set(target.name, assignment);
206
+ if (evidence.action === "reuse")
207
+ reuse.set(target.name, evidence.result);
208
+ else
209
+ publish.push({ ...target, version: assignment.version });
210
+ }
211
+ // A source-matched input whose only conflict is its changed source has unpublished changes its
212
+ // dependents were built against: name it so the release includes it.
213
+ if (requireSourceMatch && conflicts.length > 0 && conflicts.every(({ conflicts: reasons }) => reasons.every((reason) => reason === "changed-package-subtree"))) {
214
+ const packages = conflicts.map(({ target }) => `${target.name}@${target.version}`);
215
+ throw new CapabilityError(`Workspace dependencies changed since their newest published version, which their dependents were built against: ${packages.join(", ")}. Add them to the release.`, "INVALID_INPUT", { reason: "registry-release-dependency-unpublished", retryable: false, details: { packages } });
216
+ }
217
+ if (conflicts.length > 0) {
218
+ throw new Error(`Registry immutable availability conflicts (${conflicts.length}):\n${conflicts
219
+ .map(({ target, conflicts: reasons }) => `- ${target.name}@${target.version} [${target.roles.join("+") || "runtime"}]: ${reasons.join(", ")}`)
220
+ .join("\n")}\nThese exact versions are Registry inputs; the published artifacts must be reusable as-is.`);
221
+ }
222
+ return { publish, reuse, assignments };
223
+ }
224
+ /**
225
+ * Every release output that must publish is one the caller asked to publish.
226
+ * A closure member that changed since its highest published version cannot be
227
+ * published implicitly; name it so the release includes its owner.
228
+ */
229
+ export function assertRegistryReleaseOutputsRequested(options) {
230
+ const requested = new Set(options.requested.map(({ name }) => name));
231
+ const implicit = options.availabilityPlan.publish.filter((target) => !requested.has(target.name));
232
+ if (implicit.length === 0)
233
+ return;
234
+ throw new Error(`Registry release closure needs unrequested publishes (${implicit.length}):\n${implicit
235
+ .map((target) => {
236
+ const assignment = options.availabilityPlan.assignments.get(target.name);
237
+ return `- ${target.name}@${target.version}${assignment ? ` (${assignment.basis})` : ""}`;
238
+ })
239
+ .join("\n")}\nInclude these packages in the publish paths.`);
240
+ }
241
+ /**
242
+ * The final results of a publish whose every requested target is a verified published
243
+ * artifact reused as-is, or undefined when any target must publish or the run is a dry run.
244
+ * Such a publish moves no bytes or tags, so its build, pack and consumer proof would prove
245
+ * nothing the published artifacts' own release did not; the caller returns these instead.
246
+ */
247
+ export function registryReleaseReusedResults(options) {
248
+ if (options.dryRun || options.requested.length === 0)
249
+ return undefined;
250
+ const results = [];
251
+ for (const { name } of options.requested) {
252
+ const reused = options.availabilityPlan.reuse.get(name);
253
+ if (!reused)
254
+ return undefined;
255
+ results.push({ ...reused, dryRun: false });
256
+ }
257
+ return results;
258
+ }
259
+ /**
260
+ * Whether a published gitHead is a commit reachable from the expected source and
261
+ * the package subtree is unchanged since it (generated snapshot files excepted).
262
+ */
263
+ export async function inspectRegistryReleaseGitEvidence(options) {
264
+ if (!isCanonicalRegistryGitHead(options.publishedGitHead) ||
265
+ !isCanonicalRegistryGitHead(options.expectedGitHead)) {
266
+ return { reachableAncestor: false, packageSubtreeMatches: false };
267
+ }
268
+ const objectType = await runRuntimeCommand({
269
+ runtime: options.runtime,
270
+ execution: options.execution,
271
+ command: "git",
272
+ inheritEnv: GIT_CHILD_ENV,
273
+ args: ["cat-file", "-t", options.publishedGitHead],
274
+ cwd: options.workspaceRoot,
275
+ });
276
+ if (objectType.code !== 0 || objectType.stdout.trim() !== "commit") {
277
+ return { reachableAncestor: false, packageSubtreeMatches: false };
278
+ }
279
+ const ancestor = await runRuntimeCommand({
280
+ runtime: options.runtime,
281
+ execution: options.execution,
282
+ command: "git",
283
+ inheritEnv: GIT_CHILD_ENV,
284
+ args: [
285
+ "merge-base",
286
+ "--is-ancestor",
287
+ options.publishedGitHead,
288
+ options.expectedGitHead,
289
+ ],
290
+ cwd: options.workspaceRoot,
291
+ });
292
+ if (ancestor.code !== 0)
293
+ return { reachableAncestor: false, packageSubtreeMatches: false };
294
+ const packageDiff = await runRuntimeCommand({
295
+ runtime: options.runtime,
296
+ execution: options.execution,
297
+ command: "git",
298
+ inheritEnv: GIT_CHILD_ENV,
299
+ args: [
300
+ "diff",
301
+ "--name-only",
302
+ "--no-renames",
303
+ "-z",
304
+ options.publishedGitHead,
305
+ options.expectedGitHead,
306
+ "--",
307
+ options.directory,
308
+ ],
309
+ cwd: options.workspaceRoot,
310
+ });
311
+ const changedPublishRelevantPaths = packageDiff.stdout
312
+ .split("\0")
313
+ .filter(Boolean)
314
+ .filter((path) => !isGeneratedWorkspaceSnapshotPath(path));
315
+ return {
316
+ reachableAncestor: true,
317
+ packageSubtreeMatches: packageDiff.code === 0 && changedPublishRelevantPaths.length === 0,
318
+ };
319
+ }
320
+ /**
321
+ * Plan availability against the live Registry through an owned, credentialed npm
322
+ * environment, renewing a session read credential when it nears expiry.
323
+ */
324
+ export async function inspectRegistryReleaseAvailability(options) {
325
+ const paths = await getRuntimePath(options.runtime);
326
+ const files = await resolveFileSystemAdapter(options.runtime, { binding: false });
327
+ await files.mkdir(options.artifactDir, { recursive: true });
328
+ // Published tarballs fetched as reuse evidence land here, not in
329
+ // `artifactDir`: the release proof counts every tarball in `artifactDir` as
330
+ // one planned output, and an inspected version this release supersedes is
331
+ // not one. A reused version moves into `artifactDir` once it is chosen.
332
+ const evidenceDir = paths.join(options.artifactDir, "registry-evidence");
333
+ await files.mkdir(evidenceDir, { recursive: true });
334
+ const tempRoot = await createReleaseTempRoot(options.runtime, options.workspaceRoot, SENSITIVE_TEMP_ROOT_PREFIXES.availability);
335
+ const homeDir = paths.join(tempRoot, "home");
336
+ const cacheDir = paths.join(tempRoot, "cache");
337
+ const npmrcPath = paths.join(tempRoot, "npmrc");
338
+ let readToken = options.readCredential?.resolution?.value;
339
+ const refreshSessionJwt = options.readCredential?.refreshSessionJwt;
340
+ const redactValues = readToken ? [readToken] : [];
341
+ let managerMintedToken;
342
+ let renewalInFlight;
343
+ const renewalError = (...args) => new CapabilityError(registryReadCredentialRenewalError(...args).message, "AUTH_REQUIRED", {
344
+ reason: "registry-read-credential-renewal-failed",
345
+ cause: args[2],
346
+ });
347
+ const writeNpmrc = (token) => writeSensitiveNpmrcAtomically(npmrcPath, registryReadNpmrc({
348
+ registries: options.targets.map((target) => target.registry),
349
+ scope: options.scope,
350
+ token,
351
+ }), options.runtime);
352
+ const ensureFreshReadCredential = async (refreshOptions = {}) => {
353
+ if (!refreshSessionJwt)
354
+ return false;
355
+ if (refreshOptions.force &&
356
+ refreshOptions.observedToken &&
357
+ refreshOptions.observedToken !== readToken) {
358
+ return true;
359
+ }
360
+ if (renewalInFlight) {
361
+ await renewalInFlight;
362
+ return refreshOptions.force
363
+ ? refreshOptions.observedToken !== readToken
364
+ : true;
365
+ }
366
+ const currentToken = readToken;
367
+ const currentClaims = currentToken
368
+ ? registrySessionJwtClaims(currentToken, options.runtime)
369
+ : undefined;
370
+ const registry = normalizeRegistryUrl(options.targets[0]?.registry ?? await registryServiceOrigin(options.runtime));
371
+ if (!currentToken || !currentClaims) {
372
+ throw renewalError(registry, "cannot identify the current session JWT");
373
+ }
374
+ const nowMs = (options.now ?? Date.now)();
375
+ if (refreshOptions.force &&
376
+ managerMintedToken === currentToken &&
377
+ currentClaims.expiresAtMs > nowMs + REGISTRY_SESSION_JWT_MIN_LIFETIME_MS) {
378
+ return false;
379
+ }
380
+ if (!refreshOptions.force &&
381
+ currentClaims.expiresAtMs > nowMs + REGISTRY_SESSION_JWT_MIN_LIFETIME_MS) {
382
+ return false;
383
+ }
384
+ renewalInFlight = (async () => {
385
+ const renewed = await settle(refreshSessionJwt);
386
+ if (!renewed.ok) {
387
+ throw renewalError(registry, "failed", valueFreeFailure(renewed.cause));
388
+ }
389
+ const renewedToken = readString(renewed.value);
390
+ if (renewedToken && !redactValues.includes(renewedToken)) {
391
+ redactValues.push(renewedToken);
392
+ }
393
+ const renewedClaims = renewedToken
394
+ ? registrySessionJwtClaims(renewedToken, options.runtime)
395
+ : undefined;
396
+ if (!renewedToken || !renewedClaims) {
397
+ throw renewalError(registry, "returned no signed JWT");
398
+ }
399
+ if (!registrySessionJwtContinuityMatches(currentClaims, renewedClaims)) {
400
+ throw renewalError(registry, "returned different session authority");
401
+ }
402
+ if (renewedClaims.expiresAtMs <=
403
+ nowMs + REGISTRY_SESSION_JWT_MIN_LIFETIME_MS) {
404
+ throw renewalError(registry, "returned another stale JWT");
405
+ }
406
+ await writeNpmrc(renewedToken);
407
+ readToken = renewedToken;
408
+ managerMintedToken = renewedToken;
409
+ return true;
410
+ })();
411
+ try {
412
+ return await renewalInFlight;
413
+ }
414
+ finally {
415
+ renewalInFlight = undefined;
416
+ }
417
+ };
418
+ let primaryFailure;
419
+ try {
420
+ await Promise.all([
421
+ files.mkdir(homeDir, { recursive: true }),
422
+ files.mkdir(cacheDir, { recursive: true }),
423
+ ]);
424
+ await writeNpmrc(readToken);
425
+ await ensureFreshReadCredential();
426
+ const env = isolatedNpmPackEnv({ homeDir, cacheDir, npmrcPath });
427
+ const plan = await planRegistryReleaseAvailability({
428
+ runtime: options.runtime,
429
+ targets: options.targets,
430
+ expectedGitHeads: options.expectedGitHeads,
431
+ versioning: options.versioning,
432
+ requireSourceMatch: options.requireSourceMatch,
433
+ authorities: {
434
+ listPublishedVersions: async (target) => {
435
+ const observedToken = readToken;
436
+ const listing = await settle(() => npmListPublishedVersions({
437
+ name: target.name,
438
+ registry: target.registry,
439
+ cwd: tempRoot,
440
+ env,
441
+ execution: options.execution,
442
+ runtime: options.runtime,
443
+ redactValues,
444
+ retryConcealedNotFound: () => ensureFreshReadCredential({ force: true, observedToken }),
445
+ }));
446
+ if (!listing.ok) {
447
+ if (listing.cause instanceof CapabilityError &&
448
+ (listing.cause.reason === "registry-version-listing-not-json" ||
449
+ listing.cause.reason === "registry-version-listing-malformed"))
450
+ throw listing.cause;
451
+ throw new CapabilityError(`Registry version lookup for ${target.name} failed`, "UNAVAILABLE", {
452
+ reason: "registry-version-lookup-failed",
453
+ details: { package: target.name },
454
+ cause: valueFreeFailure(listing.cause),
455
+ });
456
+ }
457
+ options.onPublishedVersions?.(target.name, listing.value ?? []);
458
+ return listing.value;
459
+ },
460
+ loadPublished: async (target) => {
461
+ const observedToken = readToken;
462
+ const lookup = await settle(() => npmPublishedArtifactIdentity({
463
+ name: target.name,
464
+ version: target.version,
465
+ registry: target.registry,
466
+ scope: options.scope,
467
+ cwd: tempRoot,
468
+ env,
469
+ execution: options.execution,
470
+ runtime: options.runtime,
471
+ redactValues,
472
+ retryConcealedNotFound: () => ensureFreshReadCredential({ force: true, observedToken }),
473
+ }));
474
+ if (!lookup.ok) {
475
+ throw new CapabilityError(`Registry metadata lookup for ${target.name}@${target.version} failed`, "UNAVAILABLE", {
476
+ reason: "registry-metadata-lookup-failed",
477
+ details: { package: target.name, version: target.version },
478
+ cause: valueFreeFailure(lookup.cause),
479
+ });
480
+ }
481
+ const identity = lookup.value;
482
+ if (identity && (!identity.integrity || !identity.repository || !identity.tarball)) {
483
+ throw new CapabilityError(`Registry metadata for ${target.name}@${target.version} is incomplete`, "INVALID_INPUT", {
484
+ reason: "registry-metadata-malformed",
485
+ details: { package: target.name, version: target.version },
486
+ });
487
+ }
488
+ return identity;
489
+ },
490
+ inspectGit: async ({ target, publishedGitHead, expectedGitHead }) => {
491
+ return inspectRegistryReleaseGitEvidence({
492
+ workspaceRoot: target.sourceRoot,
493
+ directory: target.workspaceProvenance.directory,
494
+ publishedGitHead,
495
+ expectedGitHead,
496
+ execution: options.execution,
497
+ runtime: options.runtime,
498
+ });
499
+ },
500
+ fetchPublishedTarball: async ({ target }) => {
501
+ await ensureFreshReadCredential();
502
+ const observedToken = readToken;
503
+ const args = [
504
+ "pack",
505
+ versionSpec(target.name, target.version),
506
+ "--json",
507
+ "--ignore-scripts",
508
+ "--pack-destination",
509
+ evidenceDir,
510
+ "--registry",
511
+ target.registry,
512
+ ];
513
+ if (options.scope)
514
+ args.push(`--${options.scope}:registry=${target.registry}`);
515
+ const packPublished = () => runNpm(options.execution, args, {
516
+ runtime: options.runtime,
517
+ cwd: tempRoot,
518
+ env,
519
+ quiet: true,
520
+ allowFailure: true,
521
+ redactValues,
522
+ });
523
+ let result = await packPublished();
524
+ const concealedNotFound = /\bE404\b|404 Not Found|is not in this registry/i;
525
+ if (result.status !== 0 &&
526
+ concealedNotFound.test(`${result.stdout}\n${result.stderr}`) &&
527
+ (await ensureFreshReadCredential({ force: true, observedToken }))) {
528
+ result = await packPublished();
529
+ }
530
+ if (result.status !== 0)
531
+ throw new NpmCommandError(args, result);
532
+ const path = paths.join(evidenceDir, npmTarballFilename(target.name, target.version));
533
+ return {
534
+ path,
535
+ integrity: `sha512-${await hashBase64(options.runtime, "sha512", z.instanceof(Uint8Array).parse(await files.readFile(path)))}`,
536
+ };
537
+ },
538
+ },
539
+ });
540
+ // Only a reused version is a release output: move its evidence tarball
541
+ // into `artifactDir`; superseded versions stay behind in `evidenceDir`.
542
+ const reuse = new Map();
543
+ for (const [name, result] of plan.reuse) {
544
+ if (!result.tarball) {
545
+ reuse.set(name, result);
546
+ continue;
547
+ }
548
+ const retained = paths.join(options.artifactDir, paths.basename(result.tarball));
549
+ await files.rename(result.tarball, retained);
550
+ reuse.set(name, { ...result, tarball: retained });
551
+ }
552
+ return { ...plan, reuse };
553
+ }
554
+ catch (error) {
555
+ primaryFailure = { error };
556
+ throw error;
557
+ }
558
+ finally {
559
+ await cleanupSensitiveTempRoot({
560
+ runtime: options.runtime,
561
+ root: tempRoot,
562
+ npmrcPath,
563
+ expectedPrefix: SENSITIVE_TEMP_ROOT_PREFIXES.availability,
564
+ workspaceRoot: options.workspaceRoot,
565
+ primaryFailure,
566
+ redactValues,
567
+ });
568
+ }
569
+ }
570
+ //# sourceMappingURL=registry-availability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry-availability.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/registry-availability.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,GAG3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,GAChB,MAAM,mCAAmC,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EACpB,oCAAoC,EACpC,kCAAkC,EAElC,wBAAwB,EAC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