@geekmidas/cli 10.0.0-alpha.166 → 10.0.0-alpha.168

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 (259) hide show
  1. package/dist/{EndpointGenerator-DxrRqfJ3.cjs → EndpointGenerator-C1h_wExz.cjs} +2 -2
  2. package/dist/{EndpointGenerator-DxrRqfJ3.cjs.map → EndpointGenerator-C1h_wExz.cjs.map} +1 -1
  3. package/dist/{EndpointGenerator-B5BKAoLz.mjs → EndpointGenerator-CSKhAD6W.mjs} +2 -2
  4. package/dist/{EndpointGenerator-B5BKAoLz.mjs.map → EndpointGenerator-CSKhAD6W.mjs.map} +1 -1
  5. package/dist/{GoDaddyProvider-mnY-cdD2.mjs → GoDaddyProvider-CJIYlkUN.mjs} +2 -2
  6. package/dist/{GoDaddyProvider-mnY-cdD2.mjs.map → GoDaddyProvider-CJIYlkUN.mjs.map} +1 -1
  7. package/dist/{GoDaddyProvider-DClFHezd.cjs → GoDaddyProvider-CYAlIeML.cjs} +2 -2
  8. package/dist/{GoDaddyProvider-DClFHezd.cjs.map → GoDaddyProvider-CYAlIeML.cjs.map} +1 -1
  9. package/dist/{HostingerProvider-BMyz2LnZ.cjs → HostingerProvider-Ceqc_nlG.cjs} +2 -2
  10. package/dist/{HostingerProvider-BMyz2LnZ.cjs.map → HostingerProvider-Ceqc_nlG.cjs.map} +1 -1
  11. package/dist/{HostingerProvider-39eSGyBa.mjs → HostingerProvider-Tb0bnTpM.mjs} +2 -2
  12. package/dist/{HostingerProvider-39eSGyBa.mjs.map → HostingerProvider-Tb0bnTpM.mjs.map} +1 -1
  13. package/dist/{LegacyStateStore-BJY7ntQk.cjs → LegacyStateStore-Ci-CRqt2.cjs} +2 -2
  14. package/dist/{LegacyStateStore-BJY7ntQk.cjs.map → LegacyStateStore-Ci-CRqt2.cjs.map} +1 -1
  15. package/dist/{LegacyStateStore-B2TBaSMq.mjs → LegacyStateStore-DJWY64Jj.mjs} +2 -2
  16. package/dist/{LegacyStateStore-B2TBaSMq.mjs.map → LegacyStateStore-DJWY64Jj.mjs.map} +1 -1
  17. package/dist/{LocalStateStore-8LFd-aMA.mjs → LocalStateStore-BFgjv29N.mjs} +2 -2
  18. package/dist/{LocalStateStore-8LFd-aMA.mjs.map → LocalStateStore-BFgjv29N.mjs.map} +1 -1
  19. package/dist/{LocalStateStore-BvoEjPi5.cjs → LocalStateStore-Enw_wV7d.cjs} +2 -2
  20. package/dist/{LocalStateStore-BvoEjPi5.cjs.map → LocalStateStore-Enw_wV7d.cjs.map} +1 -1
  21. package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs → OpenApiTsGenerator-5xPn-p65.mjs} +2 -2
  22. package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs.map → OpenApiTsGenerator-5xPn-p65.mjs.map} +1 -1
  23. package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs → OpenApiTsGenerator-CzrLGzC0.cjs} +2 -2
  24. package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs.map → OpenApiTsGenerator-CzrLGzC0.cjs.map} +1 -1
  25. package/dist/{S3StateStore-eeA5NXRa.cjs → S3StateStore-B48M3z7L.cjs} +4 -4
  26. package/dist/{S3StateStore-eeA5NXRa.cjs.map → S3StateStore-B48M3z7L.cjs.map} +1 -1
  27. package/dist/{S3StateStore-DMzsqfSa.mjs → S3StateStore-Cwfd-ZnJ.mjs} +4 -4
  28. package/dist/{S3StateStore-DMzsqfSa.mjs.map → S3StateStore-Cwfd-ZnJ.mjs.map} +1 -1
  29. package/dist/{SSMStateStore-BUv-du0T.cjs → SSMStateStore-CuBe-NK5.cjs} +2 -2
  30. package/dist/{SSMStateStore-BUv-du0T.cjs.map → SSMStateStore-CuBe-NK5.cjs.map} +1 -1
  31. package/dist/{SSMStateStore-CE2DTAtT.mjs → SSMStateStore-DYgE98Sm.mjs} +2 -2
  32. package/dist/{SSMStateStore-CE2DTAtT.mjs.map → SSMStateStore-DYgE98Sm.mjs.map} +1 -1
  33. package/dist/{SubscriberGenerator-BybB6uez.mjs → SubscriberGenerator-CfZWX0lT.mjs} +6 -6
  34. package/dist/SubscriberGenerator-CfZWX0lT.mjs.map +1 -0
  35. package/dist/{SubscriberGenerator-mZpSuSU7.cjs → SubscriberGenerator-DMi4siph.cjs} +5 -5
  36. package/dist/SubscriberGenerator-DMi4siph.cjs.map +1 -0
  37. package/dist/{add-Dp0KQNkQ.cjs → add-4AT0LlDK.cjs} +11 -11
  38. package/dist/add-4AT0LlDK.cjs.map +1 -0
  39. package/dist/{add-BgCYGJpE.mjs → add-C85tazt0.mjs} +12 -12
  40. package/dist/add-C85tazt0.mjs.map +1 -0
  41. package/dist/{apps-DkMR-qvD.cjs → apps-By6pnfzA.cjs} +99 -45
  42. package/dist/apps-By6pnfzA.cjs.map +1 -0
  43. package/dist/{apps-CJTOIaz3.mjs → apps-CWGmV2nQ.mjs} +99 -46
  44. package/dist/apps-CWGmV2nQ.mjs.map +1 -0
  45. package/dist/{bundler-Dt1ffXl6.mjs → bundler-B9rkNGpK.mjs} +6 -6
  46. package/dist/{bundler-Dt1ffXl6.mjs.map → bundler-B9rkNGpK.mjs.map} +1 -1
  47. package/dist/{bundler-CA7KimJ0.cjs → bundler-DPBLrtjT.cjs} +6 -6
  48. package/dist/{bundler-CA7KimJ0.cjs.map → bundler-DPBLrtjT.cjs.map} +1 -1
  49. package/dist/{cli-CY1Cp8yN.cjs → cli-BnWRqhwx.cjs} +4 -4
  50. package/dist/{cli-CY1Cp8yN.cjs.map → cli-BnWRqhwx.cjs.map} +1 -1
  51. package/dist/{cli-C-fdEb8N.mjs → cli-DgL0QED8.mjs} +4 -4
  52. package/dist/{cli-C-fdEb8N.mjs.map → cli-DgL0QED8.mjs.map} +1 -1
  53. package/dist/{compose-SmuCWWUh.cjs → compose-CLM-sqgE.cjs} +76 -11
  54. package/dist/compose-CLM-sqgE.cjs.map +1 -0
  55. package/dist/{compose-tX6YTa1U.mjs → compose-CcK-QoYU.mjs} +66 -13
  56. package/dist/compose-CcK-QoYU.mjs.map +1 -0
  57. package/dist/{compose-CZGeE6QJ.mjs → compose-DuRBnjxx.mjs} +9 -9
  58. package/dist/compose-DuRBnjxx.mjs.map +1 -0
  59. package/dist/{compose-BIm9yNH7.cjs → compose-DwjaxFFK.cjs} +8 -8
  60. package/dist/compose-DwjaxFFK.cjs.map +1 -0
  61. package/dist/config.cjs +2 -2
  62. package/dist/config.mjs +2 -2
  63. package/dist/{credentialSchemas-mz9QZTYh.mjs → credentialSchemas-BzJiK1nQ.mjs} +4 -4
  64. package/dist/credentialSchemas-BzJiK1nQ.mjs.map +1 -0
  65. package/dist/{credentialSchemas-BAklWDna.cjs → credentialSchemas-OVXofU-r.cjs} +3 -3
  66. package/dist/credentialSchemas-OVXofU-r.cjs.map +1 -0
  67. package/dist/{credentials-CS3Dr-pv.cjs → credentials-CCCAy3NL.cjs} +7 -7
  68. package/dist/{credentials-CS3Dr-pv.cjs.map → credentials-CCCAy3NL.cjs.map} +1 -1
  69. package/dist/{credentials-V3WgiKmZ.mjs → credentials-CeCOEKP3.mjs} +7 -7
  70. package/dist/{credentials-V3WgiKmZ.mjs.map → credentials-CeCOEKP3.mjs.map} +1 -1
  71. package/dist/{databases-CrKh5jw6.cjs → databases-CuTL1e7s.cjs} +3 -3
  72. package/dist/databases-CuTL1e7s.cjs.map +1 -0
  73. package/dist/{databases-C1qqNxTu.mjs → databases-zN-gEox0.mjs} +4 -4
  74. package/dist/databases-zN-gEox0.mjs.map +1 -0
  75. package/dist/deploy/public.cjs +12 -12
  76. package/dist/deploy/public.d.cts.map +1 -1
  77. package/dist/deploy/public.d.mts.map +1 -1
  78. package/dist/deploy/public.mjs +12 -12
  79. package/dist/{deploy--ia-CGMv.cjs → deploy-Dy5jyciI.cjs} +123 -38
  80. package/dist/deploy-Dy5jyciI.cjs.map +1 -0
  81. package/dist/{deploy-BWFFSN5p.mjs → deploy-F6GA-u59.mjs} +124 -39
  82. package/dist/deploy-F6GA-u59.mjs.map +1 -0
  83. package/dist/{destroy-CrxF8Dlk.cjs → destroy-B7-8EgCJ.cjs} +9 -9
  84. package/dist/{destroy-CrxF8Dlk.cjs.map → destroy-B7-8EgCJ.cjs.map} +1 -1
  85. package/dist/{destroy-ZNiKL3--.mjs → destroy-Gyxrl5yO.mjs} +9 -9
  86. package/dist/{destroy-ZNiKL3--.mjs.map → destroy-Gyxrl5yO.mjs.map} +1 -1
  87. package/dist/{discover-CRywE7yc.cjs → discover-39VKSE2i.cjs} +5 -5
  88. package/dist/discover-39VKSE2i.cjs.map +1 -0
  89. package/dist/{discover-DbDrCQ8h.mjs → discover-B_PDDaVj.mjs} +6 -6
  90. package/dist/discover-B_PDDaVj.mjs.map +1 -0
  91. package/dist/{docker-DhmU416x.mjs → docker-COHyyOkv.mjs} +16 -12
  92. package/dist/docker-COHyyOkv.mjs.map +1 -0
  93. package/dist/{docker-BtUjo-J_.cjs → docker-CP4bspkW.cjs} +15 -11
  94. package/dist/docker-CP4bspkW.cjs.map +1 -0
  95. package/dist/{dokploy-ComPiFLl.cjs → dokploy-C7ampvzk.cjs} +2 -2
  96. package/dist/{dokploy-ComPiFLl.cjs.map → dokploy-C7ampvzk.cjs.map} +1 -1
  97. package/dist/{dokploy-BszAUbbA.mjs → dokploy-DBmB9vWu.mjs} +2 -2
  98. package/dist/{dokploy-BszAUbbA.mjs.map → dokploy-DBmB9vWu.mjs.map} +1 -1
  99. package/dist/{eas-zxVAWY6c.cjs → eas-CbnTdz8d.cjs} +3 -3
  100. package/dist/{eas-zxVAWY6c.cjs.map → eas-CbnTdz8d.cjs.map} +1 -1
  101. package/dist/{eas-DQudP2g2.mjs → eas-EXRkhGSM.mjs} +3 -3
  102. package/dist/{eas-DQudP2g2.mjs.map → eas-EXRkhGSM.mjs.map} +1 -1
  103. package/dist/{encryption-CU5O0Y61.cjs → encryption-CdDDSAu_.cjs} +4 -4
  104. package/dist/encryption-CdDDSAu_.cjs.map +1 -0
  105. package/dist/{encryption-BCaweYBJ.mjs → encryption-lLZV2eMs.mjs} +5 -5
  106. package/dist/encryption-lLZV2eMs.mjs.map +1 -0
  107. package/dist/{engine-xrlcbr1g.cjs → engine-Cg92m1Xf.cjs} +38 -38
  108. package/dist/engine-Cg92m1Xf.cjs.map +1 -0
  109. package/dist/{engine-BzeCK6e8.mjs → engine-ZzUy2czq.mjs} +39 -39
  110. package/dist/engine-ZzUy2czq.mjs.map +1 -0
  111. package/dist/{github-Jcrqfzg0.cjs → github-BHqRcUgU.cjs} +8 -8
  112. package/dist/{github-Jcrqfzg0.cjs.map → github-BHqRcUgU.cjs.map} +1 -1
  113. package/dist/{github-CHClpJZS.mjs → github-CPpJmNgV.mjs} +8 -8
  114. package/dist/{github-CHClpJZS.mjs.map → github-CPpJmNgV.mjs.map} +1 -1
  115. package/dist/{googlePlay-e_tIBr4n.cjs → googlePlay-DRz0ya3q.cjs} +4 -4
  116. package/dist/{googlePlay-e_tIBr4n.cjs.map → googlePlay-DRz0ya3q.cjs.map} +1 -1
  117. package/dist/{googlePlay-Dk_pnif9.mjs → googlePlay-Dg-0ASWN.mjs} +4 -4
  118. package/dist/{googlePlay-Dk_pnif9.mjs.map → googlePlay-Dg-0ASWN.mjs.map} +1 -1
  119. package/dist/{iam-BKfO7u14.mjs → iam-CLIne3Ny.mjs} +2 -2
  120. package/dist/{iam-BKfO7u14.mjs.map → iam-CLIne3Ny.mjs.map} +1 -1
  121. package/dist/{iam-B6WLUf_x.cjs → iam-b4IvC1fm.cjs} +2 -2
  122. package/dist/{iam-B6WLUf_x.cjs.map → iam-b4IvC1fm.cjs.map} +1 -1
  123. package/dist/index.cjs +367 -128
  124. package/dist/index.cjs.map +1 -1
  125. package/dist/index.mjs +368 -129
  126. package/dist/index.mjs.map +1 -1
  127. package/dist/{local-Dc2h2Ex3.cjs → local-BIrl0ENw.cjs} +3 -3
  128. package/dist/{local-Dc2h2Ex3.cjs.map → local-BIrl0ENw.cjs.map} +1 -1
  129. package/dist/{local-DUi3f-WB.mjs → local-Cin6exc0.mjs} +3 -3
  130. package/dist/{local-DUi3f-WB.mjs.map → local-Cin6exc0.mjs.map} +1 -1
  131. package/dist/{migrate-BU4eyd7z.cjs → migrate-BtkwylxW.cjs} +7 -7
  132. package/dist/{migrate-BU4eyd7z.cjs.map → migrate-BtkwylxW.cjs.map} +1 -1
  133. package/dist/{migrate-CIjcBr96.cjs → migrate-CxI07Ey0.cjs} +3 -3
  134. package/dist/{migrate-CIjcBr96.cjs.map → migrate-CxI07Ey0.cjs.map} +1 -1
  135. package/dist/{migrate-BxFCXc7M.mjs → migrate-DEU8I8sQ.mjs} +7 -7
  136. package/dist/{migrate-BxFCXc7M.mjs.map → migrate-DEU8I8sQ.mjs.map} +1 -1
  137. package/dist/{migrate-CbpeVxEW.mjs → migrate-DpLMJLCw.mjs} +3 -3
  138. package/dist/{migrate-CbpeVxEW.mjs.map → migrate-DpLMJLCw.mjs.map} +1 -1
  139. package/dist/next.cjs +59 -0
  140. package/dist/next.cjs.map +1 -0
  141. package/dist/next.d.cts +44 -0
  142. package/dist/next.d.cts.map +1 -0
  143. package/dist/next.d.mts +44 -0
  144. package/dist/next.d.mts.map +1 -0
  145. package/dist/next.mjs +58 -0
  146. package/dist/next.mjs.map +1 -0
  147. package/dist/{notes-TDHMzdVt.mjs → notes-or_kXTal.mjs} +13 -13
  148. package/dist/notes-or_kXTal.mjs.map +1 -0
  149. package/dist/{notes-DJyFkK13.cjs → notes-rTfi6rfN.cjs} +12 -12
  150. package/dist/notes-rTfi6rfN.cjs.map +1 -0
  151. package/dist/openapi.cjs +3 -3
  152. package/dist/openapi.mjs +3 -3
  153. package/dist/{projectBucket-CoskwJC5.cjs → projectBucket-CRa1b1Td.cjs} +2 -2
  154. package/dist/{projectBucket-CoskwJC5.cjs.map → projectBucket-CRa1b1Td.cjs.map} +1 -1
  155. package/dist/{projectBucket-BPzx0b0t.mjs → projectBucket-Coh5K3-g.mjs} +2 -2
  156. package/dist/{projectBucket-BPzx0b0t.mjs.map → projectBucket-Coh5K3-g.mjs.map} +1 -1
  157. package/dist/{publish-LZ1eb-MI.mjs → publish-Bwhywmpz.mjs} +2 -2
  158. package/dist/{publish-LZ1eb-MI.mjs.map → publish-Bwhywmpz.mjs.map} +1 -1
  159. package/dist/{publish-DB3-zkpm.cjs → publish-D9Yl4AzW.cjs} +2 -2
  160. package/dist/{publish-DB3-zkpm.cjs.map → publish-D9Yl4AzW.cjs.map} +1 -1
  161. package/dist/{ready-BjFMu_1J.mjs → ready-COJHr1Yi.mjs} +9 -9
  162. package/dist/ready-COJHr1Yi.mjs.map +1 -0
  163. package/dist/{ready-eVMJIcWn.cjs → ready-DcD0SCnV.cjs} +8 -8
  164. package/dist/ready-DcD0SCnV.cjs.map +1 -0
  165. package/dist/reconcile/public.cjs +1 -1
  166. package/dist/reconcile/public.mjs +1 -1
  167. package/dist/{resolve-jez3Y1S0.mjs → resolve-B9tboVm2.mjs} +4 -4
  168. package/dist/{resolve-jez3Y1S0.mjs.map → resolve-B9tboVm2.mjs.map} +1 -1
  169. package/dist/{resolve-B5_tOTJG.cjs → resolve-BrJUFIUu.cjs} +4 -4
  170. package/dist/{resolve-B5_tOTJG.cjs.map → resolve-BrJUFIUu.cjs.map} +1 -1
  171. package/dist/{rollback-BNo1bCLO.cjs → rollback-D48bPMpD.cjs} +7 -7
  172. package/dist/{rollback-BNo1bCLO.cjs.map → rollback-D48bPMpD.cjs.map} +1 -1
  173. package/dist/{rollback-BtOfxwo-.mjs → rollback-M6b0z1tp.mjs} +7 -7
  174. package/dist/{rollback-BtOfxwo-.mjs.map → rollback-M6b0z1tp.mjs.map} +1 -1
  175. package/dist/{s3-BlPwyu1L.cjs → s3-3iS3jlKU.cjs} +3 -3
  176. package/dist/{s3-BlPwyu1L.cjs.map → s3-3iS3jlKU.cjs.map} +1 -1
  177. package/dist/{s3-Bf_75vVl.mjs → s3-CNOSRjqH.mjs} +3 -3
  178. package/dist/{s3-Bf_75vVl.mjs.map → s3-CNOSRjqH.mjs.map} +1 -1
  179. package/dist/sandbox/credentials-worker.cjs +2 -2
  180. package/dist/sandbox/credentials-worker.mjs +2 -2
  181. package/dist/sandbox/discover-worker.cjs +1 -1
  182. package/dist/sandbox/discover-worker.mjs +1 -1
  183. package/dist/sandbox/migrate-worker.cjs +2 -2
  184. package/dist/sandbox/migrate-worker.mjs +2 -2
  185. package/dist/{serverSetup-D0Zor2i4.mjs → serverSetup-CzLJ_RV0.mjs} +6 -6
  186. package/dist/{serverSetup-D0Zor2i4.mjs.map → serverSetup-CzLJ_RV0.mjs.map} +1 -1
  187. package/dist/{serverSetup-D30vVD6t.cjs → serverSetup-DnOdoucM.cjs} +6 -6
  188. package/dist/{serverSetup-D30vVD6t.cjs.map → serverSetup-DnOdoucM.cjs.map} +1 -1
  189. package/dist/{sniffer-Bw00z3I8.cjs → sniffer-C5F7uYQB.cjs} +8 -8
  190. package/dist/{sniffer-Bw00z3I8.cjs.map → sniffer-C5F7uYQB.cjs.map} +1 -1
  191. package/dist/{sniffer-DdPDiNmc.mjs → sniffer-yeftYpWK.mjs} +8 -8
  192. package/dist/{sniffer-DdPDiNmc.mjs.map → sniffer-yeftYpWK.mjs.map} +1 -1
  193. package/dist/{snsSubscriptions-DBxVTR6Y.mjs → snsSubscriptions-CXRa_bwG.mjs} +3 -3
  194. package/dist/{snsSubscriptions-DBxVTR6Y.mjs.map → snsSubscriptions-CXRa_bwG.mjs.map} +1 -1
  195. package/dist/{snsSubscriptions-g7apv_fy.cjs → snsSubscriptions-CXwELBil.cjs} +3 -3
  196. package/dist/{snsSubscriptions-g7apv_fy.cjs.map → snsSubscriptions-CXwELBil.cjs.map} +1 -1
  197. package/dist/{sst-DJ22YDEq.mjs → sst-BAQrBaGa.mjs} +6 -6
  198. package/dist/{sst-DJ22YDEq.mjs.map → sst-BAQrBaGa.mjs.map} +1 -1
  199. package/dist/{sst-CEs0bMxj.cjs → sst-B_srWo15.cjs} +6 -6
  200. package/dist/{sst-CEs0bMxj.cjs.map → sst-B_srWo15.cjs.map} +1 -1
  201. package/dist/{stack-BmG-lKgD.cjs → stack-DaJ9D2Uc.cjs} +20 -20
  202. package/dist/stack-DaJ9D2Uc.cjs.map +1 -0
  203. package/dist/{stack-Ds9jjpE1.mjs → stack-t2tN1jYo.mjs} +21 -21
  204. package/dist/stack-t2tN1jYo.mjs.map +1 -0
  205. package/dist/{stage-D9dfV1Ey.mjs → stage-B4gqRg7l.mjs} +7 -7
  206. package/dist/{stage-D9dfV1Ey.mjs.map → stage-B4gqRg7l.mjs.map} +1 -1
  207. package/dist/{stage-kGc9L3yB.cjs → stage-Clk6oQO_.cjs} +7 -7
  208. package/dist/{stage-kGc9L3yB.cjs.map → stage-Clk6oQO_.cjs.map} +1 -1
  209. package/dist/{stages-BL22BLJS.mjs → stages-D1rnfO18.mjs} +2 -2
  210. package/dist/{stages-BL22BLJS.mjs.map → stages-D1rnfO18.mjs.map} +1 -1
  211. package/dist/{stages-CN53nNOK.cjs → stages-afi9P-Cd.cjs} +2 -2
  212. package/dist/{stages-CN53nNOK.cjs.map → stages-afi9P-Cd.cjs.map} +1 -1
  213. package/dist/target/public.cjs +1 -1
  214. package/dist/target/public.mjs +1 -1
  215. package/dist/{terminal-C0A7S7fB.mjs → terminal-D4kY5oz7.mjs} +3 -3
  216. package/dist/{terminal-C0A7S7fB.mjs.map → terminal-D4kY5oz7.mjs.map} +1 -1
  217. package/dist/{terminal-DVlIWcUb.cjs → terminal-JAudEZRC.cjs} +3 -3
  218. package/dist/{terminal-DVlIWcUb.cjs.map → terminal-JAudEZRC.cjs.map} +1 -1
  219. package/dist/vitest.cjs +1 -1
  220. package/dist/vitest.mjs +1 -1
  221. package/dist/workspace/index.cjs +1 -1
  222. package/dist/workspace/index.mjs +1 -1
  223. package/dist/{workspace-D4hzz6Xb.mjs → workspace-Gubg8xLJ.mjs} +8 -9
  224. package/dist/workspace-Gubg8xLJ.mjs.map +1 -0
  225. package/dist/{workspace-DPSdiv-b.cjs → workspace-p7gmCQVS.cjs} +7 -8
  226. package/dist/workspace-p7gmCQVS.cjs.map +1 -0
  227. package/package.json +25 -15
  228. package/dist/SubscriberGenerator-BybB6uez.mjs.map +0 -1
  229. package/dist/SubscriberGenerator-mZpSuSU7.cjs.map +0 -1
  230. package/dist/add-BgCYGJpE.mjs.map +0 -1
  231. package/dist/add-Dp0KQNkQ.cjs.map +0 -1
  232. package/dist/apps-CJTOIaz3.mjs.map +0 -1
  233. package/dist/apps-DkMR-qvD.cjs.map +0 -1
  234. package/dist/compose-BIm9yNH7.cjs.map +0 -1
  235. package/dist/compose-CZGeE6QJ.mjs.map +0 -1
  236. package/dist/compose-SmuCWWUh.cjs.map +0 -1
  237. package/dist/compose-tX6YTa1U.mjs.map +0 -1
  238. package/dist/credentialSchemas-BAklWDna.cjs.map +0 -1
  239. package/dist/credentialSchemas-mz9QZTYh.mjs.map +0 -1
  240. package/dist/databases-C1qqNxTu.mjs.map +0 -1
  241. package/dist/databases-CrKh5jw6.cjs.map +0 -1
  242. package/dist/deploy--ia-CGMv.cjs.map +0 -1
  243. package/dist/deploy-BWFFSN5p.mjs.map +0 -1
  244. package/dist/discover-CRywE7yc.cjs.map +0 -1
  245. package/dist/discover-DbDrCQ8h.mjs.map +0 -1
  246. package/dist/docker-BtUjo-J_.cjs.map +0 -1
  247. package/dist/docker-DhmU416x.mjs.map +0 -1
  248. package/dist/encryption-BCaweYBJ.mjs.map +0 -1
  249. package/dist/encryption-CU5O0Y61.cjs.map +0 -1
  250. package/dist/engine-BzeCK6e8.mjs.map +0 -1
  251. package/dist/engine-xrlcbr1g.cjs.map +0 -1
  252. package/dist/notes-DJyFkK13.cjs.map +0 -1
  253. package/dist/notes-TDHMzdVt.mjs.map +0 -1
  254. package/dist/ready-BjFMu_1J.mjs.map +0 -1
  255. package/dist/ready-eVMJIcWn.cjs.map +0 -1
  256. package/dist/stack-BmG-lKgD.cjs.map +0 -1
  257. package/dist/stack-Ds9jjpE1.mjs.map +0 -1
  258. package/dist/workspace-D4hzz6Xb.mjs.map +0 -1
  259. package/dist/workspace-DPSdiv-b.cjs.map +0 -1
