@geekmidas/cli 10.0.0-alpha.146 → 10.0.0-alpha.147

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 (215) hide show
  1. package/dist/{GoDaddyProvider-BK5N6-fx.cjs → GoDaddyProvider-CpO8dFYC.cjs} +2 -2
  2. package/dist/{GoDaddyProvider-BK5N6-fx.cjs.map → GoDaddyProvider-CpO8dFYC.cjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-BESq24p-.mjs → GoDaddyProvider-DXuPFufW.mjs} +2 -2
  4. package/dist/{GoDaddyProvider-BESq24p-.mjs.map → GoDaddyProvider-DXuPFufW.mjs.map} +1 -1
  5. package/dist/{HostingerProvider-BbQod5OB.cjs → HostingerProvider-Beu0Ciky.cjs} +2 -2
  6. package/dist/{HostingerProvider-BbQod5OB.cjs.map → HostingerProvider-Beu0Ciky.cjs.map} +1 -1
  7. package/dist/{HostingerProvider-BV30wTNI.mjs → HostingerProvider-Dum492dc.mjs} +2 -2
  8. package/dist/{HostingerProvider-BV30wTNI.mjs.map → HostingerProvider-Dum492dc.mjs.map} +1 -1
  9. package/dist/{LegacyStateStore-Ck3HI28A.mjs → LegacyStateStore-DZjph7ES.mjs} +2 -2
  10. package/dist/{LegacyStateStore-Ck3HI28A.mjs.map → LegacyStateStore-DZjph7ES.mjs.map} +1 -1
  11. package/dist/{LegacyStateStore-OEno6vIb.cjs → LegacyStateStore-V4R0llou.cjs} +2 -2
  12. package/dist/{LegacyStateStore-OEno6vIb.cjs.map → LegacyStateStore-V4R0llou.cjs.map} +1 -1
  13. package/dist/{LocalStateStore-Fa54CpLw.mjs → LocalStateStore-Bth8pBp-.mjs} +2 -2
  14. package/dist/{LocalStateStore-Fa54CpLw.mjs.map → LocalStateStore-Bth8pBp-.mjs.map} +1 -1
  15. package/dist/{LocalStateStore-ukDFg6GM.cjs → LocalStateStore-DuSotrd3.cjs} +2 -2
  16. package/dist/{LocalStateStore-ukDFg6GM.cjs.map → LocalStateStore-DuSotrd3.cjs.map} +1 -1
  17. package/dist/{S3StateStore-D53985SR.mjs → S3StateStore-DGlh3s2p.mjs} +4 -4
  18. package/dist/{S3StateStore-D53985SR.mjs.map → S3StateStore-DGlh3s2p.mjs.map} +1 -1
  19. package/dist/{S3StateStore-Cjuft2Lk.cjs → S3StateStore-DTPxQS3z.cjs} +4 -4
  20. package/dist/{S3StateStore-Cjuft2Lk.cjs.map → S3StateStore-DTPxQS3z.cjs.map} +1 -1
  21. package/dist/{SSMStateStore-CnJgw3_-.cjs → SSMStateStore-B9R317q0.cjs} +2 -2
  22. package/dist/{SSMStateStore-CnJgw3_-.cjs.map → SSMStateStore-B9R317q0.cjs.map} +1 -1
  23. package/dist/{SSMStateStore-CRjV2h2G.mjs → SSMStateStore-DCa85jhG.mjs} +2 -2
  24. package/dist/{SSMStateStore-CRjV2h2G.mjs.map → SSMStateStore-DCa85jhG.mjs.map} +1 -1
  25. package/dist/{add-D0-1UyFj.mjs → add-Bl33BvDW.mjs} +7 -7
  26. package/dist/{add-D0-1UyFj.mjs.map → add-Bl33BvDW.mjs.map} +1 -1
  27. package/dist/{add-CG_4mNir.cjs → add-Cr-9Ku0W.cjs} +7 -7
  28. package/dist/{add-CG_4mNir.cjs.map → add-Cr-9Ku0W.cjs.map} +1 -1
  29. package/dist/{apps-DHi6E_yH.cjs → apps-BIsxWYUo.cjs} +104 -8
  30. package/dist/apps-BIsxWYUo.cjs.map +1 -0
  31. package/dist/{apps-DWALM-8s.mjs → apps-DFzUuJ22.mjs} +87 -9
  32. package/dist/apps-DFzUuJ22.mjs.map +1 -0
  33. package/dist/{bundler-Cb5ynXXS.mjs → bundler-BagXzefF.mjs} +6 -6
  34. package/dist/{bundler-Cb5ynXXS.mjs.map → bundler-BagXzefF.mjs.map} +1 -1
  35. package/dist/{bundler-Co_7zpYC.cjs → bundler-Cael9EDc.cjs} +6 -6
  36. package/dist/{bundler-Co_7zpYC.cjs.map → bundler-Cael9EDc.cjs.map} +1 -1
  37. package/dist/{cli-C5M_7Kux.cjs → cli-B1A-cLy-.cjs} +4 -4
  38. package/dist/{cli-C5M_7Kux.cjs.map → cli-B1A-cLy-.cjs.map} +1 -1
  39. package/dist/{cli-D_9WqN6C.mjs → cli-BJRPsFq7.mjs} +4 -4
  40. package/dist/{cli-D_9WqN6C.mjs.map → cli-BJRPsFq7.mjs.map} +1 -1
  41. package/dist/{compose-7p0-3ogo.mjs → compose-C7izI7Eo.mjs} +5 -5
  42. package/dist/{compose-7p0-3ogo.mjs.map → compose-C7izI7Eo.mjs.map} +1 -1
  43. package/dist/{compose-DxmEMeTu.mjs → compose-CZU60dwb.mjs} +286 -31
  44. package/dist/compose-CZU60dwb.mjs.map +1 -0
  45. package/dist/{compose-C10hkeHU.cjs → compose-Cius-YHS.cjs} +5 -5
  46. package/dist/{compose-C10hkeHU.cjs.map → compose-Cius-YHS.cjs.map} +1 -1
  47. package/dist/{compose-BeQ01iYk.cjs → compose-CnNmDNph.cjs} +285 -30
  48. package/dist/compose-CnNmDNph.cjs.map +1 -0
  49. package/dist/{config-B-wza0Xk.mjs → config-BLrAd7Of.mjs} +2 -2
  50. package/dist/{config-B-wza0Xk.mjs.map → config-BLrAd7Of.mjs.map} +1 -1
  51. package/dist/{config-BcL1Fojs.d.cts → config-CRk2vdSp.d.mts} +3 -3
  52. package/dist/{config-BbivVpq0.d.mts.map → config-CRk2vdSp.d.mts.map} +1 -1
  53. package/dist/{config-CWExbDxA.cjs → config-juUyBlb1.cjs} +2 -2
  54. package/dist/{config-CWExbDxA.cjs.map → config-juUyBlb1.cjs.map} +1 -1
  55. package/dist/{config-BbivVpq0.d.mts → config-oBgsbLip.d.cts} +3 -3
  56. package/dist/{config-BcL1Fojs.d.cts.map → config-oBgsbLip.d.cts.map} +1 -1
  57. package/dist/config.cjs +2 -2
  58. package/dist/config.d.cts +3 -3
  59. package/dist/config.d.mts +3 -3
  60. package/dist/config.mjs +2 -2
  61. package/dist/{credentials-B5Oe4fLE.mjs → credentials-CJ_z0Nni.mjs} +7 -7
  62. package/dist/{credentials-B5Oe4fLE.mjs.map → credentials-CJ_z0Nni.mjs.map} +1 -1
  63. package/dist/{credentials-Csnd7M8M.cjs → credentials-D11xozSF.cjs} +7 -7
  64. package/dist/{credentials-Csnd7M8M.cjs.map → credentials-D11xozSF.cjs.map} +1 -1
  65. package/dist/deploy/public.cjs +12 -12
  66. package/dist/deploy/public.d.cts +3 -3
  67. package/dist/deploy/public.d.cts.map +1 -1
  68. package/dist/deploy/public.d.mts +3 -3
  69. package/dist/deploy/public.d.mts.map +1 -1
  70. package/dist/deploy/public.mjs +12 -12
  71. package/dist/{deploy-BwNxJ3ZI.cjs → deploy-Ch1wCsU1.cjs} +13 -13
  72. package/dist/{deploy-BwNxJ3ZI.cjs.map → deploy-Ch1wCsU1.cjs.map} +1 -1
  73. package/dist/{deploy-6DDEG4Ai.mjs → deploy-Dfn21QYG.mjs} +13 -13
  74. package/dist/{deploy-6DDEG4Ai.mjs.map → deploy-Dfn21QYG.mjs.map} +1 -1
  75. package/dist/{docker-BZnNUJCy.cjs → docker-BT6G7aJE.cjs} +5 -5
  76. package/dist/{docker-BZnNUJCy.cjs.map → docker-BT6G7aJE.cjs.map} +1 -1
  77. package/dist/{docker-Ch5aPQ04.mjs → docker-_W_CauBY.mjs} +5 -5
  78. package/dist/{docker-Ch5aPQ04.mjs.map → docker-_W_CauBY.mjs.map} +1 -1
  79. package/dist/{dokploy-CTWw3WSo.mjs → dokploy-CBgGuei3.mjs} +2 -2
  80. package/dist/{dokploy-CTWw3WSo.mjs.map → dokploy-CBgGuei3.mjs.map} +1 -1
  81. package/dist/{dokploy-Cn7dQqmE.cjs → dokploy-DaQbR_NH.cjs} +2 -2
  82. package/dist/{dokploy-Cn7dQqmE.cjs.map → dokploy-DaQbR_NH.cjs.map} +1 -1
  83. package/dist/{eas-D0B8H7hT.mjs → eas-3L1_yKhk.mjs} +3 -3
  84. package/dist/{eas-D0B8H7hT.mjs.map → eas-3L1_yKhk.mjs.map} +1 -1
  85. package/dist/{eas-IPjz0PWK.cjs → eas-YxDTJ3ql.cjs} +3 -3
  86. package/dist/{eas-IPjz0PWK.cjs.map → eas-YxDTJ3ql.cjs.map} +1 -1
  87. package/dist/{encryption-C9auXcSV.mjs → encryption-CRyFk5nu.mjs} +4 -4
  88. package/dist/{encryption-C9auXcSV.mjs.map → encryption-CRyFk5nu.mjs.map} +1 -1
  89. package/dist/{encryption-vK64UP4M.cjs → encryption-CVIu104e.cjs} +4 -4
  90. package/dist/{encryption-vK64UP4M.cjs.map → encryption-CVIu104e.cjs.map} +1 -1
  91. package/dist/{engine-C3N2WhbC.mjs → engine-DZnZy1R5.mjs} +17 -12
  92. package/dist/engine-DZnZy1R5.mjs.map +1 -0
  93. package/dist/{engine-Icqv5JI6.cjs → engine-XecwdLdj.cjs} +17 -12
  94. package/dist/engine-XecwdLdj.cjs.map +1 -0
  95. package/dist/{github-D24wTOe2.mjs → github-CDJXpBCT.mjs} +9 -9
  96. package/dist/{github-D24wTOe2.mjs.map → github-CDJXpBCT.mjs.map} +1 -1
  97. package/dist/{github-DUuNInc0.cjs → github-dnxU_tMp.cjs} +9 -9
  98. package/dist/{github-DUuNInc0.cjs.map → github-dnxU_tMp.cjs.map} +1 -1
  99. package/dist/{googlePlay-Cy-MaYr2.mjs → googlePlay-BYeXKpNE.mjs} +5 -5
  100. package/dist/{googlePlay-Cy-MaYr2.mjs.map → googlePlay-BYeXKpNE.mjs.map} +1 -1
  101. package/dist/{googlePlay-BGDKlnPx.cjs → googlePlay-CnIU3qIV.cjs} +5 -5
  102. package/dist/{googlePlay-BGDKlnPx.cjs.map → googlePlay-CnIU3qIV.cjs.map} +1 -1
  103. package/dist/{index-C1jffZ5_.d.cts → index-B35vTdAW.d.cts} +2 -2
  104. package/dist/{index-BZZeEWug.d.mts.map → index-B35vTdAW.d.cts.map} +1 -1
  105. package/dist/{index-BZZeEWug.d.mts → index-Dv1Zj86i.d.mts} +2 -2
  106. package/dist/{index-C1jffZ5_.d.cts.map → index-Dv1Zj86i.d.mts.map} +1 -1
  107. package/dist/index.cjs +64 -63
  108. package/dist/index.cjs.map +1 -1
  109. package/dist/index.mjs +64 -63
  110. package/dist/index.mjs.map +1 -1
  111. package/dist/{local-CdpBgn3d.mjs → local-BIOpCtLE.mjs} +2 -2
  112. package/dist/{local-CdpBgn3d.mjs.map → local-BIOpCtLE.mjs.map} +1 -1
  113. package/dist/{local-B4xobzh-.cjs → local-qdNfjzxQ.cjs} +2 -2
  114. package/dist/{local-B4xobzh-.cjs.map → local-qdNfjzxQ.cjs.map} +1 -1
  115. package/dist/{migrate-DhZfvCkJ.mjs → migrate--VNdTWT7.mjs} +6 -6
  116. package/dist/{migrate-DhZfvCkJ.mjs.map → migrate--VNdTWT7.mjs.map} +1 -1
  117. package/dist/{migrate-DwQ-zaMy.cjs → migrate-CDEHWq-e.cjs} +6 -6
  118. package/dist/{migrate-DwQ-zaMy.cjs.map → migrate-CDEHWq-e.cjs.map} +1 -1
  119. package/dist/{migrate--hMBtpx-.cjs → migrate-CkHtNdre.cjs} +4 -4
  120. package/dist/{migrate--hMBtpx-.cjs.map → migrate-CkHtNdre.cjs.map} +1 -1
  121. package/dist/{migrate-DVrXTq58.mjs → migrate-svXhccrs.mjs} +4 -4
  122. package/dist/{migrate-DVrXTq58.mjs.map → migrate-svXhccrs.mjs.map} +1 -1
  123. package/dist/{notes-z5OOMqm4.mjs → notes-D9ofENLJ.mjs} +4 -4
  124. package/dist/{notes-z5OOMqm4.mjs.map → notes-D9ofENLJ.mjs.map} +1 -1
  125. package/dist/{notes-C2b5RzGl.cjs → notes-DBNPml4N.cjs} +4 -4
  126. package/dist/{notes-C2b5RzGl.cjs.map → notes-DBNPml4N.cjs.map} +1 -1
  127. package/dist/openapi.cjs +2 -2
  128. package/dist/openapi.d.cts +1 -1
  129. package/dist/openapi.d.mts +1 -1
  130. package/dist/openapi.mjs +2 -2
  131. package/dist/{projectBucket-Dk_aZ1cD.cjs → projectBucket-BtiC0Cn8.cjs} +2 -2
  132. package/dist/{projectBucket-Dk_aZ1cD.cjs.map → projectBucket-BtiC0Cn8.cjs.map} +1 -1
  133. package/dist/{projectBucket-DPD0_B8N.mjs → projectBucket-De0MQeNj.mjs} +2 -2
  134. package/dist/{projectBucket-DPD0_B8N.mjs.map → projectBucket-De0MQeNj.mjs.map} +1 -1
  135. package/dist/{publish-CDvh-9OG.cjs → publish-CohTrVKe.cjs} +2 -2
  136. package/dist/{publish-CDvh-9OG.cjs.map → publish-CohTrVKe.cjs.map} +1 -1
  137. package/dist/{publish-Bmc1Wfs3.mjs → publish-k38S418e.mjs} +2 -2
  138. package/dist/{publish-Bmc1Wfs3.mjs.map → publish-k38S418e.mjs.map} +1 -1
  139. package/dist/reconcile/public.d.cts +1 -1
  140. package/dist/reconcile/public.d.mts +1 -1
  141. package/dist/{resolve-CuxPZ3ga.cjs → resolve-Cr3Qj8ch.cjs} +4 -4
  142. package/dist/{resolve-CuxPZ3ga.cjs.map → resolve-Cr3Qj8ch.cjs.map} +1 -1
  143. package/dist/{resolve-DHARlMdl.mjs → resolve-YMxlYJtO.mjs} +4 -4
  144. package/dist/{resolve-DHARlMdl.mjs.map → resolve-YMxlYJtO.mjs.map} +1 -1
  145. package/dist/{rollback-DZq_dIbl.mjs → rollback-DIoyVrQI.mjs} +7 -7
  146. package/dist/{rollback-DZq_dIbl.mjs.map → rollback-DIoyVrQI.mjs.map} +1 -1
  147. package/dist/{rollback-DxHut8C-.cjs → rollback-eyqvtzW_.cjs} +7 -7
  148. package/dist/{rollback-DxHut8C-.cjs.map → rollback-eyqvtzW_.cjs.map} +1 -1
  149. package/dist/{runtime-Bvgyxm88.d.cts → runtime-CFvcLEJW.d.cts} +2 -2
  150. package/dist/{runtime-Bvgyxm88.d.cts.map → runtime-CFvcLEJW.d.cts.map} +1 -1
  151. package/dist/{runtime-CeAt1IJd.d.mts → runtime-dwsH6ddo.d.mts} +2 -2
  152. package/dist/{runtime-CeAt1IJd.d.mts.map → runtime-dwsH6ddo.d.mts.map} +1 -1
  153. package/dist/{s3-Dhy58V_y.cjs → s3-CegRM8Sa.cjs} +3 -3
  154. package/dist/{s3-Dhy58V_y.cjs.map → s3-CegRM8Sa.cjs.map} +1 -1
  155. package/dist/{s3-Cd7UK2y8.mjs → s3-Cl3tRemt.mjs} +3 -3
  156. package/dist/{s3-Cd7UK2y8.mjs.map → s3-Cl3tRemt.mjs.map} +1 -1
  157. package/dist/{serverSetup-DYiKHMVp.cjs → serverSetup-BwfMgz3W.cjs} +7 -7
  158. package/dist/{serverSetup-DYiKHMVp.cjs.map → serverSetup-BwfMgz3W.cjs.map} +1 -1
  159. package/dist/{serverSetup-qe5bdBhO.mjs → serverSetup-fQwkJ_EI.mjs} +7 -7
  160. package/dist/{serverSetup-qe5bdBhO.mjs.map → serverSetup-fQwkJ_EI.mjs.map} +1 -1
  161. package/dist/{sniffer-DFix2ORf.cjs → sniffer-BgdVvvzU.cjs} +7 -7
  162. package/dist/{sniffer-DFix2ORf.cjs.map → sniffer-BgdVvvzU.cjs.map} +1 -1
  163. package/dist/{sniffer-BNcLP8MO.mjs → sniffer-FF7mfuR8.mjs} +7 -7
  164. package/dist/{sniffer-BNcLP8MO.mjs.map → sniffer-FF7mfuR8.mjs.map} +1 -1
  165. package/dist/{snsSubscriptions-BwX28_Kl.mjs → snsSubscriptions-B_WH4o1S.mjs} +3 -3
  166. package/dist/{snsSubscriptions-BwX28_Kl.mjs.map → snsSubscriptions-B_WH4o1S.mjs.map} +1 -1
  167. package/dist/{snsSubscriptions-Dr-gJWtR.cjs → snsSubscriptions-DUY-Tu6J.cjs} +3 -3
  168. package/dist/{snsSubscriptions-Dr-gJWtR.cjs.map → snsSubscriptions-DUY-Tu6J.cjs.map} +1 -1
  169. package/dist/{sst-CoKFPW7f.cjs → sst-BEXeTgDQ.cjs} +5 -5
  170. package/dist/{sst-CoKFPW7f.cjs.map → sst-BEXeTgDQ.cjs.map} +1 -1
  171. package/dist/{sst-Bvtx6uZ9.mjs → sst-BkTtncop.mjs} +5 -5
  172. package/dist/{sst-Bvtx6uZ9.mjs.map → sst-BkTtncop.mjs.map} +1 -1
  173. package/dist/{stack-DbaKGKnI.cjs → stack-CcFgY4sJ.cjs} +29 -27
  174. package/dist/stack-CcFgY4sJ.cjs.map +1 -0
  175. package/dist/{stack-BeSbt_7k.mjs → stack-CqfBL5LA.mjs} +29 -27
  176. package/dist/stack-CqfBL5LA.mjs.map +1 -0
  177. package/dist/{stage-BblkSR2C.mjs → stage-4ZtteXz8.mjs} +7 -7
  178. package/dist/{stage-BblkSR2C.mjs.map → stage-4ZtteXz8.mjs.map} +1 -1
  179. package/dist/{stage-DI5mzoAi.cjs → stage-C19XRx7W.cjs} +7 -7
  180. package/dist/{stage-DI5mzoAi.cjs.map → stage-C19XRx7W.cjs.map} +1 -1
  181. package/dist/{stages-C-bVwvJZ.cjs → stages-Bs1THSy7.cjs} +3 -3
  182. package/dist/{stages-C-bVwvJZ.cjs.map → stages-Bs1THSy7.cjs.map} +1 -1
  183. package/dist/{stages-DBsDvEbo.mjs → stages-_xCG4Ymu.mjs} +3 -3
  184. package/dist/{stages-DBsDvEbo.mjs.map → stages-_xCG4Ymu.mjs.map} +1 -1
  185. package/dist/target/public.cjs +1 -1
  186. package/dist/target/public.d.cts +2 -2
  187. package/dist/target/public.d.mts +2 -2
  188. package/dist/target/public.mjs +1 -1
  189. package/dist/{terminal-Bxy_A8iP.cjs → terminal-BkyVVOb-.cjs} +2 -2
  190. package/dist/{terminal-Bxy_A8iP.cjs.map → terminal-BkyVVOb-.cjs.map} +1 -1
  191. package/dist/{terminal-DDqusYW0.mjs → terminal-KVX_MmCR.mjs} +2 -2
  192. package/dist/{terminal-DDqusYW0.mjs.map → terminal-KVX_MmCR.mjs.map} +1 -1
  193. package/dist/{types-Dy1eV7yc.d.cts → types-Dk--xVOT.d.cts} +31 -11
  194. package/dist/{types-Dy1eV7yc.d.cts.map → types-Dk--xVOT.d.cts.map} +1 -1
  195. package/dist/{types-C6hDCkV2.d.mts → types-DwQYpd_0.d.mts} +31 -11
  196. package/dist/{types-C6hDCkV2.d.mts.map → types-DwQYpd_0.d.mts.map} +1 -1
  197. package/dist/workspace/index.cjs +1 -1
  198. package/dist/workspace/index.d.cts +2 -2
  199. package/dist/workspace/index.d.mts +2 -2
  200. package/dist/workspace/index.mjs +1 -1
  201. package/dist/{workspace-BbbkJDUU.cjs → workspace-1szcahj9.cjs} +19 -27
  202. package/dist/workspace-1szcahj9.cjs.map +1 -0
  203. package/dist/{workspace-CZGJdcTs.mjs → workspace-DFGsrjGD.mjs} +19 -27
  204. package/dist/workspace-DFGsrjGD.mjs.map +1 -0
  205. package/package.json +15 -15
  206. package/dist/apps-DHi6E_yH.cjs.map +0 -1
  207. package/dist/apps-DWALM-8s.mjs.map +0 -1
  208. package/dist/compose-BeQ01iYk.cjs.map +0 -1
  209. package/dist/compose-DxmEMeTu.mjs.map +0 -1
  210. package/dist/engine-C3N2WhbC.mjs.map +0 -1
  211. package/dist/engine-Icqv5JI6.cjs.map +0 -1
  212. package/dist/stack-BeSbt_7k.mjs.map +0 -1
  213. package/dist/stack-DbaKGKnI.cjs.map +0 -1
  214. package/dist/workspace-BbbkJDUU.cjs.map +0 -1
  215. package/dist/workspace-CZGJdcTs.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
