@vibesdotdev/infra-deploy 0.0.1 → 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 (662) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +79 -118
  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 +1161 -108
  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 +110 -42
  626. package/SPEC.md +0 -181
  627. package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
  628. package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
  629. package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
  630. package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
  631. package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
  632. package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
  633. package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
  634. package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
  635. package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
  636. package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
  637. package/src/cli/infra.cli-group.descriptor.ts +0 -11
  638. package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
  639. package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
  640. package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
  641. package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
  642. package/src/cli/logs/stream-worker-tail.ts +0 -202
  643. package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
  644. package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
  645. package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
  646. package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
  647. package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
  648. package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
  649. package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
  650. package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
  651. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
  652. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
  653. package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
  654. package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
  655. package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
  656. package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
  657. package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
  658. package/src/cli/shared/discover-deployments.ts +0 -127
  659. package/src/config-loader.ts +0 -179
  660. package/src/index.ts +0 -11
  661. package/src/infra-deploy.plugin.ts +0 -83
  662. package/src/regenerate.ts +0 -230
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumer-smoke.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/consumer-smoke.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EACL,gBAAgB,GAEjB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EACL,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EACL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d,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,MAAM,4BAA4B,CAChC,OAAO,CAAC,OAAO,EACf,YAAY,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAClC,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Release consumer surfaces: which profile specifiers a consumer imports
3
+ * directly, and the bundler/SSR proof for the ones a bare runtime cannot load.
4
+ */
5
+ import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
6
+ import type { RegistryReleaseSetPlan, RegistryReleaseWorkspacePackage } from "@vibesdotdev/registry";
7
+ import type { RuntimeExecution } from "@vibesdotdev/kernel/execution";
8
+ /**
9
+ * Vite config for the surface proof consumer; release packages are bundled for SSR.
10
+ */
11
+ export declare function releaseConsumerViteConfig(internalPackageNames: readonly string[]): string;
12
+ /**
13
+ * One bare-runtime import batch: the runtime, owning profile roots and specifiers.
14
+ */
15
+ export type ReleaseConsumerRootImportPlan = {
16
+ runtime: "node" | "bun";
17
+ profileRoots: string[];
18
+ importSpecifiers: string[];
19
+ };
20
+ /**
21
+ * The subpaths a profile has DECLARED as framework surfaces — the ones a bare
22
+ * runtime cannot load. Read off the profile, never inferred from the specifier's
23
+ * text: a publisher may put a Svelte surface at `/ui`, or ship something at
24
+ * `/svelte-utils` that is plain JS, and the release proof has no business
25
+ * guessing either way from our own naming habits.
26
+ *
27
+ * One definition, because the bare-runtime plan and the installed surface proof
28
+ * must partition the specifier set between them — if they disagree, a specifier
29
+ * is either proven twice or not at all.
30
+ */
31
+ export declare function releaseConsumerSurfaceSpecifiers(profile: RegistryReleaseSetPlan["profiles"][number]): ReadonlySet<string>;
32
+ /**
33
+ * Binds every proof import to the runtime declared by its profile owner.
34
+ *
35
+ * Svelte surface specifiers are deliberately excluded here: their module graph
36
+ * reaches `.svelte` files, which no bare runtime can load (node throws
37
+ * ERR_UNKNOWN_FILE_EXTENSION, bun needs a registered plugin). They are proven
38
+ * by the stronger installed SvelteKit build + SSR render instead, which is the
39
+ * only place a component can actually be evaluated. Feeding them to the bare
40
+ * runtime import made the whole release proof fail on any package publishing a
41
+ * Svelte surface.
42
+ *
43
+ * The same specifier is intentionally exercised once per declared runtime.
44
+ */
45
+ export declare function planReleaseConsumerRootImports(options: {
46
+ profiles: RegistryReleaseSetPlan["profiles"];
47
+ workspace: ReadonlyMap<string, RegistryReleaseWorkspacePackage>;
48
+ }): ReleaseConsumerRootImportPlan[];
49
+ /**
50
+ * Import every planned specifier from the installed consumer under its runtime.
51
+ */
52
+ export declare function runReleaseConsumerRootImports(options: {
53
+ plans: readonly ReleaseConsumerRootImportPlan[];
54
+ consumerDir: string;
55
+ execution: RuntimeExecution;
56
+ /** The runtime child environments are composed from. */
57
+ runtime: ChildEnvRuntime;
58
+ }): Promise<void>;
59
+ /**
60
+ * The installed-surface harness a profile asks for. `sveltekit` is the default
61
+ * and the only one implemented; it is a DECLARED choice rather than an assumed
62
+ * one so a package built on this framework that publishes, say, a React surface
63
+ * gets a clear refusal instead of our SvelteKit scaffold written into its proof.
64
+ */
65
+ export declare function releaseConsumerSurfaceProofKind(profile: RegistryReleaseSetPlan["profiles"][number]): "sveltekit";
66
+ /** True when any profile declares surfaces proven by the SvelteKit harness. */
67
+ export declare function releaseConsumerNeedsSvelteProof(profiles: RegistryReleaseSetPlan["profiles"]): boolean;
68
+ /**
69
+ * Build a SvelteKit consumer that imports every declared surface and renders
70
+ * every SSR probe, when any profile needs the Svelte proof. Returns the
71
+ * profiles' import specifiers.
72
+ */
73
+ export declare function runReleaseConsumerSurfaceProof(options: {
74
+ plan: RegistryReleaseSetPlan;
75
+ consumerDir: string;
76
+ internalNames: ReadonlySet<string>;
77
+ execution: RuntimeExecution;
78
+ /** The runtime child environments are composed from. */
79
+ runtime: ChildEnvRuntime;
80
+ }): Promise<string[]>;
81
+ //# sourceMappingURL=consumer-surfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumer-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CAAC,CAAC,MAAM,CAAC,GAClD,WAAW,CAUb;AAED,+EAA+E;AAC/E,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAC3C,OAAO,CAMT;AAED;;;;GAIG;AACH,wBAAsB,8BAA8B,CAAC,OAAO,EAAE;IAC5D,IAAI,EAAE,sBAAsB,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,wDAAwD;IACxD,OAAO,EAAE,eAAe,CAAC;CAC1B,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA0FpB"}
@@ -0,0 +1,199 @@
1
+ import { resolveFileSystemAdapter } from "@vibesdotdev/filesystem";
2
+ import { getRuntimePath } from "@vibesdotdev/paths";
3
+ import { runRuntimeCommand } from "../../shared/runtime-execution.js";
4
+ /**
5
+ * Vite config for the surface proof consumer; release packages are bundled for SSR.
6
+ */
7
+ export function releaseConsumerViteConfig(internalPackageNames) {
8
+ return `import { sveltekit } from '@sveltejs/kit/vite';\nexport default { plugins: [sveltekit()], ssr: { noExternal: ${JSON.stringify([...internalPackageNames].sort())} } };\n`;
9
+ }
10
+ /**
11
+ * The subpaths a profile has DECLARED as framework surfaces — the ones a bare
12
+ * runtime cannot load. Read off the profile, never inferred from the specifier's
13
+ * text: a publisher may put a Svelte surface at `/ui`, or ship something at
14
+ * `/svelte-utils` that is plain JS, and the release proof has no business
15
+ * guessing either way from our own naming habits.
16
+ *
17
+ * One definition, because the bare-runtime plan and the installed surface proof
18
+ * must partition the specifier set between them — if they disagree, a specifier
19
+ * is either proven twice or not at all.
20
+ */
21
+ export function releaseConsumerSurfaceSpecifiers(profile) {
22
+ return new Set([
23
+ ...(profile.surfaceImportSpecifiers ?? []),
24
+ ...(profile.ssrRenders ?? []).map((probe) => probe.specifier),
25
+ ]);
26
+ }
27
+ /**
28
+ * Binds every proof import to the runtime declared by its profile owner.
29
+ *
30
+ * Svelte surface specifiers are deliberately excluded here: their module graph
31
+ * reaches `.svelte` files, which no bare runtime can load (node throws
32
+ * ERR_UNKNOWN_FILE_EXTENSION, bun needs a registered plugin). They are proven
33
+ * by the stronger installed SvelteKit build + SSR render instead, which is the
34
+ * only place a component can actually be evaluated. Feeding them to the bare
35
+ * runtime import made the whole release proof fail on any package publishing a
36
+ * Svelte surface.
37
+ *
38
+ * The same specifier is intentionally exercised once per declared runtime.
39
+ */
40
+ export function planReleaseConsumerRootImports(options) {
41
+ const byRuntime = new Map();
42
+ for (const profile of options.profiles) {
43
+ const owner = options.workspace.get(profile.root);
44
+ if (!owner) {
45
+ throw new Error(`Release consumer proof profile ${profile.id} has unknown root ${profile.root}`);
46
+ }
47
+ const declaredRuntime = owner.manifest.vibes?.publishLoadRuntime;
48
+ if (declaredRuntime !== undefined &&
49
+ declaredRuntime !== "node" &&
50
+ declaredRuntime !== "bun") {
51
+ throw new Error(`Release consumer proof profile ${profile.id} root ${profile.root} declares unsupported publishLoadRuntime ${String(declaredRuntime)}`);
52
+ }
53
+ const runtime = declaredRuntime ?? "node";
54
+ const group = byRuntime.get(runtime) ?? {
55
+ roots: new Set(),
56
+ imports: new Set(),
57
+ };
58
+ group.roots.add(profile.root);
59
+ const surfaces = releaseConsumerSurfaceSpecifiers(profile);
60
+ for (const specifier of profile.importSpecifiers) {
61
+ if (surfaces.has(specifier))
62
+ continue;
63
+ group.imports.add(specifier);
64
+ }
65
+ byRuntime.set(runtime, group);
66
+ }
67
+ return ["node", "bun"].flatMap((runtime) => {
68
+ const group = byRuntime.get(runtime);
69
+ if (!group || group.imports.size === 0)
70
+ return [];
71
+ return [
72
+ {
73
+ runtime,
74
+ profileRoots: [...group.roots].sort(),
75
+ importSpecifiers: [...group.imports].sort(),
76
+ },
77
+ ];
78
+ });
79
+ }
80
+ /**
81
+ * Import every planned specifier from the installed consumer under its runtime.
82
+ */
83
+ export async function runReleaseConsumerRootImports(options) {
84
+ for (const plan of options.plans) {
85
+ const result = await runRuntimeCommand({
86
+ runtime: options.runtime,
87
+ execution: options.execution,
88
+ command: plan.runtime,
89
+ args: plan.runtime === "node"
90
+ ? [
91
+ "--input-type=module",
92
+ "--eval",
93
+ `await Promise.all(${JSON.stringify(plan.importSpecifiers)}.map((s) => import(s)))`,
94
+ ]
95
+ : [
96
+ "--eval",
97
+ `await Promise.all(${JSON.stringify(plan.importSpecifiers)}.map((s) => import(s)))`,
98
+ ],
99
+ cwd: options.consumerDir,
100
+ });
101
+ if (result.code !== 0) {
102
+ throw new Error(`Installed release ${plan.runtime} import failed for ${plan.profileRoots.join(", ")}: ${result.stderr}`);
103
+ }
104
+ }
105
+ }
106
+ /**
107
+ * The installed-surface harness a profile asks for. `sveltekit` is the default
108
+ * and the only one implemented; it is a DECLARED choice rather than an assumed
109
+ * one so a package built on this framework that publishes, say, a React surface
110
+ * gets a clear refusal instead of our SvelteKit scaffold written into its proof.
111
+ */
112
+ export function releaseConsumerSurfaceProofKind(profile) {
113
+ const declared = profile.surfaceProof ?? "sveltekit";
114
+ if (declared !== "sveltekit") {
115
+ throw new Error(`Release consumer proof profile ${profile.id} declares surfaceProof ${String(declared)}, ` +
116
+ `but this harness implements 'sveltekit' only. Implement that harness or drop the ` +
117
+ `surface declaration; do not let a SvelteKit scaffold stand in for another stack's proof.`);
118
+ }
119
+ return declared;
120
+ }
121
+ /** True when any profile declares surfaces proven by the SvelteKit harness. */
122
+ export function releaseConsumerNeedsSvelteProof(profiles) {
123
+ return profiles.some((profile) => releaseConsumerSurfaceSpecifiers(profile).size > 0 &&
124
+ releaseConsumerSurfaceProofKind(profile) === "sveltekit");
125
+ }
126
+ /**
127
+ * Build a SvelteKit consumer that imports every declared surface and renders
128
+ * every SSR probe, when any profile needs the Svelte proof. Returns the
129
+ * profiles' import specifiers.
130
+ */
131
+ export async function runReleaseConsumerSurfaceProof(options) {
132
+ const { plan, consumerDir } = options;
133
+ const imports = [
134
+ ...new Set(plan.profiles.flatMap((profile) => profile.importSpecifiers)),
135
+ ];
136
+ const ssrRenders = plan.profiles.flatMap((profile) => profile.ssrRenders ?? []);
137
+ const renderedSpecifiers = new Set(ssrRenders.map((probe) => probe.specifier));
138
+ const declaredSurfaces = new Set(plan.profiles.flatMap((profile) => [
139
+ ...releaseConsumerSurfaceSpecifiers(profile),
140
+ ]));
141
+ const surfaceImports = imports
142
+ .filter((specifier) => declaredSurfaces.has(specifier) && !renderedSpecifiers.has(specifier))
143
+ .map((specifier) => `import ${JSON.stringify(specifier)};`);
144
+ if (!releaseConsumerNeedsSvelteProof(plan.profiles))
145
+ return imports;
146
+ const renderImports = ssrRenders.map((probe, index) => `import { ${probe.exportName} as ReleaseSsrProbe${index} } from ${JSON.stringify(probe.specifier)};`);
147
+ const renderProps = ssrRenders.map((probe, index) => `const releaseSsrProps${index} = ${JSON.stringify(probe.props)};`);
148
+ const renderMarkup = ssrRenders
149
+ .map((_probe, index) => `<ReleaseSsrProbe${index} {...releaseSsrProps${index}} />`)
150
+ .join("\n");
151
+ const releasePage = `<script>\n${surfaceImports.join("\n")}\n${renderImports.join("\n")}\n${renderProps.join("\n")}\n</script>\n${renderMarkup || "<p>release proof</p>"}\n`;
152
+ const paths = await getRuntimePath(options.runtime);
153
+ const files = await resolveFileSystemAdapter(options.runtime, { binding: false });
154
+ await files.writeFile(paths.join(consumerDir, "vite.config.js"), releaseConsumerViteConfig([...options.internalNames]));
155
+ await files.mkdir(paths.join(consumerDir, "src", "routes"), { recursive: true });
156
+ await Promise.all([
157
+ files.writeFile(paths.join(consumerDir, "svelte.config.js"), "export default {};\n"),
158
+ files.writeFile(paths.join(consumerDir, "src", "app.html"), '<head>%sveltekit.head%</head><body><div style="display: contents">%sveltekit.body%</div></body>\n'),
159
+ files.writeFile(paths.join(consumerDir, "src", "routes", "+page.svelte"), releasePage),
160
+ ]);
161
+ const synced = await runRuntimeCommand({
162
+ runtime: options.runtime,
163
+ execution: options.execution,
164
+ command: "bun",
165
+ args: [
166
+ paths.join(consumerDir, "node_modules", "@sveltejs", "kit", "svelte-kit.js"),
167
+ "sync",
168
+ ],
169
+ cwd: consumerDir,
170
+ });
171
+ if (synced.code !== 0)
172
+ throw new Error(`Installed release SvelteKit sync failed: ${synced.stderr}`);
173
+ const vite = await runRuntimeCommand({
174
+ runtime: options.runtime,
175
+ execution: options.execution,
176
+ command: "bun",
177
+ args: ["--bun", paths.join(consumerDir, "node_modules/vite/bin/vite.js"), "build"],
178
+ cwd: consumerDir,
179
+ });
180
+ if (vite.code !== 0)
181
+ throw new Error(`Installed release surface import failed: ${vite.stderr}`);
182
+ if (ssrRenders.length > 0) {
183
+ const rendered = await runRuntimeCommand({
184
+ runtime: options.runtime,
185
+ execution: options.execution,
186
+ command: "node",
187
+ args: [
188
+ "--input-type=module",
189
+ "--eval",
190
+ "const [{ Server }, { manifest }] = await Promise.all([import('./.svelte-kit/output/server/index.js'), import('./.svelte-kit/output/server/manifest-full.js')]); const server = new Server(manifest); await server.init({ env: {} }); const response = await server.respond(new Request('https://release.invalid/'), { getClientAddress: () => 'proof' }); const body = await response.text(); if (!response.ok || !body) throw new Error(`SvelteKit SSR request failed ${response.status}`);",
191
+ ],
192
+ cwd: consumerDir,
193
+ });
194
+ if (rendered.code !== 0)
195
+ throw new Error(`Installed release SSR render failed: ${rendered.stderr}`);
196
+ }
197
+ return imports;
198
+ }
199
+ //# sourceMappingURL=consumer-surfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumer-surfaces.js","sourceRoot":"","sources":["../../../../src/cli/npm/publish/consumer-surfaces.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,oBAAuC;IAEvC,OAAO,gHAAgH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J,qBAAqB;gBACrB,QAAQ;gBACR,8dAA8d;aAC/d;YACD,GAAG,EAAE,WAAW;SACjB,CAAC,CAAC;QACH,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,wCAAwC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,171 @@
1
+ /**
2
+ * External requirements of a release: Registry selectors that must be
3
+ * satisfiable, workspace packages consumed as sealed Registry inputs, and the
4
+ * source registries the release proof resolves them from.
5
+ */
6
+ import type { ChildEnvRuntime } from "../../shared/runtime-execution.ts";
7
+ import { type RegistryReleaseExternalRequirement, type RegistryReleaseSetPlan } from "@vibesdotdev/registry";
8
+ import type { RuntimeExecution } from "@vibesdotdev/kernel/execution";
9
+ import type { JsonValue } from "@vibesdotdev/kernel/schemas/json";
10
+ import { runNpm, type RunNpmResult } from "./npm-exec.ts";
11
+ import { type ReleaseConsumerSourceRegistry } from "./proof-registry.ts";
12
+ import { type RegistryReleaseReadCredential } from "./registry-credentials.ts";
13
+ import { type PublisherManifest } from "./publisher-manifest.ts";
14
+ import type { RegistryReleaseBuildPackage, RegistryReleasePublishTarget } from "./types.ts";
15
+ /**
16
+ * Throw unless an installed/fetched package is the requirement's package and satisfies its selector.
17
+ */
18
+ export declare function assertExternalPackageSelector(options: {
19
+ from: string;
20
+ name: string;
21
+ selector: string;
22
+ resolvedName: string | undefined;
23
+ resolvedVersion: string;
24
+ }): void;
25
+ /** npm's selector semantics, including `*` accepting any valid version. */
26
+ export declare function npmRegistryVersionSatisfiesSelector(version: string, selector: string): boolean;
27
+ type RegistryExternalReference = {
28
+ packageName: string;
29
+ selector: string;
30
+ dependencySelector: string;
31
+ };
32
+ /**
33
+ * Parse a requirement's selector (range or `npm:` alias) into the package it fetches.
34
+ */
35
+ export declare function registryExternalReference(options: {
36
+ from: string;
37
+ name: string;
38
+ selector: string;
39
+ }): RegistryExternalReference;
40
+ /**
41
+ * Throw unless the requirement has a canonical name and a supported selector.
42
+ */
43
+ export declare function assertRegistryExternalSelector(options: {
44
+ from: string;
45
+ name: string;
46
+ selector: string;
47
+ }): void;
48
+ /** `npm pack` one external requirement into `downloadDir` from `registry`. */
49
+ export declare function runRegistryExternalPack(options: {
50
+ from: string;
51
+ name: string;
52
+ selector: string;
53
+ downloadDir: string;
54
+ registry: string;
55
+ proofRoot: string;
56
+ env: Record<string, string>;
57
+ execution: RuntimeExecution;
58
+ /** The runtime child environments are composed from. */
59
+ runtime: ChildEnvRuntime;
60
+ redactValues?: readonly string[];
61
+ }, runner?: typeof runNpm): Promise<{
62
+ args: string[];
63
+ result: RunNpmResult;
64
+ }>;
65
+ export interface ExternalRequirementMiss {
66
+ from: string;
67
+ name: string;
68
+ selector: string;
69
+ effectiveSelector: string;
70
+ reason: "no-matching-version" | "unreadable";
71
+ }
72
+ export interface RegistryExternalRequirementResolution {
73
+ requirement: RegistryReleaseExternalRequirement;
74
+ effectiveSelector: string;
75
+ version: string;
76
+ }
77
+ export interface SealedWorkspaceRegistryInput extends RegistryExternalRequirementResolution {
78
+ registry: string;
79
+ integrity: string;
80
+ repository: string;
81
+ gitHead: string;
82
+ tarball: string;
83
+ }
84
+ /**
85
+ * Every planned external requirement must be satisfiable by the registry
86
+ * BEFORE anything packs or publishes: a release that records unsatisfiable
87
+ * externals ships uninstallable-in-isolation packages. The planner is pure,
88
+ * so this is the publish flow's own gate (previously externals were only
89
+ * exercised inside the full offline consumer proof).
90
+ */
91
+ export declare function assertExternalRequirementsSatisfiable(options: {
92
+ requirements: readonly RegistryReleaseExternalRequirement[];
93
+ rootOverrides: Readonly<Record<string, JsonValue>>;
94
+ listVersions(requirement: RegistryReleaseExternalRequirement, effectiveSelector: string): Promise<readonly string[] | null>;
95
+ }): Promise<readonly RegistryExternalRequirementResolution[]>;
96
+ /**
97
+ * Workspace-source requirements are release inputs, not implicit outputs. Seal
98
+ * the exact compatible Registry artifact before any build or remote mutation so
99
+ * the later consumer proof cannot resolve a different range winner.
100
+ *
101
+ * Each distinct Registry coordinate is sealed once, however many requirements
102
+ * resolve to it, and coordinates are sealed concurrently, each through its own
103
+ * availability temp root. A package name fixes its Registry, so distinct
104
+ * coordinates are distinct name@version pairs and never fetch the same
105
+ * tarball. Sealed inputs keep requirement order, and a failure is the one the
106
+ * first failing requirement hits.
107
+ */
108
+ export declare function sealWorkspaceRegistryInputs(options: {
109
+ resolutions: readonly RegistryExternalRequirementResolution[];
110
+ buildPackages: readonly RegistryReleaseBuildPackage[];
111
+ expectedGitHeads: ReadonlyMap<string, string>;
112
+ sourceRegistry: ReleaseConsumerSourceRegistry;
113
+ artifactDir: string;
114
+ workspaceRoot: string;
115
+ scope?: string;
116
+ readCredential?: RegistryReleaseReadCredential;
117
+ execution: RuntimeExecution;
118
+ /** The runtime child environments are composed from. */
119
+ runtime: ChildEnvRuntime;
120
+ }): Promise<readonly SealedWorkspaceRegistryInput[]>;
121
+ /**
122
+ * The root `overrides` selector for `name` when set, else the declared selector.
123
+ */
124
+ export declare function effectiveExternalSelector(overrides: Readonly<NonNullable<PublisherManifest["overrides"]>>, name: string, declaredSelector: string): string;
125
+ export interface RegistryExternalLookup {
126
+ packageName: string;
127
+ registry: string;
128
+ }
129
+ /**
130
+ * The package an external requirement fetches and the source registry it comes from.
131
+ */
132
+ export declare function resolveRegistryExternalLookup(options: {
133
+ requirement: {
134
+ from: string;
135
+ name: string;
136
+ selector: string;
137
+ };
138
+ effectiveSelector: string;
139
+ sourceRegistry: ReleaseConsumerSourceRegistry;
140
+ }): RegistryExternalLookup;
141
+ /**
142
+ * Prove every external requirement of `releasePlan` has a published version
143
+ * satisfying its (root-overridden) selector, reading each source registry with
144
+ * the release read token from an owned temporary npm environment.
145
+ */
146
+ export declare function resolveReleaseExternalRequirements(options: {
147
+ releasePlan: RegistryReleaseSetPlan;
148
+ /** Every release target; their registries are the external source registries. */
149
+ sourceTargets: readonly RegistryReleasePublishTarget[];
150
+ workspaceRoot: string;
151
+ scope: string;
152
+ readToken?: string;
153
+ execution: RuntimeExecution;
154
+ /** The runtime child environments are composed from. */
155
+ runtime: ChildEnvRuntime;
156
+ }): Promise<readonly RegistryExternalRequirementResolution[]>;
157
+ /**
158
+ * The version each workspace package's `workspace:` selectors are rewritten to: its source version,
159
+ * else the sealed Registry input a dependent was proven against (an internal dependency outside the
160
+ * release), else the version this release assigns it. A dependency outside the release keeping its
161
+ * source version shipped `^<stale source version>`, which `latest` could satisfy with older content.
162
+ */
163
+ export declare function workspaceSelectorVersions(options: {
164
+ sourceVersions: ReadonlyMap<string, string>;
165
+ sealedWorkspaceInputs: readonly Pick<SealedWorkspaceRegistryInput, "requirement" | "version">[];
166
+ assignments: ReadonlyMap<string, {
167
+ version: string;
168
+ }>;
169
+ }): Map<string, string>;
170
+ export {};
171
+ //# sourceMappingURL=external-requirements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-requirements.d.ts","sourceRoot":"","sources":["../../../../src/cli/npm/publish/external-requirements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAIzE,OAAO,EAEL,KAAK,kCAAkC,EACvC,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,EAEL,MAAM,EACN,KAAK,YAAY,EAGlB,MAAM,eAAe,CAAC;AACvB,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAEL,KAAK,6BAA6B,EAEnC,MAAM,2BAA2B,CAAC;AAMnC,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,2BAA2B,EAC3B,4BA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