@geekmidas/cli 10.0.0-alpha.165 → 10.0.0-alpha.167

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 (213) hide show
  1. package/dist/{GoDaddyProvider-C7zClznh.mjs → GoDaddyProvider-Dci0SlN5.mjs} +2 -2
  2. package/dist/{GoDaddyProvider-C7zClznh.mjs.map → GoDaddyProvider-Dci0SlN5.mjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-Dx6v4Goj.cjs → GoDaddyProvider-o6DJAsBZ.cjs} +2 -2
  4. package/dist/{GoDaddyProvider-Dx6v4Goj.cjs.map → GoDaddyProvider-o6DJAsBZ.cjs.map} +1 -1
  5. package/dist/{HostingerProvider-COuTy74z.cjs → HostingerProvider-BzHPhONW.cjs} +2 -2
  6. package/dist/{HostingerProvider-COuTy74z.cjs.map → HostingerProvider-BzHPhONW.cjs.map} +1 -1
  7. package/dist/{HostingerProvider-BALtMnss.mjs → HostingerProvider-Dd5x1zvF.mjs} +2 -2
  8. package/dist/{HostingerProvider-BALtMnss.mjs.map → HostingerProvider-Dd5x1zvF.mjs.map} +1 -1
  9. package/dist/{LegacyStateStore-CcNLLGX-.mjs → LegacyStateStore-CpF6rmZc.mjs} +2 -2
  10. package/dist/{LegacyStateStore-CcNLLGX-.mjs.map → LegacyStateStore-CpF6rmZc.mjs.map} +1 -1
  11. package/dist/{LegacyStateStore-C0rh3dKV.cjs → LegacyStateStore-tqY0hM8z.cjs} +2 -2
  12. package/dist/{LegacyStateStore-C0rh3dKV.cjs.map → LegacyStateStore-tqY0hM8z.cjs.map} +1 -1
  13. package/dist/{LocalStateStore-CxCCBQkS.mjs → LocalStateStore-Adp96xPy.mjs} +2 -2
  14. package/dist/{LocalStateStore-CxCCBQkS.mjs.map → LocalStateStore-Adp96xPy.mjs.map} +1 -1
  15. package/dist/{LocalStateStore-Dcq3wd1v.cjs → LocalStateStore-BYMUEGZN.cjs} +2 -2
  16. package/dist/{LocalStateStore-Dcq3wd1v.cjs.map → LocalStateStore-BYMUEGZN.cjs.map} +1 -1
  17. package/dist/{S3StateStore-DUwCcCgj.mjs → S3StateStore-13Go3hfM.mjs} +4 -4
  18. package/dist/{S3StateStore-DUwCcCgj.mjs.map → S3StateStore-13Go3hfM.mjs.map} +1 -1
  19. package/dist/{S3StateStore-Cgf1owUZ.cjs → S3StateStore-DjXyhGIP.cjs} +4 -4
  20. package/dist/{S3StateStore-Cgf1owUZ.cjs.map → S3StateStore-DjXyhGIP.cjs.map} +1 -1
  21. package/dist/{SSMStateStore-A_N_T4b0.mjs → SSMStateStore-CQHUyH-c.mjs} +2 -2
  22. package/dist/{SSMStateStore-A_N_T4b0.mjs.map → SSMStateStore-CQHUyH-c.mjs.map} +1 -1
  23. package/dist/{SSMStateStore-BarWA07O.cjs → SSMStateStore-DspMPho-.cjs} +2 -2
  24. package/dist/{SSMStateStore-BarWA07O.cjs.map → SSMStateStore-DspMPho-.cjs.map} +1 -1
  25. package/dist/{add-DVSNjsI8.cjs → add-DsxJ0Knr.cjs} +8 -8
  26. package/dist/{add-DVSNjsI8.cjs.map → add-DsxJ0Knr.cjs.map} +1 -1
  27. package/dist/{add-DAeCqI9O.mjs → add-Dt8QKSOw.mjs} +7 -7
  28. package/dist/{add-DAeCqI9O.mjs.map → add-Dt8QKSOw.mjs.map} +1 -1
  29. package/dist/{apps-S3RMvFyk.cjs → apps-C6s-trVp.cjs} +84 -31
  30. package/dist/apps-C6s-trVp.cjs.map +1 -0
  31. package/dist/{apps-Ck_Ie6gN.mjs → apps-w2sRQKCr.mjs} +66 -14
  32. package/dist/apps-w2sRQKCr.mjs.map +1 -0
  33. package/dist/{bundler-B_vQ_591.cjs → bundler-AzkSRAuu.cjs} +6 -6
  34. package/dist/{bundler-B_vQ_591.cjs.map → bundler-AzkSRAuu.cjs.map} +1 -1
  35. package/dist/{bundler-Bbn0opSb.mjs → bundler-BCWWne6N.mjs} +6 -6
  36. package/dist/{bundler-Bbn0opSb.mjs.map → bundler-BCWWne6N.mjs.map} +1 -1
  37. package/dist/{cli-CMykD9Py.mjs → cli-DSGw0Mw-.mjs} +5 -5
  38. package/dist/{cli-CMykD9Py.mjs.map → cli-DSGw0Mw-.mjs.map} +1 -1
  39. package/dist/{cli-fs4D-3cd.cjs → cli-OGss08bZ.cjs} +5 -5
  40. package/dist/{cli-fs4D-3cd.cjs.map → cli-OGss08bZ.cjs.map} +1 -1
  41. package/dist/{compose-CNJO99Tv.cjs → compose-BqTuzitb.cjs} +6 -6
  42. package/dist/{compose-CNJO99Tv.cjs.map → compose-BqTuzitb.cjs.map} +1 -1
  43. package/dist/{compose-BtjZNCC-.mjs → compose-Csegtvq_.mjs} +62 -9
  44. package/dist/compose-Csegtvq_.mjs.map +1 -0
  45. package/dist/{compose-DmcYTLhO.cjs → compose-QSBmhr4V.cjs} +73 -8
  46. package/dist/compose-QSBmhr4V.cjs.map +1 -0
  47. package/dist/{compose-Cm6EWvjX.mjs → compose-RhuFQmZS.mjs} +6 -6
  48. package/dist/{compose-Cm6EWvjX.mjs.map → compose-RhuFQmZS.mjs.map} +1 -1
  49. package/dist/config.cjs +457 -19
  50. package/dist/config.cjs.map +1 -0
  51. package/dist/config.mjs +440 -2
  52. package/dist/config.mjs.map +1 -0
  53. package/dist/{credentials-DVYgFK_H.cjs → credentials-CORvhcrO.cjs} +6 -6
  54. package/dist/{credentials-DVYgFK_H.cjs.map → credentials-CORvhcrO.cjs.map} +1 -1
  55. package/dist/{credentials-C-yuISKH.mjs → credentials-D4DUPPPP.mjs} +6 -6
  56. package/dist/{credentials-C-yuISKH.mjs.map → credentials-D4DUPPPP.mjs.map} +1 -1
  57. package/dist/deploy/public.cjs +12 -12
  58. package/dist/deploy/public.d.cts.map +1 -1
  59. package/dist/deploy/public.d.mts.map +1 -1
  60. package/dist/deploy/public.mjs +12 -12
  61. package/dist/{deploy-DGXMqTan.cjs → deploy-BwJ7uWXd.cjs} +119 -34
  62. package/dist/deploy-BwJ7uWXd.cjs.map +1 -0
  63. package/dist/{deploy-CuSF9y7t.mjs → deploy-DDfnQm8l.mjs} +110 -25
  64. package/dist/deploy-DDfnQm8l.mjs.map +1 -0
  65. package/dist/{destroy-DpRGLdt1.mjs → destroy-DKt8S051.mjs} +10 -10
  66. package/dist/{destroy-DpRGLdt1.mjs.map → destroy-DKt8S051.mjs.map} +1 -1
  67. package/dist/{destroy-BROvAzQQ.cjs → destroy-nTNRfdy6.cjs} +10 -10
  68. package/dist/{destroy-BROvAzQQ.cjs.map → destroy-nTNRfdy6.cjs.map} +1 -1
  69. package/dist/{docker-qq5xNUP2.cjs → docker-Dy1ZJUzV.cjs} +15 -10
  70. package/dist/docker-Dy1ZJUzV.cjs.map +1 -0
  71. package/dist/{docker-CRVWdGH9.mjs → docker-Ele34O8z.mjs} +13 -8
  72. package/dist/{docker-CRVWdGH9.mjs.map → docker-Ele34O8z.mjs.map} +1 -1
  73. package/dist/{dokploy-DcH7hY84.mjs → dokploy-BrfA2m5K.mjs} +2 -2
  74. package/dist/{dokploy-DcH7hY84.mjs.map → dokploy-BrfA2m5K.mjs.map} +1 -1
  75. package/dist/{dokploy-Duyj4-pa.cjs → dokploy-DN2W1YIH.cjs} +2 -2
  76. package/dist/{dokploy-Duyj4-pa.cjs.map → dokploy-DN2W1YIH.cjs.map} +1 -1
  77. package/dist/{eas-DqTDImhv.cjs → eas-BRBdxmwe.cjs} +6 -6
  78. package/dist/{eas-DqTDImhv.cjs.map → eas-BRBdxmwe.cjs.map} +1 -1
  79. package/dist/{eas-C11dyfIw.mjs → eas-CO3ogve5.mjs} +3 -3
  80. package/dist/{eas-C11dyfIw.mjs.map → eas-CO3ogve5.mjs.map} +1 -1
  81. package/dist/{encryption-CsOfA6QT.cjs → encryption-BZ1zgtF5.cjs} +4 -4
  82. package/dist/{encryption-CsOfA6QT.cjs.map → encryption-BZ1zgtF5.cjs.map} +1 -1
  83. package/dist/{encryption-DsZwqQyL.mjs → encryption-CHmfNBAy.mjs} +4 -4
  84. package/dist/{encryption-DsZwqQyL.mjs.map → encryption-CHmfNBAy.mjs.map} +1 -1
  85. package/dist/{engine-CdU3Oggs.mjs → engine-B3Gmu8-O.mjs} +13 -14
  86. package/dist/engine-B3Gmu8-O.mjs.map +1 -0
  87. package/dist/{engine-WllCnGNy.cjs → engine-DewbDHOq.cjs} +13 -14
  88. package/dist/engine-DewbDHOq.cjs.map +1 -0
  89. package/dist/{github-B3lKrKIn.cjs → github-DPNgIxdc.cjs} +116 -72
  90. package/dist/github-DPNgIxdc.cjs.map +1 -0
  91. package/dist/{github-Bt3V7pdf.mjs → github-DU3iEmJN.mjs} +116 -72
  92. package/dist/github-DU3iEmJN.mjs.map +1 -0
  93. package/dist/{googlePlay-B7P3Ahps.cjs → googlePlay-C2jnPqYn.cjs} +5 -5
  94. package/dist/{googlePlay-B7P3Ahps.cjs.map → googlePlay-C2jnPqYn.cjs.map} +1 -1
  95. package/dist/{googlePlay-D-6pUHGU.mjs → googlePlay-KPHn9H2f.mjs} +5 -5
  96. package/dist/{googlePlay-D-6pUHGU.mjs.map → googlePlay-KPHn9H2f.mjs.map} +1 -1
  97. package/dist/{iam-BVPpX76R.cjs → iam-C2sf6AUi.cjs} +2 -2
  98. package/dist/{iam-BVPpX76R.cjs.map → iam-C2sf6AUi.cjs.map} +1 -1
  99. package/dist/{iam-q9ALh-Y5.mjs → iam-CW61VcT3.mjs} +2 -2
  100. package/dist/{iam-q9ALh-Y5.mjs.map → iam-CW61VcT3.mjs.map} +1 -1
  101. package/dist/index.cjs +358 -119
  102. package/dist/index.cjs.map +1 -1
  103. package/dist/index.mjs +352 -113
  104. package/dist/index.mjs.map +1 -1
  105. package/dist/{local-Cs_aQJ45.cjs → local-BxjA0EXj.cjs} +2 -2
  106. package/dist/{local-Cs_aQJ45.cjs.map → local-BxjA0EXj.cjs.map} +1 -1
  107. package/dist/{local-B4H2Lsr6.mjs → local-CwR2DW6i.mjs} +2 -2
  108. package/dist/{local-B4H2Lsr6.mjs.map → local-CwR2DW6i.mjs.map} +1 -1
  109. package/dist/{migrate-BQSPfKHa.cjs → migrate-B0a3WY4X.cjs} +6 -6
  110. package/dist/{migrate-BQSPfKHa.cjs.map → migrate-B0a3WY4X.cjs.map} +1 -1
  111. package/dist/{migrate-CphnV0sY.cjs → migrate-CYtM1UBH.cjs} +4 -4
  112. package/dist/{migrate-CphnV0sY.cjs.map → migrate-CYtM1UBH.cjs.map} +1 -1
  113. package/dist/{migrate-C8JFuMT-.mjs → migrate-DHWy64pc.mjs} +4 -4
  114. package/dist/{migrate-C8JFuMT-.mjs.map → migrate-DHWy64pc.mjs.map} +1 -1
  115. package/dist/{migrate-CQ-PNghX.mjs → migrate-vWy2CUoi.mjs} +6 -6
  116. package/dist/{migrate-CQ-PNghX.mjs.map → migrate-vWy2CUoi.mjs.map} +1 -1
  117. package/dist/next.cjs +59 -0
  118. package/dist/next.cjs.map +1 -0
  119. package/dist/next.d.cts +44 -0
  120. package/dist/next.d.cts.map +1 -0
  121. package/dist/next.d.mts +44 -0
  122. package/dist/next.d.mts.map +1 -0
  123. package/dist/next.mjs +58 -0
  124. package/dist/next.mjs.map +1 -0
  125. package/dist/{notes-IlQ35E3R.mjs → notes-9bOfe08J.mjs} +7 -8
  126. package/dist/notes-9bOfe08J.mjs.map +1 -0
  127. package/dist/{notes-BtyuHcKA.cjs → notes-DRdlsCYV.cjs} +10 -11
  128. package/dist/notes-DRdlsCYV.cjs.map +1 -0
  129. package/dist/openapi.cjs +3 -3
  130. package/dist/openapi.cjs.map +1 -1
  131. package/dist/openapi.mjs +2 -2
  132. package/dist/{projectBucket-SHlF0_Pr.mjs → projectBucket-Cd7sEDhG.mjs} +2 -2
  133. package/dist/{projectBucket-SHlF0_Pr.mjs.map → projectBucket-Cd7sEDhG.mjs.map} +1 -1
  134. package/dist/{projectBucket-0Lvy2J0h.cjs → projectBucket-gIQUuhGm.cjs} +2 -2
  135. package/dist/{projectBucket-0Lvy2J0h.cjs.map → projectBucket-gIQUuhGm.cjs.map} +1 -1
  136. package/dist/{publish-igpjCzZj.cjs → publish-BgDFx08y.cjs} +2 -2
  137. package/dist/{publish-igpjCzZj.cjs.map → publish-BgDFx08y.cjs.map} +1 -1
  138. package/dist/{publish-C9IJb1Ez.mjs → publish-DOxz4mxf.mjs} +2 -2
  139. package/dist/{publish-C9IJb1Ez.mjs.map → publish-DOxz4mxf.mjs.map} +1 -1
  140. package/dist/{resolve-5T34quci.cjs → resolve-BhQd4IkT.cjs} +4 -4
  141. package/dist/{resolve-5T34quci.cjs.map → resolve-BhQd4IkT.cjs.map} +1 -1
  142. package/dist/{resolve-Cl8CVASM.mjs → resolve-CdDyPOE8.mjs} +4 -4
  143. package/dist/{resolve-Cl8CVASM.mjs.map → resolve-CdDyPOE8.mjs.map} +1 -1
  144. package/dist/{rollback-DMPb940C.cjs → rollback-Brc-_HBJ.cjs} +7 -7
  145. package/dist/{rollback-DMPb940C.cjs.map → rollback-Brc-_HBJ.cjs.map} +1 -1
  146. package/dist/{rollback-1JLE6qPo.mjs → rollback-CLBKeSMl.mjs} +7 -7
  147. package/dist/{rollback-1JLE6qPo.mjs.map → rollback-CLBKeSMl.mjs.map} +1 -1
  148. package/dist/{s3-DkiOi5J1.cjs → s3-CuLmr6Q9.cjs} +3 -3
  149. package/dist/{s3-DkiOi5J1.cjs.map → s3-CuLmr6Q9.cjs.map} +1 -1
  150. package/dist/{s3-CCuNLgHk.mjs → s3-D0BIG_ml.mjs} +3 -3
  151. package/dist/{s3-CCuNLgHk.mjs.map → s3-D0BIG_ml.mjs.map} +1 -1
  152. package/dist/{serverSetup-C0pLpF5w.mjs → serverSetup-An1fE9nd.mjs} +7 -7
  153. package/dist/{serverSetup-C0pLpF5w.mjs.map → serverSetup-An1fE9nd.mjs.map} +1 -1
  154. package/dist/{serverSetup-JYZxj371.cjs → serverSetup-BMpzrB1y.cjs} +7 -7
  155. package/dist/{serverSetup-JYZxj371.cjs.map → serverSetup-BMpzrB1y.cjs.map} +1 -1
  156. package/dist/{sniffer-DB4Ocija.cjs → sniffer-9a8wQeeD.cjs} +7 -7
  157. package/dist/{sniffer-DB4Ocija.cjs.map → sniffer-9a8wQeeD.cjs.map} +1 -1
  158. package/dist/{sniffer-CiV4xGbe.mjs → sniffer-BObBXR5q.mjs} +7 -7
  159. package/dist/{sniffer-CiV4xGbe.mjs.map → sniffer-BObBXR5q.mjs.map} +1 -1
  160. package/dist/{snsSubscriptions-DpYvMVR9.cjs → snsSubscriptions-BRmEdsks.cjs} +3 -3
  161. package/dist/{snsSubscriptions-DpYvMVR9.cjs.map → snsSubscriptions-BRmEdsks.cjs.map} +1 -1
  162. package/dist/{snsSubscriptions-C_-6fqBd.mjs → snsSubscriptions-oUTOkG-s.mjs} +3 -3
  163. package/dist/{snsSubscriptions-C_-6fqBd.mjs.map → snsSubscriptions-oUTOkG-s.mjs.map} +1 -1
  164. package/dist/{sst-D1oSl_1d.cjs → sst-CJQI9GYW.cjs} +6 -6
  165. package/dist/{sst-D1oSl_1d.cjs.map → sst-CJQI9GYW.cjs.map} +1 -1
  166. package/dist/{sst-BUzuE84X.mjs → sst-DVIeKWCH.mjs} +5 -5
  167. package/dist/{sst-BUzuE84X.mjs.map → sst-DVIeKWCH.mjs.map} +1 -1
  168. package/dist/{stack-TUs2DY7v.cjs → stack-2jMvQfLo.cjs} +12 -13
  169. package/dist/{stack-TUs2DY7v.cjs.map → stack-2jMvQfLo.cjs.map} +1 -1
  170. package/dist/{stack-DhBBTTIa.mjs → stack-kcxH-2tZ.mjs} +7 -8
  171. package/dist/{stack-DhBBTTIa.mjs.map → stack-kcxH-2tZ.mjs.map} +1 -1
  172. package/dist/{stage-B3qg7LoZ.cjs → stage-AHgVG7H8.cjs} +7 -7
  173. package/dist/{stage-B3qg7LoZ.cjs.map → stage-AHgVG7H8.cjs.map} +1 -1
  174. package/dist/{stage-DuLwZ9wu.mjs → stage-BQSSMJL4.mjs} +7 -7
  175. package/dist/{stage-DuLwZ9wu.mjs.map → stage-BQSSMJL4.mjs.map} +1 -1
  176. package/dist/{stages-CW7qtiJ2.mjs → stages-BsK1Ro4s.mjs} +3 -3
  177. package/dist/{stages-CW7qtiJ2.mjs.map → stages-BsK1Ro4s.mjs.map} +1 -1
  178. package/dist/{stages-CtqmEJJW.cjs → stages-DpF2K3PZ.cjs} +3 -3
  179. package/dist/{stages-CtqmEJJW.cjs.map → stages-DpF2K3PZ.cjs.map} +1 -1
  180. package/dist/target/public.cjs +1 -1
  181. package/dist/target/public.mjs +1 -1
  182. package/dist/{terminal-CXZWPHMW.cjs → terminal-BNjNr7BN.cjs} +2 -2
  183. package/dist/{terminal-CXZWPHMW.cjs.map → terminal-BNjNr7BN.cjs.map} +1 -1
  184. package/dist/{terminal-B_TanNPL.mjs → terminal-DWROY7JE.mjs} +2 -2
  185. package/dist/{terminal-B_TanNPL.mjs.map → terminal-DWROY7JE.mjs.map} +1 -1
  186. package/dist/types-DEmuMHsS.d.cts.map +1 -1
  187. package/dist/types-g_S0_RAi.d.mts.map +1 -1
  188. package/dist/workspace/index.cjs +1 -1
  189. package/dist/workspace/index.mjs +1 -1
  190. package/dist/{workspace-D5Vm2qcy.mjs → workspace-9q4TSHlM.mjs} +330 -3
  191. package/dist/workspace-9q4TSHlM.mjs.map +1 -0
  192. package/dist/{workspace-VhzmoxOv.cjs → workspace-Ciw3SnME.cjs} +370 -1
  193. package/dist/workspace-Ciw3SnME.cjs.map +1 -0
  194. package/package.json +25 -15
  195. package/dist/apps-Ck_Ie6gN.mjs.map +0 -1
  196. package/dist/apps-S3RMvFyk.cjs.map +0 -1
  197. package/dist/compose-BtjZNCC-.mjs.map +0 -1
  198. package/dist/compose-DmcYTLhO.cjs.map +0 -1
  199. package/dist/config-CXj-9eRo.cjs +0 -890
  200. package/dist/config-CXj-9eRo.cjs.map +0 -1
  201. package/dist/config-Di0oJwM9.mjs +0 -759
  202. package/dist/config-Di0oJwM9.mjs.map +0 -1
  203. package/dist/deploy-CuSF9y7t.mjs.map +0 -1
  204. package/dist/deploy-DGXMqTan.cjs.map +0 -1
  205. package/dist/docker-qq5xNUP2.cjs.map +0 -1
  206. package/dist/engine-CdU3Oggs.mjs.map +0 -1
  207. package/dist/engine-WllCnGNy.cjs.map +0 -1
  208. package/dist/github-B3lKrKIn.cjs.map +0 -1
  209. package/dist/github-Bt3V7pdf.mjs.map +0 -1
  210. package/dist/notes-BtyuHcKA.cjs.map +0 -1
  211. package/dist/notes-IlQ35E3R.mjs.map +0 -1
  212. package/dist/workspace-D5Vm2qcy.mjs.map +0 -1
  213. package/dist/workspace-VhzmoxOv.cjs.map +0 -1
