@geekmidas/cli 10.0.0-alpha.179 → 10.0.0-alpha.180

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 (306) hide show
  1. package/dist/{EndpointGenerator-DMq6ameY.mjs → EndpointGenerator-CBKH87_b.mjs} +3 -3
  2. package/dist/{EndpointGenerator-DMq6ameY.mjs.map → EndpointGenerator-CBKH87_b.mjs.map} +1 -1
  3. package/dist/{EndpointGenerator-yx7_SoXT.cjs → EndpointGenerator-iyA3HkOH.cjs} +3 -3
  4. package/dist/{EndpointGenerator-yx7_SoXT.cjs.map → EndpointGenerator-iyA3HkOH.cjs.map} +1 -1
  5. package/dist/{LegacyStateStore-BzUlIHvz.mjs → LegacyStateStore-B7pQA25B.mjs} +2 -2
  6. package/dist/{LegacyStateStore-BzUlIHvz.mjs.map → LegacyStateStore-B7pQA25B.mjs.map} +1 -1
  7. package/dist/{LegacyStateStore-C7FFaVce.cjs → LegacyStateStore-l0hBdv-E.cjs} +2 -2
  8. package/dist/{LegacyStateStore-C7FFaVce.cjs.map → LegacyStateStore-l0hBdv-E.cjs.map} +1 -1
  9. package/dist/{LocalStateStore-BvI8RUtS.mjs → LocalStateStore-CP0UHL85.mjs} +2 -2
  10. package/dist/{LocalStateStore-BvI8RUtS.mjs.map → LocalStateStore-CP0UHL85.mjs.map} +1 -1
  11. package/dist/{LocalStateStore-BJQvLCrg.cjs → LocalStateStore-DEE0Kc_s.cjs} +2 -2
  12. package/dist/{LocalStateStore-BJQvLCrg.cjs.map → LocalStateStore-DEE0Kc_s.cjs.map} +1 -1
  13. package/dist/{OpenApiTsGenerator-C_JqxkWt.mjs → OpenApiTsGenerator-CoVA3Ykv.mjs} +2 -2
  14. package/dist/{OpenApiTsGenerator-C_JqxkWt.mjs.map → OpenApiTsGenerator-CoVA3Ykv.mjs.map} +1 -1
  15. package/dist/{OpenApiTsGenerator-gM70-7qw.cjs → OpenApiTsGenerator-vy-fOJgs.cjs} +2 -2
  16. package/dist/{OpenApiTsGenerator-gM70-7qw.cjs.map → OpenApiTsGenerator-vy-fOJgs.cjs.map} +1 -1
  17. package/dist/{S3StateStore-C1ZX1w5v.cjs → S3StateStore-DE0BNuXc.cjs} +4 -4
  18. package/dist/{S3StateStore-C1ZX1w5v.cjs.map → S3StateStore-DE0BNuXc.cjs.map} +1 -1
  19. package/dist/{S3StateStore-DYQSxiVw.mjs → S3StateStore-vmxZWMKh.mjs} +4 -4
  20. package/dist/{S3StateStore-DYQSxiVw.mjs.map → S3StateStore-vmxZWMKh.mjs.map} +1 -1
  21. package/dist/{SSMStateStore-DWQk17j8.mjs → SSMStateStore-DQyXnX2M.mjs} +2 -2
  22. package/dist/{SSMStateStore-DWQk17j8.mjs.map → SSMStateStore-DQyXnX2M.mjs.map} +1 -1
  23. package/dist/{SSMStateStore-tXnZSJxP.cjs → SSMStateStore-p4hBdTg3.cjs} +2 -2
  24. package/dist/{SSMStateStore-tXnZSJxP.cjs.map → SSMStateStore-p4hBdTg3.cjs.map} +1 -1
  25. package/dist/{SubscriberGenerator-NxcLNeDJ.mjs → SubscriberGenerator-B3jHf26s.mjs} +4 -4
  26. package/dist/{SubscriberGenerator-NxcLNeDJ.mjs.map → SubscriberGenerator-B3jHf26s.mjs.map} +1 -1
  27. package/dist/{SubscriberGenerator-DXh1Touk.cjs → SubscriberGenerator-JhwVlWBS.cjs} +4 -4
  28. package/dist/{SubscriberGenerator-DXh1Touk.cjs.map → SubscriberGenerator-JhwVlWBS.cjs.map} +1 -1
  29. package/dist/{add-D6GloVNz.cjs → add-DEdpKya-.cjs} +8 -8
  30. package/dist/{add-D6GloVNz.cjs.map → add-DEdpKya-.cjs.map} +1 -1
  31. package/dist/{add-nJBUo4fT.mjs → add-QBvDmVA-.mjs} +8 -8
  32. package/dist/{add-nJBUo4fT.mjs.map → add-QBvDmVA-.mjs.map} +1 -1
  33. package/dist/{apps-GDmO_v7v.mjs → apps-D0LULFmU.mjs} +15 -361
  34. package/dist/apps-D0LULFmU.mjs.map +1 -0
  35. package/dist/{apps-DPw1i9E7.cjs → apps-qJ5FPJGQ.cjs} +12 -389
  36. package/dist/apps-qJ5FPJGQ.cjs.map +1 -0
  37. package/dist/{aws-DKC2m3sT.cjs → aws-BXfiWNbi.cjs} +2 -2
  38. package/dist/{aws-DKC2m3sT.cjs.map → aws-BXfiWNbi.cjs.map} +1 -1
  39. package/dist/{aws-C5LAU_Ii.mjs → aws-BjvSTTcE.mjs} +2 -2
  40. package/dist/{aws-C5LAU_Ii.mjs.map → aws-BjvSTTcE.mjs.map} +1 -1
  41. package/dist/{awsStore-Bx5nCFnS.mjs → awsStore-BYYCmXiq.mjs} +2 -2
  42. package/dist/{awsStore-Bx5nCFnS.mjs.map → awsStore-BYYCmXiq.mjs.map} +1 -1
  43. package/dist/{awsStore-u3ehhMoY.cjs → awsStore-DKQUElJL.cjs} +2 -2
  44. package/dist/{awsStore-u3ehhMoY.cjs.map → awsStore-DKQUElJL.cjs.map} +1 -1
  45. package/dist/{bundler-DzN34D-8.cjs → bundler-BuBCXA0t.cjs} +6 -6
  46. package/dist/{bundler-DzN34D-8.cjs.map → bundler-BuBCXA0t.cjs.map} +1 -1
  47. package/dist/{bundler-BFGjH_mQ.mjs → bundler-DZKdVVKZ.mjs} +6 -6
  48. package/dist/{bundler-BFGjH_mQ.mjs.map → bundler-DZKdVVKZ.mjs.map} +1 -1
  49. package/dist/{cli-CVlkduxS.cjs → cli-BCGkzaR1.cjs} +5 -5
  50. package/dist/{cli-CVlkduxS.cjs.map → cli-BCGkzaR1.cjs.map} +1 -1
  51. package/dist/{cli-Ik7ar-Ux.mjs → cli-CgEbT00Q.mjs} +5 -5
  52. package/dist/{cli-Ik7ar-Ux.mjs.map → cli-CgEbT00Q.mjs.map} +1 -1
  53. package/dist/clientTelemetry-BAwj6MOf.d.cts +10 -0
  54. package/dist/clientTelemetry-BAwj6MOf.d.cts.map +1 -0
  55. package/dist/clientTelemetry-CvamPJj_.d.mts +10 -0
  56. package/dist/clientTelemetry-CvamPJj_.d.mts.map +1 -0
  57. package/dist/{compose-CE0Vi7zq.cjs → compose-AO8u4mBI.cjs} +51 -49
  58. package/dist/compose-AO8u4mBI.cjs.map +1 -0
  59. package/dist/{compose-BKLJMnDI.cjs → compose-C-yjexqX.cjs} +9 -37
  60. package/dist/compose-C-yjexqX.cjs.map +1 -0
  61. package/dist/{compose-pFnSi3Zf.mjs → compose-C23RpAaF.mjs} +15 -13
  62. package/dist/compose-C23RpAaF.mjs.map +1 -0
  63. package/dist/{compose-DH1ToGh2.mjs → compose-DtfoUChm.mjs} +10 -32
  64. package/dist/compose-DtfoUChm.mjs.map +1 -0
  65. package/dist/{config-CsCYzlVO.d.mts → config-BODxZemw.d.mts} +3 -3
  66. package/dist/{config-CsCYzlVO.d.mts.map → config-BODxZemw.d.mts.map} +1 -1
  67. package/dist/{config-D-gHQXhi.d.cts → config-C3U5HulX.d.cts} +3 -3
  68. package/dist/{config-D-gHQXhi.d.cts.map → config-C3U5HulX.d.cts.map} +1 -1
  69. package/dist/config.cjs +3 -3
  70. package/dist/config.d.cts +3 -3
  71. package/dist/config.d.mts +3 -3
  72. package/dist/config.mjs +3 -3
  73. package/dist/{credentialSchemas-BzJiK1nQ.mjs → credentialSchemas-D_85KW2k.mjs} +3 -3
  74. package/dist/{credentialSchemas-BzJiK1nQ.mjs.map → credentialSchemas-D_85KW2k.mjs.map} +1 -1
  75. package/dist/{credentialSchemas-OVXofU-r.cjs → credentialSchemas-DjK6xKMk.cjs} +3 -3
  76. package/dist/{credentialSchemas-OVXofU-r.cjs.map → credentialSchemas-DjK6xKMk.cjs.map} +1 -1
  77. package/dist/{databases-SFnPaOGM.mjs → databases-CV22HzrI.mjs} +2 -2
  78. package/dist/{databases-SFnPaOGM.mjs.map → databases-CV22HzrI.mjs.map} +1 -1
  79. package/dist/{databases-BOuB-zg4.cjs → databases-DwYYH2mX.cjs} +2 -2
  80. package/dist/{databases-BOuB-zg4.cjs.map → databases-DwYYH2mX.cjs.map} +1 -1
  81. package/dist/{dbTunnel-BnacLKDV.cjs → dbTunnel-Bve0zBqT.cjs} +7 -7
  82. package/dist/{dbTunnel-BnacLKDV.cjs.map → dbTunnel-Bve0zBqT.cjs.map} +1 -1
  83. package/dist/{dbTunnel-CqDaxQig.mjs → dbTunnel-CnubkLBa.mjs} +7 -7
  84. package/dist/{dbTunnel-CqDaxQig.mjs.map → dbTunnel-CnubkLBa.mjs.map} +1 -1
  85. package/dist/{define-6poNqm5O.mjs → define-BfrNaY82.mjs} +2 -2
  86. package/dist/{define-6poNqm5O.mjs.map → define-BfrNaY82.mjs.map} +1 -1
  87. package/dist/{define-crmMcXFS.cjs → define-zKgLY65H.cjs} +2 -2
  88. package/dist/{define-crmMcXFS.cjs.map → define-zKgLY65H.cjs.map} +1 -1
  89. package/dist/deploy/public.cjs +15 -15
  90. package/dist/deploy/public.d.cts +5 -4
  91. package/dist/deploy/public.d.cts.map +1 -1
  92. package/dist/deploy/public.d.mts +5 -4
  93. package/dist/deploy/public.d.mts.map +1 -1
  94. package/dist/deploy/public.mjs +15 -15
  95. package/dist/{deploy-l0Vc846k.cjs → deploy-C2MKxzm9.cjs} +20 -19
  96. package/dist/deploy-C2MKxzm9.cjs.map +1 -0
  97. package/dist/{deploy-CpAkrZ25.mjs → deploy-Qq41vtpm.mjs} +19 -18
  98. package/dist/deploy-Qq41vtpm.mjs.map +1 -0
  99. package/dist/{destroy-eeB_PrmN.mjs → destroy-Bg4IUf_Z.mjs} +11 -10
  100. package/dist/destroy-Bg4IUf_Z.mjs.map +1 -0
  101. package/dist/{destroy-DtAqmjGz.cjs → destroy-CCpnHI2v.cjs} +13 -12
  102. package/dist/destroy-CCpnHI2v.cjs.map +1 -0
  103. package/dist/{discover-B_PDDaVj.mjs → discover-Dfmn6HQ7.mjs} +2 -2
  104. package/dist/{discover-B_PDDaVj.mjs.map → discover-Dfmn6HQ7.mjs.map} +1 -1
  105. package/dist/{discover-39VKSE2i.cjs → discover-OXczlq08.cjs} +2 -2
  106. package/dist/{discover-39VKSE2i.cjs.map → discover-OXczlq08.cjs.map} +1 -1
  107. package/dist/{dns-B2vsk2Rc.mjs → dns-BAM8VH1v.mjs} +147 -179
  108. package/dist/dns-BAM8VH1v.mjs.map +1 -0
  109. package/dist/{dns-WneRa4VJ.cjs → dns-D_0z9Tm1.cjs} +145 -201
  110. package/dist/dns-D_0z9Tm1.cjs.map +1 -0
  111. package/dist/{docker-Dk6p33pD.cjs → docker-6EUbKrEl.cjs} +9 -9
  112. package/dist/{docker-Dk6p33pD.cjs.map → docker-6EUbKrEl.cjs.map} +1 -1
  113. package/dist/{docker-DyUpcwqy.mjs → docker-DQoE3Fr7.mjs} +9 -9
  114. package/dist/{docker-DyUpcwqy.mjs.map → docker-DQoE3Fr7.mjs.map} +1 -1
  115. package/dist/{dokploy-Byg0zr1O.cjs → dokploy-BD8NXy8y.cjs} +3 -3
  116. package/dist/{dokploy-Byg0zr1O.cjs.map → dokploy-BD8NXy8y.cjs.map} +1 -1
  117. package/dist/{dokploy-De5b47YI.mjs → dokploy-CU9iuc35.mjs} +3 -3
  118. package/dist/{dokploy-De5b47YI.mjs.map → dokploy-CU9iuc35.mjs.map} +1 -1
  119. package/dist/{eas-DAH6D89J.cjs → eas-BhTOdQrE.cjs} +4 -4
  120. package/dist/{eas-DAH6D89J.cjs.map → eas-BhTOdQrE.cjs.map} +1 -1
  121. package/dist/{eas-BnLaz86I.mjs → eas-iYyg7Xjy.mjs} +4 -4
  122. package/dist/{eas-BnLaz86I.mjs.map → eas-iYyg7Xjy.mjs.map} +1 -1
  123. package/dist/{encryption-IiDQJs6j.mjs → encryption-hgmnMZw0.mjs} +4 -4
  124. package/dist/{encryption-IiDQJs6j.mjs.map → encryption-hgmnMZw0.mjs.map} +1 -1
  125. package/dist/{encryption-D7u_SKqz.cjs → encryption-yROMpM67.cjs} +4 -4
  126. package/dist/{encryption-D7u_SKqz.cjs.map → encryption-yROMpM67.cjs.map} +1 -1
  127. package/dist/{engine-BhS-wyH0.mjs → engine-B4whsrrE.mjs} +12 -12
  128. package/dist/engine-B4whsrrE.mjs.map +1 -0
  129. package/dist/{engine-CaWo9tZO.cjs → engine-D0XYdIiE.cjs} +12 -12
  130. package/dist/engine-D0XYdIiE.cjs.map +1 -0
  131. package/dist/{errors-D8Gwp5kU.mjs → errors-C9uIyIDt.mjs} +7 -3
  132. package/dist/{errors-D8Gwp5kU.mjs.map → errors-C9uIyIDt.mjs.map} +1 -1
  133. package/dist/{errors-DMC4Umsb.cjs → errors-D1x8duqI.cjs} +7 -3
  134. package/dist/errors-D1x8duqI.cjs.map +1 -0
  135. package/dist/{github-BQCqBMZ9.mjs → github-CBkZF4PS.mjs} +11 -11
  136. package/dist/{github-BQCqBMZ9.mjs.map → github-CBkZF4PS.mjs.map} +1 -1
  137. package/dist/{github-Cz_LTqBn.cjs → github-D1-_OnGL.cjs} +11 -11
  138. package/dist/{github-Cz_LTqBn.cjs.map → github-D1-_OnGL.cjs.map} +1 -1
  139. package/dist/{googlePlay-DowNo3wp.mjs → googlePlay-Bwv8TVi8.mjs} +5 -5
  140. package/dist/{googlePlay-DowNo3wp.mjs.map → googlePlay-Bwv8TVi8.mjs.map} +1 -1
  141. package/dist/{googlePlay-CuqPxtno.cjs → googlePlay-s9dGfrrb.cjs} +5 -5
  142. package/dist/{googlePlay-CuqPxtno.cjs.map → googlePlay-s9dGfrrb.cjs.map} +1 -1
  143. package/dist/{iam-Cs2Ph5f2.mjs → iam-BzFyFf7T.mjs} +2 -2
  144. package/dist/{iam-Cs2Ph5f2.mjs.map → iam-BzFyFf7T.mjs.map} +1 -1
  145. package/dist/{iam-CGd_oEyz.cjs → iam-WIoKnLBp.cjs} +2 -2
  146. package/dist/{iam-CGd_oEyz.cjs.map → iam-WIoKnLBp.cjs.map} +1 -1
  147. package/dist/{index-QxGYzGEN.d.mts → index-BKgOlfK2.d.mts} +2 -2
  148. package/dist/{index-QxGYzGEN.d.mts.map → index-BKgOlfK2.d.mts.map} +1 -1
  149. package/dist/{index-tFzoro1V.d.cts → index-zPzigXh-.d.cts} +2 -2
  150. package/dist/{index-tFzoro1V.d.cts.map → index-zPzigXh-.d.cts.map} +1 -1
  151. package/dist/index.cjs +75 -73
  152. package/dist/index.cjs.map +1 -1
  153. package/dist/index.mjs +73 -71
  154. package/dist/index.mjs.map +1 -1
  155. package/dist/{local-CWNFE8Sg.cjs → local-CFnHQgWC.cjs} +3 -3
  156. package/dist/{local-CWNFE8Sg.cjs.map → local-CFnHQgWC.cjs.map} +1 -1
  157. package/dist/{local-BQQHvZ4q.mjs → local-JOnTFJA5.mjs} +3 -3
  158. package/dist/{local-BQQHvZ4q.mjs.map → local-JOnTFJA5.mjs.map} +1 -1
  159. package/dist/{migrate-D_7oRThu.mjs → migrate-BtnpQocG.mjs} +6 -6
  160. package/dist/{migrate-D_7oRThu.mjs.map → migrate-BtnpQocG.mjs.map} +1 -1
  161. package/dist/{migrate-8QGCWIqm.cjs → migrate-CGXrmZyV.cjs} +8 -8
  162. package/dist/{migrate-8QGCWIqm.cjs.map → migrate-CGXrmZyV.cjs.map} +1 -1
  163. package/dist/{migrate-CNrPM5zg.cjs → migrate-CxWXW-Lw.cjs} +6 -6
  164. package/dist/{migrate-CNrPM5zg.cjs.map → migrate-CxWXW-Lw.cjs.map} +1 -1
  165. package/dist/{migrate-CqiOiRvz.mjs → migrate-fLIgSpPB.mjs} +8 -8
  166. package/dist/{migrate-CqiOiRvz.mjs.map → migrate-fLIgSpPB.mjs.map} +1 -1
  167. package/dist/{notes-dD3gRvZw.cjs → notes-ChYPaRLu.cjs} +4 -4
  168. package/dist/{notes-dD3gRvZw.cjs.map → notes-ChYPaRLu.cjs.map} +1 -1
  169. package/dist/{notes-D2KWnUSL.mjs → notes-LATU2vLI.mjs} +4 -4
  170. package/dist/{notes-D2KWnUSL.mjs.map → notes-LATU2vLI.mjs.map} +1 -1
  171. package/dist/openapi.cjs +3 -3
  172. package/dist/openapi.d.cts +3 -8
  173. package/dist/openapi.d.cts.map +1 -1
  174. package/dist/openapi.d.mts +3 -8
  175. package/dist/openapi.d.mts.map +1 -1
  176. package/dist/openapi.mjs +3 -3
  177. package/dist/{projectBucket-BcTodL8A.cjs → projectBucket-BIeh2HTj.cjs} +3 -3
  178. package/dist/{projectBucket-BcTodL8A.cjs.map → projectBucket-BIeh2HTj.cjs.map} +1 -1
  179. package/dist/{projectBucket-BDytiu7A.mjs → projectBucket-D_4zb_oh.mjs} +3 -3
  180. package/dist/{projectBucket-BDytiu7A.mjs.map → projectBucket-D_4zb_oh.mjs.map} +1 -1
  181. package/dist/{provider-CEOKk8NS.mjs → provider-BvjDbsTR.mjs} +3 -3
  182. package/dist/{provider-CEOKk8NS.mjs.map → provider-BvjDbsTR.mjs.map} +1 -1
  183. package/dist/{provider-BqpjG9QM.cjs → provider-DLhgo-mB.cjs} +3 -3
  184. package/dist/{provider-BqpjG9QM.cjs.map → provider-DLhgo-mB.cjs.map} +1 -1
  185. package/dist/{publish-Da9gxP5Q.cjs → publish-Dc-1GQp8.cjs} +3 -3
  186. package/dist/{publish-Da9gxP5Q.cjs.map → publish-Dc-1GQp8.cjs.map} +1 -1
  187. package/dist/{publish-Cr8wv7nO.mjs → publish-DhzRYhVZ.mjs} +3 -3
  188. package/dist/{publish-Cr8wv7nO.mjs.map → publish-DhzRYhVZ.mjs.map} +1 -1
  189. package/dist/{ready-D1gctv-5.mjs → ready-BcV28QoW.mjs} +6 -6
  190. package/dist/{ready-D1gctv-5.mjs.map → ready-BcV28QoW.mjs.map} +1 -1
  191. package/dist/{ready-Bgj2cf4j.cjs → ready-ByQvw4-W.cjs} +6 -6
  192. package/dist/{ready-Bgj2cf4j.cjs.map → ready-ByQvw4-W.cjs.map} +1 -1
  193. package/dist/reconcile/public.cjs +1 -1
  194. package/dist/reconcile/public.d.cts +1 -1
  195. package/dist/reconcile/public.d.mts +1 -1
  196. package/dist/reconcile/public.mjs +1 -1
  197. package/dist/{resolve-Dyki9ZJX.mjs → resolve-CJvM2bUx.mjs} +6 -6
  198. package/dist/{resolve-Dyki9ZJX.mjs.map → resolve-CJvM2bUx.mjs.map} +1 -1
  199. package/dist/{resolve-DRldmRYb.cjs → resolve-DyUXmA0z.cjs} +6 -6
  200. package/dist/{resolve-DRldmRYb.cjs.map → resolve-DyUXmA0z.cjs.map} +1 -1
  201. package/dist/{rollback-Do0i6x3b.mjs → rollback-BO1asWkd.mjs} +8 -8
  202. package/dist/{rollback-Do0i6x3b.mjs.map → rollback-BO1asWkd.mjs.map} +1 -1
  203. package/dist/{rollback-R_j7f9cY.cjs → rollback-Op8Tc5N-.cjs} +8 -8
  204. package/dist/{rollback-R_j7f9cY.cjs.map → rollback-Op8Tc5N-.cjs.map} +1 -1
  205. package/dist/{runtime-BpGIXfYr.d.mts → runtime-CaejlcZt.d.mts} +2 -2
  206. package/dist/{runtime-BpGIXfYr.d.mts.map → runtime-CaejlcZt.d.mts.map} +1 -1
  207. package/dist/{runtime-DLV0CNZ4.d.cts → runtime-D3jD4Dvn.d.cts} +2 -2
  208. package/dist/{runtime-DLV0CNZ4.d.cts.map → runtime-D3jD4Dvn.d.cts.map} +1 -1
  209. package/dist/{s3-CYEU7r1x.mjs → s3-BbtwHSod.mjs} +5 -5
  210. package/dist/{s3-CYEU7r1x.mjs.map → s3-BbtwHSod.mjs.map} +1 -1
  211. package/dist/{s3-D9aPMh9u.cjs → s3-CwacPd8J.cjs} +5 -5
  212. package/dist/{s3-D9aPMh9u.cjs.map → s3-CwacPd8J.cjs.map} +1 -1
  213. package/dist/sandbox/credentials-worker.cjs +2 -2
  214. package/dist/sandbox/credentials-worker.mjs +2 -2
  215. package/dist/sandbox/discover-worker.cjs +1 -1
  216. package/dist/sandbox/discover-worker.mjs +1 -1
  217. package/dist/sandbox/migrate-worker.cjs +2 -2
  218. package/dist/sandbox/migrate-worker.mjs +2 -2
  219. package/dist/{secretsManager-CJyxFcBH.mjs → secretsManager-CjTo6CRq.mjs} +2 -2
  220. package/dist/{secretsManager-CJyxFcBH.mjs.map → secretsManager-CjTo6CRq.mjs.map} +1 -1
  221. package/dist/{secretsManager-D8on44WI.cjs → secretsManager-CvmBGjdM.cjs} +2 -2
  222. package/dist/{secretsManager-D8on44WI.cjs.map → secretsManager-CvmBGjdM.cjs.map} +1 -1
  223. package/dist/{serverSetup-BmPwcMQN.cjs → serverSetup-BFdzPTIT.cjs} +7 -7
  224. package/dist/{serverSetup-BmPwcMQN.cjs.map → serverSetup-BFdzPTIT.cjs.map} +1 -1
  225. package/dist/{serverSetup-Bw5gc57O.mjs → serverSetup-CSxaZ7ha.mjs} +7 -7
  226. package/dist/{serverSetup-Bw5gc57O.mjs.map → serverSetup-CSxaZ7ha.mjs.map} +1 -1
  227. package/dist/{sniffer-XsTiFI3l.mjs → sniffer-CwxpsSez.mjs} +9 -9
  228. package/dist/{sniffer-XsTiFI3l.mjs.map → sniffer-CwxpsSez.mjs.map} +1 -1
  229. package/dist/{sniffer-BPLYWu70.cjs → sniffer-D3gH7aJT.cjs} +9 -9
  230. package/dist/{sniffer-BPLYWu70.cjs.map → sniffer-D3gH7aJT.cjs.map} +1 -1
  231. package/dist/{snsSubscriptions-CATtZwGv.cjs → snsSubscriptions-B8tGxND5.cjs} +10 -8
  232. package/dist/snsSubscriptions-B8tGxND5.cjs.map +1 -0
  233. package/dist/{snsSubscriptions-D9Rm_Eug.mjs → snsSubscriptions-n3sjbrRM.mjs} +7 -5
  234. package/dist/snsSubscriptions-n3sjbrRM.mjs.map +1 -0
  235. package/dist/{sst-C56i2cst.cjs → sst-Cjocp7gi.cjs} +8 -8
  236. package/dist/{sst-C56i2cst.cjs.map → sst-Cjocp7gi.cjs.map} +1 -1
  237. package/dist/{sst-BCvYZtVF.mjs → sst-DeF0BfDA.mjs} +8 -8
  238. package/dist/{sst-BCvYZtVF.mjs.map → sst-DeF0BfDA.mjs.map} +1 -1
  239. package/dist/{stack-TttsEL7X.mjs → stack-CyoRqyPt.mjs} +16 -609
  240. package/dist/stack-CyoRqyPt.mjs.map +1 -0
  241. package/dist/{stack-Dal2Oq2D.cjs → stack-Dr2FSxGm.cjs} +28 -687
  242. package/dist/stack-Dr2FSxGm.cjs.map +1 -0
  243. package/dist/{stage--ixwLSTc.mjs → stage-TAx0Gcq8.mjs} +8 -8
  244. package/dist/{stage--ixwLSTc.mjs.map → stage-TAx0Gcq8.mjs.map} +1 -1
  245. package/dist/{stage-BLsuXUP_.cjs → stage-aTBLKonw.cjs} +8 -8
  246. package/dist/{stage-BLsuXUP_.cjs.map → stage-aTBLKonw.cjs.map} +1 -1
  247. package/dist/{stages-8izznWib.cjs → stages-BeSQQQ4z.cjs} +3 -3
  248. package/dist/{stages-8izznWib.cjs.map → stages-BeSQQQ4z.cjs.map} +1 -1
  249. package/dist/{stages-QPWgbm9P.mjs → stages-DjFKQv08.mjs} +3 -3
  250. package/dist/{stages-QPWgbm9P.mjs.map → stages-DjFKQv08.mjs.map} +1 -1
  251. package/dist/target/public.cjs +3 -3
  252. package/dist/target/public.d.cts +2 -2
  253. package/dist/target/public.d.mts +2 -2
  254. package/dist/target/public.mjs +3 -3
  255. package/dist/{terminal-gOLDmpW-.mjs → terminal-Bk4PjXWY.mjs} +4 -4
  256. package/dist/{terminal-gOLDmpW-.mjs.map → terminal-Bk4PjXWY.mjs.map} +1 -1
  257. package/dist/{terminal-Dy4zzTCA.cjs → terminal-DPf137EJ.cjs} +4 -4
  258. package/dist/{terminal-Dy4zzTCA.cjs.map → terminal-DPf137EJ.cjs.map} +1 -1
  259. package/dist/{types-CV4AzwC_.d.cts → types-CLxsw-QY.d.cts} +3 -16
  260. package/dist/types-CLxsw-QY.d.cts.map +1 -0
  261. package/dist/{types-Bj1A1wkS.d.mts → types-wLlwkSib.d.mts} +3 -16
  262. package/dist/types-wLlwkSib.d.mts.map +1 -0
  263. package/dist/vitest.cjs +1 -1
  264. package/dist/vitest.mjs +1 -1
  265. package/dist/workspace/index.cjs +1 -1
  266. package/dist/workspace/index.d.cts +2 -2
  267. package/dist/workspace/index.d.mts +2 -2
  268. package/dist/workspace/index.mjs +1 -1
  269. package/dist/{workspace-BBa1Ck5j.mjs → workspace-DJjhfAGf.mjs} +3 -3
  270. package/dist/{workspace-BBa1Ck5j.mjs.map → workspace-DJjhfAGf.mjs.map} +1 -1
  271. package/dist/{workspace-DirP2-ed.cjs → workspace-wTLnc1Ef.cjs} +3 -3
  272. package/dist/{workspace-DirP2-ed.cjs.map → workspace-wTLnc1Ef.cjs.map} +1 -1
  273. package/package.json +16 -15
  274. package/dist/GoDaddyProvider-B9AMLUHF.cjs +0 -412
  275. package/dist/GoDaddyProvider-B9AMLUHF.cjs.map +0 -1
  276. package/dist/GoDaddyProvider-DLVKx7er.mjs +0 -412
  277. package/dist/GoDaddyProvider-DLVKx7er.mjs.map +0 -1
  278. package/dist/HostingerProvider-DBPWhL_s.cjs +0 -257
  279. package/dist/HostingerProvider-DBPWhL_s.cjs.map +0 -1
  280. package/dist/HostingerProvider-kLQsBCjz.mjs +0 -257
  281. package/dist/HostingerProvider-kLQsBCjz.mjs.map +0 -1
  282. package/dist/Route53Provider-Di_SD9CF.mjs +0 -209
  283. package/dist/Route53Provider-Di_SD9CF.mjs.map +0 -1
  284. package/dist/Route53Provider-emLuQHVw.cjs +0 -209
  285. package/dist/Route53Provider-emLuQHVw.cjs.map +0 -1
  286. package/dist/apps-DPw1i9E7.cjs.map +0 -1
  287. package/dist/apps-GDmO_v7v.mjs.map +0 -1
  288. package/dist/compose-BKLJMnDI.cjs.map +0 -1
  289. package/dist/compose-CE0Vi7zq.cjs.map +0 -1
  290. package/dist/compose-DH1ToGh2.mjs.map +0 -1
  291. package/dist/compose-pFnSi3Zf.mjs.map +0 -1
  292. package/dist/deploy-CpAkrZ25.mjs.map +0 -1
  293. package/dist/deploy-l0Vc846k.cjs.map +0 -1
  294. package/dist/destroy-DtAqmjGz.cjs.map +0 -1
  295. package/dist/destroy-eeB_PrmN.mjs.map +0 -1
  296. package/dist/dns-B2vsk2Rc.mjs.map +0 -1
  297. package/dist/dns-WneRa4VJ.cjs.map +0 -1
  298. package/dist/engine-BhS-wyH0.mjs.map +0 -1
  299. package/dist/engine-CaWo9tZO.cjs.map +0 -1
  300. package/dist/errors-DMC4Umsb.cjs.map +0 -1
  301. package/dist/snsSubscriptions-CATtZwGv.cjs.map +0 -1
  302. package/dist/snsSubscriptions-D9Rm_Eug.mjs.map +0 -1
  303. package/dist/stack-Dal2Oq2D.cjs.map +0 -1
  304. package/dist/stack-TttsEL7X.mjs.map +0 -1
  305. package/dist/types-Bj1A1wkS.d.mts.map +0 -1
  306. package/dist/types-CV4AzwC_.d.cts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientTelemetry-BAwj6MOf.d.cts","names":[],"sources":["../src/generators/clientTelemetry.ts"],"mappings":";;KAWY;EAAqC;;;iBAmCjC,mBACf,sCACE"}
