@geekmidas/cli 10.0.0-alpha.125 → 10.0.0-alpha.127

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 (229) hide show
  1. package/dist/{EndpointGenerator-errMeldx.mjs → EndpointGenerator-B99OGzbO.mjs} +2 -2
  2. package/dist/{EndpointGenerator-errMeldx.mjs.map → EndpointGenerator-B99OGzbO.mjs.map} +1 -1
  3. package/dist/{EndpointGenerator-BGxf9jWE.cjs → EndpointGenerator-De0lknKD.cjs} +2 -2
  4. package/dist/{EndpointGenerator-BGxf9jWE.cjs.map → EndpointGenerator-De0lknKD.cjs.map} +1 -1
  5. package/dist/{GoDaddyProvider-BN1dODm9.mjs → GoDaddyProvider-BG-UdElN.mjs} +2 -2
  6. package/dist/{GoDaddyProvider-BN1dODm9.mjs.map → GoDaddyProvider-BG-UdElN.mjs.map} +1 -1
  7. package/dist/{GoDaddyProvider-BTdtqhI_.cjs → GoDaddyProvider-DnmLq7eo.cjs} +2 -2
  8. package/dist/{GoDaddyProvider-BTdtqhI_.cjs.map → GoDaddyProvider-DnmLq7eo.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-C2S8TGwx.cjs → LegacyStateStore-CeBkK9K2.cjs} +3 -3
  10. package/dist/{LegacyStateStore-C2S8TGwx.cjs.map → LegacyStateStore-CeBkK9K2.cjs.map} +1 -1
  11. package/dist/{LegacyStateStore-DgXmuG87.mjs → LegacyStateStore-DHG_4jcn.mjs} +3 -3
  12. package/dist/{LegacyStateStore-DgXmuG87.mjs.map → LegacyStateStore-DHG_4jcn.mjs.map} +1 -1
  13. package/dist/{LocalStateStore-ojY_BiMK.mjs → LocalStateStore-EenTHwr4.mjs} +2 -2
  14. package/dist/{LocalStateStore-ojY_BiMK.mjs.map → LocalStateStore-EenTHwr4.mjs.map} +1 -1
  15. package/dist/{LocalStateStore-CaJw9H-3.cjs → LocalStateStore-HRnBQFe3.cjs} +2 -2
  16. package/dist/{LocalStateStore-CaJw9H-3.cjs.map → LocalStateStore-HRnBQFe3.cjs.map} +1 -1
  17. package/dist/{OpenApiTsGenerator-cQgtxWQo.cjs → OpenApiTsGenerator-DMLzN-LU.cjs} +2 -2
  18. package/dist/{OpenApiTsGenerator-cQgtxWQo.cjs.map → OpenApiTsGenerator-DMLzN-LU.cjs.map} +1 -1
  19. package/dist/{OpenApiTsGenerator-W_HRXH1X.mjs → OpenApiTsGenerator-DNUCgkkx.mjs} +2 -2
  20. package/dist/{OpenApiTsGenerator-W_HRXH1X.mjs.map → OpenApiTsGenerator-DNUCgkkx.mjs.map} +1 -1
  21. package/dist/{S3StateStore-BqugXIcb.cjs → S3StateStore-DyLljVN1.cjs} +2 -2
  22. package/dist/{S3StateStore-BqugXIcb.cjs.map → S3StateStore-DyLljVN1.cjs.map} +1 -1
  23. package/dist/{S3StateStore-BSPkxhrx.mjs → S3StateStore-vbkyBnRB.mjs} +2 -2
  24. package/dist/{S3StateStore-BSPkxhrx.mjs.map → S3StateStore-vbkyBnRB.mjs.map} +1 -1
  25. package/dist/{SSMStateStore-B0OsuT_k.cjs → SSMStateStore-BBKlmfaU.cjs} +2 -2
  26. package/dist/{SSMStateStore-B0OsuT_k.cjs.map → SSMStateStore-BBKlmfaU.cjs.map} +1 -1
  27. package/dist/{SSMStateStore-DM85OiH0.mjs → SSMStateStore-uk2QLUgz.mjs} +2 -2
  28. package/dist/{SSMStateStore-DM85OiH0.mjs.map → SSMStateStore-uk2QLUgz.mjs.map} +1 -1
  29. package/dist/{SubscriberGenerator-ocQ2yj0K.mjs → SubscriberGenerator-0ruEmYXj.mjs} +4 -62
  30. package/dist/SubscriberGenerator-0ruEmYXj.mjs.map +1 -0
  31. package/dist/{SubscriberGenerator-BDUp7OeY.cjs → SubscriberGenerator-CPjbWEOI.cjs} +3 -91
  32. package/dist/SubscriberGenerator-CPjbWEOI.cjs.map +1 -0
  33. package/dist/{add-CrxvmSpq.cjs → add-CH7-9AHI.cjs} +7 -7
  34. package/dist/add-CH7-9AHI.cjs.map +1 -0
  35. package/dist/{add-C7ZBXIzM.mjs → add-CgyyN6aF.mjs} +7 -7
  36. package/dist/add-CgyyN6aF.mjs.map +1 -0
  37. package/dist/{bundler-DVUXW95p.cjs → bundler-BtAkF9wb.cjs} +5 -5
  38. package/dist/{bundler-DVUXW95p.cjs.map → bundler-BtAkF9wb.cjs.map} +1 -1
  39. package/dist/{bundler-DpZ9uBGN.mjs → bundler-DqHozK8W.mjs} +5 -5
  40. package/dist/{bundler-DpZ9uBGN.mjs.map → bundler-DqHozK8W.mjs.map} +1 -1
  41. package/dist/{cli-BMRhE6cZ.cjs → cli-D08bMg7m.cjs} +3 -3
  42. package/dist/{cli-BMRhE6cZ.cjs.map → cli-D08bMg7m.cjs.map} +1 -1
  43. package/dist/{cli-BWfYyy1k.mjs → cli-D_BQkb4B.mjs} +3 -3
  44. package/dist/{cli-BWfYyy1k.mjs.map → cli-D_BQkb4B.mjs.map} +1 -1
  45. package/dist/{compose-Bqcy0lqo.cjs → compose-BK9s_2Qe.cjs} +73 -44
  46. package/dist/compose-BK9s_2Qe.cjs.map +1 -0
  47. package/dist/{compose-BFmdLig3.mjs → compose-CIzCcsoz.mjs} +72 -43
  48. package/dist/compose-CIzCcsoz.mjs.map +1 -0
  49. package/dist/{config-_y1FGBWR.d.mts → config-B8fXmuK0.d.cts} +3 -3
  50. package/dist/{config-CdytFgSR.d.cts.map → config-B8fXmuK0.d.cts.map} +1 -1
  51. package/dist/{config-CdytFgSR.d.cts → config-CRRxZMk7.d.mts} +3 -3
  52. package/dist/{config-_y1FGBWR.d.mts.map → config-CRRxZMk7.d.mts.map} +1 -1
  53. package/dist/config.cjs +2 -2
  54. package/dist/config.d.cts +3 -3
  55. package/dist/config.d.mts +3 -3
  56. package/dist/config.mjs +2 -2
  57. package/dist/{credentialSchemas-DFxvGEwa.cjs → credentialSchemas-CM0rxWmS.cjs} +2 -2
  58. package/dist/{credentialSchemas-DFxvGEwa.cjs.map → credentialSchemas-CM0rxWmS.cjs.map} +1 -1
  59. package/dist/{credentialSchemas-DaMpt-Dx.mjs → credentialSchemas-DPOGqOrU.mjs} +2 -2
  60. package/dist/{credentialSchemas-DaMpt-Dx.mjs.map → credentialSchemas-DPOGqOrU.mjs.map} +1 -1
  61. package/dist/{databases-BPOgTn1u.mjs → databases-6GD0tI2F.mjs} +65 -3
  62. package/dist/databases-6GD0tI2F.mjs.map +1 -0
  63. package/dist/{databases-fOaoBInm.cjs → databases-CuVGf7-M.cjs} +75 -1
  64. package/dist/databases-CuVGf7-M.cjs.map +1 -0
  65. package/dist/deploy/public.cjs +8 -8
  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 +8 -8
  71. package/dist/{deploy-DVrNjX1X.cjs → deploy-A_fzSa59.cjs} +10 -10
  72. package/dist/deploy-A_fzSa59.cjs.map +1 -0
  73. package/dist/{deploy-D8pUA9Y0.mjs → deploy-BVf6c_h8.mjs} +10 -10
  74. package/dist/deploy-BVf6c_h8.mjs.map +1 -0
  75. package/dist/{derive-DAbo49sm.cjs → derive-BtGidITm.cjs} +7 -7
  76. package/dist/derive-BtGidITm.cjs.map +1 -0
  77. package/dist/{derive-B4vDpzgP.mjs → derive-Dew0QoGe.mjs} +7 -7
  78. package/dist/derive-Dew0QoGe.mjs.map +1 -0
  79. package/dist/{discover-DL6h-J97.cjs → discover-DEOspD9M.cjs} +12 -1
  80. package/dist/discover-DEOspD9M.cjs.map +1 -0
  81. package/dist/{discover-CzGM5P3p.mjs → discover-DOhYSKY_.mjs} +12 -1
  82. package/dist/discover-DOhYSKY_.mjs.map +1 -0
  83. package/dist/{dokploy-TtK6Zyl3.cjs → dokploy-CshlFRwr.cjs} +2 -2
  84. package/dist/{dokploy-TtK6Zyl3.cjs.map → dokploy-CshlFRwr.cjs.map} +1 -1
  85. package/dist/{dokploy-CzDGNB6A.mjs → dokploy-DOndleTd.mjs} +2 -2
  86. package/dist/{dokploy-CzDGNB6A.mjs.map → dokploy-DOndleTd.mjs.map} +1 -1
  87. package/dist/{drivers-L29WvE95.cjs → drivers-C47nm-wB.cjs} +91 -4
  88. package/dist/drivers-C47nm-wB.cjs.map +1 -0
  89. package/dist/{drivers-C-VqMtld.mjs → drivers-CDjpjakg.mjs} +60 -3
  90. package/dist/drivers-CDjpjakg.mjs.map +1 -0
  91. package/dist/{eas-D3clzkni.cjs → eas-ApfPYR4-.cjs} +3 -3
  92. package/dist/{eas-D3clzkni.cjs.map → eas-ApfPYR4-.cjs.map} +1 -1
  93. package/dist/{eas-DaobzDks.mjs → eas-Dlr1Lw56.mjs} +3 -3
  94. package/dist/{eas-DaobzDks.mjs.map → eas-Dlr1Lw56.mjs.map} +1 -1
  95. package/dist/{encryption-DV31gEY8.mjs → encryption-D0tWRvy_.mjs} +2 -2
  96. package/dist/{encryption-DV31gEY8.mjs.map → encryption-D0tWRvy_.mjs.map} +1 -1
  97. package/dist/{encryption-DBkIFiR2.cjs → encryption-SGWvnBxV.cjs} +2 -2
  98. package/dist/{encryption-DBkIFiR2.cjs.map → encryption-SGWvnBxV.cjs.map} +1 -1
  99. package/dist/{engine-CuZUGbEh.cjs → engine-CYu4wavP.cjs} +9 -7
  100. package/dist/engine-CYu4wavP.cjs.map +1 -0
  101. package/dist/{engine-CFOR9h6X.mjs → engine-DKz1NYDX.mjs} +9 -7
  102. package/dist/engine-DKz1NYDX.mjs.map +1 -0
  103. package/dist/{github-CsvtWSBW.cjs → github-CxWaWQtW.cjs} +5 -5
  104. package/dist/{github-CsvtWSBW.cjs.map → github-CxWaWQtW.cjs.map} +1 -1
  105. package/dist/{github-Nep8pI4_.mjs → github-VQaj8gLE.mjs} +5 -5
  106. package/dist/{github-Nep8pI4_.mjs.map → github-VQaj8gLE.mjs.map} +1 -1
  107. package/dist/{googlePlay-C-UfBXJU.cjs → googlePlay-4KVtZ89D.cjs} +3 -3
  108. package/dist/{googlePlay-C-UfBXJU.cjs.map → googlePlay-4KVtZ89D.cjs.map} +1 -1
  109. package/dist/{googlePlay-lF7Atm_N.mjs → googlePlay-Nqc4EAiC.mjs} +3 -3
  110. package/dist/{googlePlay-lF7Atm_N.mjs.map → googlePlay-Nqc4EAiC.mjs.map} +1 -1
  111. package/dist/{index-DrkV7N5w.d.mts → index-Cu8eIwUW.d.mts} +2 -2
  112. package/dist/{index-DrkV7N5w.d.mts.map → index-Cu8eIwUW.d.mts.map} +1 -1
  113. package/dist/{index-yaXZ9m-J.d.cts → index-Dx93n3Ur.d.cts} +2 -2
  114. package/dist/{index-yaXZ9m-J.d.cts.map → index-Dx93n3Ur.d.cts.map} +1 -1
  115. package/dist/index.cjs +105 -76
  116. package/dist/index.cjs.map +1 -1
  117. package/dist/index.mjs +104 -75
  118. package/dist/index.mjs.map +1 -1
  119. package/dist/{migrate-hlNKNWmg.cjs → migrate-BQPRclv2.cjs} +2 -2
  120. package/dist/{migrate-hlNKNWmg.cjs.map → migrate-BQPRclv2.cjs.map} +1 -1
  121. package/dist/{migrate-_sBX0pve.mjs → migrate-C7exqXTD.mjs} +2 -2
  122. package/dist/{migrate-_sBX0pve.mjs.map → migrate-C7exqXTD.mjs.map} +1 -1
  123. package/dist/{migrate-NfbPVhi9.mjs → migrate-DQPEUiFC.mjs} +7 -5
  124. package/dist/migrate-DQPEUiFC.mjs.map +1 -0
  125. package/dist/{migrate-Dp3GhFnf.cjs → migrate-DTv6LHux.cjs} +7 -5
  126. package/dist/migrate-DTv6LHux.cjs.map +1 -0
  127. package/dist/openapi.cjs +3 -3
  128. package/dist/openapi.d.cts +1 -1
  129. package/dist/openapi.d.mts +1 -1
  130. package/dist/openapi.mjs +3 -3
  131. package/dist/{publish-ZOo4xEuZ.cjs → publish-CgwqwKDs.cjs} +2 -2
  132. package/dist/{publish-ZOo4xEuZ.cjs.map → publish-CgwqwKDs.cjs.map} +1 -1
  133. package/dist/{publish-BuUVaZVy.mjs → publish-VYt4xOOc.mjs} +2 -2
  134. package/dist/{publish-BuUVaZVy.mjs.map → publish-VYt4xOOc.mjs.map} +1 -1
  135. package/dist/{ready-Ca883OvY.mjs → ready-BwtLriAF.mjs} +6 -6
  136. package/dist/{ready-Ca883OvY.mjs.map → ready-BwtLriAF.mjs.map} +1 -1
  137. package/dist/{ready-qnqp6JAY.cjs → ready-Cj4pI0dw.cjs} +6 -6
  138. package/dist/{ready-qnqp6JAY.cjs.map → ready-Cj4pI0dw.cjs.map} +1 -1
  139. package/dist/reconcile/public.cjs +1 -1
  140. package/dist/reconcile/public.d.cts +1 -1
  141. package/dist/reconcile/public.d.mts +1 -1
  142. package/dist/reconcile/public.mjs +1 -1
  143. package/dist/{resolve-C9QqOl5t.cjs → resolve-C-W3kZM7.cjs} +4 -4
  144. package/dist/{resolve-C9QqOl5t.cjs.map → resolve-C-W3kZM7.cjs.map} +1 -1
  145. package/dist/{resolve-BCU9pYDx.mjs → resolve-CCVCc43b.mjs} +4 -4
  146. package/dist/{resolve-BCU9pYDx.mjs.map → resolve-CCVCc43b.mjs.map} +1 -1
  147. package/dist/{rollback-CTWdDBgB.cjs → rollback-CdBj1Boy.cjs} +4 -4
  148. package/dist/{rollback-CTWdDBgB.cjs.map → rollback-CdBj1Boy.cjs.map} +1 -1
  149. package/dist/{rollback-CWyyTQ0B.mjs → rollback-dUShCpZu.mjs} +4 -4
  150. package/dist/{rollback-CWyyTQ0B.mjs.map → rollback-dUShCpZu.mjs.map} +1 -1
  151. package/dist/{runtime-DCkfI2E7.d.mts → runtime-C_1PteGG.d.cts} +2 -2
  152. package/dist/{runtime-DCkfI2E7.d.mts.map → runtime-C_1PteGG.d.cts.map} +1 -1
  153. package/dist/{runtime-Ie4znWIB.d.cts → runtime-jjB2e3-M.d.mts} +2 -2
  154. package/dist/{runtime-Ie4znWIB.d.cts.map → runtime-jjB2e3-M.d.mts.map} +1 -1
  155. package/dist/sandbox/credentials-worker.cjs +2 -2
  156. package/dist/sandbox/credentials-worker.mjs +2 -2
  157. package/dist/sandbox/discover-worker.cjs +1 -1
  158. package/dist/sandbox/discover-worker.mjs +1 -1
  159. package/dist/sandbox/migrate-worker.cjs +5 -4
  160. package/dist/sandbox/migrate-worker.cjs.map +1 -1
  161. package/dist/sandbox/migrate-worker.mjs +5 -4
  162. package/dist/sandbox/migrate-worker.mjs.map +1 -1
  163. package/dist/{seeds-CK7w79VC.mjs → seeds-BX9pskrU.mjs} +67 -27
  164. package/dist/seeds-BX9pskrU.mjs.map +1 -0
  165. package/dist/{seeds-CPEcmoPn.cjs → seeds-sMVADbkg.cjs} +74 -34
  166. package/dist/seeds-sMVADbkg.cjs.map +1 -0
  167. package/dist/{serverSetup-C6t6Vtt7.cjs → serverSetup-4avavig6.cjs} +25 -5
  168. package/dist/serverSetup-4avavig6.cjs.map +1 -0
  169. package/dist/{serverSetup-BAPNuNEX.mjs → serverSetup-BvHpm7QD.mjs} +25 -5
  170. package/dist/serverSetup-BvHpm7QD.mjs.map +1 -0
  171. package/dist/{sniffer-DdX_WN_-.cjs → sniffer-DWLala8l.cjs} +7 -7
  172. package/dist/{sniffer-DdX_WN_-.cjs.map → sniffer-DWLala8l.cjs.map} +1 -1
  173. package/dist/{sniffer-g9v7cqDN.mjs → sniffer-XnAnEbuI.mjs} +7 -7
  174. package/dist/{sniffer-g9v7cqDN.mjs.map → sniffer-XnAnEbuI.mjs.map} +1 -1
  175. package/dist/{snsSubscriptions-BmYeeTH8.mjs → snsSubscriptions-BxLJQH4u.mjs} +3 -3
  176. package/dist/{snsSubscriptions-BmYeeTH8.mjs.map → snsSubscriptions-BxLJQH4u.mjs.map} +1 -1
  177. package/dist/{snsSubscriptions-5Cqww8S7.cjs → snsSubscriptions-f_z4PSFb.cjs} +3 -3
  178. package/dist/{snsSubscriptions-5Cqww8S7.cjs.map → snsSubscriptions-f_z4PSFb.cjs.map} +1 -1
  179. package/dist/{sst-lEkBwzGc.cjs → sst-DmVJRu5l.cjs} +2 -2
  180. package/dist/{sst-lEkBwzGc.cjs.map → sst-DmVJRu5l.cjs.map} +1 -1
  181. package/dist/{sst-CTqZZl1_.mjs → sst-fop6uZ25.mjs} +2 -2
  182. package/dist/{sst-CTqZZl1_.mjs.map → sst-fop6uZ25.mjs.map} +1 -1
  183. package/dist/{stage-CUE5pMmw.cjs → stage-ZWOE0oLB.cjs} +5 -5
  184. package/dist/{stage-CUE5pMmw.cjs.map → stage-ZWOE0oLB.cjs.map} +1 -1
  185. package/dist/{stage-C-I2dVw1.mjs → stage-mta618Oy.mjs} +5 -5
  186. package/dist/{stage-C-I2dVw1.mjs.map → stage-mta618Oy.mjs.map} +1 -1
  187. package/dist/target/public.cjs +1 -1
  188. package/dist/target/public.d.cts +2 -2
  189. package/dist/target/public.d.mts +2 -2
  190. package/dist/target/public.mjs +1 -1
  191. package/dist/{terminal-bqY33lpN.mjs → terminal-CebFDhWQ.mjs} +2 -2
  192. package/dist/{terminal-bqY33lpN.mjs.map → terminal-CebFDhWQ.mjs.map} +1 -1
  193. package/dist/{terminal-PKhPAajN.cjs → terminal-DBwedwSS.cjs} +2 -2
  194. package/dist/{terminal-PKhPAajN.cjs.map → terminal-DBwedwSS.cjs.map} +1 -1
  195. package/dist/{types-Bmjs4jZV.d.mts → types-DLANxOpy.d.mts} +7 -1
  196. package/dist/types-DLANxOpy.d.mts.map +1 -0
  197. package/dist/{types-D0IsQxES.d.cts → types-SEHMr6Aw.d.cts} +7 -1
  198. package/dist/types-SEHMr6Aw.d.cts.map +1 -0
  199. package/dist/vitest.cjs +1 -1
  200. package/dist/vitest.mjs +1 -1
  201. package/dist/workspace/index.d.cts +2 -2
  202. package/dist/workspace/index.d.mts +2 -2
  203. package/package.json +15 -15
  204. package/dist/SubscriberGenerator-BDUp7OeY.cjs.map +0 -1
  205. package/dist/SubscriberGenerator-ocQ2yj0K.mjs.map +0 -1
  206. package/dist/add-C7ZBXIzM.mjs.map +0 -1
  207. package/dist/add-CrxvmSpq.cjs.map +0 -1
  208. package/dist/compose-BFmdLig3.mjs.map +0 -1
  209. package/dist/compose-Bqcy0lqo.cjs.map +0 -1
  210. package/dist/databases-BPOgTn1u.mjs.map +0 -1
  211. package/dist/databases-fOaoBInm.cjs.map +0 -1
  212. package/dist/deploy-D8pUA9Y0.mjs.map +0 -1
  213. package/dist/deploy-DVrNjX1X.cjs.map +0 -1
  214. package/dist/derive-B4vDpzgP.mjs.map +0 -1
  215. package/dist/derive-DAbo49sm.cjs.map +0 -1
  216. package/dist/discover-CzGM5P3p.mjs.map +0 -1
  217. package/dist/discover-DL6h-J97.cjs.map +0 -1
  218. package/dist/drivers-C-VqMtld.mjs.map +0 -1
  219. package/dist/drivers-L29WvE95.cjs.map +0 -1
  220. package/dist/engine-CFOR9h6X.mjs.map +0 -1
  221. package/dist/engine-CuZUGbEh.cjs.map +0 -1
  222. package/dist/migrate-Dp3GhFnf.cjs.map +0 -1
  223. package/dist/migrate-NfbPVhi9.mjs.map +0 -1
  224. package/dist/seeds-CK7w79VC.mjs.map +0 -1
  225. package/dist/seeds-CPEcmoPn.cjs.map +0 -1
  226. package/dist/serverSetup-BAPNuNEX.mjs.map +0 -1
  227. package/dist/serverSetup-C6t6Vtt7.cjs.map +0 -1
  228. package/dist/types-Bmjs4jZV.d.mts.map +0 -1
  229. package/dist/types-D0IsQxES.d.cts.map +0 -1
