@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,36 @@
1
+ import { DeploymentRunsSchema } from "./deployment-runs.schema.js";
2
+ export const deploymentRunsStorageDescriptor = {
3
+ kind: 'storage/manifest',
4
+ id: 'infra-deploy.deployment-runs',
5
+ name: 'Infra Deploy Run Ledger',
6
+ description: 'Append-only run ledger for canonical vibes infra deploy executions, with sanitized status and provider metadata.',
7
+ namespace: 'infra-deploy.deployment-runs',
8
+ schema: DeploymentRunsSchema,
9
+ dataType: 'records',
10
+ idField: 'runId',
11
+ allowedAdapters: ['storage.localdb', 'storage.json', 'storage.cloud-api'],
12
+ defaultAdapter: 'storage.localdb',
13
+ adapterConfig: {
14
+ 'storage.localdb': {
15
+ dbName: 'infra-deploy',
16
+ tableName: 'deployment_runs'
17
+ },
18
+ 'storage.json': {
19
+ filename: 'infra-deploy-runs.json'
20
+ },
21
+ 'storage.cloud-api': {
22
+ ownerApp: 'system',
23
+ endpoint: '/api/internal/deploy/runs',
24
+ idField: 'runId'
25
+ }
26
+ },
27
+ scope: 'project',
28
+ sensitiveFields: [],
29
+ version: 1,
30
+ customTables: false,
31
+ internal: true,
32
+ enabled: true,
33
+ tags: ['infra', 'deploy', 'audit', 'operations']
34
+ };
35
+ export default deploymentRunsStorageDescriptor;
36
+ //# sourceMappingURL=deployment-runs.storage.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment-runs.storage.descriptor.js","sourceRoot":"","sources":["../../src/storage/deployment-runs.storage.descriptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,+BAA+B,GAA8B;IACzE,IAAI,EAAE,kBAAkB;IACxB,EAAE,EAAE,8BAA8B;IAClC,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EACV,kHAAkH;IACnH,SAAS,EAAE,8BAA8B;IACzC,MAAM,EAAE,oBAAoB;IAC5B,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,CAAC;IACzE,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE;QACd,iBAAiB,EAAE;YAClB,MAAM,EAAE,cAAc;YACtB,SAAS,EAAE,iBAAiB;SAC5B;QACD,cAAc,EAAE;YACf,QAAQ,EAAE,wBAAwB;SAClC;QACD,mBAAmB,EAAE;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,2BAA2B;YACrC,OAAO,EAAE,OAAO;SAChB;KACD;IACD,KAAK,EAAE,SAAS;IAChB,eAAe,EAAE,EAAE;IACnB,OAAO,EAAE,CAAC;IACV,YAAY,EAAE,KAAK;IACnB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,CAAC;CAChD,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
package/package.json CHANGED
@@ -1,73 +1,95 @@
1
1
  {
2
2
  "name": "@vibesdotdev/infra-deploy",
3
- "version": "0.0.1",
4
- "type": "module",
3
+ "version": "1.0.0-rc.4",
4
+ "dependencies": {
5
+ "@vibesdotdev/auth": "^1.0.0-rc.3",
6
+ "@vibesdotdev/config": "^1.0.0-rc.3",
7
+ "@vibesdotdev/crypto": "^1.0.0-rc.3",
8
+ "@vibesdotdev/filesystem": "^1.0.0-rc.2",
9
+ "@vibesdotdev/git-operations": "^1.0.0-rc.2",
10
+ "@vibesdotdev/infra-core": "^1.0.0-rc.4",
11
+ "@vibesdotdev/kernel": "^1.0.0-rc.6",
12
+ "@vibesdotdev/kernel-rpc": "^1.0.0-rc.2",
13
+ "@vibesdotdev/logging": "^1.0.0-rc.4",
14
+ "@vibesdotdev/paths": "^1.0.0-rc.3",
15
+ "@vibesdotdev/secrets": "^1.0.0-rc.3",
16
+ "@vibesdotdev/shared": "^1.0.0-rc.4",
17
+ "@vibesdotdev/storage": "^1.0.0-rc.3",
18
+ "@vibesdotdev/workers": "^1.0.0-rc.2",
19
+ "@vibesdotdev/workspace-schemas": "^1.0.0-rc.2",
20
+ "semver": "^7.8.5",
21
+ "zod": "^4.6.7"
22
+ },
23
+ "peerDependencies": {
24
+ "@vibesdotdev/registry": "^1.0.0-rc.3",
25
+ "@vibesdotdev/kernel": "^1.0.0-rc.6",
26
+ "@vibesdotdev/cli": "^1.0.0-rc.2",
27
+ "@vibesdotdev/execution-local": "^1.0.0-rc.3",
28
+ "@vibesdotdev/integrations": "^1.0.0-rc.2",
29
+ "@vibesdotdev/surface-sveltekit": "^1.0.0-rc.3"
30
+ },
5
31
  "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
32
  "exports": {
8
33
  ".": {
34
+ "bun": "./dist/index.js",
9
35
  "types": "./dist/index.d.ts",
10
- "bun": "./src/index.ts",
11
36
  "import": "./dist/index.js",
12
37
  "default": "./dist/index.js"
13
38
  },
14
39
  "./plugin": {
40
+ "bun": "./dist/infra-deploy.plugin.js",
15
41
  "types": "./dist/infra-deploy.plugin.d.ts",
16
- "bun": "./src/infra-deploy.plugin.ts",
17
42
  "import": "./dist/infra-deploy.plugin.js",
18
43
  "default": "./dist/infra-deploy.plugin.js"
19
44
  },
45
+ "./cli/plugin": {
46
+ "bun": "./dist/cli/plugin.js",
47
+ "types": "./dist/cli/plugin.d.ts",
48
+ "import": "./dist/cli/plugin.js",
49
+ "default": "./dist/cli/plugin.js"
50
+ },
20
51
  "./config-loader": {
52
+ "bun": "./dist/config-loader.js",
21
53
  "types": "./dist/config-loader.d.ts",
22
- "bun": "./src/config-loader.ts",
23
54
  "import": "./dist/config-loader.js",
24
55
  "default": "./dist/config-loader.js"
25
56
  },
26
57
  "./regenerate": {
58
+ "bun": "./dist/regenerate.js",
27
59
  "types": "./dist/regenerate.d.ts",
28
- "bun": "./src/regenerate.ts",
29
60
  "import": "./dist/regenerate.js",
30
61
  "default": "./dist/regenerate.js"
62
+ },
63
+ "./release/latest-manifest": {
64
+ "bun": "./dist/cli/release/cli/latest-manifest.js",
65
+ "types": "./dist/cli/release/cli/latest-manifest.d.ts",
66
+ "import": "./dist/cli/release/cli/latest-manifest.js",
67
+ "default": "./dist/cli/release/cli/latest-manifest.js"
68
+ },
69
+ "./cli/node/repository-collection": {
70
+ "bun": "./dist/cli/shared/repository-collection.js",
71
+ "types": "./dist/cli/shared/repository-collection.d.ts",
72
+ "import": "./dist/cli/shared/repository-collection.js",
73
+ "default": "./dist/cli/shared/repository-collection.js"
74
+ },
75
+ "./cli/node/runtime-execution": {
76
+ "bun": "./dist/cli/shared/runtime-execution.js",
77
+ "types": "./dist/cli/shared/runtime-execution.d.ts",
78
+ "import": "./dist/cli/shared/runtime-execution.js",
79
+ "default": "./dist/cli/shared/runtime-execution.js"
80
+ },
81
+ "./cli/run/immutable-deployment-release.program": {
82
+ "bun": "./dist/cli/run/immutable-deployment-release.program.js",
83
+ "types": "./dist/cli/run/immutable-deployment-release.program.d.ts",
84
+ "import": "./dist/cli/run/immutable-deployment-release.program.js",
85
+ "default": "./dist/cli/run/immutable-deployment-release.program.js"
31
86
  }
32
87
  },
33
- "publishConfig": {
34
- "registry": "https://registry.npmjs.org",
35
- "access": "public"
36
- },
37
- "repository": {
38
- "type": "git",
39
- "url": "git+https://github.com/vibesdotdev/monorepo.git",
40
- "directory": "packages/infra-deploy"
41
- },
42
- "peerDependencies": {
43
- "@vibesdotdev/runtime": "0.0.1",
44
- "@vibesdotdev/cli": "0.0.1"
45
- },
46
- "dependencies": {
47
- "@vibesdotdev/infra-core": "0.0.1",
48
- "@vibesdotdev/connector-cloudflare": "0.0.1",
49
- "@vibesdotdev/infra-doks": "0.0.1",
50
- "@vibesdotdev/config": "0.0.1",
51
- "@vibesdotdev/infra-cloudflare": "0.0.1"
52
- },
53
- "scripts": {
54
- "check": "bun --bun tsc -p tsconfig.json --noEmit",
55
- "build": "tsc -p tsconfig.json"
56
- },
57
- "license": "MIT",
58
88
  "files": [
59
89
  "dist",
60
- "src",
61
- "bin",
62
90
  "README.md",
63
- "SPEC.md",
64
91
  "LICENSE",
65
- "!src/**/__tests__/**",
66
- "!src/**/__stubs__/**",
67
- "!src/**/*.test.ts",
68
- "!src/**/*.test.tsx",
69
- "!src/**/*.spec.ts",
70
- "!src/**/*.spec.tsx",
92
+ "bin",
71
93
  "!dist/**/__tests__/**",
72
94
  "!dist/**/__stubs__/**",
73
95
  "!dist/**/*.test.js",
@@ -79,7 +101,53 @@
79
101
  "!dist/**/*.spec.d.ts",
80
102
  "!dist/**/*.spec.d.ts.map"
81
103
  ],
104
+ "scripts": {
105
+ "lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
106
+ "prebuild": "rm -rf dist",
107
+ "test": "${BUN:-bun} test src",
108
+ "check": "${BUN:-bun} --bun tsc -p tsconfig.json --noEmit",
109
+ "build": "tsc -p tsconfig.build.json"
110
+ },
111
+ "repository": {
112
+ "type": "git",
113
+ "url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
114
+ "directory": "infra-deploy"
115
+ },
116
+ "publishConfig": {
117
+ "registry": "https://packages.vibes.dev",
118
+ "access": "public"
119
+ },
82
120
  "vibes": {
83
- "visibility": "public-framework"
121
+ "visibility": "public",
122
+ "registry": {
123
+ "repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
124
+ "directory": "infra-deploy"
125
+ },
126
+ "handedRuntimeLogging": true
127
+ },
128
+ "type": "module",
129
+ "types": "./dist/index.d.ts",
130
+ "license": "MIT",
131
+ "description": "Deployment orchestration and CLI commands for Vibes infrastructure packages.",
132
+ "homepage": "https://docs.vibes.dev/infra-deploy",
133
+ "bugs": {
134
+ "url": "https://docs.vibes.dev/infra-deploy#support"
135
+ },
136
+ "peerDependenciesMeta": {
137
+ "@vibesdotdev/execution-local": {
138
+ "optional": true
139
+ },
140
+ "@vibesdotdev/integrations": {
141
+ "optional": true
142
+ },
143
+ "@vibesdotdev/surface-sveltekit": {
144
+ "optional": true
145
+ }
146
+ },
147
+ "gitHead": "6c90364649d9a94d238d81180ebb03adf5017263",
148
+ "_vibes_source": {
149
+ "repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
150
+ "sha": "6c90364649d9a94d238d81180ebb03adf5017263",
151
+ "workspaceDigest": "sha256:bf7d81191ab34adf86649e8a54051d2d896a2ff346cda7cc4ae6c5c0a23152fa"
84
152
  }
85
153
  }