@@ -0,0 +1,10 @@
1
+ import "./types-wLlwkSib.mjs";
2
+ //#region src/generators/clientTelemetry.d.ts
3
+ type ClientTelemetryDefault = boolean | {
4
+ sampleRate: number;
5
+ };
6
+ /** What `--telemetry [rate]` parsed to: on, at a rate when one was given. */
7
+ declare function parseTelemetryFlag(value: boolean | string | undefined): ClientTelemetryDefault | undefined;
8
+ //#endregion
9
+ export { parseTelemetryFlag as n, ClientTelemetryDefault as t };
10
+ //# sourceMappingURL=clientTelemetry-CvamPJj_.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientTelemetry-CvamPJj_.d.mts","names":[],"sources":["../src/generators/clientTelemetry.ts"],"mappings":";;KAWY;EAAqC;;;iBAmCjC,mBACf,sCACE"}
@@ -1,17 +1,17 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
- const require_errors = require("./errors-DMC4Umsb.cjs");
3
- const require_dns = require("./dns-WneRa4VJ.cjs");
4
- const require_workspace = require("./workspace-DirP2-ed.cjs");
5
- const require_apps = require("./apps-DPw1i9E7.cjs");
6
- const require_define = require("./define-crmMcXFS.cjs");
7
- const require_compose = require("./compose-BKLJMnDI.cjs");
2
+ const require_errors = require("./errors-D1x8duqI.cjs");
3
+ const require_dns = require("./dns-D_0z9Tm1.cjs");
4
+ const require_workspace = require("./workspace-wTLnc1Ef.cjs");
5
+ const require_apps = require("./apps-qJ5FPJGQ.cjs");
6
+ const require_define = require("./define-zKgLY65H.cjs");
7
+ const require_compose = require("./compose-C-yjexqX.cjs");
8
8
  const require_drivers = require("./drivers-DP7__dJX.cjs");