@@ -1,12 +1,12 @@
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-CS3Dr-pv.cjs");
4
- const require_workspace = require("./workspace-DPSdiv-b.cjs");
5
- const require_compose = require("./compose-BIm9yNH7.cjs");
6
- const require_SubscriberGenerator = require("./SubscriberGenerator-mZpSuSU7.cjs");
3
+ const require_credentials = require("./credentials-CCCAy3NL.cjs");
4
+ const require_workspace = require("./workspace-p7gmCQVS.cjs");
5
+ const require_compose = require("./compose-DwjaxFFK.cjs");
6
+ const require_SubscriberGenerator = require("./SubscriberGenerator-DMi4siph.cjs");
7
7
  const require_types = require("./types-Bl_CwZC9.cjs");
8
- const require_EndpointGenerator = require("./EndpointGenerator-DxrRqfJ3.cjs");
9
- const require_discover = require("./discover-CRywE7yc.cjs");
8
+ const require_EndpointGenerator = require("./EndpointGenerator-C1h_wExz.cjs");
9
+ const require_discover = require("./discover-39VKSE2i.cjs");
10
10
  let node_path = require("node:path");
11
11
  let node_fs = require("node:fs");
12
12
  let node_fs_promises = require("node:fs/promises");
@@ -23,6 +23,8 @@ let _geekmidas_events_sns_url = require("@geekmidas/events/sns/url");
23
23
  _geekmidas_events_sns_url = require_rolldown_runtime.__toESM(_geekmidas_events_sns_url, 1);