@@ -2,13 +2,14 @@ const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
2
  const require_errors = require("./errors-DMC4Umsb.cjs");
3
3
  const require_credentials = require("./credentials-D7XJypNd.cjs");
4
4
  const require_workspace = require("./workspace-Du4Afb03.cjs");
5
- const require_derive = require("./derive-DAbo49sm.cjs");
6
- const require_SubscriberGenerator = require("./SubscriberGenerator-BDUp7OeY.cjs");
5
+ const require_derive = require("./derive-BtGidITm.cjs");
6
+ const require_drivers = require("./drivers-C47nm-wB.cjs");
7
7
  const require_identity = require("./identity-CbLfgQNT.cjs");
8
- const require_EndpointGenerator = require("./EndpointGenerator-BGxf9jWE.cjs");
9
- const require_discover = require("./discover-DL6h-J97.cjs");
8
+ const require_EndpointGenerator = require("./EndpointGenerator-De0lknKD.cjs");
9
+ const require_discover = require("./discover-DEOspD9M.cjs");
10
10
  const require_config = require("./config.cjs");
11
- const require_resolve = require("./resolve-C9QqOl5t.cjs");
11
+ const require_SubscriberGenerator = require("./SubscriberGenerator-CPjbWEOI.cjs");
12
+ const require_resolve = require("./resolve-C-W3kZM7.cjs");
12
13
  let node_path = require("node:path");