2
2
  import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
3
- import { A as eventsBackendFor, Tt as gkmHome, U as externalsManifestName, j as providerOf, k as cacheBackendFor } from "./credentials-B5Oe4fLE.mjs";
4
- import { R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, j as TEST_STAGE, z as telemetryEnv } from "./workspace-CZGJdcTs.mjs";
5
- import { A as objectsWebhookToken, B as portKeys, D as NOTIFICATION_RULE_PREFIX, E as HOST_GATEWAY$1, F as emulatorQueueUrl, I as emulatorTopicArn, K as LOGS_ORG, N as EMULATOR_REGION, O as minioNotificationRule, P as emulatorEndpoint, U as primaryPortKey, V as portsOf, W as serviceAddresses, X as otlpHeaders, f as savePortState, j as watchedBuckets, l as loadPortState, m as loadLocalCredentials, n as composeFor, r as toYaml, rt as rootSite, t as CLUSTER_DATABASE, v as saveLocalCredentials, z as fakeKey } from "./compose-7p0-3ogo.mjs";
3
+ import { A as eventsBackendFor, Tt as gkmHome, U as externalsManifestName, j as providerOf, k as cacheBackendFor } from "./credentials-CJ_z0Nni.mjs";
4
+ import { R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, j as TEST_STAGE, z as telemetryEnv } from "./workspace-DFGsrjGD.mjs";
5
+ import { A as objectsWebhookToken, B as portKeys, D as NOTIFICATION_RULE_PREFIX, E as HOST_GATEWAY$1, F as emulatorQueueUrl, I as emulatorTopicArn, K as LOGS_ORG, N as EMULATOR_REGION, O as minioNotificationRule, P as emulatorEndpoint, U as primaryPortKey, V as portsOf, W as serviceAddresses, X as otlpHeaders, f as savePortState, j as watchedBuckets, l as loadPortState, m as loadLocalCredentials, n as composeFor, r as toYaml, rt as rootSite, t as CLUSTER_DATABASE, v as saveLocalCredentials, z as fakeKey } from "./compose-C7izI7Eo.mjs";
6
6
  import { c as INBOX_RELAY_TOKEN_KEY, d as inboxWebhookUrl, i as readFakes, l as inboxRelayToken, o as objectsRoute, r as readCredentialFakes, u as inboxRelayWorker } from "./SubscriberGenerator-CzPrixYu.mjs";
