@geekmidas/cli 10.0.0-alpha.14 → 10.0.0-alpha.141

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 (424) hide show
  1. package/README.md +313 -380
  2. package/bin/adjacent-tsconfig.mjs +46 -8
  3. package/bin/gkm.mjs +11 -3
  4. package/bin/owning-tsconfig-jsx-register.mjs +18 -0
  5. package/bin/owning-tsconfig-jsx.mjs +108 -0
  6. package/dist/EndpointGenerator-BMRL04ic.mjs +1037 -0
  7. package/dist/EndpointGenerator-BMRL04ic.mjs.map +1 -0
  8. package/dist/EndpointGenerator-ePscnbwB.cjs +1096 -0
  9. package/dist/EndpointGenerator-ePscnbwB.cjs.map +1 -0
  10. package/dist/GoDaddyProvider-DxFAueU4.mjs +413 -0
  11. package/dist/GoDaddyProvider-DxFAueU4.mjs.map +1 -0
  12. package/dist/GoDaddyProvider-hAc0q5s-.cjs +413 -0
  13. package/dist/GoDaddyProvider-hAc0q5s-.cjs.map +1 -0
  14. package/dist/{HostingerProvider-BY26bWwB.mjs → HostingerProvider-CgMuKgO_.mjs} +23 -9
  15. package/dist/HostingerProvider-CgMuKgO_.mjs.map +1 -0
  16. package/dist/{HostingerProvider-BZFGYYVA.cjs → HostingerProvider-DEqpvoiD.cjs} +23 -9
  17. package/dist/HostingerProvider-DEqpvoiD.cjs.map +1 -0
  18. package/dist/LegacyStateStore-BPY8Acgs.mjs +124 -0
  19. package/dist/LegacyStateStore-BPY8Acgs.mjs.map +1 -0
  20. package/dist/LegacyStateStore-BqSVgWi1.cjs +124 -0
  21. package/dist/LegacyStateStore-BqSVgWi1.cjs.map +1 -0
  22. package/dist/LocalStateStore-5pVR26KA.mjs +167 -0
  23. package/dist/LocalStateStore-5pVR26KA.mjs.map +1 -0
  24. package/dist/LocalStateStore-Df4RyGi2.cjs +178 -0
  25. package/dist/LocalStateStore-Df4RyGi2.cjs.map +1 -0
  26. package/dist/OpenApiTsGenerator-B-PQLx8X.mjs +534 -0
  27. package/dist/OpenApiTsGenerator-B-PQLx8X.mjs.map +1 -0
  28. package/dist/OpenApiTsGenerator-BvacdbiG.cjs +539 -0
  29. package/dist/OpenApiTsGenerator-BvacdbiG.cjs.map +1 -0
  30. package/dist/{Route53Provider-Cvj40A8I.mjs → Route53Provider-Di_SD9CF.mjs} +3 -3
  31. package/dist/Route53Provider-Di_SD9CF.mjs.map +1 -0
  32. package/dist/{Route53Provider-DVILBsvV.cjs → Route53Provider-emLuQHVw.cjs} +3 -3
  33. package/dist/Route53Provider-emLuQHVw.cjs.map +1 -0
  34. package/dist/S3StateStore-Do1DwEMX.mjs +223 -0
  35. package/dist/S3StateStore-Do1DwEMX.mjs.map +1 -0
  36. package/dist/S3StateStore-uykstvZI.cjs +222 -0
  37. package/dist/S3StateStore-uykstvZI.cjs.map +1 -0
  38. package/dist/SSMStateStore-DQXFWqkE.cjs +204 -0
  39. package/dist/SSMStateStore-DQXFWqkE.cjs.map +1 -0
  40. package/dist/SSMStateStore-xQ-Ce91W.mjs +205 -0
  41. package/dist/SSMStateStore-xQ-Ce91W.mjs.map +1 -0
  42. package/dist/SubscriberGenerator-DLPH-ynS.mjs +783 -0
  43. package/dist/SubscriberGenerator-DLPH-ynS.mjs.map +1 -0
  44. package/dist/SubscriberGenerator-DR4Y7ihK.cjs +848 -0
  45. package/dist/SubscriberGenerator-DR4Y7ihK.cjs.map +1 -0
  46. package/dist/add-DLkN488n.mjs +711 -0
  47. package/dist/add-DLkN488n.mjs.map +1 -0
  48. package/dist/add-Y_nPkjIf.cjs +713 -0
  49. package/dist/add-Y_nPkjIf.cjs.map +1 -0
  50. package/dist/appPorts-BoXMwolc.mjs +249 -0
  51. package/dist/appPorts-BoXMwolc.mjs.map +1 -0
  52. package/dist/appPorts-IW-OZmRi.cjs +296 -0
  53. package/dist/appPorts-IW-OZmRi.cjs.map +1 -0
  54. package/dist/aws-8QQ8n-t6.mjs +89 -0
  55. package/dist/aws-8QQ8n-t6.mjs.map +1 -0
  56. package/dist/aws-DY9NqQIT.cjs +100 -0
  57. package/dist/aws-DY9NqQIT.cjs.map +1 -0
  58. package/dist/awsStore-Bx5nCFnS.mjs +121 -0
  59. package/dist/awsStore-Bx5nCFnS.mjs.map +1 -0
  60. package/dist/awsStore-u3ehhMoY.cjs +138 -0
  61. package/dist/awsStore-u3ehhMoY.cjs.map +1 -0
  62. package/dist/{backup-provisioner-DIVCbfee.mjs → backup-provisioner-C8DnCmxK.mjs} +2 -2
  63. package/dist/backup-provisioner-C8DnCmxK.mjs.map +1 -0
  64. package/dist/{backup-provisioner-BmhIO_Yr.cjs → backup-provisioner-oDEsPj02.cjs} +2 -2
  65. package/dist/backup-provisioner-oDEsPj02.cjs.map +1 -0
  66. package/dist/backups/runner.cjs +519 -0
  67. package/dist/backups/runner.cjs.map +1 -0
  68. package/dist/backups/runner.d.cts +102 -0
  69. package/dist/backups/runner.d.cts.map +1 -0
  70. package/dist/backups/runner.d.mts +102 -0
  71. package/dist/backups/runner.d.mts.map +1 -0
  72. package/dist/backups/runner.mjs +506 -0
  73. package/dist/backups/runner.mjs.map +1 -0
  74. package/dist/{bundler-BeNDZdHQ.cjs → bundler-COOvv27I.cjs} +59 -14
  75. package/dist/bundler-COOvv27I.cjs.map +1 -0
  76. package/dist/{bundler-BodTL4kf.mjs → bundler-DFyrGST-.mjs} +59 -14
  77. package/dist/bundler-DFyrGST-.mjs.map +1 -0
  78. package/dist/cli-DKsV-Myw.cjs +71 -0
  79. package/dist/cli-DKsV-Myw.cjs.map +1 -0
  80. package/dist/cli-iAX4BQ3t.mjs +71 -0
  81. package/dist/cli-iAX4BQ3t.mjs.map +1 -0
  82. package/dist/compose-CGXx22Wy.cjs +4416 -0
  83. package/dist/compose-CGXx22Wy.cjs.map +1 -0
  84. package/dist/compose-ofZIpp2q.mjs +4273 -0
  85. package/dist/compose-ofZIpp2q.mjs.map +1 -0
  86. package/dist/config-BbivVpq0.d.mts +268 -0
  87. package/dist/config-BbivVpq0.d.mts.map +1 -0
  88. package/dist/config-BcL1Fojs.d.cts +268 -0
  89. package/dist/config-BcL1Fojs.d.cts.map +1 -0
  90. package/dist/config.cjs +420 -9
  91. package/dist/config.cjs.map +1 -0
  92. package/dist/config.d.cts +4 -117
  93. package/dist/config.d.mts +4 -117
  94. package/dist/config.mjs +406 -3
  95. package/dist/config.mjs.map +1 -0
  96. package/dist/credentialSchemas-DUCSYl9a.mjs +237 -0
  97. package/dist/credentialSchemas-DUCSYl9a.mjs.map +1 -0
  98. package/dist/credentialSchemas-DZ2Nh5li.cjs +272 -0
  99. package/dist/credentialSchemas-DZ2Nh5li.cjs.map +1 -0
  100. package/dist/credentials-D7XJypNd.cjs +520 -0
  101. package/dist/credentials-D7XJypNd.cjs.map +1 -0
  102. package/dist/credentials-DpfnUvIR.mjs +395 -0
  103. package/dist/credentials-DpfnUvIR.mjs.map +1 -0
  104. package/dist/databases-Db48ZIXL.mjs +588 -0
  105. package/dist/databases-Db48ZIXL.mjs.map +1 -0
  106. package/dist/databases-P824RTnx.cjs +703 -0
  107. package/dist/databases-P824RTnx.cjs.map +1 -0
  108. package/dist/define-6poNqm5O.mjs +106 -0
  109. package/dist/define-6poNqm5O.mjs.map +1 -0
  110. package/dist/define-crmMcXFS.cjs +153 -0
  111. package/dist/define-crmMcXFS.cjs.map +1 -0
  112. package/dist/deploy/public.cjs +211 -0
  113. package/dist/deploy/public.cjs.map +1 -0
  114. package/dist/deploy/public.d.cts +647 -0
  115. package/dist/deploy/public.d.cts.map +1 -0
  116. package/dist/deploy/public.d.mts +647 -0
  117. package/dist/deploy/public.d.mts.map +1 -0
  118. package/dist/deploy/public.mjs +144 -0
  119. package/dist/deploy/public.mjs.map +1 -0
  120. package/dist/deploy/sniffer-envparser-worker.cjs +54 -0
  121. package/dist/deploy/sniffer-envparser-worker.cjs.map +1 -0
  122. package/dist/deploy/sniffer-envparser-worker.d.cts +1 -0
  123. package/dist/deploy/sniffer-envparser-worker.d.mts +1 -0
  124. package/dist/deploy/sniffer-envparser-worker.mjs +55 -0
  125. package/dist/deploy/sniffer-envparser-worker.mjs.map +1 -0
  126. package/dist/deploy/sniffer-hooks.cjs +1 -1
  127. package/dist/deploy/sniffer-hooks.mjs +1 -1
  128. package/dist/deploy/sniffer-loader.cjs +2 -2
  129. package/dist/deploy/sniffer-loader.mjs +1 -1
  130. package/dist/deploy/sniffer-routes-worker.cjs +2 -2
  131. package/dist/deploy/sniffer-routes-worker.mjs +1 -1
  132. package/dist/deploy-BibGpDAz.cjs +3891 -0
  133. package/dist/deploy-BibGpDAz.cjs.map +1 -0
  134. package/dist/deploy-C4QQkHK7.mjs +3835 -0
  135. package/dist/deploy-C4QQkHK7.mjs.map +1 -0
  136. package/dist/derive-Cd7Hl3r2.mjs +259 -0
  137. package/dist/derive-Cd7Hl3r2.mjs.map +1 -0
  138. package/dist/derive-CgZfoBU2.cjs +282 -0
  139. package/dist/derive-CgZfoBU2.cjs.map +1 -0
  140. package/dist/discover-B2m8ytyq.mjs +831 -0
  141. package/dist/discover-B2m8ytyq.mjs.map +1 -0
  142. package/dist/discover-yqeJ2Bx7.cjs +934 -0
  143. package/dist/discover-yqeJ2Bx7.cjs.map +1 -0
  144. package/dist/dokploy-B_VX3nLM.cjs +38 -0
  145. package/dist/dokploy-B_VX3nLM.cjs.map +1 -0
  146. package/dist/dokploy-pSrsileA.mjs +38 -0
  147. package/dist/dokploy-pSrsileA.mjs.map +1 -0
  148. package/dist/drivers-C47nm-wB.cjs +311 -0
  149. package/dist/drivers-C47nm-wB.cjs.map +1 -0
  150. package/dist/drivers-CDjpjakg.mjs +252 -0
  151. package/dist/drivers-CDjpjakg.mjs.map +1 -0
  152. package/dist/eas-Bou-_M76.mjs +334 -0
  153. package/dist/eas-Bou-_M76.mjs.map +1 -0
  154. package/dist/eas-cSSc8Lex.cjs +337 -0
  155. package/dist/eas-cSSc8Lex.cjs.map +1 -0
  156. package/dist/emit-Bj6XSivk.mjs +136 -0
  157. package/dist/emit-Bj6XSivk.mjs.map +1 -0
  158. package/dist/emit-CDC__ubE.cjs +147 -0
  159. package/dist/emit-CDC__ubE.cjs.map +1 -0
  160. package/dist/encryption-Bps9As2D.mjs +89 -0
  161. package/dist/encryption-Bps9As2D.mjs.map +1 -0
  162. package/dist/encryption-CElaAwJs.cjs +90 -0
  163. package/dist/encryption-CElaAwJs.cjs.map +1 -0
  164. package/dist/engine-CXE4UOHj.mjs +3210 -0
  165. package/dist/engine-CXE4UOHj.mjs.map +1 -0
  166. package/dist/engine-CiG7Wfyc.cjs +3323 -0
  167. package/dist/engine-CiG7Wfyc.cjs.map +1 -0
  168. package/dist/errors-D8Gwp5kU.mjs +23 -0
  169. package/dist/errors-D8Gwp5kU.mjs.map +1 -0
  170. package/dist/errors-DMC4Umsb.cjs +34 -0
  171. package/dist/errors-DMC4Umsb.cjs.map +1 -0
  172. package/dist/github-BzppIvpw.cjs +901 -0
  173. package/dist/github-BzppIvpw.cjs.map +1 -0
  174. package/dist/github-CvFJlFWA.mjs +900 -0
  175. package/dist/github-CvFJlFWA.mjs.map +1 -0
  176. package/dist/googlePlay-BJnMCWoa.cjs +931 -0
  177. package/dist/googlePlay-BJnMCWoa.cjs.map +1 -0
  178. package/dist/googlePlay-RSe9wOfZ.mjs +931 -0
  179. package/dist/googlePlay-RSe9wOfZ.mjs.map +1 -0
  180. package/dist/identity-CBXr4wNi.mjs +129 -0
  181. package/dist/identity-CBXr4wNi.mjs.map +1 -0
  182. package/dist/identity-CbLfgQNT.cjs +182 -0
  183. package/dist/identity-CbLfgQNT.cjs.map +1 -0
  184. package/dist/{index-D-iAVHx-.d.cts → index-BZZeEWug.d.mts} +39 -15
  185. package/dist/index-BZZeEWug.d.mts.map +1 -0
  186. package/dist/{index-Cd-qeOam.d.mts → index-C1jffZ5_.d.cts} +39 -15
  187. package/dist/index-C1jffZ5_.d.cts.map +1 -0
  188. package/dist/index.cjs +13502 -12269
  189. package/dist/index.cjs.map +1 -1
  190. package/dist/index.mjs +13522 -12287
  191. package/dist/index.mjs.map +1 -1
  192. package/dist/local-B7Zv1NoA.mjs +224 -0
  193. package/dist/local-B7Zv1NoA.mjs.map +1 -0
  194. package/dist/local-OPC9BCZt.cjs +241 -0
  195. package/dist/local-OPC9BCZt.cjs.map +1 -0
  196. package/dist/migrate-B0nQra2W.mjs +181 -0
  197. package/dist/migrate-B0nQra2W.mjs.map +1 -0
  198. package/dist/migrate-BCBs0BMn.cjs +181 -0
  199. package/dist/migrate-BCBs0BMn.cjs.map +1 -0
  200. package/dist/migrate-BPCJBL7_.mjs +265 -0
  201. package/dist/migrate-BPCJBL7_.mjs.map +1 -0
  202. package/dist/migrate-Dmh5Dbcr.cjs +270 -0
  203. package/dist/migrate-Dmh5Dbcr.cjs.map +1 -0
  204. package/dist/openapi.cjs +214 -7
  205. package/dist/openapi.cjs.map +1 -0
  206. package/dist/openapi.d.cts +32 -8
  207. package/dist/openapi.d.cts.map +1 -1
  208. package/dist/openapi.d.mts +32 -8
  209. package/dist/openapi.d.mts.map +1 -1
  210. package/dist/openapi.mjs +209 -2
  211. package/dist/openapi.mjs.map +1 -0
  212. package/dist/projectBucket-BBbQ1lHF.cjs +263 -0
  213. package/dist/projectBucket-BBbQ1lHF.cjs.map +1 -0
  214. package/dist/projectBucket-C_DN4WzF.mjs +222 -0
  215. package/dist/projectBucket-C_DN4WzF.mjs.map +1 -0
  216. package/dist/provider-BqpjG9QM.cjs +57 -0
  217. package/dist/provider-BqpjG9QM.cjs.map +1 -0
  218. package/dist/provider-CEOKk8NS.mjs +46 -0
  219. package/dist/provider-CEOKk8NS.mjs.map +1 -0
  220. package/dist/publish-DKy3hn8a.cjs +124 -0
  221. package/dist/publish-DKy3hn8a.cjs.map +1 -0
  222. package/dist/publish-cthyGGQt.mjs +123 -0
  223. package/dist/publish-cthyGGQt.mjs.map +1 -0
  224. package/dist/ready-CGqJ74Kt.mjs +375 -0
  225. package/dist/ready-CGqJ74Kt.mjs.map +1 -0
  226. package/dist/ready-DuU0FXSj.cjs +404 -0
  227. package/dist/ready-DuU0FXSj.cjs.map +1 -0
  228. package/dist/reconcile/public.cjs +3 -5
  229. package/dist/reconcile/public.d.cts +31 -89
  230. package/dist/reconcile/public.d.cts.map +1 -1
  231. package/dist/reconcile/public.d.mts +31 -89
  232. package/dist/reconcile/public.d.mts.map +1 -1
  233. package/dist/reconcile/public.mjs +3 -3
  234. package/dist/{reconcile-DhQ00DpU.mjs → reconcile--I7V4Klj.mjs} +2 -2
  235. package/dist/{reconcile-DhQ00DpU.mjs.map → reconcile--I7V4Klj.mjs.map} +1 -1
  236. package/dist/{reconcile-Dd2iyILf.cjs → reconcile-CuCQBa5-.cjs} +3 -3
  237. package/dist/{reconcile-Dd2iyILf.cjs.map → reconcile-CuCQBa5-.cjs.map} +1 -1
  238. package/dist/resolve-AYtMIgoq.cjs +316 -0
  239. package/dist/resolve-AYtMIgoq.cjs.map +1 -0
  240. package/dist/resolve-BaRqJlqV.mjs +263 -0
  241. package/dist/resolve-BaRqJlqV.mjs.map +1 -0
  242. package/dist/rollback-CQ184yFu.cjs +165 -0
  243. package/dist/rollback-CQ184yFu.cjs.map +1 -0
  244. package/dist/rollback-DqV6t9oo.mjs +136 -0
  245. package/dist/rollback-DqV6t9oo.mjs.map +1 -0
  246. package/dist/runtime-Bvgyxm88.d.cts +82 -0
  247. package/dist/runtime-Bvgyxm88.d.cts.map +1 -0
  248. package/dist/runtime-CeAt1IJd.d.mts +82 -0
  249. package/dist/runtime-CeAt1IJd.d.mts.map +1 -0
  250. package/dist/s3-BKnL6YGQ.cjs +215 -0
  251. package/dist/s3-BKnL6YGQ.cjs.map +1 -0
  252. package/dist/s3-DW7SLsb8.mjs +215 -0
  253. package/dist/s3-DW7SLsb8.mjs.map +1 -0
  254. package/dist/sandbox/config-worker.cjs +43 -0
  255. package/dist/sandbox/config-worker.cjs.map +1 -0
  256. package/dist/sandbox/config-worker.d.cts +1 -0
  257. package/dist/sandbox/config-worker.d.mts +1 -0
  258. package/dist/sandbox/config-worker.mjs +44 -0
  259. package/dist/sandbox/config-worker.mjs.map +1 -0
  260. package/dist/sandbox/credentials-worker.cjs +54 -0
  261. package/dist/sandbox/credentials-worker.cjs.map +1 -0
  262. package/dist/sandbox/credentials-worker.d.cts +1 -0
  263. package/dist/sandbox/credentials-worker.d.mts +1 -0
  264. package/dist/sandbox/credentials-worker.mjs +55 -0
  265. package/dist/sandbox/credentials-worker.mjs.map +1 -0
  266. package/dist/sandbox/discover-worker.cjs +47 -0
  267. package/dist/sandbox/discover-worker.cjs.map +1 -0
  268. package/dist/sandbox/discover-worker.d.cts +1 -0
  269. package/dist/sandbox/discover-worker.d.mts +1 -0
  270. package/dist/sandbox/discover-worker.mjs +48 -0
  271. package/dist/sandbox/discover-worker.mjs.map +1 -0
  272. package/dist/sandbox/migrate-worker.cjs +76 -0
  273. package/dist/sandbox/migrate-worker.cjs.map +1 -0
  274. package/dist/sandbox/migrate-worker.d.cts +1 -0
  275. package/dist/sandbox/migrate-worker.d.mts +1 -0
  276. package/dist/sandbox/migrate-worker.mjs +77 -0
  277. package/dist/sandbox/migrate-worker.mjs.map +1 -0
  278. package/dist/sandbox-CHv3OYXg.cjs +165 -0
  279. package/dist/sandbox-CHv3OYXg.cjs.map +1 -0
  280. package/dist/sandbox-CbVB7uOD.mjs +118 -0
  281. package/dist/sandbox-CbVB7uOD.mjs.map +1 -0
  282. package/dist/{workspace-mFpI_ky_.cjs → schemas-BCwKKA42.mjs} +399 -1162
  283. package/dist/schemas-BCwKKA42.mjs.map +1 -0
  284. package/dist/{workspace-CgwmXEtc.mjs → schemas-BQ_v0lEX.cjs} +487 -971
  285. package/dist/schemas-BQ_v0lEX.cjs.map +1 -0
  286. package/dist/secretsManager-CQORubp9.mjs +97 -0
  287. package/dist/secretsManager-CQORubp9.mjs.map +1 -0
  288. package/dist/secretsManager-RAGcEDX1.cjs +108 -0
  289. package/dist/secretsManager-RAGcEDX1.cjs.map +1 -0
  290. package/dist/seeds-DndMeyzm.cjs +10669 -0
  291. package/dist/seeds-DndMeyzm.cjs.map +1 -0
  292. package/dist/seeds-o6x6BTRo.mjs +9534 -0
  293. package/dist/seeds-o6x6BTRo.mjs.map +1 -0
  294. package/dist/serverSetup-AfG0-at8.mjs +651 -0
  295. package/dist/serverSetup-AfG0-at8.mjs.map +1 -0
  296. package/dist/serverSetup-Dnw9Kdel.cjs +651 -0
  297. package/dist/serverSetup-Dnw9Kdel.cjs.map +1 -0
  298. package/dist/sniffer-BHhJ8DiC.mjs +1825 -0
  299. package/dist/sniffer-BHhJ8DiC.mjs.map +1 -0
  300. package/dist/sniffer-taO-AXSk.cjs +1998 -0
  301. package/dist/sniffer-taO-AXSk.cjs.map +1 -0
  302. package/dist/snsSubscriptions-CC-WM1zC.cjs +1720 -0
  303. package/dist/snsSubscriptions-CC-WM1zC.cjs.map +1 -0
  304. package/dist/snsSubscriptions-D_IBKhni.mjs +1497 -0
  305. package/dist/snsSubscriptions-D_IBKhni.mjs.map +1 -0
  306. package/dist/sst-Bz2HJlqc.mjs +440 -0
  307. package/dist/sst-Bz2HJlqc.mjs.map +1 -0
  308. package/dist/sst-lvCHdYsY.cjs +463 -0
  309. package/dist/sst-lvCHdYsY.cjs.map +1 -0
  310. package/dist/stage-CTibxcpA.cjs +310 -0
  311. package/dist/stage-CTibxcpA.cjs.map +1 -0
  312. package/dist/stage-dd9dtLfh.mjs +299 -0
  313. package/dist/stage-dd9dtLfh.mjs.map +1 -0
  314. package/dist/stages--icWbhPy.cjs +190 -0
  315. package/dist/stages--icWbhPy.cjs.map +1 -0
  316. package/dist/stages-CUwSy39f.mjs +190 -0
  317. package/dist/stages-CUwSy39f.mjs.map +1 -0
  318. package/dist/target/public.cjs +15 -0
  319. package/dist/target/public.d.cts +28 -0
  320. package/dist/target/public.d.cts.map +1 -0
  321. package/dist/target/public.d.mts +28 -0
  322. package/dist/target/public.d.mts.map +1 -0
  323. package/dist/target/public.mjs +4 -0
  324. package/dist/terminal-DURcYlVX.cjs +85 -0
  325. package/dist/terminal-DURcYlVX.cjs.map +1 -0
  326. package/dist/terminal-yOZ7kKF9.mjs +85 -0
  327. package/dist/terminal-yOZ7kKF9.mjs.map +1 -0
  328. package/dist/{types-C5ZNpUad.d.cts → types-C6hDCkV2.d.mts} +2229 -456
  329. package/dist/types-C6hDCkV2.d.mts.map +1 -0
  330. package/dist/{types-BGo5TaNE.d.mts → types-Dy1eV7yc.d.cts} +2231 -456
  331. package/dist/types-Dy1eV7yc.d.cts.map +1 -0
  332. package/dist/utils-D2Nk1Nv2.cjs +205 -0
  333. package/dist/utils-D2Nk1Nv2.cjs.map +1 -0
  334. package/dist/utils-D_fxUqvU.mjs +156 -0
  335. package/dist/utils-D_fxUqvU.mjs.map +1 -0
  336. package/dist/vitest.cjs +65 -0
  337. package/dist/vitest.cjs.map +1 -0
  338. package/dist/vitest.d.cts +29 -0
  339. package/dist/vitest.d.cts.map +1 -0
  340. package/dist/vitest.d.mts +29 -0
  341. package/dist/vitest.d.mts.map +1 -0
  342. package/dist/vitest.mjs +65 -0
  343. package/dist/vitest.mjs.map +1 -0
  344. package/dist/workerRuntime-BXfhbe13.cjs +108 -0
  345. package/dist/workerRuntime-BXfhbe13.cjs.map +1 -0
  346. package/dist/workerRuntime-CsOyBRx2.mjs +79 -0
  347. package/dist/workerRuntime-CsOyBRx2.mjs.map +1 -0
  348. package/dist/workspace/index.cjs +6 -2
  349. package/dist/workspace/index.d.cts +3 -3
  350. package/dist/workspace/index.d.mts +3 -3
  351. package/dist/workspace/index.mjs +2 -2
  352. package/dist/workspace-BbfBFtjn.mjs +2488 -0
  353. package/dist/workspace-BbfBFtjn.mjs.map +1 -0
  354. package/dist/workspace-Dkm3HL9e.cjs +2924 -0
  355. package/dist/workspace-Dkm3HL9e.cjs.map +1 -0
  356. package/package.json +61 -14
  357. package/dist/HostingerProvider-BY26bWwB.mjs.map +0 -1
  358. package/dist/HostingerProvider-BZFGYYVA.cjs.map +0 -1
  359. package/dist/LocalStateProvider-7HR6SS2t.cjs +0 -48
  360. package/dist/LocalStateProvider-7HR6SS2t.cjs.map +0 -1
  361. package/dist/LocalStateProvider-D7QyJoLM.mjs +0 -48
  362. package/dist/LocalStateProvider-D7QyJoLM.mjs.map +0 -1
  363. package/dist/Route53Provider-Cvj40A8I.mjs.map +0 -1
  364. package/dist/Route53Provider-DVILBsvV.cjs.map +0 -1
  365. package/dist/SSMStateProvider-B0Hu1MKZ.mjs +0 -75
  366. package/dist/SSMStateProvider-B0Hu1MKZ.mjs.map +0 -1
  367. package/dist/SSMStateProvider-VrQ-yeqd.cjs +0 -74
  368. package/dist/SSMStateProvider-VrQ-yeqd.cjs.map +0 -1
  369. package/dist/backup-provisioner-BmhIO_Yr.cjs.map +0 -1
  370. package/dist/backup-provisioner-DIVCbfee.mjs.map +0 -1
  371. package/dist/bundler-BeNDZdHQ.cjs.map +0 -1
  372. package/dist/bundler-BodTL4kf.mjs.map +0 -1
  373. package/dist/config-Q1rvKHvw.cjs +0 -467
  374. package/dist/config-Q1rvKHvw.cjs.map +0 -1
  375. package/dist/config-pqGD3hF9.mjs +0 -414
  376. package/dist/config-pqGD3hF9.mjs.map +0 -1
  377. package/dist/config.d.cts.map +0 -1
  378. package/dist/config.d.mts.map +0 -1
  379. package/dist/credentials-BekkKtY_.mjs +0 -2780
  380. package/dist/credentials-BekkKtY_.mjs.map +0 -1
  381. package/dist/credentials-Q6F0uqJq.cjs +0 -2917
  382. package/dist/credentials-Q6F0uqJq.cjs.map +0 -1
  383. package/dist/discover-BERGFg8v.cjs +0 -288
  384. package/dist/discover-BERGFg8v.cjs.map +0 -1
  385. package/dist/discover-CK-n3w6b.mjs +0 -244
  386. package/dist/discover-CK-n3w6b.mjs.map +0 -1
  387. package/dist/emit-BdoPFjZf.cjs +0 -253
  388. package/dist/emit-BdoPFjZf.cjs.map +0 -1
  389. package/dist/emit-Bzq7JsMP.mjs +0 -224
  390. package/dist/emit-Bzq7JsMP.mjs.map +0 -1
  391. package/dist/fullstack-secrets-BET8gqwK.mjs +0 -81
  392. package/dist/fullstack-secrets-BET8gqwK.mjs.map +0 -1
  393. package/dist/fullstack-secrets-DXsWO-5m.cjs +0 -92
  394. package/dist/fullstack-secrets-DXsWO-5m.cjs.map +0 -1
  395. package/dist/generator-LfZU7NlU.mjs +0 -247
  396. package/dist/generator-LfZU7NlU.mjs.map +0 -1
  397. package/dist/generator-Wdfp0jCS.cjs +0 -282
  398. package/dist/generator-Wdfp0jCS.cjs.map +0 -1
  399. package/dist/github-BfflNPVe.cjs +0 -203
  400. package/dist/github-BfflNPVe.cjs.map +0 -1
  401. package/dist/github-CRwnxKmD.mjs +0 -203
  402. package/dist/github-CRwnxKmD.mjs.map +0 -1
  403. package/dist/index-Cd-qeOam.d.mts.map +0 -1
  404. package/dist/index-D-iAVHx-.d.cts.map +0 -1
  405. package/dist/keystore-B4PRlbgE.mjs +0 -81
  406. package/dist/keystore-B4PRlbgE.mjs.map +0 -1
  407. package/dist/keystore-DgGRj2Yy.cjs +0 -98
  408. package/dist/keystore-DgGRj2Yy.cjs.map +0 -1
  409. package/dist/openapi-Dcbme-Us.cjs +0 -2038
  410. package/dist/openapi-Dcbme-Us.cjs.map +0 -1
  411. package/dist/openapi-vy4JzhUv.mjs +0 -1991
  412. package/dist/openapi-vy4JzhUv.mjs.map +0 -1
  413. package/dist/storage-C-30BD1e.cjs +0 -272
  414. package/dist/storage-C-30BD1e.cjs.map +0 -1
  415. package/dist/storage-P_b3w7uj.mjs +0 -231
  416. package/dist/storage-P_b3w7uj.mjs.map +0 -1
  417. package/dist/sync-B3xxXtJT.mjs +0 -88
  418. package/dist/sync-B3xxXtJT.mjs.map +0 -1
  419. package/dist/sync-D7uTIIEi.cjs +0 -111
  420. package/dist/sync-D7uTIIEi.cjs.map +0 -1
  421. package/dist/types-BGo5TaNE.d.mts.map +0 -1
  422. package/dist/types-C5ZNpUad.d.cts.map +0 -1
  423. package/dist/workspace-CgwmXEtc.mjs.map +0 -1
  424. package/dist/workspace-mFpI_ky_.cjs.map +0 -1
