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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +76 -12
  3. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts +48 -35
  4. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts.map +1 -1
  5. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js +1 -1
  6. package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js.map +1 -1
  7. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts +2 -1
  8. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts.map +1 -1
  9. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js +31 -21
  10. package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js.map +1 -1
  11. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts +26 -27
  12. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts.map +1 -1
  13. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js +1 -1
  14. package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js.map +1 -1
  15. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts +2 -1
  16. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts.map +1 -1
  17. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js +11 -11
  18. package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js.map +1 -1
  19. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts +19 -17
  20. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts.map +1 -1
  21. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js +1 -1
  22. package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js.map +1 -1
  23. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts +2 -1
  24. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts.map +1 -1
  25. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js +15 -14
  26. package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js.map +1 -1
  27. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.d.ts +8 -8
  28. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js +1 -1
  29. package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js.map +1 -1
  30. package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts +24 -17
  31. package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts.map +1 -1
  32. package/dist/cli/audit/infra-audit.cli-command.descriptor.js +8 -3
  33. package/dist/cli/audit/infra-audit.cli-command.descriptor.js.map +1 -1
  34. package/dist/cli/audit/infra-audit.cli-command.impl.d.ts +164 -1
  35. package/dist/cli/audit/infra-audit.cli-command.impl.d.ts.map +1 -1
  36. package/dist/cli/audit/infra-audit.cli-command.impl.js +557 -76
  37. package/dist/cli/audit/infra-audit.cli-command.impl.js.map +1 -1
  38. package/dist/cli/db/infra-db.cli-command.descriptor.d.ts +49 -0
  39. package/dist/cli/db/infra-db.cli-command.descriptor.d.ts.map +1 -0
  40. package/dist/cli/db/infra-db.cli-command.descriptor.js +60 -0
  41. package/dist/cli/db/infra-db.cli-command.descriptor.js.map +1 -0
  42. package/dist/cli/db/infra-db.cli-command.impl.d.ts +30 -0
  43. package/dist/cli/db/infra-db.cli-command.impl.d.ts.map +1 -0
  44. package/dist/cli/db/infra-db.cli-command.impl.js +167 -0
  45. package/dist/cli/db/infra-db.cli-command.impl.js.map +1 -0
  46. package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts +6 -0
  47. package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts.map +1 -0
  48. package/dist/cli/dns/infra-dns-activate.cli-command.impl.js +53 -0
  49. package/dist/cli/dns/infra-dns-activate.cli-command.impl.js.map +1 -0
  50. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts +41 -0
  51. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts.map +1 -0
  52. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js +50 -0
  53. package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js.map +1 -0
  54. package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts +12 -0
  55. package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts.map +1 -0
  56. package/dist/cli/dns/infra-dns-delete.cli-command.impl.js +70 -0
  57. package/dist/cli/dns/infra-dns-delete.cli-command.impl.js.map +1 -0
  58. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts +32 -0
  59. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts.map +1 -0
  60. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js +39 -0
  61. package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js.map +1 -0
  62. package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts +17 -0
  63. package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts.map +1 -0
  64. package/dist/cli/dns/infra-dns-list.cli-command.impl.js +66 -0
  65. package/dist/cli/dns/infra-dns-list.cli-command.impl.js.map +1 -0
  66. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts +58 -0
  67. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts.map +1 -0
  68. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js +72 -0
  69. package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js.map +1 -0
  70. package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts +14 -0
  71. package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts.map +1 -0
  72. package/dist/cli/dns/infra-dns-set.cli-command.impl.js +110 -0
  73. package/dist/cli/dns/infra-dns-set.cli-command.impl.js.map +1 -0
  74. package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts +41 -0
  75. package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts.map +1 -0
  76. package/dist/cli/dns/infra-dns.cli-group.descriptor.js +47 -0
  77. package/dist/cli/dns/infra-dns.cli-group.descriptor.js.map +1 -0
  78. package/dist/cli/dns/resolve-dns-provider.d.ts +24 -0
  79. package/dist/cli/dns/resolve-dns-provider.d.ts.map +1 -0
  80. package/dist/cli/dns/resolve-dns-provider.js +62 -0
  81. package/dist/cli/dns/resolve-dns-provider.js.map +1 -0
  82. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts +37 -0
  83. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts.map +1 -0
  84. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js +45 -0
  85. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js.map +1 -0
  86. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts +15 -0
  87. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts.map +1 -0
  88. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js +78 -0
  89. package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js.map +1 -0
  90. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts +29 -0
  91. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts.map +1 -0
  92. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js +35 -0
  93. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js.map +1 -0
  94. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts +19 -0
  95. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts.map +1 -0
  96. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js +73 -0
  97. package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js.map +1 -0
  98. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts +41 -0
  99. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map +1 -0
  100. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js +50 -0
  101. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js.map +1 -0
  102. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts +16 -0
  103. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts.map +1 -0
  104. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js +81 -0
  105. package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js.map +1 -0
  106. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts +40 -0
  107. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts.map +1 -0
  108. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js +49 -0
  109. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js.map +1 -0
  110. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts +14 -0
  111. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts.map +1 -0
  112. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js +78 -0
  113. package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js.map +1 -0
  114. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts +12 -0
  115. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts.map +1 -0
  116. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js +12 -0
  117. package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js.map +1 -0
  118. package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts +25 -0
  119. package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts.map +1 -0
  120. package/dist/cli/edge-tls/resolve-edge-tls-provider.js +74 -0
  121. package/dist/cli/edge-tls/resolve-edge-tls-provider.js.map +1 -0
  122. package/dist/cli/infra-deploy.cli-group.descriptor.d.ts +8 -8
  123. package/dist/cli/infra-deploy.cli-group.descriptor.js +1 -1
  124. package/dist/cli/infra-deploy.cli-group.descriptor.js.map +1 -1
  125. package/dist/cli/infra.cli-group.descriptor.d.ts +7 -7
  126. package/dist/cli/infra.cli-group.descriptor.js +1 -1
  127. package/dist/cli/infra.cli-group.descriptor.js.map +1 -1
  128. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts +26 -0
  129. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts.map +1 -0
  130. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js +18 -0
  131. package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js.map +1 -0
  132. package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts +18 -0
  133. package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts.map +1 -0
  134. package/dist/cli/inventory/infra-inventory.cli-command.impl.js +204 -0
  135. package/dist/cli/inventory/infra-inventory.cli-command.impl.js.map +1 -0
  136. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts +40 -30
  137. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts.map +1 -1
  138. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js +7 -3
  139. package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js.map +1 -1
  140. package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts +35 -1
  141. package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts.map +1 -1
  142. package/dist/cli/list/infra-deploy.list.cli-command.impl.js +202 -20
  143. package/dist/cli/list/infra-deploy.list.cli-command.impl.js.map +1 -1
  144. package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts +113 -35
  145. package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts.map +1 -1
  146. package/dist/cli/logs/infra-logs.cli-command.descriptor.js +87 -3
  147. package/dist/cli/logs/infra-logs.cli-command.descriptor.js.map +1 -1
  148. package/dist/cli/logs/infra-logs.cli-command.impl.d.ts +61 -1
  149. package/dist/cli/logs/infra-logs.cli-command.impl.d.ts.map +1 -1
  150. package/dist/cli/logs/infra-logs.cli-command.impl.js +1160 -111
  151. package/dist/cli/logs/infra-logs.cli-command.impl.js.map +1 -1
  152. package/dist/cli/logs/stream-worker-tail.d.ts +7 -2
  153. package/dist/cli/logs/stream-worker-tail.d.ts.map +1 -1
  154. package/dist/cli/logs/stream-worker-tail.js +280 -113
  155. package/dist/cli/logs/stream-worker-tail.js.map +1 -1
  156. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts +62 -0
  157. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts.map +1 -0
  158. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js +79 -0
  159. package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js.map +1 -0
  160. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts +8 -0
  161. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts.map +1 -0
  162. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js +105 -0
  163. package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js.map +1 -0
  164. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts +34 -0
  165. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts.map +1 -0
  166. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js +42 -0
  167. package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js.map +1 -0
  168. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts +13 -0
  169. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts.map +1 -0
  170. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js +82 -0
  171. package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js.map +1 -0
  172. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts +80 -23
  173. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts.map +1 -1
  174. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js +48 -16
  175. package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js.map +1 -1
  176. package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts +47 -1
  177. package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts.map +1 -1
  178. package/dist/cli/npm/infra-npm-publish.cli-command.impl.js +532 -351
  179. package/dist/cli/npm/infra-npm-publish.cli-command.impl.js.map +1 -1
  180. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts +28 -0
  181. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts.map +1 -0
  182. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js +34 -0
  183. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js.map +1 -0
  184. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts +12 -0
  185. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts.map +1 -0
  186. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js +134 -0
  187. package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js.map +1 -0
  188. package/dist/cli/npm/infra-npm.cli-group.descriptor.d.ts +8 -8
  189. package/dist/cli/npm/infra-npm.cli-group.descriptor.js +1 -1
  190. package/dist/cli/npm/infra-npm.cli-group.descriptor.js.map +1 -1
  191. package/dist/cli/npm/mirror-registry-artifacts.d.ts +64 -0
  192. package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
  193. package/dist/cli/npm/mirror-registry-artifacts.js +114 -0
  194. package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
  195. package/dist/cli/npm/publish/command-options.d.ts +24 -0
  196. package/dist/cli/npm/publish/command-options.d.ts.map +1 -0
  197. package/dist/cli/npm/publish/command-options.js +85 -0
  198. package/dist/cli/npm/publish/command-options.js.map +1 -0
  199. package/dist/cli/npm/publish/concurrency.d.ts +19 -0
  200. package/dist/cli/npm/publish/concurrency.d.ts.map +1 -0
  201. package/dist/cli/npm/publish/concurrency.js +60 -0
  202. package/dist/cli/npm/publish/concurrency.js.map +1 -0
  203. package/dist/cli/npm/publish/consumer-smoke.d.ts +83 -0
  204. package/dist/cli/npm/publish/consumer-smoke.d.ts.map +1 -0
  205. package/dist/cli/npm/publish/consumer-smoke.js +371 -0
  206. package/dist/cli/npm/publish/consumer-smoke.js.map +1 -0
  207. package/dist/cli/npm/publish/consumer-surfaces.d.ts +81 -0
  208. package/dist/cli/npm/publish/consumer-surfaces.d.ts.map +1 -0
  209. package/dist/cli/npm/publish/consumer-surfaces.js +199 -0
  210. package/dist/cli/npm/publish/consumer-surfaces.js.map +1 -0
  211. package/dist/cli/npm/publish/external-requirements.d.ts +171 -0
  212. package/dist/cli/npm/publish/external-requirements.d.ts.map +1 -0
  213. package/dist/cli/npm/publish/external-requirements.js +365 -0
  214. package/dist/cli/npm/publish/external-requirements.js.map +1 -0
  215. package/dist/cli/npm/publish/forge-source-identity.d.ts +64 -0
  216. package/dist/cli/npm/publish/forge-source-identity.d.ts.map +1 -0
  217. package/dist/cli/npm/publish/forge-source-identity.js +201 -0
  218. package/dist/cli/npm/publish/forge-source-identity.js.map +1 -0
  219. package/dist/cli/npm/publish/fs-paths.d.ts +25 -0
  220. package/dist/cli/npm/publish/fs-paths.d.ts.map +1 -0
  221. package/dist/cli/npm/publish/fs-paths.js +87 -0
  222. package/dist/cli/npm/publish/fs-paths.js.map +1 -0
  223. package/dist/cli/npm/publish/lease-preflight-answer.d.ts +17 -0
  224. package/dist/cli/npm/publish/lease-preflight-answer.d.ts.map +1 -0
  225. package/dist/cli/npm/publish/lease-preflight-answer.js +35 -0
  226. package/dist/cli/npm/publish/lease-preflight-answer.js.map +1 -0
  227. package/dist/cli/npm/publish/lease-preflight.d.ts +92 -0
  228. package/dist/cli/npm/publish/lease-preflight.d.ts.map +1 -0
  229. package/dist/cli/npm/publish/lease-preflight.js +205 -0
  230. package/dist/cli/npm/publish/lease-preflight.js.map +1 -0
  231. package/dist/cli/npm/publish/managed-lease.d.ts +110 -0
  232. package/dist/cli/npm/publish/managed-lease.d.ts.map +1 -0
  233. package/dist/cli/npm/publish/managed-lease.js +191 -0
  234. package/dist/cli/npm/publish/managed-lease.js.map +1 -0
  235. package/dist/cli/npm/publish/npm-exec.d.ts +148 -0
  236. package/dist/cli/npm/publish/npm-exec.d.ts.map +1 -0
  237. package/dist/cli/npm/publish/npm-exec.js +311 -0
  238. package/dist/cli/npm/publish/npm-exec.js.map +1 -0
  239. package/dist/cli/npm/publish/package-artifact.d.ts +107 -0
  240. package/dist/cli/npm/publish/package-artifact.d.ts.map +1 -0
  241. package/dist/cli/npm/publish/package-artifact.js +418 -0
  242. package/dist/cli/npm/publish/package-artifact.js.map +1 -0
  243. package/dist/cli/npm/publish/platform-registry.d.ts +76 -0
  244. package/dist/cli/npm/publish/platform-registry.d.ts.map +1 -0
  245. package/dist/cli/npm/publish/platform-registry.js +324 -0
  246. package/dist/cli/npm/publish/platform-registry.js.map +1 -0
  247. package/dist/cli/npm/publish/proof-external-closure.d.ts +139 -0
  248. package/dist/cli/npm/publish/proof-external-closure.d.ts.map +1 -0
  249. package/dist/cli/npm/publish/proof-external-closure.js +339 -0
  250. package/dist/cli/npm/publish/proof-external-closure.js.map +1 -0
  251. package/dist/cli/npm/publish/proof-installed-graph.d.ts +26 -0
  252. package/dist/cli/npm/publish/proof-installed-graph.d.ts.map +1 -0
  253. package/dist/cli/npm/publish/proof-installed-graph.js +229 -0
  254. package/dist/cli/npm/publish/proof-installed-graph.js.map +1 -0
  255. package/dist/cli/npm/publish/proof-registry.d.ts +74 -0
  256. package/dist/cli/npm/publish/proof-registry.d.ts.map +1 -0
  257. package/dist/cli/npm/publish/proof-registry.js +335 -0
  258. package/dist/cli/npm/publish/proof-registry.js.map +1 -0
  259. package/dist/cli/npm/publish/proof-source-credentials.d.ts +42 -0
  260. package/dist/cli/npm/publish/proof-source-credentials.d.ts.map +1 -0
  261. package/dist/cli/npm/publish/proof-source-credentials.js +129 -0
  262. package/dist/cli/npm/publish/proof-source-credentials.js.map +1 -0
  263. package/dist/cli/npm/publish/publish-package.d.ts +66 -0
  264. package/dist/cli/npm/publish/publish-package.d.ts.map +1 -0
  265. package/dist/cli/npm/publish/publish-package.js +544 -0
  266. package/dist/cli/npm/publish/publish-package.js.map +1 -0
  267. package/dist/cli/npm/publish/publisher-manifest.d.ts +173 -0
  268. package/dist/cli/npm/publish/publisher-manifest.d.ts.map +1 -0
  269. package/dist/cli/npm/publish/publisher-manifest.js +79 -0
  270. package/dist/cli/npm/publish/publisher-manifest.js.map +1 -0
  271. package/dist/cli/npm/publish/rc-major-exception.d.ts +20 -0
  272. package/dist/cli/npm/publish/rc-major-exception.d.ts.map +1 -0
  273. package/dist/cli/npm/publish/rc-major-exception.js +46 -0
  274. package/dist/cli/npm/publish/rc-major-exception.js.map +1 -0
  275. package/dist/cli/npm/publish/registry-availability.d.ts +150 -0
  276. package/dist/cli/npm/publish/registry-availability.d.ts.map +1 -0
  277. package/dist/cli/npm/publish/registry-availability.js +570 -0
  278. package/dist/cli/npm/publish/registry-availability.js.map +1 -0
  279. package/dist/cli/npm/publish/registry-credentials.d.ts +108 -0
  280. package/dist/cli/npm/publish/registry-credentials.d.ts.map +1 -0
  281. package/dist/cli/npm/publish/registry-credentials.js +290 -0
  282. package/dist/cli/npm/publish/registry-credentials.js.map +1 -0
  283. package/dist/cli/npm/publish/registry-reads.d.ts +42 -0
  284. package/dist/cli/npm/publish/registry-reads.d.ts.map +1 -0
  285. package/dist/cli/npm/publish/registry-reads.js +164 -0
  286. package/dist/cli/npm/publish/registry-reads.js.map +1 -0
  287. package/dist/cli/npm/publish/release-build.d.ts +46 -0
  288. package/dist/cli/npm/publish/release-build.d.ts.map +1 -0
  289. package/dist/cli/npm/publish/release-build.js +140 -0
  290. package/dist/cli/npm/publish/release-build.js.map +1 -0
  291. package/dist/cli/npm/publish/release-consumer-proof.d.ts +70 -0
  292. package/dist/cli/npm/publish/release-consumer-proof.d.ts.map +1 -0
  293. package/dist/cli/npm/publish/release-consumer-proof.js +397 -0
  294. package/dist/cli/npm/publish/release-consumer-proof.js.map +1 -0
  295. package/dist/cli/npm/publish/release-executor.d.ts +46 -0
  296. package/dist/cli/npm/publish/release-executor.d.ts.map +1 -0
  297. package/dist/cli/npm/publish/release-executor.js +181 -0
  298. package/dist/cli/npm/publish/release-executor.js.map +1 -0
  299. package/dist/cli/npm/publish/release-grants.client.impl.d.ts +10 -0
  300. package/dist/cli/npm/publish/release-grants.client.impl.d.ts.map +1 -0
  301. package/dist/cli/npm/publish/release-grants.client.impl.js +63 -0
  302. package/dist/cli/npm/publish/release-grants.client.impl.js.map +1 -0
  303. package/dist/cli/npm/publish/release-jobs.client.d.ts +39 -0
  304. package/dist/cli/npm/publish/release-jobs.client.d.ts.map +1 -0
  305. package/dist/cli/npm/publish/release-jobs.client.js +124 -0
  306. package/dist/cli/npm/publish/release-jobs.client.js.map +1 -0
  307. package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts +20 -0
  308. package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts.map +1 -0
  309. package/dist/cli/npm/publish/release-jobs.consumer.plugin.js +82 -0
  310. package/dist/cli/npm/publish/release-jobs.consumer.plugin.js.map +1 -0
  311. package/dist/cli/npm/publish/release-jobs.impl.d.ts +15 -0
  312. package/dist/cli/npm/publish/release-jobs.impl.d.ts.map +1 -0
  313. package/dist/cli/npm/publish/release-jobs.impl.js +42 -0
  314. package/dist/cli/npm/publish/release-jobs.impl.js.map +1 -0
  315. package/dist/cli/npm/publish/release-lock.d.ts +143 -0
  316. package/dist/cli/npm/publish/release-lock.d.ts.map +1 -0
  317. package/dist/cli/npm/publish/release-lock.js +371 -0
  318. package/dist/cli/npm/publish/release-lock.js.map +1 -0
  319. package/dist/cli/npm/publish/release-phases.d.ts +93 -0
  320. package/dist/cli/npm/publish/release-phases.d.ts.map +1 -0
  321. package/dist/cli/npm/publish/release-phases.js +175 -0
  322. package/dist/cli/npm/publish/release-phases.js.map +1 -0
  323. package/dist/cli/npm/publish/release-plan.d.ts +65 -0
  324. package/dist/cli/npm/publish/release-plan.d.ts.map +1 -0
  325. package/dist/cli/npm/publish/release-plan.js +178 -0
  326. package/dist/cli/npm/publish/release-plan.js.map +1 -0
  327. package/dist/cli/npm/publish/release-preflight.job.impl.d.ts +16 -0
  328. package/dist/cli/npm/publish/release-preflight.job.impl.d.ts.map +1 -0
  329. package/dist/cli/npm/publish/release-preflight.job.impl.js +71 -0
  330. package/dist/cli/npm/publish/release-preflight.job.impl.js.map +1 -0
  331. package/dist/cli/npm/publish/release-publish.job.impl.d.ts +18 -0
  332. package/dist/cli/npm/publish/release-publish.job.impl.d.ts.map +1 -0
  333. package/dist/cli/npm/publish/release-publish.job.impl.js +295 -0
  334. package/dist/cli/npm/publish/release-publish.job.impl.js.map +1 -0
  335. package/dist/cli/npm/publish/release-workspace.d.ts +95 -0
  336. package/dist/cli/npm/publish/release-workspace.d.ts.map +1 -0
  337. package/dist/cli/npm/publish/release-workspace.js +243 -0
  338. package/dist/cli/npm/publish/release-workspace.js.map +1 -0
  339. package/dist/cli/npm/publish/sensitive-temp.d.ts +90 -0
  340. package/dist/cli/npm/publish/sensitive-temp.d.ts.map +1 -0
  341. package/dist/cli/npm/publish/sensitive-temp.js +351 -0
  342. package/dist/cli/npm/publish/sensitive-temp.js.map +1 -0
  343. package/dist/cli/npm/publish/source-snapshot.d.ts +91 -0
  344. package/dist/cli/npm/publish/source-snapshot.d.ts.map +1 -0
  345. package/dist/cli/npm/publish/source-snapshot.js +245 -0
  346. package/dist/cli/npm/publish/source-snapshot.js.map +1 -0
  347. package/dist/cli/npm/publish/types.d.ts +69 -0
  348. package/dist/cli/npm/publish/types.d.ts.map +1 -0
  349. package/dist/cli/npm/publish/types.js +2 -0
  350. package/dist/cli/npm/publish/types.js.map +1 -0
  351. package/dist/cli/npm/publish/workspace-discovery.d.ts +48 -0
  352. package/dist/cli/npm/publish/workspace-discovery.d.ts.map +1 -0
  353. package/dist/cli/npm/publish/workspace-discovery.js +313 -0
  354. package/dist/cli/npm/publish/workspace-discovery.js.map +1 -0
  355. package/dist/cli/npm/put-attested-packument.d.ts +96 -0
  356. package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
  357. package/dist/cli/npm/put-attested-packument.js +240 -0
  358. package/dist/cli/npm/put-attested-packument.js.map +1 -0
  359. package/dist/cli/npm/reconcile-latest.d.ts +55 -0
  360. package/dist/cli/npm/reconcile-latest.d.ts.map +1 -0
  361. package/dist/cli/npm/reconcile-latest.js +59 -0
  362. package/dist/cli/npm/reconcile-latest.js.map +1 -0
  363. package/dist/cli/observability/blind-spots.d.ts +10 -0
  364. package/dist/cli/observability/blind-spots.d.ts.map +1 -0
  365. package/dist/cli/observability/blind-spots.js +19 -0
  366. package/dist/cli/observability/blind-spots.js.map +1 -0
  367. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts +6 -0
  368. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts.map +1 -0
  369. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js +75 -0
  370. package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js.map +1 -0
  371. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts +42 -21
  372. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts.map +1 -1
  373. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js +3 -3
  374. package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js.map +1 -1
  375. package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts +3 -2
  376. package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts.map +1 -1
  377. package/dist/cli/observability/infra-observability-set.cli-command.impl.js +14 -14
  378. package/dist/cli/observability/infra-observability-set.cli-command.impl.js.map +1 -1
  379. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts +25 -17
  380. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts.map +1 -1
  381. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js +1 -1
  382. package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js.map +1 -1
  383. package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts +2 -1
  384. package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts.map +1 -1
  385. package/dist/cli/observability/infra-observability-status.cli-command.impl.js +30 -23
  386. package/dist/cli/observability/infra-observability-status.cli-command.impl.js.map +1 -1
  387. package/dist/cli/observability/infra-observability.cli-group.descriptor.d.ts +8 -8
  388. package/dist/cli/observability/infra-observability.cli-group.descriptor.js +1 -1
  389. package/dist/cli/observability/infra-observability.cli-group.descriptor.js.map +1 -1
  390. package/dist/cli/plugin.d.ts +3 -0
  391. package/dist/cli/plugin.d.ts.map +1 -0
  392. package/dist/cli/plugin.js +45 -0
  393. package/dist/cli/plugin.js.map +1 -0
  394. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts +38 -0
  395. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts.map +1 -0
  396. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js +43 -0
  397. package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js.map +1 -0
  398. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts +117 -0
  399. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts.map +1 -0
  400. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js +678 -0
  401. package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js.map +1 -0
  402. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts +37 -23
  403. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts.map +1 -1
  404. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js +7 -1
  405. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js.map +1 -1
  406. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts +2 -1
  407. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts.map +1 -1
  408. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js +100 -25
  409. package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js.map +1 -1
  410. package/dist/cli/release/cli/latest-manifest.d.ts +148 -0
  411. package/dist/cli/release/cli/latest-manifest.d.ts.map +1 -0
  412. package/dist/cli/release/cli/latest-manifest.js +152 -0
  413. package/dist/cli/release/cli/latest-manifest.js.map +1 -0
  414. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts +41 -0
  415. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts.map +1 -0
  416. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js +49 -0
  417. package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js.map +1 -0
  418. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts +16 -0
  419. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts.map +1 -0
  420. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js +52 -0
  421. package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js.map +1 -0
  422. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts +19 -17
  423. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts.map +1 -1
  424. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js +1 -1
  425. package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js.map +1 -1
  426. package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts +2 -1
  427. package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts.map +1 -1
  428. package/dist/cli/rum/infra-rum-status.cli-command.impl.js +21 -15
  429. package/dist/cli/rum/infra-rum-status.cli-command.impl.js.map +1 -1
  430. package/dist/cli/rum/infra-rum.cli-group.descriptor.d.ts +8 -8
  431. package/dist/cli/rum/infra-rum.cli-group.descriptor.js +1 -1
  432. package/dist/cli/rum/infra-rum.cli-group.descriptor.js.map +1 -1
  433. package/dist/cli/run/deploy-smoke.d.ts +57 -0
  434. package/dist/cli/run/deploy-smoke.d.ts.map +1 -0
  435. package/dist/cli/run/deploy-smoke.js +251 -0
  436. package/dist/cli/run/deploy-smoke.js.map +1 -0
  437. package/dist/cli/run/deployment-marker.d.ts +74 -0
  438. package/dist/cli/run/deployment-marker.d.ts.map +1 -0
  439. package/dist/cli/run/deployment-marker.js +237 -0
  440. package/dist/cli/run/deployment-marker.js.map +1 -0
  441. package/dist/cli/run/deployment-provider.d.ts +56 -0
  442. package/dist/cli/run/deployment-provider.d.ts.map +1 -0
  443. package/dist/cli/run/deployment-provider.js +295 -0
  444. package/dist/cli/run/deployment-provider.js.map +1 -0
  445. package/dist/cli/run/deployment-run-ledger.d.ts +72 -0
  446. package/dist/cli/run/deployment-run-ledger.d.ts.map +1 -0
  447. package/dist/cli/run/deployment-run-ledger.js +164 -0
  448. package/dist/cli/run/deployment-run-ledger.js.map +1 -0
  449. package/dist/cli/run/git-source-identity.d.ts +21 -0
  450. package/dist/cli/run/git-source-identity.d.ts.map +1 -0
  451. package/dist/cli/run/git-source-identity.js +73 -0
  452. package/dist/cli/run/git-source-identity.js.map +1 -0
  453. package/dist/cli/run/immutable-deployment-release.program.d.ts +403 -0
  454. package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
  455. package/dist/cli/run/immutable-deployment-release.program.js +589 -0
  456. package/dist/cli/run/immutable-deployment-release.program.js.map +1 -0
  457. package/dist/cli/run/immutable-deployment-workspace.d.ts +39 -0
  458. package/dist/cli/run/immutable-deployment-workspace.d.ts.map +1 -0
  459. package/dist/cli/run/immutable-deployment-workspace.js +525 -0
  460. package/dist/cli/run/immutable-deployment-workspace.js.map +1 -0
  461. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts +80 -23
  462. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts.map +1 -1
  463. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js +50 -8
  464. package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js.map +1 -1
  465. package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts +46 -1
  466. package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts.map +1 -1
  467. package/dist/cli/run/infra-deploy.run.cli-command.impl.js +464 -226
  468. package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
  469. package/dist/cli/shared/build-workspace-artifacts.d.ts +147 -0
  470. package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
  471. package/dist/cli/shared/build-workspace-artifacts.js +2013 -0
  472. package/dist/cli/shared/build-workspace-artifacts.js.map +1 -0
  473. package/dist/cli/shared/credential-source.d.ts +3 -0
  474. package/dist/cli/shared/credential-source.d.ts.map +1 -0
  475. package/dist/cli/shared/credential-source.js +19 -0
  476. package/dist/cli/shared/credential-source.js.map +1 -0
  477. package/dist/cli/shared/discover-deployments.d.ts +46 -5
  478. package/dist/cli/shared/discover-deployments.d.ts.map +1 -1
  479. package/dist/cli/shared/discover-deployments.js +167 -41
  480. package/dist/cli/shared/discover-deployments.js.map +1 -1
  481. package/dist/cli/shared/infer-apex-zone.d.ts +18 -0
  482. package/dist/cli/shared/infer-apex-zone.d.ts.map +1 -0
  483. package/dist/cli/shared/infer-apex-zone.js +75 -0
  484. package/dist/cli/shared/infer-apex-zone.js.map +1 -0
  485. package/dist/cli/shared/option-strings.d.ts +2 -0
  486. package/dist/cli/shared/option-strings.d.ts.map +1 -0
  487. package/dist/cli/shared/option-strings.js +13 -0
  488. package/dist/cli/shared/option-strings.js.map +1 -0
  489. package/dist/cli/shared/repository-collection.d.ts +42 -0
  490. package/dist/cli/shared/repository-collection.d.ts.map +1 -0
  491. package/dist/cli/shared/repository-collection.js +111 -0
  492. package/dist/cli/shared/repository-collection.js.map +1 -0
  493. package/dist/cli/shared/runtime-execution.d.ts +78 -0
  494. package/dist/cli/shared/runtime-execution.d.ts.map +1 -0
  495. package/dist/cli/shared/runtime-execution.js +182 -0
  496. package/dist/cli/shared/runtime-execution.js.map +1 -0
  497. package/dist/cli/shared/workspace-artifact-lock.d.ts +17 -0
  498. package/dist/cli/shared/workspace-artifact-lock.d.ts.map +1 -0
  499. package/dist/cli/shared/workspace-artifact-lock.js +37 -0
  500. package/dist/cli/shared/workspace-artifact-lock.js.map +1 -0
  501. package/dist/cli/workers/doks-worker-runtime.d.ts +238 -0
  502. package/dist/cli/workers/doks-worker-runtime.d.ts.map +1 -0
  503. package/dist/cli/workers/doks-worker-runtime.js +410 -0
  504. package/dist/cli/workers/doks-worker-runtime.js.map +1 -0
  505. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts +28 -0
  506. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts.map +1 -0
  507. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js +28 -0
  508. package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js.map +1 -0
  509. package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts +6 -0
  510. package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts.map +1 -0
  511. package/dist/cli/workers/infra-workers-apply.cli-command.impl.js +75 -0
  512. package/dist/cli/workers/infra-workers-apply.cli-command.impl.js.map +1 -0
  513. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts +31 -0
  514. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts.map +1 -0
  515. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js +32 -0
  516. package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js.map +1 -0
  517. package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts +6 -0
  518. package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts.map +1 -0
  519. package/dist/cli/workers/infra-workers-build.cli-command.impl.js +67 -0
  520. package/dist/cli/workers/infra-workers-build.cli-command.impl.js.map +1 -0
  521. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts +48 -0
  522. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts.map +1 -0
  523. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js +60 -0
  524. package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js.map +1 -0
  525. package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts +6 -0
  526. package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts.map +1 -0
  527. package/dist/cli/workers/infra-workers-logs.cli-command.impl.js +74 -0
  528. package/dist/cli/workers/infra-workers-logs.cli-command.impl.js.map +1 -0
  529. package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts +12 -0
  530. package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts.map +1 -0
  531. package/dist/cli/workers/infra-workers.cli-group.descriptor.js +12 -0
  532. package/dist/cli/workers/infra-workers.cli-group.descriptor.js.map +1 -0
  533. package/dist/config-loader.d.ts +60 -13
  534. package/dist/config-loader.d.ts.map +1 -1
  535. package/dist/config-loader.js +371 -104
  536. package/dist/config-loader.js.map +1 -1
  537. package/dist/declared-provider.d.ts +27 -0
  538. package/dist/declared-provider.d.ts.map +1 -0
  539. package/dist/declared-provider.js +46 -0
  540. package/dist/declared-provider.js.map +1 -0
  541. package/dist/deployment-collisions.d.ts +55 -0
  542. package/dist/deployment-collisions.d.ts.map +1 -0
  543. package/dist/deployment-collisions.js +70 -0
  544. package/dist/deployment-collisions.js.map +1 -0
  545. package/dist/deployment-environment.d.ts +57 -0
  546. package/dist/deployment-environment.d.ts.map +1 -0
  547. package/dist/deployment-environment.js +198 -0
  548. package/dist/deployment-environment.js.map +1 -0
  549. package/dist/deployment-settings.d.ts +27 -0
  550. package/dist/deployment-settings.d.ts.map +1 -0
  551. package/dist/deployment-settings.js +52 -0
  552. package/dist/deployment-settings.js.map +1 -0
  553. package/dist/deployment.config.descriptor.d.ts +59 -0
  554. package/dist/deployment.config.descriptor.d.ts.map +1 -0
  555. package/dist/deployment.config.descriptor.js +54 -0
  556. package/dist/deployment.config.descriptor.js.map +1 -0
  557. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts +29 -0
  558. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts.map +1 -0
  559. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js +35 -0
  560. package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js.map +1 -0
  561. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts +12 -0
  562. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map +1 -0
  563. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js +12 -0
  564. package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map +1 -0
  565. package/dist/index.d.ts +11 -3
  566. package/dist/index.d.ts.map +1 -1
  567. package/dist/index.js +11 -3
  568. package/dist/index.js.map +1 -1
  569. package/dist/infra-deploy.plugin.d.ts +2 -2
  570. package/dist/infra-deploy.plugin.d.ts.map +1 -1
  571. package/dist/infra-deploy.plugin.js +63 -20
  572. package/dist/infra-deploy.plugin.js.map +1 -1
  573. package/dist/logger.d.ts +10 -0
  574. package/dist/logger.d.ts.map +1 -0
  575. package/dist/logger.js +11 -0
  576. package/dist/logger.js.map +1 -0
  577. package/dist/migrations/migrate-workspace.d.ts +21 -0
  578. package/dist/migrations/migrate-workspace.d.ts.map +1 -0
  579. package/dist/migrations/migrate-workspace.js +83 -0
  580. package/dist/migrations/migrate-workspace.js.map +1 -0
  581. package/dist/migrations/run-migrate.d.ts +15 -0
  582. package/dist/migrations/run-migrate.d.ts.map +1 -0
  583. package/dist/migrations/run-migrate.js +314 -0
  584. package/dist/migrations/run-migrate.js.map +1 -0
  585. package/dist/regenerate.d.ts +52 -30
  586. package/dist/regenerate.d.ts.map +1 -1
  587. package/dist/regenerate.js +176 -148
  588. package/dist/regenerate.js.map +1 -1
  589. package/dist/runtime-execution.d.ts +5 -0
  590. package/dist/runtime-execution.d.ts.map +1 -0
  591. package/dist/runtime-execution.js +12 -0
  592. package/dist/runtime-execution.js.map +1 -0
  593. package/dist/schemas/migrate.d.ts +110 -0
  594. package/dist/schemas/migrate.d.ts.map +1 -0
  595. package/dist/schemas/migrate.js +55 -0
  596. package/dist/schemas/migrate.js.map +1 -0
  597. package/dist/schemas/proof-registry.d.ts +25 -0
  598. package/dist/schemas/proof-registry.d.ts.map +1 -0
  599. package/dist/schemas/proof-registry.js +24 -0
  600. package/dist/schemas/proof-registry.js.map +1 -0
  601. package/dist/schemas/release-grants.d.ts +7 -0
  602. package/dist/schemas/release-grants.d.ts.map +1 -0
  603. package/dist/schemas/release-grants.js +6 -0
  604. package/dist/schemas/release-grants.js.map +1 -0
  605. package/dist/schemas/release-jobs.d.ts +444 -0
  606. package/dist/schemas/release-jobs.d.ts.map +1 -0
  607. package/dist/schemas/release-jobs.js +204 -0
  608. package/dist/schemas/release-jobs.js.map +1 -0
  609. package/dist/schemas/service-release.d.ts +15 -0
  610. package/dist/schemas/service-release.d.ts.map +1 -0
  611. package/dist/schemas/service-release.js +13 -0
  612. package/dist/schemas/service-release.js.map +1 -0
  613. package/dist/schemas/worker-logs.d.ts +42 -0
  614. package/dist/schemas/worker-logs.d.ts.map +1 -0
  615. package/dist/schemas/worker-logs.js +29 -0
  616. package/dist/schemas/worker-logs.js.map +1 -0
  617. package/dist/storage/deployment-runs.schema.d.ts +199 -0
  618. package/dist/storage/deployment-runs.schema.d.ts.map +1 -0
  619. package/dist/storage/deployment-runs.schema.js +61 -0
  620. package/dist/storage/deployment-runs.schema.js.map +1 -0
  621. package/dist/storage/deployment-runs.storage.descriptor.d.ts +4 -0
  622. package/dist/storage/deployment-runs.storage.descriptor.d.ts.map +1 -0
  623. package/dist/storage/deployment-runs.storage.descriptor.js +36 -0
  624. package/dist/storage/deployment-runs.storage.descriptor.js.map +1 -0
  625. package/package.json +107 -38
  626. package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
  627. package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
  628. package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
  629. package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
  630. package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
  631. package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
  632. package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
  633. package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
  634. package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
  635. package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
  636. package/src/cli/infra.cli-group.descriptor.ts +0 -11
  637. package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
  638. package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
  639. package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
  640. package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
  641. package/src/cli/logs/stream-worker-tail.ts +0 -202
  642. package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
  643. package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
  644. package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
  645. package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
  646. package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
  647. package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
  648. package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
  649. package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
  650. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
  651. package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
  652. package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
  653. package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
  654. package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
  655. package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
  656. package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
  657. package/src/cli/shared/discover-deployments.ts +0 -127
  658. package/src/config-loader.ts +0 -179
  659. package/src/index.ts +0 -11
  660. package/src/infra-deploy.plugin.ts +0 -83
  661. package/src/regenerate.ts +0 -230
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutable-deployment-workspace.d.ts","sourceRoot":"","sources":["../../../src/cli/run/immutable-deployment-workspace.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAK5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAK7E,OAAO,EASN,KAAK,YAAY,EACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAMN,KAAK,wBAAwB,EAC7B,MAAM,oDAAoD,CAAC;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAyBnE,MAAM,WAAW,+BAA+B;IAC/C,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAC9C,QAAQ,CAAC,gBAAgB,EAAE,eAAe,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,cAAc,EAAE;QACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,QAAQ,CAAC,EAAE,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrE;AAED,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAmB1G;AA4ED;;;;;;GAMG;AACH,wBAAsB,wBAAwB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAqEvG;AA2GD,iGAAiG;AACjG,wBAAsB,gCAAgC,CACrD,KAAK,EAAE,+BAA+B,GACpC,OAAO,CAAC,uBAAuB,CAAC,CA8PlC"}
@@ -0,0 +1,525 @@
1
+ import { isCanonicalCliHostPlugin } from '@vibesdotdev/cli/bootstrap';
2
+ import environmentPlugin from '@vibesdotdev/config/environment/environment.plugin';
3
+ import configPlugin from '@vibesdotdev/config/plugin';
4
+ import { cryptoPlugin } from '@vibesdotdev/crypto';
5
+ import gitPlugin from '@vibesdotdev/git-operations/plugin';
6
+ import infraPlugin from '@vibesdotdev/infra-core/plugin';
7
+ import { runtimeAuthzPlugin } from '@vibesdotdev/kernel/authz/plugin';
8
+ import { parseConfigBlock } from '@vibesdotdev/kernel/bootstrap/app-config-contexts';
9
+ import { runtimeClientPlugin } from '@vibesdotdev/kernel/client';
10
+ import { CapabilityError, CaughtFailureSchema, getRuntimeHostIdentity, getRuntimePackagePlugins, settle } from '@vibesdotdev/kernel';
11
+ import { resolveSelection } from '@vibesdotdev/kernel/bootstrap';
12
+ import { RUNTIME_PLUGIN_HOST_KIND } from '@vibesdotdev/kernel/kinds/runtime-plugin-host.kind';
13
+ import { WireInvokeCallerSchema } from '@vibesdotdev/kernel/schemas/invoke-caller';
14
+ import { LOCAL_ATTESTED_SOURCE } from '@vibesdotdev/kernel-rpc';
15
+ import { RuntimeCommandRegistry } from '@vibesdotdev/kernel-rpc/daemon';
16
+ import { createRpcRoot } from '@vibesdotdev/kernel-rpc/daemon/rpc-root';
17
+ import { listenMessagePort } from '@vibesdotdev/kernel-rpc/messageport';
18
+ import { getRuntimePath } from '@vibesdotdev/paths';
19
+ import { parseSecretsStoreDescriptors } from '@vibesdotdev/secrets';
20
+ import jsonStoragePlugin from '@vibesdotdev/storage/adapters/json/plugin';
21
+ import storagePlugin from '@vibesdotdev/storage/plugin';
22
+ import * as z from 'zod/v4';
23
+ import { fromSerializedReleaseFailure, ImmutableDeploymentThreadMessageSchema, ImmutableDeploymentThreadPayloadSchema, PARENT_SECRETS_STORE_COMMAND, ParentSecretsStoreCommandSchema, RpcMessagePortSchema, toSerializedReleaseFailure } from "./immutable-deployment-release.program.js";
24
+ export async function resolveReleaseProgramHref(runtime, moduleRoot) {
25
+ const members = (await getRuntimePackagePlugins(runtime)).expandWorkspaceMembers(moduleRoot);
26
+ const selected = await resolveSelection(runtime, '@vibesdotdev/infra-deploy/cli/run/immutable-deployment-release.program', {
27
+ root: moduleRoot,
28
+ members,
29
+ contained: true
30
+ });
31
+ if ('missing' in selected) {
32
+ throw new CapabilityError('The retained workspace module graph does not admit the deployment release program.', 'UNAVAILABLE', {
33
+ reason: 'deployment-release-program-unavailable', cause: selected.cause
34
+ });
35
+ }
36
+ const paths = await getRuntimePath(runtime);
37
+ if (!paths.pathToFileURL) {
38
+ throw new CapabilityError('The runtime cannot convert the admitted release program path to a file URL.', 'UNAVAILABLE', {
39
+ reason: 'deployment-release-program-url-unavailable'
40
+ });
41
+ }
42
+ return paths.pathToFileURL(selected.realpath).href;
43
+ }
44
+ const CLI_EXECUTION_COMPOSITION_CONTEXT_ID = 'cli/execution-composition';
45
+ const CliExecutionCompositionFloorSchema = z.object({
46
+ floor: z.object({
47
+ plugins: z.array(z.string()).optional()
48
+ }).optional()
49
+ });
50
+ const THREAD_RECONSTRUCTED_FLOOR_PLUGINS = new Set([
51
+ storagePlugin,
52
+ jsonStoragePlugin,
53
+ configPlugin,
54
+ environmentPlugin,
55
+ gitPlugin,
56
+ cryptoPlugin,
57
+ infraPlugin
58
+ ]);
59
+ const CANONICAL_PARENT_HARNESS_PLUGINS = new Set([
60
+ runtimeClientPlugin,
61
+ runtimeAuthzPlugin
62
+ ]);
63
+ /**
64
+ * Inline floor loaders that stay on the parent. The release thread rebuilds
65
+ * the canonical CLI and infra floor, then composes the checkout. These are
66
+ * the executable surface and repair floor (`surfaceFloorPlugins` and
67
+ * `hostPluginFloor`), matched by the plugin's own id and text so a renamed
68
+ * stand-in is refused.
69
+ */
70
+ const CANONICAL_PARENT_ONLY_FLOOR = new Map([
71
+ ['workspace.exclusion', { description: 'The workspace exclusion kind and its built-in providers, composed on their own' }],
72
+ ['workspace.isolation', { name: 'Isolated Workspaces' }],
73
+ ['test.logging-preparation', { description: "Logging's Config-free host preparation on the test host's console output." }],
74
+ ['testing.infrastructure', { name: 'Test Infrastructure Checks' }],
75
+ ['test.runtime-mocks', { description: 'Runtime descriptors and loaders for a test harness' }],
76
+ ['test.fixture-secrets-store', { description: 'A real, minimal secrets/store answering the values passed to createTestRuntime({ secrets }).' }],
77
+ ['workspace.project-ref', { description: 'Canonical checkout-bound project identity context' }],
78
+ ['workspace-document', { description: 'Bound workspace environment and versioned document runtime kinds' }],
79
+ ['@vibesdotdev/plugins-cli', { description: 'Scoped Bun package plugin management and vibes update' }],
80
+ ['runtime-plugin', { description: 'Runtime introspection, daemon management, diagnostics' }],
81
+ ['runtime-plugin.cli', { description: 'Command-line projection for runtime diagnostics and daemon control' }],
82
+ ['vessel-launch', { name: 'Vessel launch contracts' }],
83
+ ['editor.cli', { name: 'Editor CLI' }]
84
+ ]);
85
+ const PARENT_ONLY_MOCK_CONTEXT_IDS = new Set([
86
+ 'pm/client',
87
+ 'runtime/build-surface',
88
+ 'config.config.storage'
89
+ ]);
90
+ function isAdmittedParentOnlyFloorPlugin(runtime, plugin) {
91
+ if (CANONICAL_PARENT_HARNESS_PLUGINS.has(plugin))
92
+ return true;
93
+ const expected = CANONICAL_PARENT_ONLY_FLOOR.get(plugin.id);
94
+ if (expected === undefined)
95
+ return false;
96
+ if (expected.description === undefined && expected.name === undefined)
97
+ return false;
98
+ if (expected.description !== undefined && plugin.description !== expected.description)
99
+ return false;
100
+ if (expected.name !== undefined && plugin.name !== expected.name)
101
+ return false;
102
+ if (plugin.id === 'test.runtime-mocks') {
103
+ for (const descriptor of runtime.query('context').descriptors()) {
104
+ if (runtime.descriptorOwner('context', descriptor.id) === plugin.id &&
105
+ !PARENT_ONLY_MOCK_CONTEXT_IDS.has(descriptor.id)) {
106
+ return false;
107
+ }
108
+ }
109
+ if (runtime.hasKind('runtime/client')) {
110
+ for (const descriptor of runtime.query('runtime/client').descriptors()) {
111
+ if (runtime.descriptorOwner('runtime/client', descriptor.id) === plugin.id) {
112
+ return false;
113
+ }
114
+ }
115
+ }
116
+ }
117
+ return true;
118
+ }
119
+ /**
120
+ * `RuntimeThreadCompositionSchema` only admits portable package specifiers
121
+ * (`PluginSpecifierListSchema`) across `workerData`; the canonical CLI and
122
+ * release host floor is reconstructed in the release thread by
123
+ * `RuntimeThreadProgram.floor(boot)` in `immutable-deployment-release.program.ts`,
124
+ * while custom inline floor closures or `selectionPolicy` functions fail closed.
125
+ */
126
+ export async function captureThreadComposition(runtime) {
127
+ const bootComposition = runtime.bootComposition;
128
+ if (bootComposition?.kind === 'workspace' && bootComposition.selectionPolicy !== undefined) {
129
+ throw new CapabilityError('The deployment runtime composition declares a non-portable plugin selection policy.', 'UNAVAILABLE', { reason: 'deployment-composition-nonportable' });
130
+ }
131
+ const floorPlugins = [];
132
+ const omittedParentFloorPluginIds = new Set();
133
+ if (runtime.hasContext(CLI_EXECUTION_COMPOSITION_CONTEXT_ID)) {
134
+ const parsedExecution = CliExecutionCompositionFloorSchema.safeParse(await runtime.context(CLI_EXECUTION_COMPOSITION_CONTEXT_ID));
135
+ if (!parsedExecution.success) {
136
+ throw new CapabilityError('The deployment runtime composition contains non-portable inline floor plugin loaders.', 'UNAVAILABLE', { reason: 'deployment-composition-nonportable' });
137
+ }
138
+ floorPlugins.push(...(parsedExecution.data.floor?.plugins ?? []));
139
+ }
140
+ else if (bootComposition?.kind === 'workspace') {
141
+ const seenFloorIds = new Set();
142
+ for (const entry of bootComposition.floor.plugins) {
143
+ if (!(entry instanceof Function)) {
144
+ floorPlugins.push(entry);
145
+ continue;
146
+ }
147
+ const loaded = await entry();
148
+ const plugin = 'default' in loaded ? loaded.default : loaded;
149
+ const isThreadReconstructed = isCanonicalCliHostPlugin(plugin) || THREAD_RECONSTRUCTED_FLOOR_PLUGINS.has(plugin);
150
+ const isParentOnlyFloor = !isThreadReconstructed && isAdmittedParentOnlyFloorPlugin(runtime, plugin);
151
+ if ((!isThreadReconstructed && !isParentOnlyFloor) || seenFloorIds.has(plugin.id) || !runtime.hasPlugin(plugin.id)) {
152
+ throw new CapabilityError('The deployment runtime composition contains non-portable inline floor plugin loaders.', 'UNAVAILABLE', { reason: 'deployment-composition-nonportable', details: { pluginId: plugin.id } });
153
+ }
154
+ seenFloorIds.add(plugin.id);
155
+ if (isParentOnlyFloor) {
156
+ omittedParentFloorPluginIds.add(plugin.id);
157
+ for (const child of runtime.pluginDescendants(plugin.id)) {
158
+ omittedParentFloorPluginIds.add(child);
159
+ }
160
+ }
161
+ }
162
+ }
163
+ const declaredFloorConfig = bootComposition?.kind === 'workspace' ? bootComposition.floor.config : undefined;
164
+ const parsedFloorConfig = declaredFloorConfig === undefined ? undefined : parseConfigBlock(declaredFloorConfig, 'floor');
165
+ const filteredFloorEntries = parsedFloorConfig === undefined
166
+ ? undefined
167
+ : Object.entries(parsedFloorConfig).filter(([id]) => !(id === 'workspace.isolation' && omittedParentFloorPluginIds.has('workspace.isolation')));
168
+ const floorConfig = filteredFloorEntries && filteredFloorEntries.length > 0
169
+ ? Object.fromEntries(filteredFloorEntries)
170
+ : undefined;
171
+ return {
172
+ floor: floorConfig === undefined ? { plugins: floorPlugins } : { plugins: floorPlugins, config: floorConfig },
173
+ global: bootComposition?.kind === 'workspace' ? bootComposition.global : false,
174
+ globalPlugins: bootComposition?.kind === 'workspace' ? bootComposition.globalPlugins : undefined,
175
+ omitSurfaces: bootComposition?.kind === 'workspace' ? bootComposition.omitSurfaces : undefined,
176
+ failurePolicy: bootComposition?.kind === 'workspace' ? bootComposition.failurePolicy : 'abort',
177
+ select: bootComposition?.kind === 'workspace' ? bootComposition.select : undefined
178
+ };
179
+ }
180
+ async function awaitReleaseThreadOutcome(input) {
181
+ const { worker, signal, invocation, assertSource, onLine, ui } = input;
182
+ const settledOutcome = Promise.withResolvers();
183
+ let settled = false;
184
+ const pendingVerifications = new Set();
185
+ let workerActive = true;
186
+ const exited = new Promise((resolve) => worker.on('exit', resolve));
187
+ const onAbort = () => {
188
+ if (workerActive) {
189
+ worker.postMessage({ type: 'abort' });
190
+ }
191
+ };
192
+ if (signal?.aborted) {
193
+ onAbort();
194
+ }
195
+ else {
196
+ signal?.addEventListener('abort', onAbort, { once: true });
197
+ }
198
+ worker.on('message', (raw) => {
199
+ const parsed = ImmutableDeploymentThreadMessageSchema.safeParse(raw);
200
+ if (!parsed.success)
201
+ return;
202
+ const message = parsed.data;
203
+ if (message.type === 'line') {
204
+ onLine(message.stream, message.line);
205
+ return;
206
+ }
207
+ if (message.type === 'ui') {
208
+ ui[message.level](message.message);
209
+ return;
210
+ }
211
+ if (message.type === 'assert-source') {
212
+ const verification = settle(() => invocation.run(() => assertSource()));
213
+ pendingVerifications.add(verification);
214
+ void verification.then((check) => {
215
+ pendingVerifications.delete(verification);
216
+ if (!workerActive || settled)
217
+ return;
218
+ if (check.ok) {
219
+ worker.postMessage({ type: 'assert-source-result', id: message.id, ok: true });
220
+ }
221
+ else {
222
+ worker.postMessage({
223
+ type: 'assert-source-result',
224
+ id: message.id,
225
+ ok: false,
226
+ error: toSerializedReleaseFailure(check.cause)
227
+ });
228
+ }
229
+ });
230
+ return;
231
+ }
232
+ if (message.type === 'result') {
233
+ settled = true;
234
+ settledOutcome.resolve(message.value);
235
+ return;
236
+ }
237
+ if (message.type === 'error') {
238
+ settled = true;
239
+ settledOutcome.reject(fromSerializedReleaseFailure(message.error));
240
+ }
241
+ });
242
+ worker.once('error', (error) => {
243
+ settled = true;
244
+ settledOutcome.reject(CaughtFailureSchema.parse(error));
245
+ });
246
+ void exited.then((code) => {
247
+ workerActive = false;
248
+ if (settled)
249
+ return;
250
+ settled = true;
251
+ settledOutcome.reject(new CapabilityError('The immutable deployment release thread exited before completing.', 'UNAVAILABLE', {
252
+ reason: 'deployment-release-thread-exited',
253
+ details: { exitCode: code }
254
+ }));
255
+ });
256
+ const outcome = await settle(() => settledOutcome.promise);
257
+ signal?.removeEventListener('abort', onAbort);
258
+ await exited;
259
+ workerActive = false;
260
+ const verifications = await Promise.all(pendingVerifications);
261
+ const verificationFailures = verifications.filter((check) => !check.ok && !(check.cause instanceof CapabilityError && check.cause.code === 'CANCELLED'));
262
+ if (!outcome.ok) {
263
+ if (verificationFailures.length > 0) {
264
+ throw new AggregateError([outcome.cause, ...verificationFailures.map((failure) => failure.cause)], 'Immutable deployment release and source verification both failed.', { cause: outcome.cause });
265
+ }
266
+ throw outcome.cause;
267
+ }
268
+ if (verificationFailures.length > 0) {
269
+ throw verificationFailures[0].cause;
270
+ }
271
+ return outcome.value;
272
+ }
273
+ /** One Workspace-owned composition remains claimed until its runtime thread drains and exits. */
274
+ export async function withImmutableDeploymentWorkspace(input) {
275
+ const invocation = input.runtime.captureInvocation();
276
+ const actor = input.runtime.scope.actor;
277
+ const tenancy = input.runtime.scope.tenancy;
278
+ const rawPrincipal = input.runtime.declaredScope.capabilities?.requestPrincipals === true
279
+ ? input.runtime.requestPrincipal()
280
+ : undefined;
281
+ const principal = rawPrincipal?.kind === 'user' ? undefined : rawPrincipal;
282
+ const signal = input.runtime.invocationSignal ?? input.runtime.lifecycle.signal;
283
+ const paths = await getRuntimePath(input.runtime);
284
+ const isolation = await input.runtime.query('workspace/isolation').resolve();
285
+ if (!isolation) {
286
+ throw new CapabilityError('Immutable deployment requires the composed Workspace isolation owner.', 'UNAVAILABLE', {
287
+ reason: 'deployment-workspace-isolation-unavailable'
288
+ });
289
+ }
290
+ const pluginHost = await input.runtime.query(RUNTIME_PLUGIN_HOST_KIND).resolve();
291
+ if (!pluginHost) {
292
+ throw new CapabilityError('Immutable deployment requires the runtime plugin host.', 'UNAVAILABLE', {
293
+ reason: 'deployment-plugin-host-unavailable'
294
+ });
295
+ }
296
+ const reference = await isolation.prepareComposition(input.repositoryRoot);
297
+ if (reference.parent.repoPath !== input.workspaceRoot ||
298
+ (input.expectedCommit !== undefined && reference.source.commit !== input.expectedCommit)) {
299
+ throw new CapabilityError('Deployment source identity does not match its admitted composition.', 'CONFLICT', {
300
+ reason: 'deployment-source-identity-mismatch'
301
+ });
302
+ }
303
+ const appRelative = paths.relative(input.repositoryRoot, input.appDir);
304
+ if (paths.isAbsolute(appRelative) || /^\.\.(?:[\\/]|$)/.test(appRelative)) {
305
+ throw new CapabilityError('The app is outside its source repository.', 'INVALID_INPUT', {
306
+ reason: 'deployment-app-outside-source'
307
+ });
308
+ }
309
+ const originalModuleRoot = (await getRuntimeHostIdentity(input.runtime)).hostRoot();
310
+ if (!originalModuleRoot) {
311
+ throw new CapabilityError('The host has no declared module graph root.', 'UNAVAILABLE', {
312
+ reason: 'deployment-module-root-unavailable'
313
+ });
314
+ }
315
+ const moduleRelative = paths.relative(reference.parent.repoPath, originalModuleRoot);
316
+ if (paths.isAbsolute(moduleRelative) || /^\.\.(?:[\\/]|$)/.test(moduleRelative)) {
317
+ throw new CapabilityError('The host module graph cannot be pinned by this composition.', 'UNAVAILABLE', {
318
+ reason: 'deployment-module-root-outside-composition'
319
+ });
320
+ }
321
+ const operationId = `infra-deploy-${crypto.randomUUID()}`;
322
+ const workspace = await isolation.create(operationId, input.repositoryRoot, {
323
+ composition: reference,
324
+ compose: true,
325
+ provision: false
326
+ });
327
+ let claimed = false;
328
+ const result = await settle(async () => {
329
+ await isolation.claimOperation(workspace.id, operationId);
330
+ claimed = true;
331
+ await isolation.provision(workspace.id);
332
+ await isolation.requireProvisioned(workspace.id);
333
+ const root = workspace.composition?.root;
334
+ if (!root || workspace.composition?.reference?.digest !== reference.digest) {
335
+ throw new CapabilityError('Workspace preparation lost its immutable composition receipt.', 'CONFLICT', {
336
+ reason: 'deployment-composition-receipt-mismatch'
337
+ });
338
+ }
339
+ const assertSource = async () => {
340
+ if (signal?.aborted) {
341
+ throw new CapabilityError('Deployment consumption was cancelled.', 'CANCELLED', {
342
+ reason: 'deployment-cancelled'
343
+ });
344
+ }
345
+ await isolation.verifyComposition(workspace.id, reference.digest);
346
+ };
347
+ await assertSource();
348
+ const appDir = paths.join(workspace.path, appRelative);
349
+ const moduleRoot = paths.join(root, moduleRelative);
350
+ const composition = await captureThreadComposition(input.runtime);
351
+ const { serve: _serve, ...qualifiers } = input.runtime.declaredScope.qualifiers;
352
+ const childCapabilities = rawPrincipal?.kind === 'user' && input.runtime.declaredScope.capabilities
353
+ ? { ...input.runtime.declaredScope.capabilities, requestPrincipals: false }
354
+ : input.runtime.declaredScope.capabilities;
355
+ const childScope = {
356
+ ...input.runtime.declaredScope,
357
+ qualifiers,
358
+ workspace: { root, access: 'write' }
359
+ };
360
+ const scope = childCapabilities !== undefined
361
+ ? { ...childScope, capabilities: childCapabilities }
362
+ : childScope;
363
+ const boot = await pluginHost.captureRuntimeThreadBoot(input.runtime, {
364
+ role: 'infra.deploy.release',
365
+ scope,
366
+ workspace: { root, cwd: appDir, moduleRoot },
367
+ composition
368
+ });
369
+ const rpcDeps = {
370
+ runtime: input.runtime,
371
+ getHealth: async () => {
372
+ throw new CapabilityError('Health checks are unavailable on the held deployment release channel.', 'UNAVAILABLE', {
373
+ reason: 'deployment-parent-rpc-health-unavailable'
374
+ });
375
+ },
376
+ subscriptionManager: {
377
+ activeCount: () => 0,
378
+ closeAll() { },
379
+ broadcast() { },
380
+ handleSubscribe: () => new Response(null)
381
+ }
382
+ };
383
+ const commands = new RuntimeCommandRegistry();
384
+ commands.register(PARENT_SECRETS_STORE_COMMAND, async (message, deps) => {
385
+ const outcome = await settle(async () => {
386
+ const parsed = ParentSecretsStoreCommandSchema.safeParse(message);
387
+ if (!parsed.success) {
388
+ throw new CapabilityError('Invalid parent secrets/store command payload.', 'INVALID_INPUT', {
389
+ reason: 'deployment-parent-secrets-invalid-command'
390
+ });
391
+ }
392
+ const cmd = parsed.data;
393
+ if (!deps.runtime.hasKind('secrets/store')) {
394
+ throw new CapabilityError('Parent runtime does not register the secrets/store kind.', 'UNAVAILABLE', {
395
+ reason: 'deployment-parent-secrets-kind-unavailable'
396
+ });
397
+ }
398
+ const store = await deps.runtime
399
+ .query('secrets/store')
400
+ .withId(cmd.storeId)
401
+ .resolve();
402
+ switch (cmd.op) {
403
+ case 'get': {
404
+ const value = await store.get(cmd.environment, cmd.key);
405
+ return { value: value ?? null };
406
+ }
407
+ case 'list': {
408
+ const entries = await store.list(cmd.environment);
409
+ return { entries };
410
+ }
411
+ case 'getAll': {
412
+ const values = await store.getAll(cmd.environment);
413
+ return { values };
414
+ }
415
+ case 'set': {
416
+ await store.set(cmd.environment, cmd.key, cmd.value);
417
+ return { ok: true };
418
+ }
419
+ case 'unset': {
420
+ await store.unset(cmd.environment, cmd.key);
421
+ return { ok: true };
422
+ }
423
+ case 'setAll': {
424
+ await store.setAll(cmd.environment, cmd.values);
425
+ return { ok: true };
426
+ }
427
+ }
428
+ });
429
+ if (outcome.ok) {
430
+ return { success: true, data: outcome.value };
431
+ }
432
+ return {
433
+ success: false,
434
+ failure: toSerializedReleaseFailure(outcome.cause)
435
+ };
436
+ }, { localOnly: true });
437
+ const secretStores = input.runtime.hasKind('secrets/store')
438
+ ? parseSecretsStoreDescriptors(input.runtime.assets('secrets/store').descriptors())
439
+ : [];
440
+ const rpcChannel = pluginHost.createMessageChannel();
441
+ const parentRpcPort = RpcMessagePortSchema.parse(rpcChannel.port1);
442
+ const childRpcPort = RpcMessagePortSchema.parse(rpcChannel.port2);
443
+ const rpcListener = listenMessagePort(parentRpcPort, {
444
+ root: createRpcRoot(() => rpcDeps, commands),
445
+ rootMethods: ['invoke', 'command'],
446
+ pipeline: input.runtime.invoke,
447
+ lifecycle: input.runtime.lifecycle,
448
+ verifiedPeer: {
449
+ source: LOCAL_ATTESTED_SOURCE,
450
+ caller: WireInvokeCallerSchema.parse(actor) ?? {}
451
+ },
452
+ runInvocation: (work) => invocation.run(work)
453
+ });
454
+ let portTransferred = false;
455
+ try {
456
+ const programHref = await resolveReleaseProgramHref(input.runtime, moduleRoot);
457
+ const payload = ImmutableDeploymentThreadPayloadSchema.parse({
458
+ appDir,
459
+ workspaceRoot: root,
460
+ repositoryRoot: workspace.path,
461
+ reference,
462
+ provider: input.provider,
463
+ appId: input.appId,
464
+ options: input.options,
465
+ selectedEnvironment: input.selectedEnvironment,
466
+ targetEnvironment: input.targetEnvironment,
467
+ wranglerEnvironmentOverride: input.wranglerEnvironmentOverride,
468
+ credentialSource: input.credentialSource,
469
+ skipBuild: input.skipBuild,
470
+ dryRun: input.dryRun,
471
+ sourceIdentity: {
472
+ commit: input.sourceIdentity.commit,
473
+ branch: input.sourceIdentity.branch
474
+ },
475
+ actor,
476
+ tenancy,
477
+ principal,
478
+ parentRpc: {
479
+ port: childRpcPort,
480
+ rootRef: rpcListener.rootRef,
481
+ secretStores
482
+ },
483
+ alreadyAborted: signal?.aborted === true
484
+ });
485
+ const worker = pluginHost.spawnRuntimeThread({
486
+ boot,
487
+ programHref,
488
+ payload,
489
+ transferList: [rpcChannel.port2]
490
+ });
491
+ portTransferred = true;
492
+ return await awaitReleaseThreadOutcome({
493
+ worker,
494
+ signal,
495
+ invocation,
496
+ assertSource,
497
+ onLine: input.onLine,
498
+ ui: input.ui
499
+ });
500
+ }
501
+ finally {
502
+ rpcListener.close();
503
+ if (!portTransferred) {
504
+ rpcChannel.port2.close();
505
+ }
506
+ }
507
+ });
508
+ const cleaned = await settle(() => invocation.finalize(async () => {
509
+ if (claimed)
510
+ await isolation.releaseOperation(workspace.id, operationId);
511
+ // This invocation owns the entire detached tree and every generated output in it.
512
+ await isolation.purge(workspace.id, { force: true });
513
+ }));
514
+ if (!result.ok && !cleaned.ok) {
515
+ throw new AggregateError([result.cause, cleaned.cause], 'Deployment consumption and Workspace cleanup failed.', {
516
+ cause: result.cause
517
+ });
518
+ }
519
+ if (!result.ok)
520
+ throw result.cause;
521
+ if (!cleaned.ok)
522
+ throw cleaned.cause;
523
+ return result.value;
524
+ }
525
+ //# sourceMappingURL=immutable-deployment-workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"immutable-deployment-workspace.js","sourceRoot":"","sources":["../../../src/cli/run/immutable-deployment-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,SAAS,MAAM,oCAAoC,CAAC;AAE3D,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCA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