7
- import { g as appKey, v as protectedSubdomains } from "./config-B-wza0Xk.mjs";
7
+ import { g as appKey, v as protectedSubdomains } from "./config-BLrAd7Of.mjs";
8
8
  import { i as holdsEveryCache, t as DEFAULT_CACHE } from "./types-Y1NfWlyG.mjs";
9
9
  import { u as telemetryArgs } from "./EndpointGenerator-CusLH-9S.mjs";
10
10
  import { i as discover, w as workerEdges, x as eventsEdgeBucket } from "./discover-DbDrCQ8h.mjs";
@@ -1972,6 +1972,62 @@ function publicBuildValues(site, manifest, resolve, secrets) {
1972
1972
  for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
1973
1973
  return args;
1974
1974
  }
1975
+ /**
1976
+ * Where a site's own hosts point during its image build: this loopback
1977
+ * address, on which nothing in a build container listens — so a request to
1978
+ * one is refused at once instead of waiting on a host that is not up yet.
1979
+ */
1980
+ const OFFLINE_BUILD_ADDRESS = "127.0.0.1";
1981
+ /**
1982
+ * The hosts a site's image build must not wait on: its own and those of the
1983
+ * constructs its `.dependsOn()` names, as this stage serves them.
1984
+ *
1985
+ * None of them answers while the image is built — the stack the site belongs
1986
+ * to is started after it — and a fetch to a public host that does not answer
1987
+ * yet can stall until the framework's prerender limit (Next's 60s). Mapped to
1988
+ * {@link OFFLINE_BUILD_ADDRESS} in the build's `/etc/hosts`, each is refused
1989
+ * at once, and the page renders on its first request instead.
1990
+ *
1991
+ * The mapping is the build's only: the URLs the bundle inlines are the real
1992
+ * ones, and the running container resolves them as anything else does. A
1993
+ * stage secret named for the bundle is someone else's host (an analytics
1994
+ * service, a store) and is left alone, as are `localhost` and an address.
1995
+ */
1996
+ function offlineBuildHosts(site, manifest, resolve) {
1997
+ const sources = [provideKey(site.id, "url"), ...Object.values(publicEnvFor(site, manifest))];
1998
+ const hosts = /* @__PURE__ */ new Set();
1999
+ for (const source of sources) {
2000
+ const host = hostOf(resolve(source));
2001
+ if (host) hosts.add(host);
2002
+ }
2003
+ return [...hosts].sort();
2004
+ }
2005
+ /** A URL's host, where it is a name `/etc/hosts` can map. */
2006
+ function hostOf(value) {
2007
+ if (!value || !URL.canParse(value)) return void 0;
2008
+ const { protocol, hostname } = new URL(value);
2009
+ if (!/^(https?|wss?):$/.test(protocol)) return void 0;
2010
+ if (hostname === "localhost" || hostname.includes("*")) return void 0;
2011
+ if (/^[\d.]+$/.test(hostname) || hostname.startsWith("[")) return void 0;
2012
+ return hostname;
2013
+ }
2014
+ /**
2015
+ * {@link offlineBuildHosts} for a target that knows each app's public URL by
2016
+ * its app key rather than by construct key — the site's own, and each app it
2017
+ * calls. None, for an app that declares no site.
2018
+ */
2019
+ function siteOfflineHosts(manifest, appName, ownUrl, urls) {
2020
+ const entries = Object.entries(manifest);
2021
+ const site = entries.find(([id, d]) => d.kind === "site" && appKey(id) === appName)?.[1];
2022
+ if (site?.kind !== "site") return [];
2023
+ const byKey = /* @__PURE__ */ new Map();
2024
+ for (const [id] of entries) {
2025
+ const name = appKey(id);
2026
+ const url = name === appName ? ownUrl : urls[name];
2027
+ if (url) byKey.set(provideKey(id, "url"), url);
2028
+ }
2029
+ return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
2030
+ }
1975
2031
  //#endregion
