@geekmidas/cli 10.0.0-alpha.140 → 10.0.0-alpha.142

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 (262) hide show
  1. package/dist/{EndpointGenerator-BMRL04ic.mjs → EndpointGenerator-CusLH-9S.mjs} +2 -2
  2. package/dist/{EndpointGenerator-BMRL04ic.mjs.map → EndpointGenerator-CusLH-9S.mjs.map} +1 -1
  3. package/dist/{EndpointGenerator-ePscnbwB.cjs → EndpointGenerator-DyLMYClE.cjs} +2 -2
  4. package/dist/{EndpointGenerator-ePscnbwB.cjs.map → EndpointGenerator-DyLMYClE.cjs.map} +1 -1
  5. package/dist/{GoDaddyProvider-BgY6mqoH.mjs → GoDaddyProvider-BIibcRG4.mjs} +2 -3
  6. package/dist/{GoDaddyProvider-BgY6mqoH.mjs.map → GoDaddyProvider-BIibcRG4.mjs.map} +1 -1
  7. package/dist/{GoDaddyProvider-C-rs22Zv.cjs → GoDaddyProvider-C7Zt4dVy.cjs} +5 -6
  8. package/dist/{GoDaddyProvider-C-rs22Zv.cjs.map → GoDaddyProvider-C7Zt4dVy.cjs.map} +1 -1
  9. package/dist/{HostingerProvider-DEqpvoiD.cjs → HostingerProvider-BVhFhzCW.cjs} +2 -2
  10. package/dist/{HostingerProvider-DEqpvoiD.cjs.map → HostingerProvider-BVhFhzCW.cjs.map} +1 -1
  11. package/dist/{HostingerProvider-CgMuKgO_.mjs → HostingerProvider-DSHpNBim.mjs} +2 -2
  12. package/dist/{HostingerProvider-CgMuKgO_.mjs.map → HostingerProvider-DSHpNBim.mjs.map} +1 -1
  13. package/dist/{LegacyStateStore-Dx65SWE9.mjs → LegacyStateStore-Bd2I3zz7.mjs} +3 -3
  14. package/dist/{LegacyStateStore-Dx65SWE9.mjs.map → LegacyStateStore-Bd2I3zz7.mjs.map} +1 -1
  15. package/dist/{LegacyStateStore-6xskEtld.cjs → LegacyStateStore-DzRGMFhs.cjs} +3 -3
  16. package/dist/{LegacyStateStore-6xskEtld.cjs.map → LegacyStateStore-DzRGMFhs.cjs.map} +1 -1
  17. package/dist/{LocalStateStore-DFtTtHty.cjs → LocalStateStore-Ci_tzIfp.cjs} +2 -2
  18. package/dist/{LocalStateStore-DFtTtHty.cjs.map → LocalStateStore-Ci_tzIfp.cjs.map} +1 -1
  19. package/dist/{LocalStateStore-Dto39TCx.mjs → LocalStateStore-CzNrVQd2.mjs} +2 -2
  20. package/dist/{LocalStateStore-Dto39TCx.mjs.map → LocalStateStore-CzNrVQd2.mjs.map} +1 -1
  21. package/dist/{OpenApiTsGenerator-B-PQLx8X.mjs → OpenApiTsGenerator-BTMuu1WS.mjs} +2 -2
  22. package/dist/{OpenApiTsGenerator-B-PQLx8X.mjs.map → OpenApiTsGenerator-BTMuu1WS.mjs.map} +1 -1
  23. package/dist/{OpenApiTsGenerator-BvacdbiG.cjs → OpenApiTsGenerator-CI-tceXV.cjs} +2 -2
  24. package/dist/{OpenApiTsGenerator-BvacdbiG.cjs.map → OpenApiTsGenerator-CI-tceXV.cjs.map} +1 -1
  25. package/dist/{S3StateStore-C01zMOYm.mjs → S3StateStore-DVtcCMEc.mjs} +4 -4
  26. package/dist/{S3StateStore-C01zMOYm.mjs.map → S3StateStore-DVtcCMEc.mjs.map} +1 -1
  27. package/dist/{S3StateStore-B-9ea-sX.cjs → S3StateStore-LrKb9lH7.cjs} +5 -5
  28. package/dist/{S3StateStore-B-9ea-sX.cjs.map → S3StateStore-LrKb9lH7.cjs.map} +1 -1
  29. package/dist/{SSMStateStore-k-4XM7mb.mjs → SSMStateStore-CNHYH6g7.mjs} +2 -2
  30. package/dist/{SSMStateStore-k-4XM7mb.mjs.map → SSMStateStore-CNHYH6g7.mjs.map} +1 -1
  31. package/dist/{SSMStateStore-CKArcPUh.cjs → SSMStateStore-CpkvL95K.cjs} +2 -2
  32. package/dist/{SSMStateStore-CKArcPUh.cjs.map → SSMStateStore-CpkvL95K.cjs.map} +1 -1
  33. package/dist/{SubscriberGenerator-DR4Y7ihK.cjs → SubscriberGenerator-BNJyPmXJ.cjs} +3 -3
  34. package/dist/{SubscriberGenerator-DR4Y7ihK.cjs.map → SubscriberGenerator-BNJyPmXJ.cjs.map} +1 -1
  35. package/dist/{SubscriberGenerator-DLPH-ynS.mjs → SubscriberGenerator-CzPrixYu.mjs} +3 -3
  36. package/dist/{SubscriberGenerator-DLPH-ynS.mjs.map → SubscriberGenerator-CzPrixYu.mjs.map} +1 -1
  37. package/dist/{add-BgzsYxUq.cjs → add-AlV6_ljM.cjs} +18 -17
  38. package/dist/{add-BgzsYxUq.cjs.map → add-AlV6_ljM.cjs.map} +1 -1
  39. package/dist/{add-CiIrpOb9.mjs → add-B51nMuUd.mjs} +8 -7
  40. package/dist/{add-CiIrpOb9.mjs.map → add-B51nMuUd.mjs.map} +1 -1
  41. package/dist/apps-C1KiJqth.mjs +4593 -0
  42. package/dist/apps-C1KiJqth.mjs.map +1 -0
  43. package/dist/apps-CPdR2pYw.cjs +5002 -0
  44. package/dist/apps-CPdR2pYw.cjs.map +1 -0
  45. package/dist/{bundler-DKxuDoVL.cjs → bundler-B-hw8rJi.cjs} +33 -9
  46. package/dist/bundler-B-hw8rJi.cjs.map +1 -0
  47. package/dist/{bundler-C4uMSy8e.mjs → bundler-DbIt3a6I.mjs} +34 -10
  48. package/dist/bundler-DbIt3a6I.mjs.map +1 -0
  49. package/dist/{cli-na0npMhC.cjs → cli-6eYxU_Q2.cjs} +4 -4
  50. package/dist/{cli-na0npMhC.cjs.map → cli-6eYxU_Q2.cjs.map} +1 -1
  51. package/dist/{cli-Bm2is6R_.mjs → cli-CmmrPCM_.mjs} +4 -4
  52. package/dist/{cli-Bm2is6R_.mjs.map → cli-CmmrPCM_.mjs.map} +1 -1
  53. package/dist/compose-B2dCLbrc.cjs +1895 -0
  54. package/dist/compose-B2dCLbrc.cjs.map +1 -0
  55. package/dist/{compose-CVatM7Cl.mjs → compose-DVARqEeR.mjs} +16 -1830
  56. package/dist/compose-DVARqEeR.mjs.map +1 -0
  57. package/dist/{compose-D8U9ygdm.cjs → compose-D_fNsrkx.cjs} +101 -1969
  58. package/dist/compose-D_fNsrkx.cjs.map +1 -0
  59. package/dist/compose-kOpW9Pa1.mjs +1554 -0
  60. package/dist/compose-kOpW9Pa1.mjs.map +1 -0
  61. package/dist/config-BKpzKP6W.mjs +659 -0
  62. package/dist/config-BKpzKP6W.mjs.map +1 -0
  63. package/dist/config-QAqAEgb0.cjs +772 -0
  64. package/dist/config-QAqAEgb0.cjs.map +1 -0
  65. package/dist/config.cjs +16 -419
  66. package/dist/config.mjs +2 -405
  67. package/dist/{credentialSchemas-DZ2Nh5li.cjs → credentialSchemas-BAklWDna.cjs} +4 -5
  68. package/dist/{credentialSchemas-DZ2Nh5li.cjs.map → credentialSchemas-BAklWDna.cjs.map} +1 -1
  69. package/dist/{credentialSchemas-DUCSYl9a.mjs → credentialSchemas-mz9QZTYh.mjs} +2 -3
  70. package/dist/{credentialSchemas-DUCSYl9a.mjs.map → credentialSchemas-mz9QZTYh.mjs.map} +1 -1
  71. package/dist/credentials-CIpa4Hgs.cjs +2336 -0
  72. package/dist/credentials-CIpa4Hgs.cjs.map +1 -0
  73. package/dist/credentials-CWa7hRXd.mjs +1851 -0
  74. package/dist/credentials-CWa7hRXd.mjs.map +1 -0
  75. package/dist/{databases-P824RTnx.cjs → databases-DawSdqBI.cjs} +2 -2
  76. package/dist/{databases-P824RTnx.cjs.map → databases-DawSdqBI.cjs.map} +1 -1
  77. package/dist/{databases-Db48ZIXL.mjs → databases-mzSUFBTw.mjs} +2 -2
  78. package/dist/{databases-Db48ZIXL.mjs.map → databases-mzSUFBTw.mjs.map} +1 -1
  79. package/dist/deploy/public.cjs +24 -24
  80. package/dist/deploy/public.cjs.map +1 -1
  81. package/dist/deploy/public.d.cts.map +1 -1
  82. package/dist/deploy/public.d.mts.map +1 -1
  83. package/dist/deploy/public.mjs +13 -13
  84. package/dist/{deploy-DrQB7ytj.cjs → deploy-CjJ447kd.cjs} +73 -72
  85. package/dist/{deploy-DrQB7ytj.cjs.map → deploy-CjJ447kd.cjs.map} +1 -1
  86. package/dist/{deploy-CDcO08Xz.mjs → deploy-DqJiCwI9.mjs} +16 -15
  87. package/dist/{deploy-CDcO08Xz.mjs.map → deploy-DqJiCwI9.mjs.map} +1 -1
  88. package/dist/{discover-yqeJ2Bx7.cjs → discover-CRywE7yc.cjs} +157 -6
  89. package/dist/discover-CRywE7yc.cjs.map +1 -0
  90. package/dist/{discover-B2m8ytyq.mjs → discover-DbDrCQ8h.mjs} +117 -8
  91. package/dist/discover-DbDrCQ8h.mjs.map +1 -0
  92. package/dist/docker-CCzFCus7.mjs +1407 -0
  93. package/dist/docker-CCzFCus7.mjs.map +1 -0
  94. package/dist/docker-DK4rmb0u.cjs +1514 -0
  95. package/dist/docker-DK4rmb0u.cjs.map +1 -0
  96. package/dist/{dokploy-k4_ZN8zN.mjs → dokploy-B5_Y5wf0.mjs} +2 -2
  97. package/dist/{dokploy-k4_ZN8zN.mjs.map → dokploy-B5_Y5wf0.mjs.map} +1 -1
  98. package/dist/{dokploy-BKjPDvSN.cjs → dokploy-EJKX2T7M.cjs} +2 -2
  99. package/dist/{dokploy-BKjPDvSN.cjs.map → dokploy-EJKX2T7M.cjs.map} +1 -1
  100. package/dist/{drivers-C47nm-wB.cjs → drivers-aM87NQJi.cjs} +4 -91
  101. package/dist/drivers-aM87NQJi.cjs.map +1 -0
  102. package/dist/{drivers-CDjpjakg.mjs → drivers-uxLBq3e3.mjs} +3 -60
  103. package/dist/drivers-uxLBq3e3.mjs.map +1 -0
  104. package/dist/{eas-Bg4dI6n2.cjs → eas-AqSay-vE.cjs} +6 -6
  105. package/dist/{eas-Bg4dI6n2.cjs.map → eas-AqSay-vE.cjs.map} +1 -1
  106. package/dist/{eas-B1wBvwPH.mjs → eas-BQlD6Z-u.mjs} +3 -3
  107. package/dist/{eas-B1wBvwPH.mjs.map → eas-BQlD6Z-u.mjs.map} +1 -1
  108. package/dist/{encryption-DL_y8t6V.cjs → encryption-B6_aL5d-.cjs} +6 -6
  109. package/dist/{encryption-DL_y8t6V.cjs.map → encryption-B6_aL5d-.cjs.map} +1 -1
  110. package/dist/{encryption-Bve0PVOo.mjs → encryption-Dlh5mcE1.mjs} +3 -3
  111. package/dist/{encryption-Bve0PVOo.mjs.map → encryption-Dlh5mcE1.mjs.map} +1 -1
  112. package/dist/{engine-BhR5lt_V.cjs → engine-BAkmPI2z.cjs} +99 -97
  113. package/dist/{engine-BhR5lt_V.cjs.map → engine-BAkmPI2z.cjs.map} +1 -1
  114. package/dist/{engine-HMLf20iZ.mjs → engine-D3P2P6RK.mjs} +12 -10
  115. package/dist/{engine-HMLf20iZ.mjs.map → engine-D3P2P6RK.mjs.map} +1 -1
  116. package/dist/{github-B2hJVl-n.cjs → github-DokGIXT-.cjs} +18 -17
  117. package/dist/{github-B2hJVl-n.cjs.map → github-DokGIXT-.cjs.map} +1 -1
  118. package/dist/{github-DKn9ACi2.mjs → github-STWxD6cu.mjs} +9 -8
  119. package/dist/{github-DKn9ACi2.mjs.map → github-STWxD6cu.mjs.map} +1 -1
  120. package/dist/{googlePlay-DtuN0-7D.cjs → googlePlay-DL0htRJD.cjs} +5 -5
  121. package/dist/{googlePlay-DtuN0-7D.cjs.map → googlePlay-DL0htRJD.cjs.map} +1 -1
  122. package/dist/{googlePlay-CWq7ND_X.mjs → googlePlay-uAyXzxlu.mjs} +5 -5
  123. package/dist/{googlePlay-CWq7ND_X.mjs.map → googlePlay-uAyXzxlu.mjs.map} +1 -1
  124. package/dist/index.cjs +196 -192
  125. package/dist/index.cjs.map +1 -1
  126. package/dist/index.mjs +70 -66
  127. package/dist/index.mjs.map +1 -1
  128. package/dist/{local-OPC9BCZt.cjs → local-C6ndR_Wx.cjs} +6 -6
  129. package/dist/{local-OPC9BCZt.cjs.map → local-C6ndR_Wx.cjs.map} +1 -1
  130. package/dist/{local-B7Zv1NoA.mjs → local-CC7rdmgg.mjs} +3 -3
  131. package/dist/{local-B7Zv1NoA.mjs.map → local-CC7rdmgg.mjs.map} +1 -1
  132. package/dist/{migrate-BLVZqHtN.cjs → migrate-BbJUJ4CY.cjs} +6 -6
  133. package/dist/{migrate-BLVZqHtN.cjs.map → migrate-BbJUJ4CY.cjs.map} +1 -1
  134. package/dist/{migrate-iUui7B4q.cjs → migrate-CMurhHuj.cjs} +15 -13
  135. package/dist/{migrate-iUui7B4q.cjs.map → migrate-CMurhHuj.cjs.map} +1 -1
  136. package/dist/{migrate-W0ruUNb9.mjs → migrate-D079sADO.mjs} +3 -3
  137. package/dist/{migrate-W0ruUNb9.mjs.map → migrate-D079sADO.mjs.map} +1 -1
  138. package/dist/{migrate-DCvD4RJW.mjs → migrate-D27h4H79.mjs} +7 -5
  139. package/dist/{migrate-DCvD4RJW.mjs.map → migrate-D27h4H79.mjs.map} +1 -1
  140. package/dist/notes-B655tUny.cjs +500 -0
  141. package/dist/notes-B655tUny.cjs.map +1 -0
  142. package/dist/notes-wPJlNUj7.mjs +399 -0
  143. package/dist/notes-wPJlNUj7.mjs.map +1 -0
  144. package/dist/openapi.cjs +4 -5
  145. package/dist/openapi.cjs.map +1 -1
  146. package/dist/openapi.mjs +3 -4
  147. package/dist/openapi.mjs.map +1 -1
  148. package/dist/{projectBucket-BBbQ1lHF.cjs → projectBucket-Bs8ftcgB.cjs} +2 -2
  149. package/dist/{projectBucket-BBbQ1lHF.cjs.map → projectBucket-Bs8ftcgB.cjs.map} +1 -1
  150. package/dist/{projectBucket-C_DN4WzF.mjs → projectBucket-XVxyvW1y.mjs} +2 -2
  151. package/dist/{projectBucket-C_DN4WzF.mjs.map → projectBucket-XVxyvW1y.mjs.map} +1 -1
  152. package/dist/{publish-CxIBBD3b.mjs → publish-B9BNIaf2.mjs} +2 -2
  153. package/dist/{publish-CxIBBD3b.mjs.map → publish-B9BNIaf2.mjs.map} +1 -1
  154. package/dist/{publish-CqvDA5ry.cjs → publish-Bwgb-1JN.cjs} +2 -2
  155. package/dist/{publish-CqvDA5ry.cjs.map → publish-Bwgb-1JN.cjs.map} +1 -1
  156. package/dist/{ready-DuU0FXSj.cjs → ready-BNh3zsSn.cjs} +6 -6
  157. package/dist/{ready-DuU0FXSj.cjs.map → ready-BNh3zsSn.cjs.map} +1 -1
  158. package/dist/{ready-CGqJ74Kt.mjs → ready-g25dcGzK.mjs} +6 -6
  159. package/dist/{ready-CGqJ74Kt.mjs.map → ready-g25dcGzK.mjs.map} +1 -1
  160. package/dist/reconcile/public.cjs +1 -1
  161. package/dist/reconcile/public.mjs +1 -1
  162. package/dist/{resolve-CMC0MI0Z.mjs → resolve-DheFxtmy.mjs} +4 -4
  163. package/dist/{resolve-CMC0MI0Z.mjs.map → resolve-DheFxtmy.mjs.map} +1 -1
  164. package/dist/{resolve-BEVVvi13.cjs → resolve-Dir9EjMu.cjs} +4 -4
  165. package/dist/{resolve-BEVVvi13.cjs.map → resolve-Dir9EjMu.cjs.map} +1 -1
  166. package/dist/{rollback-CZiQkukY.mjs → rollback-BWAB77F9.mjs} +8 -8
  167. package/dist/{rollback-CZiQkukY.mjs.map → rollback-BWAB77F9.mjs.map} +1 -1
  168. package/dist/{rollback-e0zGkaBx.cjs → rollback-CrtuUKqe.cjs} +11 -11
  169. package/dist/{rollback-e0zGkaBx.cjs.map → rollback-CrtuUKqe.cjs.map} +1 -1
  170. package/dist/{s3-BKnL6YGQ.cjs → s3-DKJfDHUQ.cjs} +2 -2
  171. package/dist/{s3-BKnL6YGQ.cjs.map → s3-DKJfDHUQ.cjs.map} +1 -1
  172. package/dist/{s3-DW7SLsb8.mjs → s3-DNp8U0Ea.mjs} +2 -2
  173. package/dist/{s3-DW7SLsb8.mjs.map → s3-DNp8U0Ea.mjs.map} +1 -1
  174. package/dist/sandbox/credentials-worker.cjs +3 -4
  175. package/dist/sandbox/credentials-worker.cjs.map +1 -1
  176. package/dist/sandbox/credentials-worker.mjs +2 -3
  177. package/dist/sandbox/credentials-worker.mjs.map +1 -1
  178. package/dist/sandbox/discover-worker.cjs +1 -1
  179. package/dist/sandbox/discover-worker.mjs +1 -1
  180. package/dist/sandbox/migrate-worker.cjs +3 -4
  181. package/dist/sandbox/migrate-worker.cjs.map +1 -1
  182. package/dist/sandbox/migrate-worker.mjs +2 -3
  183. package/dist/sandbox/migrate-worker.mjs.map +1 -1
  184. package/dist/seeds-B3xvUAQf.cjs +363 -0
  185. package/dist/seeds-B3xvUAQf.cjs.map +1 -0
  186. package/dist/seeds-BCC8vAXR.mjs +298 -0
  187. package/dist/seeds-BCC8vAXR.mjs.map +1 -0
  188. package/dist/{serverSetup-D2Xzsp2t.cjs → serverSetup-BVL9HhNE.cjs} +9 -8
  189. package/dist/{serverSetup-D2Xzsp2t.cjs.map → serverSetup-BVL9HhNE.cjs.map} +1 -1
  190. package/dist/{serverSetup-C3Tt9X1R.mjs → serverSetup-D---hcyW.mjs} +7 -6
  191. package/dist/{serverSetup-C3Tt9X1R.mjs.map → serverSetup-D---hcyW.mjs.map} +1 -1
  192. package/dist/{sniffer-BWgXPFAt.cjs → sniffer-BjHnOaCe.cjs} +9 -10
  193. package/dist/{sniffer-BWgXPFAt.cjs.map → sniffer-BjHnOaCe.cjs.map} +1 -1
  194. package/dist/{sniffer-eEF_fIId.mjs → sniffer-DOyzfgPF.mjs} +8 -9
  195. package/dist/{sniffer-eEF_fIId.mjs.map → sniffer-DOyzfgPF.mjs.map} +1 -1
  196. package/dist/{snsSubscriptions-BSoqUgsq.mjs → snsSubscriptions-Cf5DZfO5.mjs} +4 -453
  197. package/dist/snsSubscriptions-Cf5DZfO5.mjs.map +1 -0
  198. package/dist/{snsSubscriptions-Y9declDd.cjs → snsSubscriptions-DB0iRByH.cjs} +12 -559
  199. package/dist/snsSubscriptions-DB0iRByH.cjs.map +1 -0
  200. package/dist/{sst-Bz2HJlqc.mjs → sst-3V-rcKcw.mjs} +27 -5
  201. package/dist/sst-3V-rcKcw.mjs.map +1 -0
  202. package/dist/{sst-lvCHdYsY.cjs → sst-DuU7Ju0c.cjs} +29 -7
  203. package/dist/sst-DuU7Ju0c.cjs.map +1 -0
  204. package/dist/stack-BRKZ69bf.mjs +2307 -0
  205. package/dist/stack-BRKZ69bf.mjs.map +1 -0
  206. package/dist/stack-CmHjkg7D.cjs +2536 -0
  207. package/dist/stack-CmHjkg7D.cjs.map +1 -0
  208. package/dist/{stage-DhcbcAar.mjs → stage-CTq3Gjsx.mjs} +7 -7
  209. package/dist/{stage-DhcbcAar.mjs.map → stage-CTq3Gjsx.mjs.map} +1 -1
  210. package/dist/{stage-BEcxppsu.cjs → stage-s_8HOsH0.cjs} +13 -13
  211. package/dist/{stage-BEcxppsu.cjs.map → stage-s_8HOsH0.cjs.map} +1 -1
  212. package/dist/{stages--icWbhPy.cjs → stages-CFI0OiLj.cjs} +2 -2
  213. package/dist/{stages--icWbhPy.cjs.map → stages-CFI0OiLj.cjs.map} +1 -1
  214. package/dist/{stages-CUwSy39f.mjs → stages-DoYa81kN.mjs} +2 -2
  215. package/dist/{stages-CUwSy39f.mjs.map → stages-DoYa81kN.mjs.map} +1 -1
  216. package/dist/target/public.cjs +1 -1
  217. package/dist/target/public.mjs +1 -1
  218. package/dist/{terminal-DURcYlVX.cjs → terminal-ChxtuTYJ.cjs} +3 -3
  219. package/dist/{terminal-DURcYlVX.cjs.map → terminal-ChxtuTYJ.cjs.map} +1 -1
  220. package/dist/{terminal-yOZ7kKF9.mjs → terminal-oHKnZHkT.mjs} +3 -3
  221. package/dist/{terminal-yOZ7kKF9.mjs.map → terminal-oHKnZHkT.mjs.map} +1 -1
  222. package/dist/types-Bl_CwZC9.cjs +90 -0
  223. package/dist/types-Bl_CwZC9.cjs.map +1 -0
  224. package/dist/types-Y1NfWlyG.mjs +61 -0
  225. package/dist/types-Y1NfWlyG.mjs.map +1 -0
  226. package/dist/vitest.cjs +1 -1
  227. package/dist/vitest.mjs +1 -1
  228. package/package.json +15 -15
  229. package/dist/bundler-C4uMSy8e.mjs.map +0 -1
  230. package/dist/bundler-DKxuDoVL.cjs.map +0 -1
  231. package/dist/compose-CVatM7Cl.mjs.map +0 -1
  232. package/dist/compose-D8U9ygdm.cjs.map +0 -1
  233. package/dist/config.cjs.map +0 -1
  234. package/dist/config.mjs.map +0 -1
  235. package/dist/credentials-D7XJypNd.cjs +0 -520
  236. package/dist/credentials-D7XJypNd.cjs.map +0 -1
  237. package/dist/credentials-DpfnUvIR.mjs +0 -395
  238. package/dist/credentials-DpfnUvIR.mjs.map +0 -1
  239. package/dist/derive-Cd7Hl3r2.mjs +0 -259
  240. package/dist/derive-Cd7Hl3r2.mjs.map +0 -1
  241. package/dist/derive-CgZfoBU2.cjs +0 -282
  242. package/dist/derive-CgZfoBU2.cjs.map +0 -1
  243. package/dist/discover-B2m8ytyq.mjs.map +0 -1
  244. package/dist/discover-yqeJ2Bx7.cjs.map +0 -1
  245. package/dist/drivers-C47nm-wB.cjs.map +0 -1
  246. package/dist/drivers-CDjpjakg.mjs.map +0 -1
  247. package/dist/identity-CBXr4wNi.mjs +0 -129
  248. package/dist/identity-CBXr4wNi.mjs.map +0 -1
  249. package/dist/identity-CbLfgQNT.cjs +0 -182
  250. package/dist/identity-CbLfgQNT.cjs.map +0 -1
  251. package/dist/sandbox-CHv3OYXg.cjs +0 -165
  252. package/dist/sandbox-CHv3OYXg.cjs.map +0 -1
  253. package/dist/sandbox-CbVB7uOD.mjs +0 -118
  254. package/dist/sandbox-CbVB7uOD.mjs.map +0 -1
  255. package/dist/seeds-BR_7hJTw.cjs +0 -10541
  256. package/dist/seeds-BR_7hJTw.cjs.map +0 -1
  257. package/dist/seeds-nCxxlP5h.mjs +0 -9418
  258. package/dist/seeds-nCxxlP5h.mjs.map +0 -1
  259. package/dist/snsSubscriptions-BSoqUgsq.mjs.map +0 -1
  260. package/dist/snsSubscriptions-Y9declDd.cjs.map +0 -1
  261. package/dist/sst-Bz2HJlqc.mjs.map +0 -1
  262. package/dist/sst-lvCHdYsY.cjs.map +0 -1