24
24
  let _geekmidas_events_sqs_url = require("@geekmidas/events/sqs/url");
25
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);
26
28
  let _geekmidas_cache_postgres = require("@geekmidas/cache/postgres");
27
29
  let node_util = require("node:util");
28
30
  let node_forge = require("node-forge");
@@ -54,6 +56,9 @@ function deploysWithCompose(workspace) {
54
56
  * gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/auth-database.sql.gz
55
57
  * ```
56
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
+ *
57
62
  * The file is named after the database's construct, the way its migrations
58
63
  * folder is: `AuthDatabase` is `db/auth-database`, and `auth-database.sql.gz`.
59
64
  */
@@ -124,6 +129,10 @@ function backupDatabases(resources) {
124
129
  * deployed stage each time, never from the stage being deployed alone: one
125
130
  * stage's deploy keeps every other's rule. A stage set to `false` has none,
126
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.
127
136
  */
128
137
  function backupExpiries(workspace, manifest) {
129
138
  const expiries = [];
@@ -132,7 +141,7 @@ function backupExpiries(workspace, manifest) {
132
141
  if (choice.mode !== "on") continue;
133
142
  expiries.push({
134
143
  id: `gkm-backups-${stage}`,
135
- prefix: `${backupsPrefix(workspace, stage)}/`,
144
+ prefix: `${backupsPrefix(workspace, stage)}/2`,
136
145
  days: choice.backups.keepDays,
137
146
  abortIncompleteDays: 1
138
147
  });
@@ -160,7 +169,7 @@ function processorsDevRoute(fileServerId) {
160
169
  * The Caddy configuration a plan implies.
161
170
  *
162
171
  * A file server is a *domain that serves a bucket*, and locally it had neither:
163
- * `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
164
173
  * is not the deployed shape. MinIO's own virtual-host mode cannot fix that —
165
174
  * it reads the leading label *as the bucket name*, so it produces the right
166
175
  * shape only when the server's id and the bucket's happen to agree, and never
@@ -642,13 +651,14 @@ const REQUIRES = { "redis-http": ["redis"] };
642
651
  *
643
652
  * The twin of `ProvidesByKind` in `@geekmidas/manifest`: that is what a
644
653
  * construct declares, this is what the local target resolves, and both derive
645
- * the key from the same `provideKey` so they cannot disagree.
654
+ * the key from the same `providedKeyFor` so they cannot disagree.
646
655
  */
647
656
  const ROLES = {
648
657
  queue: "publisherConnectionString",
649
658
  topic: "publisherConnectionString",
650
659
  credential: "credentials",
651
- "mobile-app": "scheme"
660
+ "mobile-app": "scheme",
661
+ objects: "connectionString"
652
662
  };
653
663
  /** The kinds whose container is the events backend's rather than their own. */
654
664
  const EVENT_KINDS = {
@@ -773,6 +783,10 @@ function planFor(manifest, stage, order, options = {}) {
773
783
  provisions: PROVISIONS[declaration.kind] === true,
774
784
  ...declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "objects" || declaration.kind === "file-server" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
775
785
  ...declaration.kind === "site" ? { publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest) } : {},
786
+ ...(0, _geekmidas_manifest.isPublicDeclaration)(declaration) && (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
+ } } : {},
776
790
  ...declaration.kind === "mobile-app" ? {
777
791
  publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest),
778
792
  ...declaration.scheme ? { scheme: declaration.scheme } : {}
@@ -887,6 +901,36 @@ var PgBossNeedsDatabase = class extends require_errors.GkmError {
887
901
  }
888
902
  };