1976
2032
  //#region src/exec/imageBuild.ts
1977
2033
  /**
@@ -1990,6 +2046,22 @@ function isImageBuild(env = process.env) {
1990
2046
  return env[IMAGE_BUILD_ENV] === "1";
1991
2047
  }
1992
2048
  /**
2049
+ * Set by a site's Dockerfile in its builder stage: this build is offline —
2050
+ * no stage is reachable from it.
2051
+ *
2052
+ * A site's image is built before the stack it belongs to runs, so the APIs
2053
+ * its `.dependsOn()` names do not answer yet: data a page fetches while the
2054
+ * framework prerenders it would be none, cached as the page. A site tests
2055
+ * `process.env.GKM_BUILD_OFFLINE === '1'` to skip that fetch, and renders the
2056
+ * page on its first request instead — which gkm's warm-up after a deploy
2057
+ * makes before any visitor does.
2058
+ *
2059
+ * Separate from {@link IMAGE_BUILD_ENV}, which says what `gkm exec` injects:
2060
+ * this says what the build can reach. Only the builder stage sets it; the
2061
+ * running container never has it.
2062
+ */
2063
+ const BUILD_OFFLINE_ENV = "GKM_BUILD_OFFLINE";
2064
+ /**
1993
2065
  * What `gkm exec` injects inside an image build: the public values its build
1994
2066
  * args set — every `NEXT_PUBLIC_*`, `VITE_*` and `EXPO_PUBLIC_*` — and
1995
2067
  * nothing read from a secrets store, a file or a container.
@@ -2335,6 +2407,9 @@ const FIND_GKM_BIN = `let d=process.cwd();const{existsSync:e}=require("fs"),{dir
2335
2407
  * no bin linked.
2336
2408
  * - `GKM_IMAGE_BUILD`, which has `gkm exec` inject the build args above — the
2337
2409
  * stage's public URLs — and never load a secret or resolve a local address.
2410
+ * - `GKM_BUILD_OFFLINE`, which tells the site's own code that no stage is
2411
+ * reachable from this build: its APIs are not up yet, so a page that
2412
+ * fetches from them renders on request rather than at build.
2338
2413
  * - each backend's typed client, generated from its endpoints at the
2339
2414
  * workspace root's `.gkm/client/`, where the site's tsconfig paths point.
2340
2415
  */