@@ -0,0 +1,934 @@
1
+ const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
+ const require_errors = require("./errors-DMC4Umsb.cjs");
3
+ const require_schemas = require("./schemas-BQ_v0lEX.cjs");
4
+ const require_sandbox = require("./sandbox-CHv3OYXg.cjs");
5
+ const require_workerRuntime = require("./workerRuntime-BXfhbe13.cjs");
6
+ let node_path = require("node:path");
7
+ let node_fs = require("node:fs");
8
+ let _geekmidas_manifest = require("@geekmidas/manifest");
9
+ let node_module = require("node:module");
10
+ let node_url = require("node:url");
11
+ let node_async_hooks = require("node:async_hooks");
12
+ let node_util = require("node:util");
13
+ let _geekmidas_constructs_crons = require("@geekmidas/constructs/crons");
14
+ let _geekmidas_constructs_endpoints = require("@geekmidas/constructs/endpoints");
15
+ let _geekmidas_constructs_functions = require("@geekmidas/constructs/functions");
16
+ let _geekmidas_constructs_processors = require("@geekmidas/constructs/processors");
17
+ let _geekmidas_constructs_queue = require("@geekmidas/constructs/queue");
18
+ let _geekmidas_constructs_subscribers = require("@geekmidas/constructs/subscribers");
19
+ let _geekmidas_constructs_websocket_api = require("@geekmidas/constructs/websocket-api");
20
+ let fast_glob = require("fast-glob");
21
+ fast_glob = require_rolldown_runtime.__toESM(fast_glob, 1);
22
+ let lodash_kebabcase = require("lodash.kebabcase");
23
+ lodash_kebabcase = require_rolldown_runtime.__toESM(lodash_kebabcase, 1);
24
+ //#region src/reconcile/edges.ts
25
+ /**
26
+ * Edges a process records for what its runnables consume, beyond the
27
+ * construct ids `.dependsOn()` names.
28
+ */
29
+ const EVENTS_SUFFIX = "#events";
30
+ /**
31
+ * A bucket's events, as an edge: what a process running one of the bucket's
32
+ * subscribers consumes. Not the bucket's id — binding to a bucket's changes
33
+ * is not reading its objects, so the process is handed the events key alone.
34
+ */
35
+ function eventsEdge(bucketId) {
36
+ return `${bucketId}${EVENTS_SUFFIX}`;
37
+ }
38
+ /** The bucket an events edge names, or nothing for any other edge. */
39
+ function eventsEdgeBucket(edge) {
40
+ return edge.endsWith(EVENTS_SUFFIX) ? edge.slice(0, -7) : void 0;
41
+ }
42
+ /**
43
+ * The env key a subscriber's deliveries come from: its topic's publisher
44
+ * connection string, or its bucket's events connection string.
45
+ */
46
+ function subscriberConnectionKey(construct) {
47
+ if (construct.bucketName) return (0, _geekmidas_manifest.provideKey)((0, _geekmidas_manifest.canonicalId)(construct.bucketName), "eventsConnectionString");
48
+ if (construct.topicName) return (0, _geekmidas_manifest.provideKey)((0, _geekmidas_manifest.canonicalId)(construct.topicName), "publisherConnectionString");
49
+ }
50
+ /**
51
+ * The key a bucket's relay token is read from, by the process that runs the
52
+ * bucket's subscribers — beside its events connection string.
53
+ */
54
+ function subscriberTokenKey(construct) {
55
+ return construct.bucketName ? (0, _geekmidas_manifest.provideKey)((0, _geekmidas_manifest.canonicalId)(construct.bucketName), "eventsToken") : void 0;
56
+ }
57
+ /**
58
+ * What a worker's process reaches: the worker's own edges, and those of
59
+ * everything it owns — its crons and functions, its queue consumers and the
60
+ * queue each drains, its subscribers and the topic each is bound to, or the
61
+ * events of the bucket each watches.
62
+ *
63
+ * Read off the manifest: the same nodes every command sees, so `gkm dev`
64
+ * hands a worker what a deploy grants it.
65
+ */
66
+ function workerEdges(manifest, workerId) {
67
+ const worker = manifest[workerId];
68
+ if (worker?.kind !== "worker") return [];
69
+ const edges = (0, _geekmidas_manifest.dependenciesOf)(worker).map((edge) => edge.target);
70
+ const owned = (fn, consumed) => {
71
+ if (fn?.owner !== workerId) return;
72
+ edges.push(...fn.dependencies.map((edge) => edge.target));
73
+ if (consumed) edges.push(consumed);
74
+ };
75
+ for (const declaration of Object.values(manifest)) switch (declaration.kind) {
76
+ case "cron":
77
+ case "function":
78
+ owned(declaration);
79
+ break;
80
+ case "queue":
81
+ owned(declaration.worker, declaration.id);
82
+ break;
83
+ case "topic":
84
+ for (const s of declaration.subscribers) owned(s, declaration.id);
85
+ break;
86
+ case "objects": for (const s of declaration.subscribers ?? []) owned(s, eventsEdge(declaration.id));
87
+ }
88
+ return [...new Set(edges)];
89
+ }
90
+ //#endregion
91
+ //#region src/output.ts
92
+ /**
93
+ * Where the CLI's progress lines go.
94
+ *
95
+ * Commands write their progress through `output` rather than `console`. Run
96
+ * from the terminal that is the same thing. Run inside `deploy()`, each line
97
+ * goes to the run that wrote it instead — as an event its caller can iterate,
98
+ * and to the logger it was handed — so a deploy embedded in another program
99
+ * does not print over that program's own output.
100
+ *
101
+ * Carried by `AsyncLocalStorage` rather than passed down, because the lines
102
+ * come from everywhere a deploy reaches — the Dockerfile generator, the env
103
+ * sniffer, construct discovery — and two deploys running in one process must
104
+ * not hear each other.
105
+ */
106
+ const current = new node_async_hooks.AsyncLocalStorage();
107
+ /** Runs `fn` with every line written through `output` sent to `sink`. */
108
+ function withOutput(sink, fn) {
109
+ return current.run(sink, fn);
110
+ }
111
+ function write(level, fallback) {
112
+ return (...args) => {
113
+ const sink = current.getStore();
114
+ if (sink) sink(level, (0, node_util.format)(...args));
115
+ else fallback(...args);
116
+ };
117
+ }
118
+ /**
119
+ * `console`, for the methods the CLI logs through — routed to the current
120
+ * run's sink when there is one.
121
+ */
122
+ const output = {
123
+ log: write("info", (...args) => console.log(...args)),
124
+ info: write("info", (...args) => console.info(...args)),
125
+ warn: write("warn", (...args) => console.warn(...args)),
126
+ error: write("error", (...args) => console.error(...args))
127
+ };
128
+ //#endregion
129
+ //#region src/generators/Generator.ts
130
+ /**
131
+ * Zod v4 maintains a process-wide registry of schemas registered via
132
+ * `.meta({ id })`. When we cache-bust user module imports (by appending a
133
+ * `?t=timestamp` query), those modules re-execute and try to register the
134
+ * same ids again, which throws `ID X already exists in the registry`.
135
+ *
136
+ * Clearing the registry in the CLI process is safe: the user's running
137
+ * server lives in a subprocess and has its own isolated registry.
138
+ *
139
+ * Exported for tests.
140
+ */
141
+ function clearZodGlobalRegistry() {
142
+ const registry = globalThis.__zod_globalRegistry;
143
+ if (registry && typeof registry.clear === "function") registry.clear();
144
+ }
145
+ var ConstructGenerator = class {
146
+ static async build(context, outputDir, generator, patterns, options) {
147
+ const constructs = await generator.load(patterns);
148
+ return generator.build(context, constructs, outputDir, options);
149
+ }
150
+ async load(patterns, cwd = process.cwd(), bustCache = false) {
151
+ const logger = console;
152
+ const globPatterns = Array.isArray(patterns) ? patterns : patterns ? [patterns] : [];
153
+ const files = fast_glob.default.stream(globPatterns, {
154
+ cwd,
155
+ absolute: true
156
+ });
157
+ if (bustCache) clearZodGlobalRegistry();
158
+ const constructs = [];
159
+ for await (const f of files) try {
160
+ const file = f.toString();
161
+ const module = await (bustCache ? import(`${file}?t=${Date.now()}`) : import(file));
162
+ for (const [key, construct] of Object.entries(module)) if (this.isConstruct(construct)) constructs.push({
163
+ key,
164
+ name: (0, lodash_kebabcase.default)(key),
165
+ construct,
166
+ path: {
167
+ absolute: file,
168
+ relative: (0, node_path.relative)(process.cwd(), file)
169
+ }
170
+ });
171
+ } catch (error) {
172
+ const err = error;
173
+ logger.error(`Failed to load ${f}: ${err.message}`);
174
+ if (err.stack) logger.error(err.stack);
175
+ throw error;
176
+ }
177
+ return constructs;
178
+ }
179
+ };
180
+ //#endregion
181
+ //#region src/owningTsconfigJsx.ts
182
+ const REGISTER = "owning-tsconfig-jsx-register.mjs";
183
+ /** The CLI's `bin/` was not found above the module looking for it. */
184
+ var OwningTsconfigJsxHookMissing = class extends Error {
185
+ from;
186
+ constructor(from) {
187
+ super(`Could not find bin/${REGISTER} in any directory above '${from}'. It ships with @geekmidas/cli beside bin/gkm.mjs; reinstall the package if it is missing.`);
188
+ this.from = from;
189
+ this.name = "OwningTsconfigJsxHookMissing";
190
+ }
191
+ };
192
+ /**
193
+ * The CLI's `bin/owning-tsconfig-jsx-register.mjs`, as a file URL. Searched
194
+ * upward because this module runs from `src/` in the repo and from a chunk in
195
+ * `dist/` once built, and `bin/` sits beside both.
196
+ */
197
+ function registerUrl() {
198
+ const from = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
199
+ for (let dir = from;; dir = (0, node_path.dirname)(dir)) {
200
+ const candidate = (0, node_path.join)(dir, "bin", REGISTER);
201
+ if ((0, node_fs.existsSync)(candidate)) return (0, node_url.pathToFileURL)(candidate).href;
202
+ if ((0, node_path.dirname)(dir) === dir) throw new OwningTsconfigJsxHookMissing(from);
203
+ }
204
+ }
205
+ /**
206
+ * `NODE_OPTIONS` for a process that runs app code through tsx, with the hook
207
+ * that compiles each `.tsx` with its own tsconfig's JSX settings (see
208
+ * `bin/owning-tsconfig-jsx.mjs`) put in front of every other `--import`, so it
209
+ * is registered before tsx and reads the source on tsx's behalf.
210
+ *
211
+ * `bin/gkm.mjs` already starts the CLI this way, and its children inherit it;
212
+ * this is for those that set `NODE_OPTIONS` themselves, or whose CLI was
213
+ * started with tsx already imported.
214
+ */
215
+ function withOwningTsconfigJsx(nodeOptions = "") {
216
+ if (nodeOptions.includes(REGISTER)) return nodeOptions;
217
+ return [`--import=${registerUrl()}`, nodeOptions].filter(Boolean).join(" ");
218
+ }
219
+ //#endregion
220
+ //#region src/sandbox/worker.ts
221
+ /**
222
+ * Running one of the CLI's own worker scripts inside a sandbox, and reading
223
+ * back the one JSON value it answers with.
224
+ *
225
+ * The worker imports the project's TypeScript — `gkm.config.ts`, construct
226
+ * modules, an app's entry — so it starts with the CLI's own tsx and the two
227
+ * hooks `gkm` itself runs with (JSX by the owning tsconfig, path aliases by
228
+ * the adjacent one). The host process needs none of them loaded: a program
229
+ * calling `deploy()` without `--import tsx` still loads a TypeScript config.
230
+ */
231
+ const here = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
232
+ /**
233
+ * A worker's file: `dist/sandbox/<name>.mjs` once built — whether this module
234
+ * was bundled into `dist/` or sits beside it — or the `.ts` source under tsx.
235
+ */
236
+ function workerFile(name) {
237
+ return [
238
+ (0, node_path.join)(here, "sandbox", `${name}.mjs`),
239
+ (0, node_path.join)(here, `${name}.mjs`),
240
+ (0, node_path.join)(here, "..", "sandbox", `${name}.mjs`),
241
+ (0, node_path.join)(here, `${name}.ts`)
242
+ ].find((path) => (0, node_fs.existsSync)(path)) ?? (0, node_path.join)(here, `${name}.ts`);
243
+ }
244
+ /** tsx, from the CLI's own dependencies — never the project's. */
245
+ function tsxUrl() {
246
+ return (0, node_url.pathToFileURL)((0, node_module.createRequire)(require("url").pathToFileURL(__filename).href).resolve("tsx")).href;
247
+ }
248
+ /**
249
+ * `node`'s arguments for `script`: the CLI's TypeScript loaders, then any
250
+ * further `imports`, then the script and its `args` — an argument array, so
251
+ * nothing about a path is read by a shell.
252
+ */
253
+ function nodeWithTsx(script, args, imports = []) {
254
+ return [
255
+ ...withOwningTsconfigJsx(`--import=${tsxUrl()}`).split(" "),
256
+ ...imports.map((path) => `--import=${(0, node_url.pathToFileURL)(path).href}`),
257
+ script,
258
+ ...args
259
+ ];
260
+ }
261
+ /** A worker ended without the answer it exists to give. */
262
+ var SandboxWorkerFailed = class extends Error {
263
+ step;
264
+ exitCode;
265
+ stderr;
266
+ constructor(step, exitCode, stderr) {
267
+ super(`The sandboxed ${step} ended (exit code ${exitCode}) without an answer.${stderr.trim() ? `\n${stderr.trim()}` : ""}\nIts output above says why; the sandbox must be able to run \`node\` with the CLI's own files at the paths they have here.`);
268
+ this.step = step;
269
+ this.exitCode = exitCode;
270
+ this.stderr = stderr;
271
+ this.name = "SandboxWorkerFailed";
272
+ }
273
+ };
274
+ /**
275
+ * Run worker `name` in `sandbox`, and parse its answer with `schema`.
276
+ *
277
+ * The answer is the last marked line on stdout. Anything else the project's
278
+ * code printed is ignored, and an answer the schema refuses is a failure
279
+ * rather than data — a worker in an isolating sandbox runs code the host does
280
+ * not trust.
281
+ *
282
+ * Within a run (`withSandbox`), the same worker asked the same question is
283
+ * started once; every ask gets its own copy of the answer, and its stderr, as
284
+ * though it had run again.
285
+ */
286
+ async function runWorker(sandbox, step, options) {
287
+ if (options.secrets) return startWorker(sandbox, step, options);
288
+ const key = JSON.stringify([
289
+ options.name,
290
+ options.cwd,
291
+ options.args,
292
+ options.env ?? {}
293
+ ]);
294
+ const answer = await require_sandbox.oncePerRun(sandbox, key, () => startWorker(sandbox, step, options));
295
+ return structuredClone(answer);
296
+ }
297
+ async function startWorker(sandbox, step, options) {
298
+ const result = await sandbox.exec("node", nodeWithTsx(workerFile(options.name), options.args), {
299
+ cwd: options.cwd,
300
+ env: {
301
+ ...sandbox.env,
302
+ ...options.env
303
+ },
304
+ timeoutMs: options.timeoutMs,
305
+ output: "capture",
306
+ ...options.secrets ? { secrets: options.secrets } : {},
307
+ ...options.signal ? { signal: options.signal } : {}
308
+ });
309
+ const line = result.stdout.split("\n").reverse().find((l) => l.startsWith(require_workerRuntime.WORKER_RESULT_MARKER));
310
+ if (line) try {
311
+ const parsed = options.schema.safeParse(JSON.parse(line.slice(require_workerRuntime.WORKER_RESULT_MARKER.length)));
312
+ if (parsed.success) return {
313
+ value: parsed.data,
314
+ stderr: result.stderr
315
+ };
316
+ } catch {}
317
+ throw new SandboxWorkerFailed(step, result.exitCode, result.stderr);
318
+ }
319
+ //#endregion
320
+ //#region src/reconcile/discover.ts
321
+ /**
322
+ * Discovery — one glob, one structural test.
323
+ *
324
+ * A glob per kind is the same specialness the construct model removes, and
325
+ * resources have no kind to be listed under: a declared `ObjectStorage` would
326
+ * never be found by `routes:` or `crons:`. So there is one `constructs` glob,
327
+ * every export of every matching module is inspected, and the per-kind
328
+ * `isConstruct` checks collapse into a single question — does it have an id and
329
+ * can it declare?
330
+ *
331
+ * Structural rather than `instanceof` on purpose. A construct from a different
332
+ * copy of `@geekmidas/constructs` — a linked workspace, two versions in a
333
+ * lockfile — is still a construct, and `instanceof` is exactly the check that
334
+ * says otherwise.
335
+ */
336
+ var discover_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
337
+ ConstructDiscoveryFailed: () => ConstructDiscoveryFailed,
338
+ ConstructsNotSerializable: () => ConstructsNotSerializable,
339
+ DuplicateConstruct: () => DuplicateConstruct,
340
+ LiveConstructsUnavailable: () => LiveConstructsUnavailable,
341
+ ProcessorServerUnknown: () => ProcessorServerUnknown,
342
+ consumedBy: () => consumedBy,
343
+ discover: () => discover,
344
+ isDeclarable: () => isDeclarable
345
+ });
346
+ /** `console`, or the deploy run discovering the manifest. */
347
+ const logger = output;
348
+ /**
349
+ * Whether a module export is a construct.
350
+ *
351
+ * Deliberately loose about what else it carries — a construct that also has a
352
+ * `service` is still a construct, and requiring one would exclude the kinds that
353
+ * own no address.
354
+ */
355
+ function isDeclarable(value) {
356
+ if (typeof value !== "object" || value === null) return false;
357
+ const candidate = value;
358
+ return typeof candidate.id === "string" && candidate.id.length > 0 && typeof candidate.declare === "function";
359
+ }
360
+ /** What the discovery worker answers. Checked: the worker ran project code. */
361
+ const DiscoverAnswer = require_schemas.discriminatedUnion("reason", [
362
+ require_schemas.object({
363
+ reason: require_schemas.literal("discovered"),
364
+ manifest: require_schemas.record(require_schemas.string(), require_schemas.object({
365
+ id: require_schemas.string(),
366
+ kind: require_schemas.string()
367
+ }).loose()),
368
+ background: require_schemas.record(require_schemas.string(), require_schemas.array(require_schemas.string())).optional(),
369
+ subscribers: require_schemas.record(require_schemas.string(), require_schemas.array(require_schemas.object({
370
+ name: require_schemas.string(),
371
+ connectionKey: require_schemas.string(),
372
+ events: require_schemas.array(require_schemas.string()).optional()
373
+ }))).optional()
374
+ }),
375
+ require_schemas.object({
376
+ reason: require_schemas.literal("live"),
377
+ paths: require_schemas.array(require_schemas.string())
378
+ }),
379
+ require_schemas.object({
380
+ reason: require_schemas.literal("failed"),
381
+ error: require_schemas.object({
382
+ name: require_schemas.string(),
383
+ message: require_schemas.string(),
384
+ id: require_schemas.string().optional(),
385
+ sources: require_schemas.array(require_schemas.string()).optional()
386
+ }).loose()
387
+ })
388
+ ]);
389
+ /**
390
+ * The manifest, discovered in `sandbox` and handed back as JSON — or
391
+ * `undefined` when it holds something JSON cannot carry and the sandbox is
392
+ * not isolating, for the caller to discover here as before.
393
+ */
394
+ async function discoverInSandbox(sandbox, options) {
395
+ const cwd = options.cwd ?? sandbox.root;
396
+ const patterns = typeof options.patterns === "string" ? [options.patterns] : [...options.patterns];
397
+ const { value, stderr } = await runWorker(sandbox, "construct discovery", {
398
+ name: "discover-worker",
399
+ args: [JSON.stringify({
400
+ patterns,
401
+ cwd
402
+ })],
403
+ cwd,
404
+ timeoutMs: DISCOVER_TIMEOUT_MS,
405
+ schema: DiscoverAnswer
406
+ });
407
+ if (stderr.trim()) logger.warn(stderr.replace(/\n$/, ""));
408
+ switch (value.reason) {
409
+ case "discovered":
410
+ if (options.background) for (const [owner, files] of Object.entries(value.background ?? {})) options.background[owner] = files;
411
+ if (options.subscribers) for (const [owner, bound] of Object.entries(value.subscribers ?? {})) options.subscribers[owner] = bound;
412
+ return value.manifest;
413
+ case "failed":
414
+ if (value.error.name === "DuplicateConstruct" && value.error.id) throw new DuplicateConstruct(value.error.id, value.error.sources ?? []);
415
+ throw new ConstructDiscoveryFailed(value.error.name, value.error.message);
416
+ case "live":
417
+ if (sandbox.isolating) throw new ConstructsNotSerializable(value.paths);
418
+ return;
419
+ }
420
+ }
421
+ /**
422
+ * A caller asked for the construct objects (`sources`) or a watcher's
423
+ * re-import under an isolating sandbox, where only data comes back.
424
+ */
425
+ var LiveConstructsUnavailable = class extends Error {
426
+ constructor() {
427
+ super("Discovery was asked for the construct objects themselves under an isolating sandbox, which hands back only data. Run this step without one, or ask only for the manifest.");
428
+ this.name = "LiveConstructsUnavailable";
429
+ }
430
+ };
431
+ /** How long discovering a project's constructs may take in a sandbox. */
432
+ const DISCOVER_TIMEOUT_MS = 6e4;
433
+ /** Importing a construct module, or declaring one, threw in the sandbox. */
434
+ var ConstructDiscoveryFailed = class extends Error {
435
+ errorName;
436
+ detail;
437
+ constructor(errorName, detail) {
438
+ super(`Discovering constructs failed (${errorName}): ${detail}`);
439
+ this.errorName = errorName;
440
+ this.detail = detail;
441
+ this.name = "ConstructDiscoveryFailed";
442
+ }
443
+ };
444
+ /**
445
+ * The constructs' declarations hold something that is not data, and the
446
+ * sandbox they were discovered in hands the deploy nothing but data.
447
+ */
448
+ var ConstructsNotSerializable = class extends Error {
449
+ paths;
450
+ constructor(paths) {
451
+ super(`The construct manifest holds values that are not plain data at: ${paths.join(", ")}. Under an isolating sandbox the deploy only receives what JSON can carry; deploy with a sandbox that is not isolating if the host trusts this project.`);
452
+ this.paths = paths;
453
+ this.name = "ConstructsNotSerializable";
454
+ }
455
+ };
456
+ /**
457
+ * Build the construct manifest for a project.
458
+ *
459
+ * Runs the manifest's own validation before returning, so an app is wrong here
460
+ * — where the error names a file — rather than at deploy.
461
+ *
462
+ * @throws {DuplicateConstruct} when two exports claim one id.
463
+ */
464
+ async function discover(options) {
465
+ const sandbox = options.sandbox ?? require_sandbox.activeSandbox();
466
+ if (sandbox) {
467
+ if (!options.sources && !options.bustCache) {
468
+ const sandboxed = await discoverInSandbox(sandbox, options);
469
+ if (sandboxed) return sandboxed;
470
+ } else if (sandbox.isolating) throw new LiveConstructsUnavailable();
471
+ }
472
+ const { patterns, cwd = process.cwd(), bustCache = false, sources: out } = options;
473
+ if (bustCache) clearZodGlobalRegistry();
474
+ const manifest = {};
475
+ /** Which file declared each id, for the error when two of them do. */
476
+ const sources = {};
477
+ /**
478
+ * Constructs already seen, by identity.
479
+ *
480
+ * A re-export is the *same object* reached through a second file — ESM
481
+ * bindings are live, so `export * from './database.js'` hands back the
482
+ * binding rather than a copy. Without this, a barrel file made every
483
+ * construct in it appear declared twice, and `constructs/index.ts` is the
484
+ * first thing anyone writes in a shared folder.
485
+ *
486
+ * Identity rather than file is also the more honest rule: what may not
487
+ * happen twice is two *different* constructs claiming one id, and that is
488
+ * still an error below.
489
+ */
490
+ const seen = /* @__PURE__ */ new WeakSet();
491
+ const globs = Array.isArray(patterns) ? [...patterns] : [patterns];
492
+ const files = fast_glob.default.stream(globs, {
493
+ cwd,
494
+ absolute: true
495
+ });
496
+ /** Matched files, for the diagnostic below. */
497
+ let matched = 0;
498
+ /** Each processor, once, by the export that first reached it. */
499
+ const processors = /* @__PURE__ */ new Map();
500
+ /** Each runnable, once, under the export most likely to define it. */
501
+ const runnables = /* @__PURE__ */ new Map();
502
+ for await (const found of files) {
503
+ matched++;
504
+ const file = found.toString();
505
+ const module = await (bustCache ? import(`${file}?t=${Date.now()}`) : import(file));
506
+ for (const [exportName, exported] of Object.entries(module)) {
507
+ if (options.background) recordBackground(options.background, exported, file);
508
+ if (options.served) recordServed(options.served, exported, file);
509
+ if (options.subscribers) recordSubscriber(options.subscribers, exported, exportName);
510
+ if (_geekmidas_constructs_processors.Processor.isProcessor(exported)) {
511
+ const seenAt = processors.get(exported);
512
+ if (!seenAt || definedIn(file, seenAt.file)) processors.set(exported, {
513
+ exportName,
514
+ file,
515
+ processor: exported
516
+ });
517
+ }
518
+ if (isRunnable(exported)) {
519
+ const seenAt = runnables.get(exported);
520
+ if (!seenAt || definedIn(file, seenAt.file)) runnables.set(exported, {
521
+ exportName,
522
+ file,
523
+ construct: exported
524
+ });
525
+ }
526
+ if (!isDeclarable(exported)) continue;
527
+ if (seen.has(exported)) continue;
528
+ seen.add(exported);
529
+ for (const declaration of exported.declare()) {
530
+ const id = (0, _geekmidas_manifest.canonicalId)(declaration.id);
531
+ const source = (0, node_path.relative)(cwd, file);
532
+ const claimed = sources[id];
533
+ if (claimed !== void 0 && claimed !== source) throw new DuplicateConstruct(id, [claimed, source]);
534
+ manifest[id] = {
535
+ ...declaration,
536
+ id
537
+ };
538
+ sources[id] = source;
539
+ if (out) out[id] = {
540
+ file,
541
+ exportName,
542
+ construct: exported
543
+ };
544
+ }
545
+ }
546
+ }
547
+ nestProcessors(manifest, [...processors.values()], cwd);
548
+ nestRunnables(manifest, [...runnables.values()], cwd);
549
+ (0, _geekmidas_manifest.assertDerivations)(manifest);
550
+ warnIfNothingFound(globs, matched, Object.keys(manifest).length);
551
+ return manifest;
552
+ }
553
+ /**
554
+ * Record where a worker's background work is declared: a cron, a queue
555
+ * consumer or a topic subscriber, under the worker that owns it.
556
+ */
557
+ function recordBackground(background, exported, file) {
558
+ if (!_geekmidas_constructs_crons.Cron.isCron(exported) && !_geekmidas_constructs_queue.Queue.isQueue(exported) && !_geekmidas_constructs_subscribers.Subscriber.isSubscriber(exported)) return;
559
+ const owner = exported.owner;
560
+ if (typeof owner !== "string") return;
561
+ const key = (0, _geekmidas_manifest.canonicalId)(owner);
562
+ const files = background[key] ?? [];
563
+ background[key] = files;
564
+ if (!files.includes(file)) files.push(file);
565
+ }
566
+ /** Record the file of anything built from a surface, under that surface. */
567
+ function recordServed(served, exported, file) {
568
+ if (typeof exported !== "object" || exported === null) return;
569
+ const surface = exported.surface?.id;
570
+ if (typeof surface !== "string") return;
571
+ const key = (0, _geekmidas_manifest.canonicalId)(surface);
572
+ const files = served[key] ?? [];
573
+ served[key] = files;
574
+ if (!files.includes(file)) files.push(file);
575
+ }
576
+ /** A processor built from a file server the discovery never found. */
577
+ var ProcessorServerUnknown = class extends require_errors.GkmError {
578
+ processor;
579
+ server;
580
+ constructor(processor, server) {
581
+ super(`The processor '${processor}' answers on '${server}', which no discovered file declares. Export the FileServer from a file the workspace's constructs glob matches.`);
582
+ this.processor = processor;
583
+ this.server = server;
584
+ this.name = "ProcessorServerUnknown";
585
+ }
586
+ };
587
+ /**
588
+ * Whether `file` is the likelier home of an export also reached from
589
+ * `other`: not a barrel (`index.*`) where the other is, and otherwise the
590
+ * first by path — so the answer never depends on the order the glob
591
+ * streamed them in.
592
+ */
593
+ function definedIn(file, other) {
594
+ const barrel = (path) => /(^|[/\\])index\.[cm]?[jt]s$/.test(path);
595
+ if (barrel(file) !== barrel(other)) return barrel(other);
596
+ return file < other;
597
+ }
598
+ /**
599
+ * Nest each processor in the file server it answers on.
600
+ *
601
+ * A processor is positional, as a subscriber is: it answers on its server's
602
+ * domain and nothing else. It is nested here, not only by the build, because
603
+ * every deploy path — the compose stack, the CDN in front of the bucket, the
604
+ * SST stack — reads the discovered manifest. Its handler is its source until a
605
+ * build replaces it with the generated one.
606
+ */
607
+ function nestProcessors(manifest, processors, cwd) {
608
+ for (const { exportName, file, processor } of processors) {
609
+ const server = manifest[processor.surfaceId];
610
+ if (server?.kind !== "file-server") throw new ProcessorServerUnknown(exportName, processor.surfaceId);
611
+ const declaration = {
612
+ id: exportName,
613
+ handler: `${(0, node_path.relative)(cwd, file)}#${exportName}`,
614
+ path: processor.pattern,
615
+ prefix: processor.prefix,
616
+ ...processor.native.length ? { native: [...processor.native] } : {},
617
+ ...processor.timeout !== void 0 ? { timeout: processor.timeout } : {},
618
+ ...processor.memorySize !== void 0 ? { memorySize: processor.memorySize } : {},
619
+ dependencies: processor.constructs.flatMap((id) => {
620
+ const target = manifest[(0, _geekmidas_manifest.canonicalId)(id)];
621
+ return target ? [{
622
+ target: target.id,
623
+ kind: target.kind
624
+ }] : [];
625
+ })
626
+ };
627
+ manifest[server.id] = {
628
+ ...server,
629
+ processors: [...(server.processors ?? []).filter((p) => p.id !== exportName), declaration].sort((a, b) => a.id.localeCompare(b.id))
630
+ };
631
+ }
632
+ }
633
+ /**
634
+ * Whether an export is something a process runs: an endpoint or a WebSocket
635
+ * route its surface serves, or a cron, function, queue consumer or subscriber
636
+ * a worker does.
637
+ */
638
+ function isRunnable(value) {
639
+ return _geekmidas_constructs_endpoints.Endpoint.isEndpoint(value) || _geekmidas_constructs_websocket_api.WebSocketRoute.isRoute(value) || _geekmidas_constructs_crons.Cron.isCron(value) || _geekmidas_constructs_functions.Function.isFunction(value) || _geekmidas_constructs_queue.Queue.isQueue(value) || _geekmidas_constructs_subscribers.Subscriber.isSubscriber(value);
640
+ }
641
+ /**
642
+ * Nest each runnable where it runs: an endpoint in its surface, a route in
643
+ * its WebSocket surface, a consumer in its queue, a subscriber in its topic or
644
+ * bucket; a cron or function as a node of its own.
645
+ *
646
+ * Here and not in the build, so the manifest is the whole application in every
647
+ * command: `gkm dev` reads the same edges `gkm build` writes and a deploy
648
+ * grants. Each handler is its source, `<file>#<export>`, until a build that
649
+ * generates one per function replaces it with the generated entry.
650
+ */
651
+ function nestRunnables(manifest, found, cwd) {
652
+ const edges = (ids = []) => [...new Set(ids.map(_geekmidas_manifest.canonicalId))].flatMap((id) => {
653
+ const target = manifest[id];
654
+ return target ? [{
655
+ target: target.id,
656
+ kind: target.kind
657
+ }] : [];
658
+ });
659
+ const ownerOf = (construct) => typeof construct.owner === "string" ? { owner: (0, _geekmidas_manifest.canonicalId)(construct.owner) } : {};
660
+ const byId = (list, next) => [...list.filter((item) => item.id !== next.id), next].sort((a, b) => a.id.localeCompare(b.id));
661
+ const sorted = [...found].sort((a, b) => a.exportName.localeCompare(b.exportName));
662
+ for (const { exportName, file, construct } of sorted) {
663
+ const handler = `${(0, node_path.relative)(cwd, file)}#${exportName}`;
664
+ if (_geekmidas_constructs_endpoints.Endpoint.isEndpoint(construct)) {
665
+ const surfaceId = construct.surface?.id;
666
+ const surface = surfaceId ? manifest[(0, _geekmidas_manifest.canonicalId)(surfaceId)] : void 0;
667
+ if (surface?.kind !== "rest-api") continue;
668
+ manifest[surface.id] = {
669
+ ...surface,
670
+ endpoints: byId(surface.endpoints, {
671
+ id: `${surface.id}${construct.method}${construct._path}`,
672
+ handler,
673
+ method: construct.method,
674
+ path: construct._path,
675
+ dependencies: edges(construct.constructs),
676
+ authorizer: construct.authorizer?.name ?? "none"
677
+ })
678
+ };
679
+ continue;
680
+ }
681
+ if (_geekmidas_constructs_websocket_api.WebSocketRoute.isRoute(construct)) {
682
+ const surface = manifest[(0, _geekmidas_manifest.canonicalId)(construct.surface.id)];
683
+ if (surface?.kind !== "websocket-api") continue;
684
+ manifest[surface.id] = {
685
+ ...surface,
686
+ routes: byId(surface.routes ?? [], {
687
+ id: `${surface.id}${construct.action}`,
688
+ handler,
689
+ action: construct.action,
690
+ dependencies: edges(construct.constructs)
691
+ })
692
+ };
693
+ continue;
694
+ }
695
+ if (_geekmidas_constructs_crons.Cron.isCron(construct)) {
696
+ manifest[exportName] = {
697
+ kind: "cron",
698
+ id: exportName,
699
+ handler,
700
+ schedule: construct.schedule || "rate(1 hour)",
701
+ dependencies: edges(construct.constructs),
702
+ ...ownerOf(construct)
703
+ };
704
+ continue;
705
+ }
706
+ if (_geekmidas_constructs_functions.Function.isFunction(construct)) {
707
+ manifest[exportName] = {
708
+ kind: "function",
709
+ id: exportName,
710
+ handler,
711
+ dependencies: edges(construct.constructs),
712
+ provides: [(0, _geekmidas_manifest.provideKey)(exportName, "url")],
713
+ ...ownerOf(construct)
714
+ };
715
+ continue;
716
+ }
717
+ if (_geekmidas_constructs_queue.Queue.isQueue(construct)) {
718
+ const queue = manifest[construct.id];
719
+ if (queue?.kind !== "queue") continue;
720
+ manifest[queue.id] = {
721
+ ...queue,
722
+ worker: {
723
+ ...queue.worker,
724
+ handler,
725
+ dependencies: edges(construct.constructs),
726
+ ...ownerOf(construct)
727
+ }
728
+ };
729
+ continue;
730
+ }
731
+ if (_geekmidas_constructs_subscribers.Subscriber.isSubscriber(construct)) {
732
+ const subscriber = {
733
+ id: exportName,
734
+ handler,
735
+ events: [...construct.subscribedEvents ?? []],
736
+ dependencies: edges(construct.constructs),
737
+ ...ownerOf(construct)
738
+ };
739
+ if (construct.bucketName) {
740
+ const bucket = manifest[(0, _geekmidas_manifest.canonicalId)(construct.bucketName)];
741
+ if (bucket?.kind !== "objects") continue;
742
+ manifest[bucket.id] = {
743
+ ...bucket,
744
+ subscribers: byId(bucket.subscribers ?? [], {
745
+ ...subscriber,
746
+ ...construct.objectFilter
747
+ })
748
+ };
749
+ continue;
750
+ }
751
+ const topic = construct.topicName ? manifest[(0, _geekmidas_manifest.canonicalId)(construct.topicName)] : void 0;
752
+ if (topic?.kind !== "topic") continue;
753
+ manifest[topic.id] = {
754
+ ...topic,
755
+ subscribers: byId(topic.subscribers, subscriber)
756
+ };
757
+ }
758
+ }
759
+ }
760
+ /**
761
+ * Record a subscriber — to a topic or to a bucket — under the worker that
762
+ * runs it, by its export. Once per name: a file reached twice through a
763
+ * re-export finds it again.
764
+ */
765
+ function recordSubscriber(subscribers, exported, exportName) {
766
+ if (!_geekmidas_constructs_subscribers.Subscriber.isSubscriber(exported)) return;
767
+ const owner = exported.owner;
768
+ const connectionKey = subscriberConnectionKey(exported);
769
+ if (typeof owner !== "string" || !connectionKey) return;
770
+ const key = (0, _geekmidas_manifest.canonicalId)(owner);
771
+ const bound = subscribers[key] ?? [];
772
+ subscribers[key] = bound;
773
+ if (!bound.some((s) => s.connectionKey === connectionKey && s.name === exportName)) {
774
+ const events = exported.topicName && !exported.inboxName ? exported.subscribedEvents : void 0;
775
+ bound.push({
776
+ name: exportName,
777
+ connectionKey,
778
+ ...events ? { events: [...events] } : {}
779
+ });
780
+ }
781
+ }
782
+ /**
783
+ * What a runnable consumes, by id: a queue's consumer drains that queue, a
784
+ * subscriber its topic. Nothing for anything else.
785
+ */
786
+ function consumedBy(runnable) {
787
+ if (_geekmidas_constructs_queue.Queue.isQueue(runnable)) return [runnable.id];
788
+ if (_geekmidas_constructs_subscribers.Subscriber.isSubscriber(runnable) && runnable.topicName) return [(0, _geekmidas_manifest.canonicalId)(runnable.topicName)];
789
+ if (_geekmidas_constructs_subscribers.Subscriber.isSubscriber(runnable) && runnable.bucketName) return [(0, _geekmidas_manifest.canonicalId)(runnable.bucketName)];
790
+ return [];
791
+ }
792
+ /**
793
+ * Say so when a glob was configured and found nothing.
794
+ *
795
+ * The glob is not a filter over declarations already known — it is *how they
796
+ * are found*, by importing what it matches. So a file it misses is a
797
+ * declaration that does not exist, and every symptom of that appears somewhere
798
+ * other than the cause: no container starts, no env key is written, and the
799
+ * application fails on first use against a resource it can see in its own
800
+ * source.
801
+ *
802
+ * Nothing reported it before, because an unmatched file is indistinguishable
803
+ * from a file nobody wrote. These two cases are the ones that are *not*
804
+ * ambiguous — a glob was configured, so something was expected.
805
+ *
806
+ * Silent when no glob is configured at all: that is a project which has not
807
+ * adopted constructs, and has nothing to be missing.
808
+ */
809
+ function warnIfNothingFound(globs, matched, declared) {
810
+ if (globs.length === 0) return;
811
+ if (matched === 0) {
812
+ logger.warn(`\n⚠️ The constructs glob matched no files, so nothing was declared.\n Patterns: ${globs.join(", ")}\n Nothing will be provisioned — no containers, no env keys, no resources.\n A common cause is depth: '*.ts' matches one level, '**/*.ts' matches any.`);
813
+ return;
814
+ }
815
+ if (declared === 0) logger.warn(`\n⚠️ The constructs glob matched ${matched} file(s) but none declared anything.\n Patterns: ${globs.join(", ")}\n Discovery keeps exports with an 'id' that can 'declare()'. A construct that is\n built but never exported is invisible to it.`);
816
+ }
817
+ /** Two constructs claiming one id. */
818
+ var DuplicateConstruct = class extends require_errors.GkmError {
819
+ /** The id claimed twice. */
820
+ id;
821
+ /** The files that claimed it. */
822
+ sources;
823
+ constructor(id, sources) {
824
+ super("Two constructs declare the same id");
825
+ this.name = "DuplicateConstruct";
826
+ this.id = id;
827
+ this.sources = sources;
828
+ }
829
+ };
830
+ //#endregion
831
+ Object.defineProperty(exports, "ConstructDiscoveryFailed", {
832
+ enumerable: true,
833
+ get: function() {
834
+ return ConstructDiscoveryFailed;
835
+ }
836
+ });
837
+ Object.defineProperty(exports, "ConstructGenerator", {
838
+ enumerable: true,
839
+ get: function() {
840
+ return ConstructGenerator;
841
+ }
842
+ });
843
+ Object.defineProperty(exports, "ConstructsNotSerializable", {
844
+ enumerable: true,
845
+ get: function() {
846
+ return ConstructsNotSerializable;
847
+ }
848
+ });
849
+ Object.defineProperty(exports, "SandboxWorkerFailed", {
850
+ enumerable: true,
851
+ get: function() {
852
+ return SandboxWorkerFailed;
853
+ }
854
+ });
855
+ Object.defineProperty(exports, "consumedBy", {
856
+ enumerable: true,
857
+ get: function() {
858
+ return consumedBy;
859
+ }
860
+ });
861
+ Object.defineProperty(exports, "discover", {
862
+ enumerable: true,
863
+ get: function() {
864
+ return discover;
865
+ }
866
+ });
867
+ Object.defineProperty(exports, "discover_exports", {
868
+ enumerable: true,
869
+ get: function() {
870
+ return discover_exports;
871
+ }
872
+ });
873
+ Object.defineProperty(exports, "eventsEdgeBucket", {
874
+ enumerable: true,
875
+ get: function() {
876
+ return eventsEdgeBucket;
877
+ }
878
+ });
879
+ Object.defineProperty(exports, "isDeclarable", {
880
+ enumerable: true,
881
+ get: function() {
882
+ return isDeclarable;
883
+ }
884
+ });
885
+ Object.defineProperty(exports, "nodeWithTsx", {
886
+ enumerable: true,
887
+ get: function() {
888
+ return nodeWithTsx;
889
+ }
890
+ });
891
+ Object.defineProperty(exports, "output", {
892
+ enumerable: true,
893
+ get: function() {
894
+ return output;
895
+ }
896
+ });
897
+ Object.defineProperty(exports, "runWorker", {
898
+ enumerable: true,
899
+ get: function() {
900
+ return runWorker;
901
+ }
902
+ });
903
+ Object.defineProperty(exports, "subscriberConnectionKey", {
904
+ enumerable: true,
905
+ get: function() {
906
+ return subscriberConnectionKey;
907
+ }
908
+ });
909
+ Object.defineProperty(exports, "subscriberTokenKey", {
910
+ enumerable: true,
911
+ get: function() {
912
+ return subscriberTokenKey;
913
+ }
914
+ });
915
+ Object.defineProperty(exports, "withOutput", {
916
+ enumerable: true,
917
+ get: function() {
918
+ return withOutput;
919
+ }
920
+ });
921
+ Object.defineProperty(exports, "withOwningTsconfigJsx", {
922
+ enumerable: true,
923
+ get: function() {
924
+ return withOwningTsconfigJsx;
925
+ }
926
+ });
927
+ Object.defineProperty(exports, "workerEdges", {
928
+ enumerable: true,
929
+ get: function() {
930
+ return workerEdges;
931
+ }
932
+ });
933
+
934
+ //# sourceMappingURL=discover-yqeJ2Bx7.cjs.map