13
14
  let node_fs = require("node:fs");
14
15
  let node_fs_promises = require("node:fs/promises");
@@ -543,6 +544,7 @@ function processorsDevRoute(fileServerId) {
543
544
  const EDGE_KINDS = {
544
545
  "file-server": true,
545
546
  "rest-api": true,
547
+ "websocket-api": true,
546
548
  site: true
547
549
  };
548
550
  /**
@@ -889,7 +891,7 @@ function telemetryOf(manifest, id) {
889
891
  const declaration = manifest[id];
890
892
  if (!declaration) return void 0;
891
893
  if (declaration.kind === "worker" || declaration.kind === "file-server") return nodeOf(manifest, declaration.telemetry);
892
- if (declaration.kind !== "rest-api") return void 0;
894
+ if (declaration.kind !== "rest-api" && declaration.kind !== "websocket-api") return void 0;
893
895
  return nodeOf(manifest, declaration.telemetry);
894
896
  }
895
897
  /**
@@ -897,12 +899,12 @@ function telemetryOf(manifest, id) {
897
899
  * undefined for a site, an app without one, or one with no edge.
898
900
  */
899
901
  function appTelemetry(manifest, appName) {
900
- const id = Object.entries(manifest).find(([id, d]) => d.kind === "rest-api" && require_derive.appKey(id) === appName)?.[0];
902
+ const id = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_derive.appKey(id) === appName)?.[0];
901
903
  return id ? telemetryOf(manifest, id) : void 0;
902
904
  }