@@ -2362,12 +2437,15 @@ RUN cd ${root} && GKM_BIN="$(node -e '${FIND_GKM_BIN}')" && \\
2362
2437
  chmod +x /usr/local/bin/gkm
2363
2438
 
2364
2439
  # \`gkm exec\` in this build injects the build args, never a stage's secrets
2365
- ENV ${IMAGE_BUILD_ENV}=1${generate}`;
2440
+ ENV ${IMAGE_BUILD_ENV}=1
2441
+ # No stage is reachable from this build: the site's APIs are not up yet
2442
+ ENV ${BUILD_OFFLINE_ENV}=1${generate}`;
2366
2443
  }
2367
2444
  /**
2368
2445
  * Build the site with turbo. Loose env mode, so the task sees what the
2369
- * Dockerfile set — the build args and `GKM_IMAGE_BUILD` — whatever the
2370
- * project's turbo.json declares: the image's environment holds nothing else.
2446
+ * Dockerfile set — the build args, `GKM_IMAGE_BUILD` and `GKM_BUILD_OFFLINE`
2447
+ * — whatever the project's turbo.json declares: the image's environment
2448
+ * holds nothing else.
2371
2449
  */
2372
2450
  function siteBuild(options) {
2373
2451
  const { turbo } = layout(options);
@@ -4928,6 +5006,6 @@ function healthcheck(port, path) {
4928
5006
  };
4929
5007
  }