889
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.providedKeyFor)(id, "objects", "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.providedKeyFor)(id, "objects", "signedOrigin")] = origin;
930
+ }
931
+ return origins;
932
+ }
933
+ //#endregion
890
934
  //#region src/reconcile/env.ts
891
935
  /**
892
936
  * The URLs a reconciled stage injects.
@@ -987,24 +1031,24 @@ function envFor(plan, options) {
987
1031
  ...options.metroPorts ? { metroPorts: options.metroPorts } : {}
988
1032
  }));
989
1033
  if (resource.kind === "websocket-api") {
990
- const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.provideKey)(resource.id, "trustedOrigins")];
991
- if (origins !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "trustedOrigins")] = origins;
1034
+ const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")];
1035
+ if (origins !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")] = origins;
992
1036
  const publisher = webSocketPublisher(resource, options.ports, options.project ?? "", credential);
993
- if (publisher) env[(0, _geekmidas_manifest.provideKey)(resource.id, "publisherConnectionString")] = publisher;
1037
+ if (publisher) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "publisherConnectionString")] = publisher;
994
1038
  }
995
1039
  if (url) env[resource.envKey] = url;
996
1040
  if (resource.kind === "site" && resource.protectedSubdomains && url) {
997
1041
  const domain = (0, _geekmidas_manifest.wildcardDomainOf)(new URL(url).hostname);
998
1042
  if (domain) {
999
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "domain")] = domain;
1000
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "protectedSubdomains")] = resource.protectedSubdomains.join(",");
1043
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = domain;
1044
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "protectedSubdomains")] = resource.protectedSubdomains.join(",");
1001
1045
  }
1002
1046
  }
1003
1047
  if (isDatabase(resource.kind) && resource.roles !== false) {
1004
1048
  const owner = ownerUrl(resource, plan, options.ports, options.project ?? "", credential);
1005
- if (owner) env[(0, _geekmidas_manifest.provideKey)(resource.id, "ownerUrl")] = owner;
1049
+ if (owner) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "ownerUrl")] = owner;
1006
1050
  }
1007
- if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.provideKey)(resource.id, "credentials")] = resource.fake.credentials;
1051
+ if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "credentials")] = resource.fake.credentials;
1008
1052
  if (resource.kind === "credential" && resource.fakeCredentials !== void 0) env[resource.envKey] = resource.fakeCredentials;
1009
1053
  if (resource.kind === "telemetry" && url) {
1010
1054
  const login = options.credentials.logs;
@@ -1016,20 +1060,21 @@ function envFor(plan, options) {
1016
1060
  if (resource.kind === "inbox" && url) {
1017
1061
  const base = resource.id.toLowerCase();
1018
1062
  const stage = resource.name === base ? void 0 : resource.name.slice(base.length + 1);
1019
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "domain")] = [
1063
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = [
1020
1064
  stage,
1021
1065
  options.project,
1022
1066
  LOCAL_HOST
1023
1067
  ].filter(Boolean).join(".");
1024
1068
  const smtp = options.ports[require_compose.primaryPortKey("mailpit")];
1025
- if (smtp !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "smtpUrl")] = `smtp://${LOCAL_HOST}:${smtp}`;
1069
+ if (smtp !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "smtpUrl")] = `smtp://${LOCAL_HOST}:${smtp}`;
1026
1070
  }
1027
1071
  if (resource.kind === "email" && url) {
1028
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "from")] = options.mailFrom ?? `noreply@${LOCAL_HOST}`;
1072
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "from")] = options.mailFrom ?? `noreply@${LOCAL_HOST}`;
1029
1073
  const inbox = options.ports[MAILPIT_INBOX_PORT];
1030
- if (inbox !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
1074
+ if (inbox !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
1031
1075
  }
1032
1076
  }
1077
+ Object.assign(env, signedOrigins(plan.resources.filter((r) => r.kind === "objects").map((r) => r.id), (key) => env[key]));
1033
1078
  Object.assign(env, publicEnv(plan, env, options.addresses));
1034
1079
  Object.assign(env, brokerEnv(plan, options.ports, credential));
1035
1080
  const relay = env.EVENT_PUBLISHER_CONNECTION_STRING;
@@ -1037,8 +1082,8 @@ function envFor(plan, options) {
1037
1082
  if (resource.kind !== "objects" || resource.container !== "minio") continue;
1038
1083
  if (!options.relayedBuckets.includes(resource.id)) continue;
1039
1084
  if (!env[resource.envKey]) continue;
1040
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "eventsConnectionString")] = relay;
1041
- env[(0, _geekmidas_manifest.provideKey)(resource.id, "eventsToken")] = require_compose.objectsWebhookToken(options.project ?? "", resource.id, credential.seed);
1085
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsConnectionString")] = relay;
1086
+ env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsToken")] = require_compose.objectsWebhookToken(options.project ?? "", resource.id, credential.seed);
1042
1087
  }
1043
1088
  if (plan.resources.some((r) => r.kind === "inbox" && env[r.envKey])) env[require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY] = require_SubscriberGenerator.inboxRelayToken(options.project ?? "", credential.seed);
1044
1089
  if (plan.resources.some((r) => (r.kind === "rest-api" || r.kind === "websocket-api") && env[r.envKey])) env[_geekmidas_manifest.EDGE_TOKEN_KEY] = edgeToken(options.project ?? "", credential.seed);
@@ -1061,9 +1106,15 @@ function envFor(plan, options) {
1061
1106
  function publicEnv(plan, resolved, addresses = {}) {
1062
1107
  const env = {};
1063
1108
  const owners = new Map(plan.resources.map((r) => [r.envKey, r.id]));
1064
- for (const resource of plan.resources) for (const [key, source] of Object.entries(resource.publicEnv ?? {})) {
1065
- const value = (resource.kind === "mobile-app" ? addresses[owners.get(source) ?? ""] : void 0) ?? resolved[source];
1066
- 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
+ }
1067
1118
  }
1068
1119
  return env;
1069
1120
  }
@@ -1099,9 +1150,9 @@ function surfaceEnv(resource, url, resolved = {}, local = {}) {
1099
1150
  const own = local.addresses?.[resource.id];
1100
1151
  const device = mobile.length > 0 && local.lanAddress && own ? own.replace(/\/\/(localhost|127\.0\.0\.1)(?=[:/]|$)/, `//${local.lanAddress}`) : void 0;
1101
1152
  return {
1102
- [(0, _geekmidas_manifest.provideKey)(resource.id, "trustedOrigins")]: [...origins, ...new Set(schemes)].join(","),
1103
- ...domain ? { [(0, _geekmidas_manifest.provideKey)(resource.id, "cookieDomain")]: domain } : {},
1104
- ...device ? { [(0, _geekmidas_manifest.provideKey)(resource.id, "deviceUrl")]: device } : {}
1153
+ [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")]: [...origins, ...new Set(schemes)].join(","),
1154
+ ...domain ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "cookieDomain")]: domain } : {},
1155
+ ...device ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "deviceUrl")]: device } : {}
1105
1156
  };
1106
1157
  }
1107
1158
  /**
@@ -2307,14 +2358,17 @@ function isUnder(file, dir) {
2307
2358
  */