9
- const require_discover = require("./discover-39VKSE2i.cjs");
10
- const require_stack = require("./stack-Dal2Oq2D.cjs");
11
- const require_docker = require("./docker-Dk6p33pD.cjs");
12
- const require_snsSubscriptions = require("./snsSubscriptions-CATtZwGv.cjs");
9
+ const require_discover = require("./discover-OXczlq08.cjs");
10
+ const require_stack = require("./stack-Dr2FSxGm.cjs");
11
+ const require_docker = require("./docker-6EUbKrEl.cjs");
12
+ const require_snsSubscriptions = require("./snsSubscriptions-B8tGxND5.cjs");
13
13
  const require_seeds = require("./seeds-Bc3niNVb.cjs");
14
- const require_databases = require("./databases-BOuB-zg4.cjs");
14
+ const require_databases = require("./databases-DwYYH2mX.cjs");
15
15
  let node_path = require("node:path");
16
16
  let node_fs = require("node:fs");
17
17
  let node_fs_promises = require("node:fs/promises");
@@ -19,6 +19,8 @@ let node_os = require("node:os");
19
19
  let node_child_process = require("node:child_process");
20
20
  let node_net = require("node:net");
21
21
  let node_crypto = require("node:crypto");
22
+ let _geekmidas_edge_certificates_local = require("@geekmidas/edge/certificates/local");
23
+ let _geekmidas_edge_proxy_traefik = require("@geekmidas/edge/proxy/traefik");
22
24
  let _geekmidas_manifest = require("@geekmidas/manifest");