903
905
  /** Whether any process in the manifest emits through a `Telemetry` node. */
904
906
  function usesTelemetry(manifest) {
905
- return Object.entries(manifest).some(([id, d]) => (d.kind === "rest-api" || d.kind === "worker" || d.kind === "file-server") && telemetryOf(manifest, id) !== void 0);
907
+ return Object.entries(manifest).some(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "worker" || d.kind === "file-server") && telemetryOf(manifest, id) !== void 0);
906
908
  }
907
909
  /**
908
910
  * One process's share of the telemetry keys a stage resolved: all of them,
@@ -976,7 +978,8 @@ const CONTAINERS = {
976
978
  "database-schema": "postgres",
977
979
  objects: "minio",
978
980
  "file-server": "caddy",
979
- email: "mailpit"
981
+ email: "mailpit",
982
+ "websocket-api": "redis"
980
983
  };
981
984
  /**
982
985
  * The container a cache backend needs locally.
@@ -1105,11 +1108,11 @@ function resourceName(id, kind, stage, localStage) {
1105
1108
  * broker the project selected, which is why the backend is an argument here
1106
1109
  * rather than a second pass that adds containers after the fact.
1107
1110
  */
1108
- function containerFor(kind, events = DEFAULT_EVENTS, cache = require_SubscriberGenerator.DEFAULT_CACHE.aws, derived = false, edge = true) {
1111
+ function containerFor(kind, events = DEFAULT_EVENTS, cache = require_drivers.DEFAULT_CACHE.aws, derived = false, edge = true) {
1109
1112
  if (EVENT_KINDS[kind]) return EVENT_CONTAINERS[events] ?? CONTAINERS.database;
1110
1113
  if (kind === "file-server") return edge ? "caddy" : CONTAINERS.objects;
1111
1114
  if (kind === "cache") {
1112
- if (derived && !require_SubscriberGenerator.holdsEveryCache(cache)) return CONTAINERS.database;
1115
+ if (derived && !require_drivers.holdsEveryCache(cache)) return CONTAINERS.database;
1113
1116
  return CACHE_CONTAINERS[cache] ?? CONTAINERS.database;
1114
1117
  }
1115
1118
  return CONTAINERS[kind];
@@ -1126,7 +1129,7 @@ function planFor(manifest, stage, order, options = {}) {
1126
1129
  const resources = [];
1127
1130
  const fakes = {};
1128
1131
  const events = options.events ?? "pgboss";
1129
- const cache = options.cache ?? require_SubscriberGenerator.DEFAULT_CACHE.aws;
1132
+ const cache = options.cache ?? require_drivers.DEFAULT_CACHE.aws;
1130
1133
  for (const id of order) {
1131
1134
  const declaration = manifest[id];
1132
1135
  if (!declaration) continue;
@@ -1142,7 +1145,7 @@ function planFor(manifest, stage, order, options = {}) {
1142
1145
  port: fake.port
1143
1146
  } : {}
1144
1147
  };
1145
- const detached = declaration.kind === "cache" && require_SubscriberGenerator.holdsEveryCache(cache);
1148
+ const detached = declaration.kind === "cache" && require_drivers.holdsEveryCache(cache);
1146
1149
  const container = fake?.image ? fake.key : declaration.kind === "telemetry" ? usesTelemetry(manifest) ? TELEMETRY_CONTAINER : void 0 : containerFor(declaration.kind, events, cache, "of" in declaration && typeof declaration.of === "string", options.edge !== false);
1147
1150
  if (!container && !CONTAINERLESS[declaration.kind]) continue;
1148
1151
  if (container) {
@@ -1156,7 +1159,7 @@ function planFor(manifest, stage, order, options = {}) {
1156
1159
  name: resourceName(id, declaration.kind, stage, options.localStage),
1157
1160
  envKey: (0, _geekmidas_manifest.providedKeyFor)(id, declaration.kind, ROLES[declaration.kind] ?? "url"),
1158
1161
  provisions: PROVISIONS[declaration.kind] === true,
1159
- ...declaration.kind === "rest-api" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
1162
+ ...declaration.kind === "rest-api" || declaration.kind === "websocket-api" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
1160
1163
  ...declaration.kind === "site" ? { publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest) } : {},
1161
1164
  ...declaration.kind === "mobile-app" ? {
1162
1165
  publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest),
@@ -1165,7 +1168,7 @@ function planFor(manifest, stage, order, options = {}) {
1165
1168
  ...declaration.kind === "file-server" && declaration.open?.length ? { open: declaration.open } : {},
1166
1169
  ...declaration.kind === "file-server" && declaration.processors?.length ? { processors: [...new Set(declaration.processors.map((p) => p.prefix))].sort() } : {},
1167
1170
  ...declaration.kind === "objects" && (0, _geekmidas_manifest.bucketExpiry)(manifest, id) ? { expire: (0, _geekmidas_manifest.bucketExpiry)(manifest, id) } : {},
1168
- ...(declaration.kind === "rest-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
1171
+ ...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
1169
1172
  ...fake ? { fake: {
1170
1173
  key: fake.key,
1171
1174
  credentials: fake.credentials
@@ -1332,6 +1335,12 @@ function envFor(plan, options) {
1332
1335
  ...options.lanAddress ? { lanAddress: options.lanAddress } : {},
1333
1336
  ...options.metroPorts ? { metroPorts: options.metroPorts } : {}
1334
1337
  }));
1338
+ if (resource.kind === "websocket-api") {
1339
+ const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.provideKey)(resource.id, "trustedOrigins")];
1340
+ if (origins !== void 0) env[(0, _geekmidas_manifest.provideKey)(resource.id, "trustedOrigins")] = origins;
1341
+ const publisher = webSocketPublisher(resource, options.ports, options.project ?? "", credential);
1342
+ if (publisher) env[(0, _geekmidas_manifest.provideKey)(resource.id, "publisherConnectionString")] = publisher;
1343
+ }
1335
1344
  if (url) env[resource.envKey] = url;
1336
1345
  if (isDatabase(resource.kind) && resource.roles !== false) {
1337
1346
  const owner = ownerUrl(resource, plan, options.ports, options.project ?? "", credential);
@@ -1424,10 +1433,27 @@ function surfaceEnv(resource, url, resolved = {}, local = {}) {
1424
1433
  ...device ? { [(0, _geekmidas_manifest.provideKey)(resource.id, "deviceUrl")]: device } : {}
1425
1434
  };
1426
1435
  }
1427
- /** An address reduced to the origin a browser compares against. */
1436
+ /**
1437
+ * Where a WebSocket surface's publisher meets its sockets: the local Redis,
1438
+ * on channels named for the project and the surface, so two projects sharing
1439
+ * one Redis never see each other's frames.
1440
+ */
1441
+ function webSocketPublisher(resource, ports, project, credential) {
1442
+ const port = ports[primaryPortKey("redis")];
1443
+ if (port === void 0) return void 0;
1444
+ const channel = encodeURIComponent(`gkm:ws:${project ? `${project}:` : ""}${resource.id}`);
1445
+ return `redis://:${encodeURIComponent(credential.containers.redis.password)}@${LOCAL_HOST}:${port}?channel=${channel}`;
1446
+ }
1447
+ /**
1448
+ * An address reduced to the origin a browser compares against.
1449
+ *
1450
+ * A WebSocket surface's address is `wss://`, but its host is served over
1451
+ * HTTPS like any other: its origin is that one, and a non-web scheme among the
1452
+ * origins means a mobile app to whoever reads the list.
1453
+ */
1428
1454
  function originOf(address) {
1429
1455
  try {
1430
- return new URL(address).origin;
1456
+ return new URL(address.replace(/^ws(s?):/, "http$1:")).origin;
1431
1457
  } catch {
1432
1458
  return;
1433
1459
  }
@@ -1515,6 +1541,11 @@ function urlFor(resource, plan, ports, project, addresses, credential) {
1515
1541
  const edge = plan.containers.includes("caddy") ? ports[primaryPortKey("caddy")] : void 0;
1516
1542
  return address && edge !== void 0 ? `https://${hostFor$1(resource, project)}:${edge}` : address;
1517
1543
  }
1544
+ if (resource.kind === "websocket-api") {
1545
+ const address = addresses?.[resource.id];
1546
+ const edge = plan.containers.includes("caddy") ? ports[primaryPortKey("caddy")] : void 0;
1547
+ return address && edge !== void 0 ? `wss://${hostFor$1(resource, project)}:${edge}` : address?.replace(/^http/, "ws");
1548
+ }
1518
1549
  if (!resource.container) return void 0;
1519
1550
  const port = ports[primaryPortKey(resource.container)];
1520
1551
  if (port === void 0) return void 0;
@@ -1787,11 +1818,14 @@ var RedisPasswordMissing = class extends require_errors.GkmError {
1787
1818
  }
1788
1819
  };
1789
1820
  /**
1790
- * Whether a stage's stack runs Redis: a cache is declared and the stage's
1791
- * secrets do not set the URL of every one.
1821
+ * Whether a stage's stack runs Redis: a cache or a WebSocket surface is
1822
+ * declared and the stage's secrets do not set the URL of every one.
1792
1823
  */
1793
1824
  function runsRedis(manifest, custom) {
1794
- return Object.values(manifest).some((declaration) => declaration?.kind === "cache" && (declaration.provides ?? []).some((key) => custom[key] === void 0));
1825
+ return Object.values(manifest).some((declaration) => {
1826
+ if (declaration?.kind === "cache") return (declaration.provides ?? []).some((key) => custom[key] === void 0);
1827
+ return declaration?.kind === "websocket-api" && custom[(0, _geekmidas_manifest.provideKey)(declaration.id, "publisherConnectionString")] === void 0;
1828
+ });
1795
1829
  }
1796
1830
  /** A password: 256 random bits, URL-safe, so it sits in a URL unescaped. */
1797
1831
  function generateRedisPassword() {
@@ -1828,7 +1862,8 @@ function withRedisPassword(secrets) {
1828
1862
  function stackRedis(options) {
1829
1863
  const { plan, stage, local, custom } = options;
1830
1864
  const caches = plan.resources.filter((r) => r.kind === "cache" && custom[r.envKey] === void 0).sort((a, b) => a.id.localeCompare(b.id));
1831
- if (caches.length === 0) return void 0;
1865
+ const publishers = plan.resources.filter((r) => r.kind === "websocket-api").map((r) => (0, _geekmidas_manifest.provideKey)(r.id, "publisherConnectionString")).filter((key) => custom[key] === void 0);
1866
+ if (caches.length === 0 && publishers.length === 0) return void 0;
1832
1867
  const set = custom[REDIS_PASSWORD_KEY];
1833
1868
  const password = set ?? (local ? options.localPassword : void 0);
1834
1869
  if (!password) throw new RedisPasswordMissing(stage);
@@ -1836,7 +1871,7 @@ function stackRedis(options) {
1836
1871
  return {
1837
1872
  password,
1838
1873
  passwordFromSecrets: Boolean(set),
1839
- urls: Object.fromEntries(caches.map((cache, index) => [cache.envKey, `redis://:${auth}@${REDIS_SERVICE}:${REDIS_PORT}/${index}`])),
1874
+ urls: Object.fromEntries([...caches.map((cache, index) => [cache.envKey, `redis://:${auth}@${REDIS_SERVICE}:${REDIS_PORT}/${index}`]), ...publishers.map((key) => [key, `redis://:${auth}@${REDIS_SERVICE}:${REDIS_PORT}`])]),
1840
1875
  env: {
1841
1876
  [REDIS_PASSWORD_KEY]: password,
1842
1877
  REDISCLI_AUTH: password
@@ -2961,11 +2996,11 @@ function processorUnits(workspace, manifest) {
2961
2996
  /** The backend apps whose builds generate a server, each where it lives. */
2962
2997
  function hostApps(workspace, manifest) {
2963
2998
  return Object.entries(workspace.apps).filter(([, app]) => app.type === "backend" && !app.entry).map(([name, app]) => {
2964
- const surface = Object.entries(manifest).find(([id, d]) => d.kind === "rest-api" && require_derive.appKey(id) === name)?.[1];
2999
+ const surface = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api") && require_derive.appKey(id) === name)?.[1];
2965
3000
  return {
2966
3001
  name,
2967
3002
  root: (0, node_path.isAbsolute)(app.path) ? app.path : (0, node_path.join)(workspace.root, app.path),
2968
- generated: !(surface?.kind === "rest-api" && surface.endpoints.length > 0)
3003
+ generated: !(surface?.kind === "websocket-api" || surface?.kind === "rest-api" && surface.endpoints.length > 0)
2969
3004
  };
2970
3005
  }).sort((a, b) => a.name.localeCompare(b.name));
2971
3006
  }
@@ -4494,11 +4529,11 @@ function providerOf(workspace) {
4494
4529
  * would be worse than a slower one.
4495
4530
  */
4496
4531
  function cacheBackendFor(on) {
4497
- return require_SubscriberGenerator.DEFAULT_CACHE[on];
4532
+ return require_drivers.DEFAULT_CACHE[on];
4498
4533
  }
4499
4534
  /** Where a declared bucket lives on a target. */
4500
4535
  function storageBackendFor(on) {
4501
- return require_SubscriberGenerator.DEFAULT_STORAGE[on];
4536
+ return require_drivers.DEFAULT_STORAGE[on];
4502
4537
  }
4503
4538
  /**
4504
4539
  * Which broker carries declared queues and topics on a target.
@@ -4507,7 +4542,7 @@ function storageBackendFor(on) {
4507
4542
  * `Queue` has no events at all, whatever the target.
4508
4543
  */
4509
4544
  function eventsBackendFor(on) {
4510
- return require_SubscriberGenerator.DEFAULT_EVENTS[on];
4545
+ return require_drivers.DEFAULT_EVENTS[on];
4511
4546
  }
4512
4547
  //#endregion
4513
4548
  //#region src/reconcile/compose.ts
@@ -6153,7 +6188,7 @@ function processorAddresses(workspace, manifest) {
6153
6188
  function surfaceAddresses(workspace, manifest, at = (_app, port) => localAddress(port)) {
6154
6189
  const addresses = {};
6155
6190
  for (const [id, declaration] of Object.entries(manifest)) {
6156
- if (declaration.kind !== "rest-api" && declaration.kind !== "site") continue;
6191
+ if (declaration.kind !== "rest-api" && declaration.kind !== "websocket-api" && declaration.kind !== "site") continue;
6157
6192
  const host = require_derive.appKey(id);
6158
6193
  const port = workspace.apps[host]?.port;
6159
6194
  if (port) addresses[id] = at(host, port);
@@ -6278,7 +6313,7 @@ function networkEnv(plan, options, hostOf = (container) => container) {
6278
6313
  * port.
6279
6314
  */
6280
6315
  function appEnvKeys(manifest, appName, runnables = {}) {
6281
- const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "site" || d.kind === "mobile-app") && require_derive.appKey(id) === appName);
6316
+ const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site" || d.kind === "mobile-app") && require_derive.appKey(id) === appName);
6282
6317
  if (!entry) return void 0;
6283
6318
  const [id, declaration] = entry;
6284
6319
  const keys = /* @__PURE__ */ new Set([
@@ -6286,7 +6321,7 @@ function appEnvKeys(manifest, appName, runnables = {}) {
6286
6321
  ...declaration.requires ?? [],
6287
6322
  ...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
6288
6323
  ]);
6289
- addEdgeKeys(manifest, [...(0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), ...runnables[id] ?? []], keys);
6324
+ addEdgeKeys(manifest, [...(0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), ...runnables[id] ?? []], keys, declaration.kind === "site" || declaration.kind === "mobile-app");
6290
6325
  if (declaration.kind === "site" || declaration.kind === "mobile-app") {
6291
6326
  for (const key of _geekmidas_manifest.TELEMETRY_KEYS) keys.delete(key);
6292
6327
  for (const key of Object.keys((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest))) keys.add(key);
@@ -6328,7 +6363,7 @@ function processorEnvKeys(manifest, fileServerId, runnables = {}) {
6328
6363
  ], keys);
6329
6364
  return keys;
6330
6365
  }
6331
- function addEdgeKeys(manifest, edges, keys) {
6366
+ function addEdgeKeys(manifest, edges, keys, client = false) {
6332
6367
  for (const id of edges) {
6333
6368
  const bucket = require_discover.eventsEdgeBucket(id);
6334
6369
  if (bucket) {
@@ -6344,6 +6379,11 @@ function addEdgeKeys(manifest, edges, keys) {
6344
6379
  keys.add((0, _geekmidas_manifest.provideKey)(id, "url"));
6345
6380
  continue;
6346
6381
  }
6382
+ if (target.kind === "websocket-api") {
6383
+ keys.add((0, _geekmidas_manifest.provideKey)(id, "url"));
6384
+ if (!client) keys.add((0, _geekmidas_manifest.provideKey)(id, "publisherConnectionString"));
6385
+ continue;
6386
+ }
6347
6387
  for (const key of target.provides ?? []) keys.add(key);
6348
6388
  if (target.kind === "queue" || target.kind === "topic") keys.add("EVENT_PUBLISHER_CONNECTION_STRING");
6349
6389
  if (target.kind === "objects") {
@@ -6574,7 +6614,7 @@ function stageServiceDeclarations(input) {
6574
6614
  };
6575
6615
  for (const [id, declaration] of Object.entries(manifest)) {
6576
6616
  const name = require_derive.appKey(id);
6577
- if (declaration.kind === "rest-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name, runnables) ?? []);
6617
+ if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name, runnables) ?? []);
6578
6618
  if (declaration.kind === "site") read(name, Object.values((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest)));
6579
6619
  if (declaration.kind === "worker") read(name, workerEnvKeys(manifest, id, runnables) ?? []);
6580
6620
  }
@@ -8285,7 +8325,7 @@ async function createDnsProvider(options) {
8285
8325
  });
8286
8326
  }
8287
8327
  if (provider === "godaddy") {
8288
- const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-BTdtqhI_.cjs"));
8328
+ const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-DnmLq7eo.cjs"));
8289
8329
  return new GoDaddyProvider(options.godaddy ?? {});
8290
8330
  }
8291
8331
  if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
@@ -10239,4 +10279,4 @@ Object.defineProperty(exports, "workspace_exports", {
10239
10279
  }
10240
10280
  });
10241
10281
 
10242
- //# sourceMappingURL=seeds-CPEcmoPn.cjs.map
10282
+ //# sourceMappingURL=seeds-sMVADbkg.cjs.map