@@ -1,9 +1,8 @@
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-DVYgFK_H.cjs");
4
- const require_workspace = require("./workspace-VhzmoxOv.cjs");
5
- const require_compose = require("./compose-CNJO99Tv.cjs");
6
- const require_config = require("./config-CXj-9eRo.cjs");
3
+ const require_credentials = require("./credentials-CORvhcrO.cjs");
4
+ const require_workspace = require("./workspace-Ciw3SnME.cjs");
5
+ const require_compose = require("./compose-BqTuzitb.cjs");
7
6
  const require_SubscriberGenerator = require("./SubscriberGenerator-mZpSuSU7.cjs");
8
7
  const require_types = require("./types-Bl_CwZC9.cjs");
9
8
  const require_EndpointGenerator = require("./EndpointGenerator-DxrRqfJ3.cjs");
@@ -24,6 +23,8 @@ let _geekmidas_events_sns_url = require("@geekmidas/events/sns/url");
24
23
  _geekmidas_events_sns_url = require_rolldown_runtime.__toESM(_geekmidas_events_sns_url, 1);
25
24
  let _geekmidas_events_sqs_url = require("@geekmidas/events/sqs/url");
26
25
  _geekmidas_events_sqs_url = require_rolldown_runtime.__toESM(_geekmidas_events_sqs_url, 1);