package/SPEC.md DELETED
@@ -1,181 +0,0 @@
1
- # `@vibesdotdev/infra-deploy`
2
-
3
- User-facing infra-deploy surface for the vibes CLI. Anyone running `vibes` can
4
- declare a `deployment.config.ts` for their own app and ship it to their own
5
- cloud account — the package loads the config, **resolves the right
6
- `runtime/client` for the declared provider**, and asks it to run the deploy.
7
- Registered as a `runtime/plugin` consumed by
8
- [`apps/cli-bin`](../../apps/cli-bin/SPEC.md). Vibes uses the same surface to
9
- dogfood its own deploys. Commands are available under `vibes infra deploy …`.
10
- npm publishing support is available under `vibes infra npm …`.
11
-
12
- ## Owns
13
-
14
- - `runtime/plugin` (`infra-deploy`): registers `cli/group` `infra-deploy` and `cli/command`
15
- descriptors `infra-deploy.run`, `infra-deploy.list`, `infra-deploy.regenerate`,
16
- `infra-logs`, plus `cli/group` `infra-npm` and `cli/command`
17
- `infra-npm.publish`
18
- - **Config loader** (`./config-loader`): resolves
19
- `deployment.config.{ts,js,mjs}` from an app dir, validates the exported
20
- `AppDeployment`, returns
21
- `{ configPath, appDir, deployment, provider, raw, managed, wranglerJsoncString, workerName }`
22
- - **wrangler.jsonc regen orchestrator** (`./regenerate`): `regenerateApp`,
23
- `regenerateAll`, `regenExitCode`. Used by the CLI's
24
- `vibes infra deploy regenerate` command and as the pre-deploy drift gate
25
- in the CLI run handler. Comparison is read-only by default; `--write`
26
- rewrites the on-disk file.
27
- - **CLI dispatch** (`./cli/run`): translates an `AppDeployment` plus operator
28
- flags into the right `runtime/client` call. The dispatch knows the
29
- provider → client-id map and nothing about provider internals:
30
- - `provider: 'cloudflare-workers'` →
31
- `getCloudflareWorkersDeployClient()` (from
32
- `@vibesdotdev/connector-cloudflare/client`, runtime-client id
33
- `cloudflare-workers-deploy`)
34
- - `provider: 'digitalocean-app'` →
35
- `getDigitalOceanAppDeployClient()` (from
36
- `@vibesdotdev/infra-doks/client`, runtime-client id
37
- `digitalocean-app-deploy`)
38
- - **Deployment-run records** (`storage/manifest<DeploymentRun>` id `infra-deploy.deployment-runs`): both
39
- provider dispatch arms write a `DeploymentRun` row on dispatch — `{ appId,
40
- provider, status: 'started' | 'succeeded' | 'failed', startedAt, finishedAt,
41
- actorScope, deploymentConfigHash, providerResourceId, logsRef }`. Reads via
42
- `runtime.query('storage/manifest').withId('infra-deploy.deployment-runs')`.
43
- The manifest is registered by this package's plugin so any consumer (admin
44
- UI, `vibes infra deploy list`, MCP) resolves it through runtime.
45
- - **npm publish command** (`./cli/npm`): packs package directories, resolves an
46
- npm token through `secrets/store`, writes a temporary npm config outside the
47
- repo, publishes the tarball with npm, and deletes the temporary config.
48
-
49
- ## Does not own
50
-
51
- - `AppDeployment` schema → [`infra-core`](../infra-core/SPEC.md)
52
- (`@vibesdotdev/infra-core/deployment`)
53
- - Per-app `deployment.config.ts` files — each app (vibes-internal or
54
- end-user) authors its own
55
- - **The actual wrangler invocation** —
56
- [`@vibesdotdev/connector-cloudflare`](../connector-cloudflare) owns the
57
- `CloudflareWorkersDeployClient` (`runtime/client` id
58
- `cloudflare-workers-deploy`). `infra-deploy` resolves it via
59
- `getCloudflareWorkersDeployClient()`; it never imports
60
- `node:child_process` or shells out to `wrangler` directly.
61
- - **The actual DigitalOcean App Platform API call** —
62
- [`@vibesdotdev/infra-doks`](../infra-doks/SPEC.md) owns the
63
- `DigitalOceanAppDeployClient` (`runtime/client` id
64
- `digitalocean-app-deploy`). `infra-deploy` resolves it via
65
- `getDigitalOceanAppDeployClient()`; it never calls
66
- `https://api.digitalocean.com` directly.
67
- - Cloudflare runtime + tooling primitives →
68
- [`infra-cloudflare`](../infra-cloudflare/SPEC.md)
69
- - DigitalOcean infrastructure primitives →
70
- [`infra-doks`](../infra-doks/SPEC.md)
71
- - App build pipelines — the resolved deploy client runs each app's
72
- `deployment.build.buildCommand` (or skips it when `skipBuild` is set)
73
- - Long-lived cloud-account credentials → end-state pulls from
74
- [`packages/secrets`](../secrets/SPEC.md) (see migration debt)
75
- - CI/CD orchestration — this is a developer-local / ops-local CLI, not a
76
- workflow runner
77
- - Long-lived npm token files. `vibes infra npm publish` may create an
78
- ephemeral npm config in the OS temp directory for the duration of a publish,
79
- but it must not write a token to the workspace or user-level npm config.
80
-
81
- ## Hard rules
82
-
83
- - Provider dispatch is driven by `deployment.provider` from the loaded config.
84
- The CLI never branches on `hardware` / `connectionMode` / `isCloud`.
85
- - Unsupported `provider` values are a hard failure: `ui.error` +
86
- `process.exitCode = 1`. No silent default.
87
- - Provider work resolves via `runtime/client` lookups. The CLI does not
88
- import provider adapter code directly. Adding a new provider means:
89
- (1) the owning package registers a `runtime/client` descriptor + loader,
90
- (2) the owning package exposes a typed `getXyzDeployClient()` helper, and
91
- (3) the CLI dispatch case calls that helper. No new `./providers/<name>.ts`
92
- in this package.
93
- - `loadDeploymentConfig` requires the resolved object to carry `appId` and a
94
- string `provider`. Either missing is a hard failure.
95
- - Pre-deploy regen gate is mandatory for Cloudflare: the CLI run handler
96
- calls `regenerateApp(appDir, { mode: 'check' })` and refuses to deploy on
97
- `drift` or `error`. The gate is opt-in (`managed: true`) per app until
98
- every app is migrated.
99
- - The package never redefines the `AppDeployment` schema. It imports the
100
- type from `@vibesdotdev/infra-core/deployment`.
101
- - Both provider dispatch arms MUST write a `DeploymentRun` row through the
102
- `infra-deploy.deployment-runs` manifest before invoking the resolved
103
- client (status `started`) and on return (status `succeeded` or `failed`).
104
- A dispatch arm that runs without recording a run is a hard violation —
105
- there is no second history store, and downstream surfaces
106
- (`/admin/deployments`, `vibes infra deploy list`) read from this
107
- manifest only.
108
- - npm publish MUST pack first and publish the generated tarball from outside
109
- the workspace so repo-level `.npmrc` settings cannot redirect public npm
110
- packages to a private registry.
111
- - npm publish MUST require `--yes` for real publishes. `--dry-run` is allowed
112
- without a token.
113
- - npm publish token remote sync, when needed, should use `vibes secrets push`
114
- or `vibes secrets pull` with an explicit `--key NPM_TOKEN` filter and a
115
- dry-run first. Cloudflare secrets backends are write-only and cannot be used
116
- as pull sources for secret values.
117
-
118
- ## Migration debt (not yet executed)
119
-
120
- - [x] **Rename.** `packages/deploy` → `packages/infra-deploy`;
121
- `@vibesdotdev/deploy` → `@vibesdotdev/infra-deploy`.
122
- - [x] **CLI re-parent.** Commands now live under
123
- `vibes infra deploy run` / `vibes infra deploy list` /
124
- `vibes infra deploy regenerate`.
125
- - [x] **Dead flag.** `--commit-dirty` removed (was Pages-only; Pages provider
126
- was removed).
127
- - [x] **Wildcard subpath.** `./providers/*` removed from `package.json#exports`.
128
- - [x] **Provider relocation.** `src/providers/*` deleted. Wrangler-invocation
129
- logic moved to
130
- `@vibesdotdev/connector-cloudflare/client/CloudflareWorkersDeployClient`;
131
- DO App Platform logic moved to
132
- `@vibesdotdev/infra-doks/client/DigitalOceanAppDeployClient`. Each is a
133
- `runtime/client` descriptor registered by its owning plugin. The CLI run
134
- handler resolves both via published helpers.
135
- - **MCP / agent tool surface.** Provider operations (deploy, list, plus future
136
- `link-cloud-account`) should also register as `tools/tool` descriptors with
137
- `purpose: ['direct', 'mcp', 'agent']` per the pattern in
138
- [`packages/tools`](../tools/SPEC.md)
139
- (`tool-help.descriptor.ts:11-17`), so end-users and agents can invoke
140
- deploys via MCP. Zero `tools/tool` descriptors exist in this package today.
141
- - **Secrets integration.** `deployment.env` items marked `secret: true` are
142
- forwarded as inline string values today by the DO client and ignored
143
- entirely by the Cloudflare client. End-state: pull values via
144
- [`packages/secrets`](../secrets/SPEC.md) and push them to provider secret
145
- stores (`wrangler secret put` for Workers, `SECRET`-typed env on DO Apps).
146
- Inline `value` should be the dev-only fallback, not the default. Lives
147
- in the runtime-client implementations now.
148
- - **Cloud-account credential brokerage.** `DigitalOceanAppDeployClient`
149
- reads `process.env.DIGITALOCEAN_API_TOKEN` directly
150
- (`packages/infra-doks/src/client/digitalocean-app-deploy.client.ts`).
151
- The `digitalocean-droplet` impl in
152
- [`infra-doks`](../infra-doks/SPEC.md) faces the identical problem (same
153
- env fallback). End-state: end-users connect their own Cloudflare /
154
- DigitalOcean accounts through vibes auth +
155
- [`packages/secrets`](../secrets/SPEC.md); both `DigitalOceanAppDeployClient`
156
- and `do-droplet` resolve a shared
157
- `cloud-credentials.digitalocean.token` secret key per actor scope. The
158
- Cloudflare path inherits whatever `wrangler` finds — same shape, same
159
- problem.
160
-
161
- ## Public entrypoints
162
-
163
- `.`, `./plugin`, `./config-loader`, `./regenerate`.
164
-
165
- ## Verification
166
-
167
- `bun --bun tsc -p tsconfig.json --noEmit` (the package's `check` script).
168
- Type-check only — no automated tests on disk; see
169
- PROD-CHECKLIST.md for the gap list.
170
-
171
- ## Links
172
-
173
- - [infra-core/SPEC.md](../infra-core/SPEC.md)
174
- - [infra-cloudflare/SPEC.md](../infra-cloudflare/SPEC.md)
175
- - [infra-doks/SPEC.md](../infra-doks/SPEC.md)
176
- - [connector-cloudflare](../connector-cloudflare)
177
- - [secrets/SPEC.md](../secrets/SPEC.md)
178
- - [tools/SPEC.md](../tools/SPEC.md)
179
- - [runtime/SPEC.md](../runtime/SPEC.md)
180
- - [cli/SPEC.md](../cli/SPEC.md)
181
- - [cli-bin/SPEC.md](../../apps/cli-bin/SPEC.md)
@@ -1,61 +0,0 @@
1
- import { createRuntimeAsset } from '@vibesdotdev/runtime';
2
-
3
- export default createRuntimeAsset({
4
- id: 'infra-alerts.create',
5
- kind: 'cli/command',
6
- name: 'create',
7
- description: 'Create a new alert policy on the active provider',
8
- group: 'infra-alerts',
9
- arguments: [
10
- {
11
- name: 'type',
12
- description: 'Alert type: budget | usage | error-rate | latency | custom',
13
- required: true,
14
- variadic: false
15
- }
16
- ],
17
- options: [
18
- { flags: '--name <name>', description: 'Policy name (defaults to "<type> alert: <threshold>")' },
19
- {
20
- flags: '--threshold <n>',
21
- description: 'Threshold value (USD for budget; events/req/% per usage/error-rate)',
22
- default: '50'
23
- },
24
- {
25
- flags: '--window <window>',
26
- description: 'Rolling window for usage/error-rate/latency (5m, 15m, 1h, 6h, 24h, 7d, 30d)'
27
- },
28
- {
29
- flags: '--filter <k=v>',
30
- description: 'Adapter-specific filter (repeatable, e.g. --filter product=workers_observability_paid_events)',
31
- variadic: true
32
- },
33
- {
34
- flags: '--email <addr>',
35
- description: 'Email destination (repeatable)',
36
- variadic: true
37
- },
38
- {
39
- flags: '--webhook <url>',
40
- description: 'Webhook destination (repeatable)',
41
- variadic: true
42
- },
43
- {
44
- flags: '--provider <id>',
45
- description: 'Provider impl id (default: cloudflare-alerts when available)'
46
- },
47
- {
48
- flags: '--disabled',
49
- description: 'Create the policy in disabled state',
50
- default: false
51
- },
52
- {
53
- flags: '-o, --output <format>',
54
- description: 'Output format (text|json)',
55
- default: 'text'
56
- }
57
- ],
58
- surfaces: ['cli'],
59
- hardware: ['consumer', 'cloud'],
60
- enabled: true
61
- });
@@ -1,131 +0,0 @@
1
- /**
2
- * `vibes infra alerts create <type> --threshold ... --email ...`
3
- *
4
- * Creates one policy on the chosen provider. Resolves the impl via the
5
- * runtime, builds an `AlertPolicy` from CLI flags, and calls
6
- * `impl.createPolicy(policy)`. Reports the provider-assigned id on
7
- * success.
8
- */
9
-
10
- import { getVibesRuntime } from '@vibesdotdev/runtime';
11
- import { requestCLIExit, type UIContext } from '@vibesdotdev/cli/providers';
12
- import type {
13
- AlertsImplementation,
14
- AlertPolicy,
15
- AlertMechanism,
16
- AlertType,
17
- InfraAlertsDescriptor
18
- } from '@vibesdotdev/infra-core/kinds';
19
-
20
- function readString(v: unknown): string | undefined {
21
- return typeof v === 'string' && v.length > 0 ? v : undefined;
22
- }
23
-
24
- function readStringArray(v: unknown): string[] {
25
- if (Array.isArray(v)) return v.filter((x): x is string => typeof x === 'string');
26
- if (typeof v === 'string') return [v];
27
- return [];
28
- }
29
-
30
- const VALID_TYPES = new Set<AlertType>(['budget', 'usage', 'error-rate', 'latency', 'custom']);
31
-
32
- function parseFilters(raw: string[]): Record<string, string> {
33
- const out: Record<string, string> = {};
34
- for (const entry of raw) {
35
- const idx = entry.indexOf('=');
36
- if (idx <= 0) continue;
37
- out[entry.slice(0, idx)] = entry.slice(idx + 1);
38
- }
39
- return out;
40
- }
41
-
42
- export default {
43
- async execute(args: Record<string, unknown>, opts: Record<string, unknown>): Promise<void> {
44
- const runtime = await getVibesRuntime();
45
- const ui = (await runtime.context('cli/ui')) as UIContext;
46
-
47
- const typeArg = readString(args.type);
48
- if (!typeArg || !VALID_TYPES.has(typeArg as AlertType)) {
49
- ui.error(
50
- `Invalid alert type. Got "${typeArg ?? '(missing)'}". Expected one of: ${Array.from(VALID_TYPES).join(', ')}`
51
- );
52
- requestCLIExit(1);
53
- return;
54
- }
55
- const type = typeArg as AlertType;
56
-
57
- const thresholdRaw = readString(opts.threshold) ?? '50';
58
- const threshold = Number(thresholdRaw);
59
- if (!Number.isFinite(threshold) || threshold < 0) {
60
- ui.error(`Invalid --threshold "${thresholdRaw}"; must be a non-negative number.`);
61
- requestCLIExit(1);
62
- return;
63
- }
64
-
65
- const emails = readStringArray(opts.email);
66
- const webhooks = readStringArray(opts.webhook);
67
- const mechanisms: AlertMechanism[] = [
68
- ...emails.map((target): AlertMechanism => ({ kind: 'email', target })),
69
- ...webhooks.map((target): AlertMechanism => ({ kind: 'webhook', target }))
70
- ];
71
- if (mechanisms.length === 0) {
72
- ui.error('At least one --email or --webhook destination is required.');
73
- requestCLIExit(1);
74
- return;
75
- }
76
-
77
- const filters = parseFilters(readStringArray(opts.filter));
78
- const name = readString(opts.name) ?? `${type} alert: ${threshold}`;
79
- const window = readString(opts.window) as AlertPolicy['window'] | undefined;
80
- const enabled = !(opts.disabled === true || opts.disabled === 'true');
81
- const output = readString(opts.output) ?? 'text';
82
- const providerFilter = readString(opts.provider);
83
-
84
- const policy: AlertPolicy = {
85
- name,
86
- type,
87
- threshold,
88
- window,
89
- filters,
90
- mechanisms,
91
- enabled
92
- };
93
-
94
- if (!runtime.hasKind('infra/alerts')) {
95
- ui.error('infra/alerts kind not registered. Load a provider plugin (e.g. infra-cloudflare).');
96
- requestCLIExit(1);
97
- return;
98
- }
99
- const descriptors = runtime.assets('infra/alerts').descriptors() as InfraAlertsDescriptor[];
100
- const target = providerFilter
101
- ? descriptors.find((d) => d.adapter === providerFilter || d.id === providerFilter)
102
- : descriptors[0];
103
-
104
- if (!target) {
105
- ui.error(
106
- `No matching alerts provider${providerFilter ? ` for --provider "${providerFilter}"` : ''}.`
107
- );
108
- requestCLIExit(1);
109
- return;
110
- }
111
-
112
- try {
113
- const impl = (await runtime
114
- .query('infra/alerts')
115
- .withId(target.id)
116
- .resolve()) as AlertsImplementation;
117
- const { providerId } = await impl.createPolicy(policy);
118
-
119
- if (output === 'json') {
120
- ui.json({ provider: target.adapter, providerId, policy });
121
- } else {
122
- ui.success(
123
- `Created ${type} policy "${name}" on ${target.adapter} → providerId=${providerId}`
124
- );
125
- }
126
- } catch (err) {
127
- ui.error(`Failed to create policy: ${err instanceof Error ? err.message : String(err)}`);
128
- requestCLIExit(1);
129
- }
130
- }
131
- };
@@ -1,36 +0,0 @@
1
- import { createRuntimeAsset } from '@vibesdotdev/runtime';
2
-
3
- export default createRuntimeAsset({
4
- id: 'infra-alerts.delete',
5
- kind: 'cli/command',
6
- name: 'delete',
7
- description: 'Delete an alert policy by provider id',
8
- group: 'infra-alerts',
9
- arguments: [
10
- {
11
- name: 'providerId',
12
- description: 'Policy id on the provider (from `vibes infra alerts list`)',
13
- required: true,
14
- variadic: false
15
- }
16
- ],
17
- options: [
18
- {
19
- flags: '--provider <id>',
20
- description: 'Provider impl id (default: cloudflare-alerts when available)'
21
- },
22
- {
23
- flags: '-y, --yes',
24
- description: 'Skip confirmation prompt',
25
- default: false
26
- },
27
- {
28
- flags: '-o, --output <format>',
29
- description: 'Output format (text|json)',
30
- default: 'text'
31
- }
32
- ],
33
- surfaces: ['cli'],
34
- hardware: ['consumer', 'cloud'],
35
- enabled: true
36
- });