2308
2359
  function publicBuildValues(site, manifest, resolve, secrets) {
2309
2360
  const args = {};
2310
- const own = (0, _geekmidas_manifest.provideKey)(site.id, site.kind === "site" ? "url" : "scheme");
2361
+ const own = (0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, site.kind === "site" ? "url" : "scheme");
2311
2362
  const ownValue = resolve(own);
2312
2363
  if (ownValue) args[own] = ownValue;
2364
+ const derived = signedOrigins(Object.keys(manifest).filter((id) => manifest[id]?.kind === "objects"), resolve);
2313
2365
  for (const [key, source] of Object.entries((0, _geekmidas_manifest.publicEnvFor)(site, manifest))) {
2314
- const value = resolve(source);
2366
+ const value = resolve(source) ?? derived[source];
2315
2367
  if (value) args[key] = value;
2316
2368
  }
2317
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;
2318
2372
  for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
2319
2373
  return args;
2320
2374
  }
@@ -2344,7 +2398,7 @@ const OFFLINE_BUILD_ADDRESS = "127.0.0.1";
2344
2398
  */
2345
2399
  function offlineBuildHosts(site, manifest, resolve) {
2346
2400
  if (site.prerender === "stage") return [];
2347
- const sources = [(0, _geekmidas_manifest.provideKey)(site.id, "url"), ...Object.values((0, _geekmidas_manifest.publicEnvFor)(site, manifest))];
2401
+ const sources = [(0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, "url"), ...Object.values((0, _geekmidas_manifest.publicEnvFor)(site, manifest))];
2348
2402
  const hosts = /* @__PURE__ */ new Set();
2349
2403
  for (const source of sources) {
2350
2404
  const host = hostOf(resolve(source));
@@ -2374,7 +2428,7 @@ function siteOfflineHosts(manifest, appName, ownUrl, urls) {
2374
2428
  for (const [id] of entries) {
2375
2429
  const name = require_workspace.appKey(id);
2376
2430
  const url = name === appName ? ownUrl : urls[name];
2377
- 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);
2378
2432
  }
2379
2433
  return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
2380
2434
  }
@@ -3463,7 +3517,7 @@ function processorOriginHost(serverId, domain) {
3463
3517
  }
3464
3518
  /** The stage secret holding the header's value: `ASSETS_SERVER_ORIGIN_SECRET`. */
3465
3519
  function originSecretKey(serverId) {
3466
- return (0, _geekmidas_manifest.provideKey)(serverId, "originSecret");
3520
+ return (0, _geekmidas_manifest.environmentCase)(`${serverId}_originSecret`);
3467
3521
  }
3468
3522
  /**
3469
3523
  * What the processor unit reads that secret from. Set wherever the CDN fronts
@@ -5308,7 +5362,7 @@ function networkEnv(plan, options, hostOf = (container) => container) {
5308
5362
  * fails on its first local request rather than in production.
5309
5363
  *
5310
5364
  * What an edge `caller.dependsOn([target])` hands each side, `<C>` and `<T>`
5311
- * being the caller's and the target's ids (`provideKey`) — keep this list and
5365
+ * being the caller's and the target's ids (`providedKeyFor`) — keep this list and
5312
5366
  * `apps/docs/guide/edges.md` in step with the code below:
5313
5367
  *
5314
5368
  * - `rest-api`: the caller gets `<T>_URL`. The target gets `<C>_URL` from a
@@ -5359,9 +5413,9 @@ function appEnvKeys(manifest, appName) {
5359
5413
  ...declaration.requires ?? [],
5360
5414
  ...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
5361
5415
  ]);
5362
- addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys, declaration.kind === "site" || declaration.kind === "mobile-app");
5416
+ addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys, (0, _geekmidas_manifest.isPublicDeclaration)(declaration));
5363
5417
  if (declaration.kind === "rest-api" || declaration.kind === "websocket-api") for (const key of callerKeys(manifest, id)) keys.add(key);
5364
- if (declaration.kind === "site" || declaration.kind === "mobile-app") {
5418
+ if ((0, _geekmidas_manifest.isPublicDeclaration)(declaration)) {
5365
5419
  for (const key of _geekmidas_manifest.TELEMETRY_KEYS) keys.delete(key);
5366
5420
  for (const key of Object.keys((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest))) keys.add(key);
5367
5421
  }
@@ -5501,8 +5555,8 @@ function callerKeys(manifest, surfaceId) {
5501
5555
  const keys = [];
5502
5556
  for (const caller of (0, _geekmidas_manifest.dependentsOf)(manifest, surfaceId)) {
5503
5557
  const declaration = manifest[caller];
5504
- if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.provideKey)(caller, "scheme"));
5505
- else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.provideKey)(caller, "url"));
5558
+ if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "scheme"));
5559
+ else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "url"));
5506
5560
  }
5507
5561
  return keys;
5508
5562
  }
@@ -5515,20 +5569,20 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
5515
5569
  const bucket = require_discover.eventsEdgeBucket(id);
5516
5570
  if (bucket) {
5517
5571
  if (manifest[bucket]?.kind === "objects") {
5518
- keys.add((0, _geekmidas_manifest.provideKey)(bucket, "eventsConnectionString"));
5519
- keys.add((0, _geekmidas_manifest.provideKey)(bucket, "eventsToken"));
5572
+ keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsConnectionString"));
5573
+ keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsToken"));
5520
5574
  }
5521
5575
  continue;
5522
5576
  }
5523
5577
  const target = manifest[id];
5524
5578
  if (!target) continue;
5525
5579
  if (target.kind === "rest-api") {
5526
- keys.add((0, _geekmidas_manifest.provideKey)(id, "url"));
5580
+ keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
5527
5581
  continue;
5528
5582
  }
5529
5583
  if (target.kind === "websocket-api") {
5530
- keys.add((0, _geekmidas_manifest.provideKey)(id, "url"));
5531
- if (!client) keys.add((0, _geekmidas_manifest.provideKey)(id, "publisherConnectionString"));
5584
+ keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
5585
+ if (!client) keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "publisherConnectionString"));
5532
5586
  continue;
5533
5587
  }
5534
5588
  for (const key of target.provides ?? []) keys.add(key);
@@ -6248,4 +6302,4 @@ Object.defineProperty(exports, "workspace_exports", {
6248
6302
  }
6249
6303
  });
6250
6304
 
6251
- //# sourceMappingURL=apps-DkMR-qvD.cjs.map
6305
+ //# sourceMappingURL=apps-By6pnfzA.cjs.map