26
+ let _geekmidas_storage_s3_url = require("@geekmidas/storage/s3-url");
27
+ _geekmidas_storage_s3_url = require_rolldown_runtime.__toESM(_geekmidas_storage_s3_url, 1);
27
28
  let _geekmidas_cache_postgres = require("@geekmidas/cache/postgres");
28
29
  let node_util = require("node:util");
29
30
  let node_forge = require("node-forge");
@@ -55,6 +56,9 @@ function deploysWithCompose(workspace) {
55
56
  * gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/auth-database.sql.gz
56
57
  * ```
57
58
  *
59
+ * Beside the runs, `imports/` holds files prepared by hand for
60
+ * `gkm backup:restore --from` — never listed as a run, never expired.
61
+ *
58
62
  * The file is named after the database's construct, the way its migrations
59
63
  * folder is: `AuthDatabase` is `db/auth-database`, and `auth-database.sql.gz`.
60
64
  */
@@ -125,6 +129,10 @@ function backupDatabases(resources) {
125
129
  * deployed stage each time, never from the stage being deployed alone: one
126
130
  * stage's deploy keeps every other's rule. A stage set to `false` has none,
127
131
  * and its backups are kept until someone deletes them.
132
+ *
133
+ * The rule covers the runs and nothing else beside them: a lifecycle filter
134
+ * cannot leave a folder out, so it matches what every run folder starts
135
+ * with — its year, `2…` — and the stage's `imports/` is never expired.
128
136
  */
129
137
  function backupExpiries(workspace, manifest) {
130
138
  const expiries = [];
@@ -133,7 +141,7 @@ function backupExpiries(workspace, manifest) {
133
141
  if (choice.mode !== "on") continue;
134
142
  expiries.push({
135
143
  id: `gkm-backups-${stage}`,
136
- prefix: `${backupsPrefix(workspace, stage)}/`,
144
+ prefix: `${backupsPrefix(workspace, stage)}/2`,
137
145
  days: choice.backups.keepDays,
138
146
  abortIncompleteDays: 1
139
147
  });
@@ -161,7 +169,7 @@ function processorsDevRoute(fileServerId) {
161
169
  * The Caddy configuration a plan implies.
162
170
  *
163
171
  * A file server is a *domain that serves a bucket*, and locally it had neither:
164
- * `UPLOADS_SERVER_URL` resolved to MinIO's path-style address, which works and
172
+ * `UPLOADS_URL` resolved to MinIO's path-style address, which works and
165
173
  * is not the deployed shape. MinIO's own virtual-host mode cannot fix that —
166
174
  * it reads the leading label *as the bucket name*, so it produces the right
167
175
  * shape only when the server's id and the bucket's happen to agree, and never
@@ -334,7 +342,7 @@ function hostFor$1(resource, project) {
334
342
  * kept, so `gkm test` and `gkm dev` still answer on different hosts.
335
343
  */
336
344
  function labelOf(resource) {
337
- const own = resource.kind === "file-server" ? require_config.fileServerLabel(resource.id) : resource.subdomain;
345
+ const own = resource.kind === "file-server" ? require_workspace.fileServerLabel(resource.id) : resource.subdomain;
338
346
  if (!own) return resource.name;
339
347
  const stage = stageOf(resource);
340
348
  return stage ? `${own}-${stage}` : own;
@@ -511,7 +519,7 @@ function telemetryOf(manifest, id) {
511
519
  * undefined for a site, an app without one, or one with no edge.
512
520
  */
513
521
  function appTelemetry(manifest, appName) {
514
- const id = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_config.appKey(id) === appName)?.[0];
522
+ const id = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_workspace.appKey(id) === appName)?.[0];
515
523
  return id ? telemetryOf(manifest, id) : void 0;
516
524
  }
517
525
  /** Whether any process in the manifest emits through a `Telemetry` node. */
@@ -558,7 +566,7 @@ function surfaceClientTraced(manifest, surfaceId) {
558
566
  * for a stage that sends no telemetry.
559
567
  */
560
568
  function siteClientTelemetry(manifest, appName, workspace, stage) {
561
- const id = Object.entries(manifest).find(([id, d]) => d.kind === "site" && require_config.appKey(id) === appName)?.[0];
569
+ const id = Object.entries(manifest).find(([id, d]) => d.kind === "site" && require_workspace.appKey(id) === appName)?.[0];
562
570
  if (!id || !siteUsesTelemetry(manifest, id)) return void 0;
563
571
  const sampleRate = require_workspace.stageSampleRate(workspace.deploy?.telemetry, stage ?? workspace.stages.local, !stage || stage === workspace.stages.local);
564
572
  return sampleRate === void 0 ? void 0 : { sampleRate };
@@ -649,7 +657,8 @@ const ROLES = {
649
657
  queue: "publisherConnectionString",
650
658
  topic: "publisherConnectionString",
651
659
  credential: "credentials",
652
- "mobile-app": "scheme"
660
+ "mobile-app": "scheme",
661
+ objects: "connectionString"
653
662
  };
654
663
  /** The kinds whose container is the events backend's rather than their own. */
655
664
  const EVENT_KINDS = {
@@ -774,6 +783,10 @@ function planFor(manifest, stage, order, options = {}) {
774
783
  provisions: PROVISIONS[declaration.kind] === true,
775
784
  ...declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "objects" || declaration.kind === "file-server" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
776
785
  ...declaration.kind === "site" ? { publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest) } : {},
786
+ ...(declaration.kind === "site" || declaration.kind === "mobile-app") && (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest).length > 0 ? { imageOrigins: {
787
+ key: `${_geekmidas_manifest.PUBLIC_PREFIX[declaration.variant]}${_geekmidas_manifest.IMAGE_ORIGINS_KEY}`,
788
+ sources: (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest)
789
+ } } : {},
777
790
  ...declaration.kind === "mobile-app" ? {
778
791
  publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest),
779
792
  ...declaration.scheme ? { scheme: declaration.scheme } : {}
@@ -788,7 +801,7 @@ function planFor(manifest, stage, order, options = {}) {
788
801
  ...declaration.kind === "objects" && (0, _geekmidas_manifest.bucketExpiry)(manifest, id) ? { expire: (0, _geekmidas_manifest.bucketExpiry)(manifest, id) } : {},
789
802
  ...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
790
803
  ...(0, _geekmidas_manifest.isWildcardSite)(declaration) ? {
791
- protectedSubdomains: require_config.protectedSubdomains(manifest, options.protectedSubdomains),
804
+ protectedSubdomains: require_workspace.protectedSubdomains(manifest, options.protectedSubdomains),
792
805
  ...declaration.hosts ? { hosts: declaration.hosts } : {}
793
806
  } : {},
794
807
  ...fake ? { fake: {
@@ -827,11 +840,11 @@ function planFor(manifest, stage, order, options = {}) {
827
840
  const root = require_compose.rootSite(sites.map((r) => {
828
841
  const declared = manifest[r.id];
829
842
  return {
830
- name: require_config.appKey(r.id),
843
+ name: require_workspace.appKey(r.id),
831
844
  ...declared?.kind === "site" && declared.root ? { root: true } : {}
832
845
  };
833
846
  }));
834
- for (const site of sites) if (require_config.appKey(site.id) === root) site.root = true;
847
+ for (const site of sites) if (require_workspace.appKey(site.id) === root) site.root = true;
835
848
  const workerBroker = events === "pgboss" && Object.values(manifest).some((d) => d?.kind === "worker") && resources.some((r) => r.kind === "database");
836
849
  return {
837
850
  stage,
@@ -888,6 +901,36 @@ var PgBossNeedsDatabase = class extends require_errors.GkmError {
888
901
  }
889
902
  };
890
903
  //#endregion
904
+ //#region src/reconcile/signedOrigins.ts
905
+ /**
906
+ * Where each bucket's presigned links point, derived from its connection.
907
+ *
908
+ * Not stored and not provisioned: the origin is a function of the connection
909
+ * string (`s3Url.signedOrigin`), so it is computed wherever the connection is
910
+ * resolved — a stage's secrets, MinIO locally — and can never disagree with
911
+ * the links the bucket's client signs.
912
+ */
913
+ /**
914
+ * `<ID>_SIGNED_ORIGIN` for each bucket whose connection `lookup` resolves to
915
+ * an `s3://` URL with a knowable host. A bucket with none, or another scheme,
916
+ * gets nothing rather than a guess.
917
+ */
918
+ function signedOrigins(buckets, lookup) {
919
+ const origins = {};
920
+ for (const id of buckets) {
921
+ const connection = lookup((0, _geekmidas_manifest.provideKey)(id, "connectionString"));
922
+ if (!connection?.startsWith("s3:")) continue;
923
+ let origin;
924
+ try {
925
+ origin = _geekmidas_storage_s3_url.signedOrigin(_geekmidas_storage_s3_url.parse(connection));
926
+ } catch {
927
+ continue;
928
+ }
929
+ if (origin) origins[(0, _geekmidas_manifest.provideKey)(id, "signedOrigin")] = origin;
930
+ }
931
+ return origins;
932
+ }
933
+ //#endregion
891
934
  //#region src/reconcile/env.ts
892
935
  /**
893
936
  * The URLs a reconciled stage injects.
@@ -1031,6 +1074,7 @@ function envFor(plan, options) {
1031
1074
  if (inbox !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
1032
1075
  }
1033
1076
  }
1077
+ Object.assign(env, signedOrigins(plan.resources.filter((r) => r.kind === "objects").map((r) => r.id), (key) => env[key]));
1034
1078
  Object.assign(env, publicEnv(plan, env, options.addresses));
1035
1079
  Object.assign(env, brokerEnv(plan, options.ports, credential));
1036
1080
  const relay = env.EVENT_PUBLISHER_CONNECTION_STRING;
@@ -1062,9 +1106,15 @@ function envFor(plan, options) {
1062
1106
  function publicEnv(plan, resolved, addresses = {}) {
1063
1107
  const env = {};
1064
1108
  const owners = new Map(plan.resources.map((r) => [r.envKey, r.id]));
1065
- for (const resource of plan.resources) for (const [key, source] of Object.entries(resource.publicEnv ?? {})) {
1066
- const value = (resource.kind === "mobile-app" ? addresses[owners.get(source) ?? ""] : void 0) ?? resolved[source];
1067
- if (value) env[key] = value;
1109
+ for (const resource of plan.resources) {
1110
+ for (const [key, source] of Object.entries(resource.publicEnv ?? {})) {
1111
+ const value = (resource.kind === "mobile-app" ? addresses[owners.get(source) ?? ""] : void 0) ?? resolved[source];
1112
+ if (value) env[key] = value;
1113
+ }
1114
+ if (resource.imageOrigins) {
1115
+ const origins = (0, _geekmidas_manifest.imageOrigins)(resource.imageOrigins.sources, (key) => resolved[key]);
1116
+ if (origins) env[resource.imageOrigins.key] = origins;
1117
+ }
1068
1118
  }
1069
1119
  return env;
1070
1120
  }
@@ -2201,7 +2251,7 @@ function workerUnits(workspace, manifest, background) {
2201
2251
  if (declaration.kind !== "worker") continue;
2202
2252
  const files = background[id] ?? [];
2203
2253
  if (files.length === 0) continue;
2204
- const name = require_config.appKey(id);
2254
+ const name = require_workspace.appKey(id);
2205
2255
  if (workspace.apps[name]) throw new WorkerNameTaken(id, name);
2206
2256
  const host = hostFor(hosts, files);
2207
2257
  if (!host) throw new WorkerHasNoApp(id);
@@ -2215,7 +2265,7 @@ function workerUnits(workspace, manifest, background) {
2215
2265
  }
2216
2266
  /** The service and image name of a file server's processors: `assets-processors`. */
2217
2267
  function processorUnitName(fileServerId) {
2218
- return `${require_config.fileServerLabel(fileServerId)}-processors`;
2268
+ return `${require_workspace.fileServerLabel(fileServerId)}-processors`;
2219
2269
  }
2220
2270
  /** A file server with processors and no backend app to build them from. */
2221
2271
  var ProcessorsHaveNoApp = class extends require_errors.GkmError {
@@ -2256,7 +2306,7 @@ function processorUnits(workspace, manifest) {
2256
2306
  /** The backend apps whose builds generate a server, each where it lives. */
2257
2307
  function hostApps(workspace, manifest) {
2258
2308
  return Object.entries(workspace.apps).filter(([, app]) => app.type === "backend" && !app.entry).map(([name, app]) => {
2259
- const surface = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_config.appKey(id) === name)?.[1];
2309
+ const surface = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_workspace.appKey(id) === name)?.[1];
2260
2310
  return {
2261
2311
  name,
2262
2312
  root: (0, node_path.isAbsolute)(app.path) ? app.path : (0, node_path.join)(workspace.root, app.path),
@@ -2311,11 +2361,14 @@ function publicBuildValues(site, manifest, resolve, secrets) {
2311
2361
  const own = (0, _geekmidas_manifest.provideKey)(site.id, site.kind === "site" ? "url" : "scheme");
2312
2362
  const ownValue = resolve(own);
2313
2363
  if (ownValue) args[own] = ownValue;
2364
+ const derived = signedOrigins(Object.keys(manifest).filter((id) => manifest[id]?.kind === "objects"), resolve);
2314
2365
  for (const [key, source] of Object.entries((0, _geekmidas_manifest.publicEnvFor)(site, manifest))) {
2315
- const value = resolve(source);
2366
+ const value = resolve(source) ?? derived[source];
2316
2367
  if (value) args[key] = value;
2317
2368
  }
2318
2369
  const prefix = _geekmidas_manifest.PUBLIC_PREFIX[site.variant];
2370
+ const origins = (0, _geekmidas_manifest.imageOrigins)((0, _geekmidas_manifest.imageOriginSources)(site, manifest), (source) => resolve(source) ?? derived[source]);
2371
+ if (origins) args[`${prefix}${_geekmidas_manifest.IMAGE_ORIGINS_KEY}`] = origins;
2319
2372
  for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
2320
2373
  return args;
2321
2374
  }
@@ -2369,13 +2422,13 @@ function hostOf(value) {
2369
2422
  */
2370
2423
  function siteOfflineHosts(manifest, appName, ownUrl, urls) {
2371
2424
  const entries = Object.entries(manifest);
2372
- const site = entries.find(([id, d]) => d.kind === "site" && require_config.appKey(id) === appName)?.[1];
2425
+ const site = entries.find(([id, d]) => d.kind === "site" && require_workspace.appKey(id) === appName)?.[1];
2373
2426
  if (site?.kind !== "site") return [];
2374
2427
  const byKey = /* @__PURE__ */ new Map();
2375
2428
  for (const [id] of entries) {
2376
- const name = require_config.appKey(id);
2429
+ const name = require_workspace.appKey(id);
2377
2430
  const url = name === appName ? ownUrl : urls[name];
2378
- if (url) byKey.set((0, _geekmidas_manifest.provideKey)(id, "url"), url);
2431
+ if (url) byKey.set((0, _geekmidas_manifest.providedKeyFor)(id, manifest[id].kind, "url"), url);
2379
2432
  }
2380
2433
  return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
2381
2434
  }
@@ -3460,7 +3513,7 @@ const ORIGIN_VERIFY_HEADER = "X-Gkm-Origin-Verify";
3460
3513
  * `AssetsServer`.
3461
3514
  */
3462
3515
  function processorOriginHost(serverId, domain) {
3463
- return `${require_config.fileServerLabel(serverId)}-processors.${domain}`.toLowerCase();
3516
+ return `${require_workspace.fileServerLabel(serverId)}-processors.${domain}`.toLowerCase();
3464
3517
  }
3465
3518
  /** The stage secret holding the header's value: `ASSETS_SERVER_ORIGIN_SECRET`. */
3466
3519
  function originSecretKey(serverId) {
@@ -5140,7 +5193,7 @@ function metroPorts(workspace, manifest) {
5140
5193
  const ports = {};
5141
5194
  for (const [id, declaration] of Object.entries(manifest)) {
5142
5195
  if (declaration.kind !== "mobile-app") continue;
5143
- const port = workspace.apps[require_config.appKey(id)]?.port;
5196
+ const port = workspace.apps[require_workspace.appKey(id)]?.port;
5144
5197
  if (port) ports[id] = port;
5145
5198
  }
5146
5199
  return ports;
@@ -5178,7 +5231,7 @@ function surfaceAddresses(workspace, manifest, at = (_app, port) => localAddress
5178
5231
  const addresses = {};
5179
5232
  for (const [id, declaration] of Object.entries(manifest)) {
5180
5233
  if (declaration.kind !== "rest-api" && declaration.kind !== "websocket-api" && declaration.kind !== "site") continue;
5181
- const host = require_config.appKey(id);
5234
+ const host = require_workspace.appKey(id);
5182
5235
  const port = workspace.apps[host]?.port;
5183
5236
  if (port) addresses[id] = at(host, port);
5184
5237
  }
@@ -5264,7 +5317,7 @@ function localPlan(workspace, manifest, fakes = {}, credentialFakes = {}) {
5264
5317
  * host's port for each app, never a name on the compose network.
5265
5318
  */
5266
5319
  function sitePublicArgs(manifest, appName, env) {
5267
- const declaration = Object.entries(manifest).find(([id, d]) => d.kind === "site" && require_config.appKey(id) === appName)?.[1];
5320
+ const declaration = Object.entries(manifest).find(([id, d]) => d.kind === "site" && require_workspace.appKey(id) === appName)?.[1];
5268
5321
  if (declaration?.kind !== "site") return {};
5269
5322
  return publicBuildValues(declaration, manifest, (key) => env[key], {});
5270
5323
  }
@@ -5352,7 +5405,7 @@ function networkEnv(plan, options, hostOf = (container) => container) {
5352
5405
  * port.
5353
5406
  */
5354
5407
  function appEnvKeys(manifest, appName) {
5355
- const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site" || d.kind === "mobile-app") && require_config.appKey(id) === appName);
5408
+ const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site" || d.kind === "mobile-app") && require_workspace.appKey(id) === appName);
5356
5409
  if (!entry) return void 0;
5357
5410
  const [id, declaration] = entry;
5358
5411
  const keys = /* @__PURE__ */ new Set([
@@ -5413,7 +5466,7 @@ function constructKeys(manifest) {
5413
5466
  add(declaration.requires);
5414
5467
  if (declaration.kind === "worker") add(workerEnvKeys(manifest, id));
5415
5468
  if (declaration.kind === "file-server") add(processorEnvKeys(manifest, id));
5416
- if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") add(appEnvKeys(manifest, require_config.appKey(id)));
5469
+ if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") add(appEnvKeys(manifest, require_workspace.appKey(id)));
5417
5470
  }
5418
5471
  return keys;
5419
5472
  }
@@ -5563,7 +5616,7 @@ function appServices(workspace, manifest, containers, credentials, fakes = {}, c
5563
5616
  const buildRoot = findBuildRoot(workspace.root);
5564
5617
  for (const [name, app] of Object.entries(workspace.apps)) {
5565
5618
  if (app.type === "mobile" || !app.port) continue;
5566
- const key = require_config.appKey(name);
5619
+ const key = require_workspace.appKey(name);
5567
5620
  const health = app.type === "web" ? "/" : "/health";
5568
5621
  const build = composeBuildPaths({
5569
5622
  composeDir: workspace.root,
@@ -6249,4 +6302,4 @@ Object.defineProperty(exports, "workspace_exports", {
6249
6302
  }
6250
6303
  });
6251
6304
 
6252
- //# sourceMappingURL=apps-S3RMvFyk.cjs.map
6305
+ //# sourceMappingURL=apps-C6s-trVp.cjs.map