@@ -1,21 +1,22 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
2
  const require_errors = require("./errors-DMC4Umsb.cjs");
3
- const require_credentials = require("./credentials-D7XJypNd.cjs");
3
+ const require_credentials = require("./credentials-CIpa4Hgs.cjs");
4
4
  const require_workspace = require("./workspace-Dkm3HL9e.cjs");
5
- const require_snsSubscriptions = require("./snsSubscriptions-Y9declDd.cjs");
5
+ const require_stack = require("./stack-CmHjkg7D.cjs");
6
6
  const require_define = require("./define-crmMcXFS.cjs");
7
- const require_seeds = require("./seeds-BR_7hJTw.cjs");
8
- const require_SubscriberGenerator = require("./SubscriberGenerator-DR4Y7ihK.cjs");
9
- const require_derive = require("./derive-CgZfoBU2.cjs");
10
- const require_identity = require("./identity-CbLfgQNT.cjs");
11
- const require_discover = require("./discover-yqeJ2Bx7.cjs");
12
- const require_sandbox = require("./sandbox-CHv3OYXg.cjs");
13
- const require_config = require("./config.cjs");
14
- const require_resolve = require("./resolve-BEVVvi13.cjs");
15
- const require_local = require("./local-OPC9BCZt.cjs");
16
- const require_sniffer = require("./sniffer-BWgXPFAt.cjs");
17
- const require_projectBucket = require("./projectBucket-BBbQ1lHF.cjs");
18
- const require_credentialSchemas = require("./credentialSchemas-DZ2Nh5li.cjs");
7
+ const require_compose = require("./compose-B2dCLbrc.cjs");
8
+ const require_apps = require("./apps-CPdR2pYw.cjs");
9
+ const require_SubscriberGenerator = require("./SubscriberGenerator-BNJyPmXJ.cjs");
10
+ const require_config = require("./config-QAqAEgb0.cjs");
11
+ const require_discover = require("./discover-CRywE7yc.cjs");
12
+ const require_resolve = require("./resolve-Dir9EjMu.cjs");
13
+ const require_notes = require("./notes-B655tUny.cjs");
14
+ const require_snsSubscriptions = require("./snsSubscriptions-DB0iRByH.cjs");
15
+ const require_local = require("./local-C6ndR_Wx.cjs");
16
+ const require_sniffer = require("./sniffer-BjHnOaCe.cjs");
17
+ const require_projectBucket = require("./projectBucket-Bs8ftcgB.cjs");
18
+ const require_seeds = require("./seeds-B3xvUAQf.cjs");
19
+ const require_credentialSchemas = require("./credentialSchemas-BAklWDna.cjs");
19
20
  let node_path = require("node:path");