23
25
  let yaml = require("yaml");
24
26
  let node_http = require("node:http");
@@ -738,7 +740,7 @@ const sshAccess = {
738
740
  /** The edge's compose project, as docker is asked about it. */
739
741
  function edgeRef(file, options = {}) {
740
742
  return {
741
- project: require_stack.EDGE_PROJECT,
743
+ project: _geekmidas_edge_proxy_traefik.EDGE_PROJECT,
742
744
  file,
743
745
  cwd: (0, node_path.dirname)(file),
744
746
  ...options
@@ -749,7 +751,7 @@ var EdgeWriteFailed = class extends require_errors.GkmError {
749
751
  path;
750
752
  output;
751
753
  constructor(path, output) {
752
- super(`Could not write ${path} in the shared edge (${require_stack.EDGE_PROJECT}): ${output.trim() || "it is not running"}. Check it with \`docker compose -p ${require_stack.EDGE_PROJECT} ps\` on the server, and run gkm compose again.`);
754
+ super(`Could not write ${path} in the shared edge (${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}): ${output.trim() || "it is not running"}. Check it with \`docker compose -p ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} ps\` on the server, and run gkm compose again.`);
753
755
  this.path = path;
754
756
  this.output = output;
755
757
  this.name = "EdgeWriteFailed";
@@ -770,7 +772,7 @@ var ComposeProxyClash = class extends require_errors.GkmError {
770
772
  holder;
771
773
  constructor(project, proxy, port, holder) {
772
774
  const by = holder.project ? `${holder.container} (compose project ${holder.project})` : holder.container;
773
- const fix = proxy === "traefik" ? holder.project === project && holder.service === "caddy" ? `That is this stack's own Caddy, from before it was switched to proxy: 'traefik'. Move it once: stop it (docker compose -p ${project} stop caddy), then run gkm compose again — the shared edge takes 80/443 and the stack registers with it.` : `The shared edge needs ports 80 and 443. Stop ${holder.container}${holder.project ? ` (docker compose -p ${holder.project} down, or its own gkm compose --down)` : ""}, or move the edge with GKM_COMPOSE_HTTPS_PORT/GKM_COMPOSE_HTTP_PORT.` : holder.project === require_stack.EDGE_PROJECT ? `That is the server's shared Traefik edge, which other stacks register with. Set deploy.compose.proxy to 'traefik' for this stage so the stack registers with it too, or stop the edge once nothing uses it (docker compose -p ${require_stack.EDGE_PROJECT} down).` : `Stop ${holder.container}, or publish this stack's Caddy elsewhere with GKM_COMPOSE_HTTPS_PORT/GKM_COMPOSE_HTTP_PORT.`;
775
+ const fix = proxy === "traefik" ? holder.project === project && holder.service === "caddy" ? `That is this stack's own Caddy, from before it was switched to proxy: 'traefik'. Move it once: stop it (docker compose -p ${project} stop caddy), then run gkm compose again — the shared edge takes 80/443 and the stack registers with it.` : `The shared edge needs ports 80 and 443. Stop ${holder.container}${holder.project ? ` (docker compose -p ${holder.project} down, or its own gkm compose --down)` : ""}, or move the edge with GKM_COMPOSE_HTTPS_PORT/GKM_COMPOSE_HTTP_PORT.` : holder.project === _geekmidas_edge_proxy_traefik.EDGE_PROJECT ? `That is the server's shared Traefik edge, which other stacks register with. Set deploy.compose.proxy to 'traefik' for this stage so the stack registers with it too, or stop the edge once nothing uses it (docker compose -p ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} down).` : `Stop ${holder.container}, or publish this stack's Caddy elsewhere with GKM_COMPOSE_HTTPS_PORT/GKM_COMPOSE_HTTP_PORT.`;
774
776
  super(`${project} is set to proxy: '${proxy}', and port ${port} is held by ${by}. ${fix}`);
775
777
  this.project = project;
776
778
  this.proxy = proxy;
@@ -785,7 +787,7 @@ var ComposeProxyClash = class extends require_errors.GkmError {
785
787
  */
786
788
  async function assertEdgePorts(docker, options) {
787
789
  const { project, proxy, ports } = options;
788
- for (const port of [ports.https, ports.http]) for (const holder of await docker.publishers(options.engine, port)) if (!(proxy === "traefik" ? holder.project === require_stack.EDGE_PROJECT : holder.project === project && holder.service === "caddy")) throw new ComposeProxyClash(project, proxy, port, holder);
790
+ for (const port of [ports.https, ports.http]) for (const holder of await docker.publishers(options.engine, port)) if (!(proxy === "traefik" ? holder.project === _geekmidas_edge_proxy_traefik.EDGE_PROJECT : holder.project === project && holder.service === "caddy")) throw new ComposeProxyClash(project, proxy, port, holder);
789
791
  }
790
792
  /**
791
793
  * Write a file into the edge's running container whole or not at all: a
@@ -793,7 +795,7 @@ async function assertEdgePorts(docker, options) {
793
795
  * `.yaml` and `.toml` files, so it never sees one half written.
794
796
  */
795
797
  async function put(docker, edge, path, content, mode = "644") {
796
- const result = await docker.exec(edge, require_stack.EDGE_SERVICE, [
798
+ const result = await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, [
797
799
  "sh",
798
800
  "-c",
799
801
  "set -e; t=\"$1.tmp\"; cat > \"$t\"; chmod \"$2\" \"$t\"; mv \"$t\" \"$1\"",
@@ -805,7 +807,7 @@ async function put(docker, edge, path, content, mode = "644") {
805
807
  }
806
808
  /** Remove files from the edge's container; whether the first was there. */
807
809
  async function remove(docker, edge, paths) {
808
- return (await docker.exec(edge, require_stack.EDGE_SERVICE, [
810
+ return (await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, [
809
811
  "sh",
810
812
  "-c",
811
813
  "e=1; [ -f \"$1\" ] && e=0; rm -f \"$@\"; exit $e",
@@ -821,8 +823,8 @@ async function remove(docker, edge, paths) {
821
823
  */
822
824
  async function ensureEdge(docker, options) {
823
825
  const { file, ports } = options;
824
- const staticConfig = require_stack.traefikStaticFile(ports);
825
- const content = require_stack.edgeComposeFile({
826
+ const staticConfig = (0, _geekmidas_edge_proxy_traefik.traefikStaticFile)(ports);
827
+ const content = (0, _geekmidas_edge_proxy_traefik.edgeComposeFile)({
826
828
  ports,
827
829
  staticConfig,
828
830
  logging: options.logging
@@ -834,13 +836,13 @@ async function ensureEdge(docker, options) {
834
836
  ...options.output ? { output: options.output } : {},
835
837
  ...options.signal ? { signal: options.signal } : {}
836
838
  });
837
- await docker.ensureNetwork(ref, require_stack.EDGE_NETWORK);
838
- await docker.up(ref, [require_stack.EDGE_SERVICE]);
839
+ await docker.ensureNetwork(ref, _geekmidas_edge_proxy_traefik.EDGE_NETWORK);
840
+ await docker.up(ref, [_geekmidas_edge_proxy_traefik.EDGE_SERVICE]);
839
841
  return [file];
840
842
  }
841
843
  /** A file inside the edge's running container, or undefined where there is none. */
842
844
  async function readEdgeFile(docker, edge, path) {
843
- const result = await docker.exec(edge, require_stack.EDGE_SERVICE, ["cat", path]);
845
+ const result = await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, ["cat", path]);
844
846
  return result.code === 0 ? result.stdout : void 0;
845
847
  }
846
848
  /** A file written into the edge's running container, whole, readable by it alone. */
@@ -853,12 +855,12 @@ async function writeEdgeSecret(docker, edge, path, content) {
853
855
  * it back; `up` waits for it.
854
856
  */
855
857
  async function restartEdge(docker, edge) {
856
- await docker.exec(edge, require_stack.EDGE_SERVICE, ["kill", "1"]);
857
- await docker.up(edge, [require_stack.EDGE_SERVICE]);
858
+ await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, ["kill", "1"]);
859
+ await docker.up(edge, [_geekmidas_edge_proxy_traefik.EDGE_SERVICE]);
858
860
  }
859
861
  /** A stack's routes, inside the edge's container. */
860
862
  function routesPath(project) {
861
- return `${require_stack.EDGE_DYNAMIC_DIR}/${project}.yml`;
863
+ return `${_geekmidas_edge_proxy_traefik.EDGE_DYNAMIC_DIR}/${project}.yml`;
862
864
  }
863
865
  /**
864
866
  * A host this stack routes is already routed through the shared edge by
@@ -870,7 +872,7 @@ var EdgeHostClaimed = class extends require_errors.GkmError {
870
872
  owner;
871
873
  project;
872
874
  edge;
873
- constructor(host, owner, project, edge = require_stack.EDGE_PROJECT) {
875
+ constructor(host, owner, project, edge = _geekmidas_edge_proxy_traefik.EDGE_PROJECT) {
874
876
  super(`${project} routes ${host}, and ${owner} already routes it through the shared edge (${edge}) on this server. A host is served by one stack only. Give ${project} another domain, or take ${owner} off the edge first: gkm compose --stage <stage> --down in its workspace (or remove ${routesPath(owner)} from the edge).`);
875
877
  this.host = host;
876
878
  this.owner = owner;
@@ -886,10 +888,10 @@ var EdgeHostClaimed = class extends require_errors.GkmError {
886
888
  */
887
889
  async function edgeClaimsByProject(docker, edge, project) {
888
890
  const claimed = /* @__PURE__ */ new Map();
889
- const listed = await docker.exec(edge, require_stack.EDGE_SERVICE, [
891
+ const listed = await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, [
890
892
  "ls",
891
893
  "-1",
892
- require_stack.EDGE_DYNAMIC_DIR
894
+ _geekmidas_edge_proxy_traefik.EDGE_DYNAMIC_DIR
893
895
  ]);
894
896
  if (listed.code !== 0) return claimed;
895
897
  for (const name of listed.stdout.split("\n").map((line) => line.trim())) {
@@ -898,7 +900,7 @@ async function edgeClaimsByProject(docker, edge, project) {
898
900
  if (!owner || owner === project) continue;
899
901
  const file = await readEdgeFile(docker, edge, routesPath(owner));
900
902
  if (file === void 0) continue;
901
- const claims = require_stack.readEdgeClaims(file);
903
+ const claims = (0, _geekmidas_edge_proxy_traefik.readEdgeClaims)(file);
902
904
  if (claims.length > 0) claimed.set(owner, claims);
903
905
  }
904
906
  return claimed;
@@ -910,16 +912,16 @@ async function edgeClaimsByProject(docker, edge, project) {
910
912
  * replaced, never a clash.
911
913
  */
912
914
  async function assertEdgeHostsFree(docker, edge, project, routes) {
913
- const mine = require_stack.readEdgeClaims(routes);
915
+ const mine = (0, _geekmidas_edge_proxy_traefik.readEdgeClaims)(routes);
914
916
  if (mine.length === 0) return;
915
917
  const others = await edgeClaimsByProject(docker, edge, project);
916
918
  for (const [owner, theirs] of [...others].sort(([a], [b]) => a.localeCompare(b))) for (const claim of mine) for (const other of theirs) {
917
- const host = require_stack.claimsOverlap(claim, other);
919
+ const host = (0, _geekmidas_edge_proxy_traefik.claimsOverlap)(claim, other);
918
920
  if (host !== void 0) throw new EdgeHostClaimed(host, owner, project, edge.project);
919
921
  }
920
922
  }
921
923
  function certificatePaths(project) {
922
- return [`${require_stack.EDGE_CERTS_DIR}/${project}.crt`, `${require_stack.EDGE_CERTS_DIR}/${project}.key`];
924
+ return [`${_geekmidas_edge_proxy_traefik.EDGE_CERTS_DIR}/${project}.crt`, `${_geekmidas_edge_proxy_traefik.EDGE_CERTS_DIR}/${project}.key`];
923
925
  }
924
926
  /**
925
927
  * Register a stack with the edge — refused, before anything is written, when
@@ -950,7 +952,7 @@ const UNREGISTERED = "# Unregistered by gkm compose --down.\n";
950
952
  */
951
953
  async function removeEdgeRoutes(docker, edge, project) {
952
954
  const file = routesPath(project);
953
- if ((await docker.exec(edge, "traefik", [
955
+ if ((await docker.exec(edge, _geekmidas_edge_proxy_traefik.EDGE_SERVICE, [
954
956
  "test",
955
957
  "-f",
956
958
  file
@@ -1062,7 +1064,7 @@ async function ensureEdgeAcmeKey(docker, options) {
1062
1064
  const zoneId = options.hostedZoneId ?? await hostedZoneId(clients.route53, options.zone);
1063
1065
  if (!zoneId) throw new AcmeHostedZoneMissing(domain);
1064
1066
  if (options.dryRun) {
1065
- log(`🔑 Would let ${require_stack.EDGE_PROJECT} write _acme-challenge.${domain} TXT records in ${zoneId}, as IAM user ${user} (dry run — nothing is written)`);
1067
+ log(`🔑 Would let ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} write _acme-challenge.${domain} TXT records in ${zoneId}, as IAM user ${user} (dry run — nothing is written)`);
1066
1068
  return {
1067
1069
  user,
1068
1070
  zoneId,
@@ -1089,8 +1091,8 @@ async function ensureEdgeAcmeKey(docker, options) {
1089
1091
  PolicyName: project,
1090
1092
  PolicyDocument: acmeDnsPolicy(zoneId, domain)
1091
1093
  }));
1092
- log(`🔑 ${require_stack.EDGE_PROJECT} may write _acme-challenge.${domain} TXT records in ${zoneId}, and nothing else there, as IAM user ${user}`);
1093
- const written = await readEdgeFile(docker, edge, require_stack.EDGE_AWS_CREDENTIALS);
1094
+ log(`🔑 ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} may write _acme-challenge.${domain} TXT records in ${zoneId}, and nothing else there, as IAM user ${user}`);
1095
+ const written = await readEdgeFile(docker, edge, _geekmidas_edge_proxy_traefik.EDGE_AWS_CREDENTIALS);
1094
1096
  const held = written?.match(/aws_access_key_id\s*=\s*(\S+)/)?.[1];
1095
1097
  const { AccessKeyMetadata = [] } = await clients.iam.send(new IAM.ListAccessKeysCommand({ UserName: user }));
1096
1098
  if (held && AccessKeyMetadata.some((k) => k.AccessKeyId === held)) return {
@@ -1106,12 +1108,12 @@ async function ensureEdgeAcmeKey(docker, options) {
1106
1108
  }));
1107
1109
  }
1108
1110
  const { AccessKey } = await clients.iam.send(new IAM.CreateAccessKeyCommand({ UserName: user }));
1109
- await writeEdgeSecret(docker, edge, require_stack.EDGE_AWS_CREDENTIALS, `# Written by gkm compose — the key ${require_stack.EDGE_PROJECT} answers DNS challenges with.
1111
+ await writeEdgeSecret(docker, edge, _geekmidas_edge_proxy_traefik.EDGE_AWS_CREDENTIALS, `# Written by gkm compose — the key ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} answers DNS challenges with.
1110
1112
  [default]
1111
1113
  aws_access_key_id = ${AccessKey?.AccessKeyId}
1112
1114
  aws_secret_access_key = ${AccessKey?.SecretAccessKey}
1113
1115
  `);
1114
- log(`🔑 Wrote a new key for ${user} to ${require_stack.EDGE_PROJECT} (${require_stack.EDGE_AWS_CREDENTIALS})`);
1116
+ log(`🔑 Wrote a new key for ${user} to ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} (${_geekmidas_edge_proxy_traefik.EDGE_AWS_CREDENTIALS})`);
1115
1117
  if (written !== void 0) await restartEdge(docker, edge);
1116
1118
  return {
1117
1119
  user,
@@ -1452,7 +1454,7 @@ var ComposeAppsUnhealthy = class extends require_errors.GkmError {
1452
1454
  via;
1453
1455
  constructor(project, apps, proxy = "caddy", via = "edge") {
1454
1456
  const names = apps.map((a) => a.app).join(" ");
1455
- super(via === "docker" ? `${project} started, but ${apps.length === 1 ? "this container's health check has" : "these containers' health checks have"} not passed. The rest of the stack is up and routed:\n` + apps.map(({ app, last }) => ` - ${app}: Docker reports it ${last}`).join("\n") + `\nSee why with \`docker compose -p ${project} ps ${names}\` and \`docker compose -p ${project} logs ${names}\`, fix the app, and deploy again.` : `${project} started, but ${apps.length === 1 ? "this app does" : "these apps do"} not answer through ${proxy === "caddy" ? "Caddy" : "the shared Traefik edge"}:\n` + apps.map(({ url, last }) => ` - ${url}: ${last}`).join("\n") + (proxy === "caddy" ? `\nSee why with \`docker compose -p ${project} logs caddy ${names}\`.` : `\nSee why with \`docker compose -p ${require_stack.EDGE_PROJECT} logs traefik\` and \`docker compose -p ${project} logs ${names}\`.`));
1457
+ super(via === "docker" ? `${project} started, but ${apps.length === 1 ? "this container's health check has" : "these containers' health checks have"} not passed. The rest of the stack is up and routed:\n` + apps.map(({ app, last }) => ` - ${app}: Docker reports it ${last}`).join("\n") + `\nSee why with \`docker compose -p ${project} ps ${names}\` and \`docker compose -p ${project} logs ${names}\`, fix the app, and deploy again.` : `${project} started, but ${apps.length === 1 ? "this app does" : "these apps do"} not answer through ${proxy === "caddy" ? "Caddy" : "the shared Traefik edge"}:\n` + apps.map(({ url, last }) => ` - ${url}: ${last}`).join("\n") + (proxy === "caddy" ? `\nSee why with \`docker compose -p ${project} logs caddy ${names}\`.` : `\nSee why with \`docker compose -p ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT} logs traefik\` and \`docker compose -p ${project} logs ${names}\`.`));
1456
1458
  this.project = project;
1457
1459
  this.apps = apps;
1458
1460
  this.proxy = proxy;
@@ -2358,7 +2360,7 @@ async function planCompose(ctx, run) {
2358
2360
  });
2359
2361
  }
2360
2362
  if (!run.push) planned({
2361
- key: run.stack.proxy === "caddy" ? "service:caddy" : `service:${require_stack.EDGE_PROJECT}/${require_stack.EDGE_SERVICE}`,
2363
+ key: run.stack.proxy === "caddy" ? "service:caddy" : `service:${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}/${_geekmidas_edge_proxy_traefik.EDGE_SERVICE}`,
2362
2364
  resourceType: "service",
2363
2365
  action: "ensure"
2364
2366
  });
@@ -2433,7 +2435,7 @@ async function provisionCompose(ctx, run, deps) {
2433
2435
  run.files = await writeStack(ctx.cwd, run.dir, stack);
2434
2436
  printPlan(ctx, run);
2435
2437
  if (stack.proxy === "traefik") {
2436
- ctx.logger.info(`\n🌐 Starting the shared edge (${require_stack.EDGE_PROJECT})…`);
2438
+ ctx.logger.info(`\n🌐 Starting the shared edge (${_geekmidas_edge_proxy_traefik.EDGE_PROJECT})…`);
2437
2439
  run.files.push(...await ensureEdge(deps.docker, {
2438
2440
  file: edgeFile(run),
2439
2441
  ports,
@@ -2446,10 +2448,10 @@ async function provisionCompose(ctx, run, deps) {
2446
2448
  ...ref.signal ? { signal: ref.signal } : {}
2447
2449
  }));
2448
2450
  applied(ctx, run, {
2449
- key: `service:${require_stack.EDGE_PROJECT}/${require_stack.EDGE_SERVICE}`,
2451
+ key: `service:${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}/${_geekmidas_edge_proxy_traefik.EDGE_SERVICE}`,
2450
2452
  resourceType: "service",
2451
2453
  action: "ensure",
2452
- id: `${require_stack.EDGE_PROJECT}/${require_stack.EDGE_SERVICE}`,
2454
+ id: `${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}/${_geekmidas_edge_proxy_traefik.EDGE_SERVICE}`,
2453
2455
  via: "found"
2454
2456
  });
2455
2457
  if (stack.wildcard?.tls === "dns") await edgeAcmeKey(ctx, run, deps);
@@ -2696,7 +2698,7 @@ async function releaseCompose(ctx, run, deps) {
2696
2698
  });
2697
2699
  if (stack.proxy === "traefik" && stack.traefik) {
2698
2700
  const written = await writeEdgeRoutes(deps.docker, edge, stack.project, stack.traefik, await edgeCertificate(run.dir, stack));
2699
- ctx.logger.info(`🌐 Registered ${stack.routes.length} route(s) with ${require_stack.EDGE_PROJECT}: ${written.at(-1)}`);
2701
+ ctx.logger.info(`🌐 Registered ${stack.routes.length} route(s) with ${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}: ${written.at(-1)}`);
2700
2702
  } else if (!stack.local || (0, node_fs.existsSync)(edgeFile(run))) await removeEdgeRoutes(deps.docker, edge, stack.project);
2701
2703
  const prerendered = prerenderedHere(run);
2702
2704
  if (prerendered.length > 0) await buildAgainstStage(ctx, run, deps, prerendered);
@@ -3178,7 +3180,7 @@ function composeResult(ctx, run) {
3178
3180
  }
3179
3181
  /** The shared edge's compose file, as this machine hands it to compose. */
3180
3182
  function edgeFile(run) {
3181
- return (0, node_path.join)(run.dir, `${require_stack.EDGE_PROJECT}.yml`);
3183
+ return (0, node_path.join)(run.dir, `${_geekmidas_edge_proxy_traefik.EDGE_PROJECT}.yml`);
3182
3184
  }
3183
3185
  function applied(ctx, run, change) {
3184
3186
  const { via, ...rest } = change;
@@ -3196,7 +3198,7 @@ function applied(ctx, run, change) {
3196
3198
  * `NODE_EXTRA_CA_CERTS` — for a certificate that names none: a public CA's.
3197
3199
  */
3198
3200
  async function verifyAuthority(stack) {
3199
- if (stack.authority) return (await require_apps.readLocalAuthority(stack.authority)).cert;
3201
+ if (stack.authority) return (await (0, _geekmidas_edge_certificates_local.readLocalAuthority)(stack.authority)).cert;
3200
3202
  if (stack.tls?.caFile) return (0, node_fs_promises.readFile)(stack.tls.caFile, "utf-8");
3201
3203
  }
3202
3204
  /**
@@ -3219,7 +3221,7 @@ const LOCAL_EDGE_CERTIFICATE = "local-edge.pem";
3219
3221
  * stack does not recreate its Caddy for a new certificate each run.
3220
3222
  */
3221
3223
  async function localEdgeCertificate(dir, stack, authority) {
3222
- const { cert, key } = await require_apps.ensureLocalCertificate(await require_apps.ensureLocalAuthority(authority), require_apps.localCertificateNames(stack.resolution.project ?? "", require_snsSubscriptions.stackHosts(stack)), (0, node_path.join)(dir, LOCAL_EDGE_CERTIFICATE));
3224
+ const { cert, key } = await (0, _geekmidas_edge_certificates_local.ensureLocalCertificate)(await (0, _geekmidas_edge_certificates_local.ensureLocalAuthority)(authority), (0, _geekmidas_edge_certificates_local.localCertificateNames)(stack.resolution.project ?? "", require_snsSubscriptions.stackHosts(stack)), (0, node_path.join)(dir, LOCAL_EDGE_CERTIFICATE));
3223
3225
  return {
3224
3226
  cert,
3225
3227
  key
@@ -3280,7 +3282,7 @@ async function writeStack(root, dir, stack) {
3280
3282
  function composeYaml(stack, compose) {
3281
3283
  const stage = ` --stage ${stack.stage}`;
3282
3284
  return `# Generated by gkm compose from the construct manifest — do not edit.
3283
- # The ${stack.stage} stage's APIs and sites behind ${stack.proxy === "caddy" ? "one Caddy" : `the shared Traefik edge (${require_stack.EDGE_PROJECT})`}, and its workers.
3285
+ # The ${stack.stage} stage's APIs and sites behind ${stack.proxy === "caddy" ? "one Caddy" : `the shared Traefik edge (${_geekmidas_edge_proxy_traefik.EDGE_PROJECT})`}, and its workers.
3284
3286
  # Each backend and worker reads exactly the keys in its own env file beside
3285
3287
  # this one.
3286
3288
  #
@@ -3497,4 +3499,4 @@ Object.defineProperty(exports, "stackOverrideFile", {
3497
3499
  }
3498
3500
  });
3499
3501
 
3500
- //# sourceMappingURL=compose-CE0Vi7zq.cjs.map
3502
+ //# sourceMappingURL=compose-AO8u4mBI.cjs.map