4930
5008
  //#endregion
4931
- export { bucketPolicies as $, findBuildRoot as A, imageBuildCredentials as B, appImageOptions as C, TURBO_VERSION as D, PROCESSOR_PORT as E, generateNodeWebDockerfile as F, processorUnits as G, publicBuildValues as H, generateProcessorDockerfile as I, applyLifecycles as J, workerUnits as K, generateViteStaticDockerfile as L, generateDockerignore as M, generateEntryDockerfile as N, WORKER_PORT as O, generateNextjsDockerfile as P, bucketLifecycles as Q, generateWorkerDockerfile as R, readLocalAuthority as S, imageLayout as T, isUnder as U, isImageBuild as V, processorUnitName as W, applyPolicies as X, applyNotifications as Y, applyPostgres as Z, pgClient as _, LOCAL_TLD as _t, workerEnvKeys as a, localRolePassword as at, localAuthorityPaths as b, constructGlobs as c, planFor as ct, workspace_exports as d, isTelemetryKey as dt, postgresDatabaseNames as et, COMPOSE_PATH as f, scopeTelemetryEnv as ft, bucketClient as g, usesTelemetry as gt, ensurePostgresLogin as h, telemetryOf as ht, processorEnvKeys as i, envFor as it, generateBackendDockerfile as j, detectPackageManager as k, derivedContainers as l, resourceName as lt, LEGACY_LOCAL_LOGIN as m, surfaceClientTraced as mt, dockerfileOf as n, quoteIdentifier as nt, FAKE_ENV as o, stageEnv as ot, forgetState as p, siteClientTelemetry as pt, applyBuckets as q, networkEnv as r, mergeLifecycle as rt, backendsOf as s, TELEMETRY_CONTAINER as st, appEnvKeys as t, postgresStatements as tt, reconcileWorkspace as u, appTelemetry as ut, ensureLocalAuthority as v, hostFor$1 as vt, composeBuildPaths as w, localCertificateNames as x, ensureLocalCertificate as y, PROCESSORS_DEV_PREFIX as yt, resolveDockerConfig as z };
5009
+ export { applyPolicies as $, findBuildRoot as A, imageBuildCredentials as B, appImageOptions as C, TURBO_VERSION as D, PROCESSOR_PORT as E, generateNodeWebDockerfile as F, siteOfflineHosts as G, OFFLINE_BUILD_ADDRESS as H, generateProcessorDockerfile as I, processorUnits as J, isUnder as K, generateViteStaticDockerfile as L, generateDockerignore as M, generateEntryDockerfile as N, WORKER_PORT as O, generateNextjsDockerfile as P, applyNotifications as Q, generateWorkerDockerfile as R, readLocalAuthority as S, PROCESSORS_DEV_PREFIX as St, imageLayout as T, offlineBuildHosts as U, isImageBuild as V, publicBuildValues as W, applyBuckets as X, workerUnits as Y, applyLifecycles as Z, pgClient as _, surfaceClientTraced as _t, workerEnvKeys as a, quoteIdentifier as at, localAuthorityPaths as b, LOCAL_TLD as bt, constructGlobs as c, localRolePassword as ct, workspace_exports as d, planFor as dt, applyPostgres as et, COMPOSE_PATH as f, resourceName as ft, bucketClient as g, siteClientTelemetry as gt, ensurePostgresLogin as h, scopeTelemetryEnv as ht, processorEnvKeys as i, postgresStatements as it, generateBackendDockerfile as j, detectPackageManager as k, derivedContainers as l, stageEnv as lt, LEGACY_LOCAL_LOGIN as m, isTelemetryKey as mt, dockerfileOf as n, bucketPolicies as nt, FAKE_ENV as o, mergeLifecycle as ot, forgetState as p, appTelemetry as pt, processorUnitName as q, networkEnv as r, postgresDatabaseNames as rt, backendsOf as s, envFor as st, appEnvKeys as t, bucketLifecycles as tt, reconcileWorkspace as u, TELEMETRY_CONTAINER as ut, ensureLocalAuthority as v, telemetryOf as vt, composeBuildPaths as w, localCertificateNames as x, hostFor$1 as xt, ensureLocalCertificate as y, usesTelemetry as yt, resolveDockerConfig as z };
4932
5010
 
4933
- //# sourceMappingURL=apps-DWALM-8s.mjs.map
5011
+ //# sourceMappingURL=apps-DFzUuJ22.mjs.map