20
21
  let node_crypto = require("node:crypto");
21
22
  let _geekmidas_manifest = require("@geekmidas/manifest");
@@ -62,7 +63,7 @@ function secretValues(secrets) {
62
63
  * costs nothing.
63
64
  */
64
65
  async function deploySecrets(workspace, stage, redactor, options = {}) {
65
- const store = await require_seeds.secretsStoreFor(workspace, stage, options);
66
+ const store = await require_credentials.secretsStoreFor(workspace, stage, options);
66
67
  const mask = (secrets) => {
67
68
  for (const value of secretValues(secrets)) redactor.add(value);
68
69
  };
@@ -648,7 +649,7 @@ var BackupsKeyRefused = class extends require_errors.GkmError {
648
649
  key;
649
650
  said;
650
651
  constructor(stage, bucket, key, said) {
651
- super(`The ${require_snsSubscriptions.BACKUPS_URL_KEY} key of '${stage}' could not put s3://${bucket}/${key} (${said}), so its backups would fail the same way. Run the deploy with the stage's AWS credentials to put its user and policy back, or --rotate-keys to issue it a new key.`);
652
+ super(`The ${require_stack.BACKUPS_URL_KEY} key of '${stage}' could not put s3://${bucket}/${key} (${said}), so its backups would fail the same way. Run the deploy with the stage's AWS credentials to put its user and policy back, or --rotate-keys to issue it a new key.`);
652
653
  this.stage = stage;
653
654
  this.bucket = bucket;
654
655
  this.key = key;
@@ -677,14 +678,14 @@ function backupsRegion(workspace, stage, credential, env = process.env) {
677
678
  async function ensureStageBackups(input) {
678
679
  const { workspace, manifest, stage, ctx } = input;
679
680
  const env = input.env ?? process.env;
680
- const choice = require_snsSubscriptions.stageBackups(workspace, manifest, stage);
681
+ const choice = require_stack.stageBackups(workspace, manifest, stage);
681
682
  if (choice.mode === "disabled") {
682
683
  ctx.log(`💾 backups: off — deploy.backups.${stage} is false. Nothing is backed up, and nothing already backed up is deleted.`);
683
684
  return choice;
684
685
  }
685
686
  if (choice.mode !== "on") return choice;
686
687
  if (require_workspace.stageProvider(workspace, "objects", stage).mode === "provider") {
687
- const clash = Object.entries(manifest).find(([id, d]) => d.kind === "objects" && require_derive.appKey(id) === "backups");
688
+ const clash = Object.entries(manifest).find(([id, d]) => d.kind === "objects" && require_config.appKey(id) === "backups");
688
689
  if (clash) throw new BackupsUserNameTaken(stage, clash[0]);
689
690
  }
690
691
  const credential = await require_snsSubscriptions.awsProvisioningCredentials({
@@ -697,11 +698,11 @@ async function ensureStageBackups(input) {
697
698
  const region = backupsRegion(workspace, stage, credential, env);
698
699
  const clients = await backupsClients(credential, region, env);
699
700
  const bucket = require_projectBucket.projectBucketName(ctx.identity.scope, await require_projectBucket.callerAccountId(clients.sts));
700
- const prefix = require_snsSubscriptions.backupsPrefix(workspace, stage);
701
- const expiries = require_snsSubscriptions.backupExpiries(workspace, manifest);
701
+ const prefix = require_stack.backupsPrefix(workspace, stage);
702
+ const expiries = require_stack.backupExpiries(workspace, manifest);
702
703
  ctx.log(`💾 backups: ${choice.backups.describe}, to s3://${bucket}/${prefix}/${ctx.dryRun ? " (dry run)" : ""}`);
703
704
  if (await require_projectBucket.findProjectBucket(clients.s3, bucket) === "none") await ctx.change({
704
- construct: require_snsSubscriptions.BACKUPS_SERVICE,
705
+ construct: require_stack.BACKUPS_SERVICE,
705
706
  resource: `bucket ${bucket}`,
706
707
  change: `create in ${region}, expiring each stage's backups`
707
708
  }, async () => {
@@ -713,7 +714,7 @@ async function ensureStageBackups(input) {
713
714
  });
714
715
  });
715
716
  else if (await require_projectBucket.reconcileProjectBucketLifecycle(clients.s3, bucket, expiries, { dryRun: true })) await ctx.change({
716
- construct: require_snsSubscriptions.BACKUPS_SERVICE,
717
+ construct: require_stack.BACKUPS_SERVICE,
717
718
  resource: `bucket ${bucket}`,
718
719
  change: `lifecycle: ${expiries.map((e) => `${e.prefix} after ${e.days} days`).join(", ")}`
719
720
  }, async () => {
@@ -729,7 +730,7 @@ async function ensureStageBackups(input) {
729
730
  await ensureAccessKey(ctx, clients, {
730
731
  id: BACKUPS_ID,
731
732
  bucket,
732
- urlKey: require_snsSubscriptions.BACKUPS_URL_KEY,
733
+ urlKey: require_stack.BACKUPS_URL_KEY,
733
734
  ...user
734
735
  });
735
736
  return choice;
@@ -765,8 +766,8 @@ async function backupsClients(credential, region, env) {
765
766
  */
766
767
  async function verifyStageBackups(input) {
767
768
  const { stage } = input;
768
- if (require_snsSubscriptions.stageBackups(input.workspace, input.manifest, stage).mode !== "on") return false;
769
- const url = input.secrets[require_snsSubscriptions.BACKUPS_URL_KEY];
769
+ if (require_stack.stageBackups(input.workspace, input.manifest, stage).mode !== "on") return false;
770
+ const url = input.secrets[require_stack.BACKUPS_URL_KEY];
770
771
  if (!url) return false;
771
772
  const address = (await import("@geekmidas/storage/s3-url")).parse(url);
772
773
  if (!address.accessKeyId || !address.secretAccessKey) return false;
@@ -780,7 +781,7 @@ async function verifyStageBackups(input) {
780
781
  ...address.endpoint ? { endpoint: address.endpoint } : {},
781
782
  ...address.forcePathStyle ? { forcePathStyle: true } : {}
782
783
  });
783
- const Key = `${require_snsSubscriptions.backupsPrefix(input.workspace, stage)}/${VERIFY_MARKER}`;
784
+ const Key = `${require_stack.backupsPrefix(input.workspace, stage)}/${VERIFY_MARKER}`;
784
785
  const put = async () => {
785
786
  try {
786
787
  await client.send(new S3.PutObjectCommand({
@@ -832,14 +833,14 @@ async function verifyStageBackups(input) {
832
833
  */
833
834
  async function writeProviderDns(records, options) {
834
835
  const { log } = options;
835
- const dns = options.workspace.dns ? require_seeds.normalizeDnsConfig(options.workspace.dns) : {};
836
+ const dns = options.workspace.dns ? require_credentials.normalizeDnsConfig(options.workspace.dns) : {};
836
837
  const manual = [];
837
838
  const domains = /* @__PURE__ */ new Map();
838
839
  for (const record of records) {
839
840
  const host = record.host.toLowerCase().replace(/\.$/, "");
840
841
  const target = record.value.replace(/\.$/, "");
841
- const value = record.type === "MX" ? require_seeds.mxValue(record.priority, target) : target;
842
- const domain = require_seeds.findRootDomain(host, dns);
842
+ const value = record.type === "MX" ? require_credentials.mxValue(record.priority, target) : target;
843
+ const domain = require_credentials.findRootDomain(host, dns);
843
844
  if (!domain) {
844
845
  log(` create at its DNS host: ${host} ${record.type} ${value}`);
845
846
  manual.push(host);
@@ -855,7 +856,7 @@ async function writeProviderDns(records, options) {
855
856
  const planned = {
856
857
  host,
857
858
  domain,
858
- name: require_seeds.extractSubdomain(host, domain),
859
+ name: require_credentials.extractSubdomain(host, domain),
859
860
  type: record.type,
860
861
  value,
861
862
  ttl: require_snsSubscriptions.recordTtl(config)
@@ -958,7 +959,7 @@ var CdnCertificateFailed = class extends require_errors.GkmError {
958
959
  };
959
960
  /** Where a file server answers: `<fileserver>.<domain>`. */
960
961
  function cdnHost(serverId, domain) {
961
- return `${require_derive.appKey(serverId)}.${domain}`.toLowerCase();
962
+ return `${require_config.appKey(serverId)}.${domain}`.toLowerCase();
962
963
  }
963
964
  /**
964
965
  * The name the stage's CDN resources go by, within CloudFront's limits:
@@ -967,7 +968,7 @@ function cdnHost(serverId, domain) {
967
968
  * the whole, so two long names never meet.
968
969
  */
969
970
  function cdnName(scope, stage, serverId) {
970
- const whole = `gkm-${scope}-${stage}-${require_derive.appKey(serverId)}`.replace(/[^A-Za-z0-9_-]/g, "-");
971
+ const whole = `gkm-${scope}-${stage}-${require_config.appKey(serverId)}`.replace(/[^A-Za-z0-9_-]/g, "-");
971
972
  if (whole.length <= 56) return whole;
972
973
  return `${whole.slice(0, 47)}-${hash(whole)}`;
973
974
  }
@@ -1084,7 +1085,7 @@ function distributionConfig(input) {
1084
1085
  CustomHeaders: {
1085
1086
  Quantity: 1,
1086
1087
  Items: [{
1087
- HeaderName: require_seeds.ORIGIN_VERIFY_HEADER,
1088
+ HeaderName: require_credentials.ORIGIN_VERIFY_HEADER,
1088
1089
  HeaderValue: processors.secret
1089
1090
  }]
1090
1091
  }
@@ -1197,7 +1198,7 @@ async function ensureBucketCdn(ctx, input) {
1197
1198
  ...input,
1198
1199
  server,
1199
1200
  host: cdnHost(server.id, domain),
1200
- processorHost: require_seeds.processorOriginHost(server.id, domain)
1201
+ processorHost: require_credentials.processorOriginHost(server.id, domain)
1201
1202
  });
1202
1203
  out.distributionArns.push(arn);
1203
1204
  out.urls[server.id] = url;
@@ -1277,10 +1278,10 @@ async function ensureServerCdn(ctx, clients, input) {
1277
1278
  * it, when it composes.
1278
1279
  */
1279
1280
  async function ensureOriginSecret(ctx, serverId) {
1280
- const key = require_seeds.originSecretKey(serverId);
1281
+ const key = require_credentials.originSecretKey(serverId);
1281
1282
  const kept = ctx.secrets[key];
1282
1283
  if (kept) return kept;
1283
- const secret = require_seeds.newOriginSecret();
1284
+ const secret = require_credentials.newOriginSecret();
1284
1285
  ctx.log(` ${serverId}: a new processor origin secret, kept as ${key}`);
1285
1286
  await ctx.writeSecrets({ [key]: secret });
1286
1287
  return secret;
@@ -1867,7 +1868,7 @@ async function ensureEventsKey(ctx, input) {
1867
1868
  }
1868
1869
  /** Where SNS pushes to a worker: its own host on the stage's domain. */
1869
1870
  function workerPushHost(worker, domain) {
1870
- return `${require_derive.appKey(worker)}.${domain}`;
1871
+ return `${require_config.appKey(worker)}.${domain}`;
1871
1872
  }
1872
1873
  /**
1873
1874
  * One HTTP subscription per subscriber to the bucket's topic, at its route on
@@ -1880,13 +1881,13 @@ function workerPushHost(worker, domain) {
1880
1881
  */
1881
1882
  async function ensurePushSubscriptions(ctx, input) {
1882
1883
  const { id, events, region, watchers } = input;
1883
- if (!require_snsSubscriptions.deploysWithCompose(ctx.workspace)) {
1884
+ if (!require_stack.deploysWithCompose(ctx.workspace)) {
1884
1885
  ctx.log(` '${id}' is watched, and only a compose stage pushes a bucket's changes to a worker: its subscribers receive nothing on '${ctx.stage}'`);
1885
1886
  return;
1886
1887
  }
1887
1888
  if (watchers.length === 0) return;
1888
1889
  const domain = ctx.workspace.domains?.[ctx.stage];
1889
- if (!domain) throw new require_seeds.NoDomainForStage(ctx.stage);
1890
+ if (!domain) throw new require_compose.NoDomainForStage(ctx.stage);
1890
1891
  const { SNSConnection, reconcileHttpSubscriptions } = await import("@geekmidas/events/sns");
1891
1892
  const { credentials } = await require_snsSubscriptions.awsClientConfig(ctx.credential, region);
1892
1893
  const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "SNS");
@@ -1960,7 +1961,7 @@ function bucketOrigins(input) {
1960
1961
  const { manifest, workspace, stage } = input;
1961
1962
  const keys = bucketKeys(manifest, input.bucket);
1962
1963
  const readers = Object.entries(manifest).filter(([, d]) => d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site").filter(([id]) => {
1963
- const env = require_seeds.appEnvKeys(manifest, require_derive.appKey(id));
1964
+ const env = require_apps.appEnvKeys(manifest, require_config.appKey(id));
1964
1965
  return env !== void 0 && keys.some((key) => env.has(key));
1965
1966
  });
1966
1967
  const sites = /* @__PURE__ */ new Set();
@@ -1974,17 +1975,17 @@ function bucketOrigins(input) {
1974
1975
  const origins = /* @__PURE__ */ new Set();
1975
1976
  const unresolved = [];
1976
1977
  for (const id of [...sites].sort()) {
1977
- const name = require_derive.appKey(id);
1978
+ const name = require_config.appKey(id);
1978
1979
  const app = workspace.apps[name];
1979
1980
  if (!app) {
1980
1981
  unresolved.push(name);
1981
1982
  continue;
1982
1983
  }
1983
1984
  try {
1984
- const host = require_seeds.resolveHost(name, app, stage, workspace.domains, require_seeds.isMainFrontendApp(name, app, workspace.apps));
1985
+ const host = require_compose.resolveHost(name, app, stage, workspace.domains, require_compose.isMainFrontendApp(name, app, workspace.apps));
1985
1986
  origins.add(`https://${host}`);
1986
1987
  } catch (error) {
1987
- if (!(error instanceof require_seeds.NoDomainForStage)) throw error;
1988
+ if (!(error instanceof require_compose.NoDomainForStage)) throw error;
1988
1989
  unresolved.push(name);
1989
1990
  }
1990
1991
  }
@@ -2144,7 +2145,7 @@ async function ensureBucket(ctx, stageClients, construct, watchers) {
2144
2145
  const nameInput = {
2145
2146
  scope: ctx.identity.scope,
2146
2147
  stage: ctx.stage,
2147
- id: require_derive.appKey(id)
2148
+ id: require_config.appKey(id)
2148
2149
  };
2149
2150
  const versioning = ctx.config.versioning ?? construct.versioned;
2150
2151
  const open = [...new Set(construct.servers.flatMap((s) => s.open))].sort();
@@ -2453,7 +2454,7 @@ async function ensureBucketSettings(ctx, clients, input) {
2453
2454
  VersioningConfiguration: { Status: "Suspended" }
2454
2455
  })));
2455
2456
  const lifecycle = await read(() => s3.send(new S3.GetBucketLifecycleConfigurationCommand({ Bucket })), ["NoSuchLifecycleConfiguration"]);
2456
- const merge = require_seeds.mergeLifecycle(lifecycle?.Rules, input.expire);
2457
+ const merge = require_apps.mergeLifecycle(lifecycle?.Rules, input.expire);
2457
2458
  if (merge.changed) await set(merge.describe, () => merge.rules.length > 0 ? s3.send(new S3.PutBucketLifecycleConfigurationCommand({
2458
2459
  Bucket,
2459
2460
  LifecycleConfiguration: { Rules: merge.rules }
@@ -2628,7 +2629,7 @@ function inboxConstructs(manifest) {
2628
2629
  }
2629
2630
  /** The name an inbox's receipt rule has: the prefix it is found by, and its id. */
2630
2631
  function receiptRuleName(scope, stage, inbox) {
2631
- return `${rulePrefix(scope, stage)}${require_derive.appKey(inbox)}`.slice(0, 64);
2632
+ return `${rulePrefix(scope, stage)}${require_config.appKey(inbox)}`.slice(0, 64);
2632
2633
  }
2633
2634
  /** What every rule this stage made is named with. */
2634
2635
  function rulePrefix(scope, stage) {
@@ -2668,7 +2669,7 @@ function errorName(error) {
2668
2669
  /** The stage's domain, which every inbox receives on. */
2669
2670
  function stageDomain(ctx) {
2670
2671
  const domain = ctx.workspace.domains?.[ctx.stage];
2671
- if (!domain) throw new require_seeds.NoDomainForStage(ctx.stage);
2672
+ if (!domain) throw new require_compose.NoDomainForStage(ctx.stage);
2672
2673
  return domain;
2673
2674
  }
2674
2675
  async function ensureSes(ctx) {
@@ -2756,7 +2757,7 @@ async function ensureIdentity(ctx, { SES, ses }, domain) {
2756
2757
  /** One inbox: its bucket, its topic and their keys, and its receipt rule. */
2757
2758
  async function ensureInbox(ctx, { SES, ses }, events, input) {
2758
2759
  const { inbox, domain, region, ruleSet } = input;
2759
- const name = `${require_derive.appKey(inbox.id)}-mail`;
2760
+ const name = `${require_config.appKey(inbox.id)}-mail`;
2760
2761
  const urlKey = (0, _geekmidas_manifest.provideKey)(inbox.id, "url");
2761
2762
  const topicArn = await ensureTopic(ctx, events, {
2762
2763
  id: inbox.id,
@@ -2918,7 +2919,7 @@ function constructsOf(manifest, kind) {
2918
2919
  */
2919
2920
  async function verifyStageProviders(input) {
2920
2921
  const verified = [];
2921
- for (const kind of require_seeds.PROVIDER_KINDS) {
2922
+ for (const kind of require_notes.PROVIDER_KINDS) {
2922
2923
  if (constructsOf(input.manifest, kind).length === 0) continue;
2923
2924
  const choice = require_workspace.stageProvider(input.workspace, kind, input.stage);
2924
2925
  if (choice.mode !== "provider") continue;
@@ -2975,7 +2976,7 @@ async function provisionStage(options) {
2975
2976
  const log = options.log ?? ((line) => console.log(line));
2976
2977
  const reports = [];
2977
2978
  const configured = [];
2978
- for (const kind of require_seeds.PROVIDER_KINDS) {
2979
+ for (const kind of require_notes.PROVIDER_KINDS) {
2979
2980
  const choice = require_workspace.stageProvider(workspace, kind, stage);
2980
2981
  if (choice.mode !== "provider") {
2981
2982
  reports.push({
@@ -3012,18 +3013,18 @@ async function provisionStage(options) {
3012
3013
  report
3013
3014
  });
3014
3015
  }
3015
- const backups = require_snsSubscriptions.stageBackups(workspace, manifest, stage);
3016
+ const backups = require_stack.stageBackups(workspace, manifest, stage);
3016
3017
  if (configured.length === 0 && backups.mode !== "on") {
3017
3018
  if (backups.mode === "disabled") log(`💾 backups: off — deploy.backups.${stage} is false. Nothing is backed up, and nothing already backed up is deleted.`);
3018
3019
  return reports;
3019
3020
  }
3020
- const identity = require_identity.deployIdentity(workspace, stage);
3021
+ const identity = require_credentials.deployIdentity(workspace, stage);
3021
3022
  let secrets = (await options.secrets.read())?.custom ?? {};
3022
3023
  for (const entry of configured) entry.report.planned = entry.provider.runtimeKeys(manifest).filter((key) => secrets[key] === void 0);
3023
- const state = dryRun ? await readOnlyState(options.state, stage) : journalState(await require_seeds.DeployJournal.open(options.state, stage, () => require_snsSubscriptions.deploysWithCompose(workspace) ? require_seeds.createComposeState(stage) : require_seeds.createEmptyState(stage, "", "")));
3024
+ const state = dryRun ? await readOnlyState(options.state, stage) : journalState(await require_seeds.DeployJournal.open(options.state, stage, () => require_stack.deploysWithCompose(workspace) ? require_credentials.createComposeState(stage) : require_credentials.createEmptyState(stage, "", "")));
3024
3025
  const writeSecrets = async (values) => {
3025
3026
  if (dryRun) return;
3026
- const stored = await options.secrets.read() ?? require_seeds.initStageSecrets(stage);
3027
+ const stored = await options.secrets.read() ?? require_credentials.initStageSecrets(stage);
3027
3028
  const next = {
3028
3029
  ...stored,
3029
3030
  custom: {
@@ -3078,7 +3079,7 @@ async function provisionStage(options) {
3078
3079
  kind: "backups",
3079
3080
  mode: backups.mode === "on" ? "provider" : "none",
3080
3081
  actions: [],
3081
- planned: backups.mode === "on" && secrets["BACKUPS_URL"] === void 0 ? [require_snsSubscriptions.BACKUPS_URL_KEY] : []
3082
+ planned: backups.mode === "on" && secrets["BACKUPS_URL"] === void 0 ? [require_stack.BACKUPS_URL_KEY] : []
3082
3083
  };
3083
3084
  reports.push(report);
3084
3085
  await ensureStageBackups({
@@ -3256,18 +3257,18 @@ async function assertStageReady(ctx) {
3256
3257
  const { workspace, manifest, stage } = ctx;
3257
3258
  const supplied = (await ctx.secrets.read())?.custom ?? {};
3258
3259
  if (stage !== workspace.stages.local) {
3259
- require_seeds.assertStageProvidersEnabled(workspace, manifest, stage);
3260
+ require_notes.assertStageProvidersEnabled(workspace, manifest, stage);
3260
3261
  const domain = workspace.domains?.[stage];
3261
- const services = require_seeds.externalServices({
3262
+ const services = require_notes.externalServices({
3262
3263
  stage,
3263
- declarations: require_seeds.stageServiceDeclarations({ manifest }),
3264
+ declarations: require_notes.stageServiceDeclarations({ manifest }),
3264
3265
  supplied,
3265
3266
  allow: ctx.allowDevServices,
3266
3267
  ...domain ? { domain } : {},
3267
- providers: require_seeds.stageProviderNotes(workspace, stage)
3268
+ providers: require_notes.stageProviderNotes(workspace, stage)
3268
3269
  });
3269
- if (services.missing.length > 0) throw new require_seeds.ExternalServicesNotConfigured(stage, services.missing);
3270
- require_seeds.reportDevServices(ctx, require_seeds.devServicesUsed(services));
3270
+ if (services.missing.length > 0) throw new require_notes.ExternalServicesNotConfigured(stage, services.missing);
3271
+ require_notes.reportDevServices(ctx, require_notes.devServicesUsed(services));
3271
3272
  const verified = await verifyStageProviders({
3272
3273
  workspace,
3273
3274
  manifest,
@@ -3285,7 +3286,7 @@ async function assertStageReady(ctx) {
3285
3286
  });
3286
3287
  await require_credentialSchemas.assertStageCredentials({
3287
3288
  root: workspace.root,
3288
- patterns: require_seeds.constructGlobs(workspace),
3289
+ patterns: require_apps.constructGlobs(workspace),
3289
3290
  manifest,
3290
3291
  stage,
3291
3292
  supplied
@@ -3517,7 +3518,7 @@ async function provisionResources(phaseCtx, request, ctx, store, emit) {
3517
3518
  phaseCtx.secrets = {
3518
3519
  ...secrets,
3519
3520
  async read() {
3520
- const stored = await secrets.read() ?? require_seeds.initStageSecrets(phaseCtx.stage);
3521
+ const stored = await secrets.read() ?? require_credentials.initStageSecrets(phaseCtx.stage);
3521
3522
  const custom = { ...stored.custom };
3522
3523
  for (const key of planned) custom[key] ??= PLANNED_BY_THE_DEPLOY;
3523
3524
  return {
@@ -3592,11 +3593,11 @@ async function prepare(source, request, ctx, emit, redactor) {
3592
3593
  if (local && !resolved.target.capabilities.localStage) require_workspace.assertDeployedStage(configured.stages, stage);
3593
3594
  const options = await require_resolve.parseTargetOptions(resolved);
3594
3595
  const allowDevServices = request.allowDevServices === true;
3595
- if (allowDevServices && resolved.target.runtime === "aws") throw new require_seeds.DevServicesNeedServerTarget(targetName);
3596
+ if (allowDevServices && resolved.target.runtime === "aws") throw new require_notes.DevServicesNeedServerTarget(targetName);
3596
3597
  const background = {};
3597
3598
  const subscribers = {};
3598
3599
  const manifest = await require_discover.discover({
3599
- patterns: require_seeds.constructGlobs(configured),
3600
+ patterns: require_apps.constructGlobs(configured),
3600
3601
  cwd: configured.root,
3601
3602
  background,
3602
3603
  subscribers
@@ -3608,14 +3609,14 @@ async function prepare(source, request, ctx, emit, redactor) {
3608
3609
  target: targetName,
3609
3610
  runtime: resolved.target.runtime,
3610
3611
  selfHosted: resolved.target.capabilities.selfHostedTelemetry === true,
3611
- used: require_seeds.usesTelemetry(manifest)
3612
+ used: require_apps.usesTelemetry(manifest)
3612
3613
  });
3613
- const units = require_derive.derivedApps(manifest, configured);
3614
+ const units = require_config.derivedApps(manifest, configured);
3614
3615
  const workspace = Object.keys(units).length > 0 ? {
3615
3616
  ...configured,
3616
3617
  apps: units
3617
3618
  } : configured;
3618
- const identity = require_identity.deployIdentity(workspace, stage);
3619
+ const identity = require_credentials.deployIdentity(workspace, stage);
3619
3620
  const tag = request.tag ?? (resolved.target.tag ? await resolved.target.tag({
3620
3621
  cwd: workspace.root,
3621
3622
  stage
@@ -3648,7 +3649,7 @@ async function prepare(source, request, ctx, emit, redactor) {
3648
3649
  return false;
3649
3650
  });
3650
3651
  if (apps.length === 0) throw new NoDeployableApps(stage, targetName);
3651
- require_snsSubscriptions.assertSitePasswords(configured, manifest, stage, apps, resolved.target.name);
3652
+ require_stack.assertSitePasswords(configured, manifest, stage, apps, resolved.target.name);
3652
3653
  const store = await require_sniffer.createStateStore({
3653
3654
  config: stage === workspace.stages.local ? void 0 : workspace.state,
3654
3655
  workspaceRoot: workspace.root,
@@ -3694,7 +3695,7 @@ async function prepare(source, request, ctx, emit, redactor) {
3694
3695
  childOutput: ctx.childOutput ?? "inherit",
3695
3696
  emit,
3696
3697
  skip,
3697
- name: (resource) => require_identity.applicationName(identity, resource)
3698
+ name: (resource) => require_credentials.applicationName(identity, resource)
3698
3699
  },
3699
3700
  store
3700
3701
  };
@@ -3792,7 +3793,7 @@ function deploy(input) {
3792
3793
  try {
3793
3794
  input.signal?.throwIfAborted();
3794
3795
  const sandbox = input.sandbox ?? new require_local.LocalSandbox({ root: require_config.findWorkspaceRoot((0, node_path.resolve)(input.cwd)) });
3795
- const deployed = await require_sandbox.withSandbox(sandbox, () => runDeploy(() => load(input, sandbox), {
3796
+ const deployed = await require_discover.withSandbox(sandbox, () => runDeploy(() => load(input, sandbox), {
3796
3797
  stage: input.stage,
3797
3798
  ...input.target ? { target: input.target } : {},
3798
3799
  ...input.tag ? { tag: input.tag } : {},
@@ -3888,4 +3889,4 @@ Object.defineProperty(exports, "iamUserName", {
3888
3889
  }
3889
3890
  });
3890
3891
 
3891
- //# sourceMappingURL=deploy-DrQB7ytj.cjs.map
3892
+ //# sourceMappingURL=deploy-CjJ447kd.cjs.map