alepha 0.21.2 → 0.22.0

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 (463) hide show
  1. package/README.md +0 -1
  2. package/dist/api/audits/index.browser.js.map +1 -1
  3. package/dist/api/audits/index.d.ts +393 -403
  4. package/dist/api/audits/index.d.ts.map +1 -1
  5. package/dist/api/audits/index.js +25 -56
  6. package/dist/api/audits/index.js.map +1 -1
  7. package/dist/api/files/index.browser.js +31 -1
  8. package/dist/api/files/index.browser.js.map +1 -1
  9. package/dist/api/files/index.d.ts +313 -208
  10. package/dist/api/files/index.d.ts.map +1 -1
  11. package/dist/api/files/index.js +152 -42
  12. package/dist/api/files/index.js.map +1 -1
  13. package/dist/api/jobs/index.browser.js +2 -2
  14. package/dist/api/jobs/index.browser.js.map +1 -1
  15. package/dist/api/jobs/index.d.ts +289 -292
  16. package/dist/api/jobs/index.d.ts.map +1 -1
  17. package/dist/api/jobs/index.js +39 -33
  18. package/dist/api/jobs/index.js.map +1 -1
  19. package/dist/api/keys/index.d.ts +211 -216
  20. package/dist/api/keys/index.d.ts.map +1 -1
  21. package/dist/api/keys/index.js.map +1 -1
  22. package/dist/api/notifications/index.browser.js.map +1 -1
  23. package/dist/api/notifications/index.d.ts +188 -195
  24. package/dist/api/notifications/index.d.ts.map +1 -1
  25. package/dist/api/notifications/index.js.map +1 -1
  26. package/dist/api/oauth/index.d.ts +71 -76
  27. package/dist/api/oauth/index.d.ts.map +1 -1
  28. package/dist/api/oauth/index.js.map +1 -1
  29. package/dist/api/organizations/index.browser.js.map +1 -1
  30. package/dist/api/organizations/index.d.ts +104 -109
  31. package/dist/api/organizations/index.d.ts.map +1 -1
  32. package/dist/api/organizations/index.js.map +1 -1
  33. package/dist/api/parameters/index.browser.js +43 -16
  34. package/dist/api/parameters/index.browser.js.map +1 -1
  35. package/dist/api/parameters/index.d.ts +488 -344
  36. package/dist/api/parameters/index.d.ts.map +1 -1
  37. package/dist/api/parameters/index.js +175 -35
  38. package/dist/api/parameters/index.js.map +1 -1
  39. package/dist/api/payments/index.d.ts +396 -402
  40. package/dist/api/payments/index.d.ts.map +1 -1
  41. package/dist/api/payments/index.js.map +1 -1
  42. package/dist/api/subscriptions/index.d.ts +644 -652
  43. package/dist/api/subscriptions/index.d.ts.map +1 -1
  44. package/dist/api/subscriptions/index.js +1 -1
  45. package/dist/api/subscriptions/index.js.map +1 -1
  46. package/dist/api/users/index.browser.js +7 -0
  47. package/dist/api/users/index.browser.js.map +1 -1
  48. package/dist/api/users/index.d.ts +1073 -1006
  49. package/dist/api/users/index.d.ts.map +1 -1
  50. package/dist/api/users/index.js +283 -61
  51. package/dist/api/users/index.js.map +1 -1
  52. package/dist/api/verifications/index.browser.js.map +1 -1
  53. package/dist/api/verifications/index.d.ts +134 -140
  54. package/dist/api/verifications/index.d.ts.map +1 -1
  55. package/dist/api/verifications/index.js.map +1 -1
  56. package/dist/background/index.d.ts +95 -0
  57. package/dist/background/index.d.ts.map +1 -0
  58. package/dist/background/index.js +121 -0
  59. package/dist/background/index.js.map +1 -0
  60. package/dist/background/index.workerd.js +110 -0
  61. package/dist/background/index.workerd.js.map +1 -0
  62. package/dist/batch/index.d.ts +5 -7
  63. package/dist/batch/index.d.ts.map +1 -1
  64. package/dist/batch/index.js.map +1 -1
  65. package/dist/bin/index.js.map +1 -1
  66. package/dist/bucket/index.d.ts +76 -54
  67. package/dist/bucket/index.d.ts.map +1 -1
  68. package/dist/bucket/index.js +58 -11
  69. package/dist/bucket/index.js.map +1 -1
  70. package/dist/bucket/index.workerd.js +200 -5
  71. package/dist/bucket/index.workerd.js.map +1 -1
  72. package/dist/cache/core/index.d.ts +7 -10
  73. package/dist/cache/core/index.d.ts.map +1 -1
  74. package/dist/cache/core/index.js.map +1 -1
  75. package/dist/cache/core/index.workerd.js.map +1 -1
  76. package/dist/cache/database/index.d.ts +22 -26
  77. package/dist/cache/database/index.d.ts.map +1 -1
  78. package/dist/cache/database/index.js.map +1 -1
  79. package/dist/cache/redis/index.d.ts +4 -7
  80. package/dist/cache/redis/index.d.ts.map +1 -1
  81. package/dist/cache/redis/index.js.map +1 -1
  82. package/dist/captcha/index.d.ts +3 -6
  83. package/dist/captcha/index.d.ts.map +1 -1
  84. package/dist/captcha/index.js.map +1 -1
  85. package/dist/cli/config/index.d.ts.map +1 -1
  86. package/dist/cli/config/index.js.map +1 -1
  87. package/dist/cli/core/index.d.ts +417 -214
  88. package/dist/cli/core/index.d.ts.map +1 -1
  89. package/dist/cli/core/index.js +325 -563
  90. package/dist/cli/core/index.js.map +1 -1
  91. package/dist/cli/devtools/index.d.ts +3 -5
  92. package/dist/cli/devtools/index.d.ts.map +1 -1
  93. package/dist/cli/devtools/index.js.map +1 -1
  94. package/dist/cli/i18n/index.d.ts +8 -12
  95. package/dist/cli/i18n/index.d.ts.map +1 -1
  96. package/dist/cli/i18n/index.js.map +1 -1
  97. package/dist/cli/platform/index.d.ts +126 -1342
  98. package/dist/cli/platform/index.d.ts.map +1 -1
  99. package/dist/cli/platform/index.js +136 -2374
  100. package/dist/cli/platform/index.js.map +1 -1
  101. package/dist/cli/platform-lib/index.d.ts +1446 -0
  102. package/dist/cli/platform-lib/index.d.ts.map +1 -0
  103. package/dist/cli/platform-lib/index.js +2597 -0
  104. package/dist/cli/platform-lib/index.js.map +1 -0
  105. package/dist/cli/vendor/index.d.ts +17 -21
  106. package/dist/cli/vendor/index.d.ts.map +1 -1
  107. package/dist/cli/vendor/index.js.map +1 -1
  108. package/dist/command/index.d.ts +21 -20
  109. package/dist/command/index.d.ts.map +1 -1
  110. package/dist/command/index.js +39 -10
  111. package/dist/command/index.js.map +1 -1
  112. package/dist/{containers → container}/core/index.d.ts +13 -15
  113. package/dist/container/core/index.d.ts.map +1 -0
  114. package/dist/{containers → container}/core/index.js +23 -14
  115. package/dist/container/core/index.js.map +1 -0
  116. package/dist/{containers → container}/core/index.workerd.js +37 -22
  117. package/dist/container/core/index.workerd.js.map +1 -0
  118. package/dist/core/index.browser.js +27 -1
  119. package/dist/core/index.browser.js.map +1 -1
  120. package/dist/core/index.d.ts +48 -24
  121. package/dist/core/index.d.ts.map +1 -1
  122. package/dist/core/index.js +27 -1
  123. package/dist/core/index.js.map +1 -1
  124. package/dist/core/index.native.js +27 -1
  125. package/dist/core/index.native.js.map +1 -1
  126. package/dist/core/index.workerd.js +27 -1
  127. package/dist/core/index.workerd.js.map +1 -1
  128. package/dist/crypto/index.browser.js.map +1 -1
  129. package/dist/crypto/index.d.ts +5 -8
  130. package/dist/crypto/index.d.ts.map +1 -1
  131. package/dist/crypto/index.js.map +1 -1
  132. package/dist/datetime/index.d.ts +3 -4
  133. package/dist/datetime/index.d.ts.map +1 -1
  134. package/dist/datetime/index.js.map +1 -1
  135. package/dist/email/brevo/index.d.ts +2 -4
  136. package/dist/email/brevo/index.d.ts.map +1 -1
  137. package/dist/email/brevo/index.js.map +1 -1
  138. package/dist/email/cloudflare/index.d.ts +20 -7
  139. package/dist/email/cloudflare/index.d.ts.map +1 -1
  140. package/dist/email/cloudflare/index.js +46 -9
  141. package/dist/email/cloudflare/index.js.map +1 -1
  142. package/dist/email/core/index.d.ts +6 -9
  143. package/dist/email/core/index.d.ts.map +1 -1
  144. package/dist/email/core/index.js.map +1 -1
  145. package/dist/email/core/index.workerd.js.map +1 -1
  146. package/dist/email/smtp/index.d.ts +10 -13
  147. package/dist/email/smtp/index.d.ts.map +1 -1
  148. package/dist/email/smtp/index.js +107 -32
  149. package/dist/email/smtp/index.js.map +1 -1
  150. package/dist/fake/index.d.ts +1 -2
  151. package/dist/fake/index.d.ts.map +1 -1
  152. package/dist/fake/index.js.map +1 -1
  153. package/dist/lock/core/index.d.ts +9 -14
  154. package/dist/lock/core/index.d.ts.map +1 -1
  155. package/dist/lock/core/index.js.map +1 -1
  156. package/dist/lock/redis/index.d.ts +2 -4
  157. package/dist/lock/redis/index.d.ts.map +1 -1
  158. package/dist/lock/redis/index.js.map +1 -1
  159. package/dist/logger/index.d.ts +105 -76
  160. package/dist/logger/index.d.ts.map +1 -1
  161. package/dist/logger/index.js +196 -174
  162. package/dist/logger/index.js.map +1 -1
  163. package/dist/mcp/index.d.ts +16 -20
  164. package/dist/mcp/index.d.ts.map +1 -1
  165. package/dist/mcp/index.js.map +1 -1
  166. package/dist/orm/core/index.browser.js.map +1 -1
  167. package/dist/orm/core/index.bun.js +19 -1
  168. package/dist/orm/core/index.bun.js.map +1 -1
  169. package/dist/orm/core/index.d.ts +76 -62
  170. package/dist/orm/core/index.d.ts.map +1 -1
  171. package/dist/orm/core/index.js +20 -2
  172. package/dist/orm/core/index.js.map +1 -1
  173. package/dist/orm/postgres/index.bun.js.map +1 -1
  174. package/dist/orm/postgres/index.d.ts +28 -20
  175. package/dist/orm/postgres/index.d.ts.map +1 -1
  176. package/dist/orm/postgres/index.js.map +1 -1
  177. package/dist/queue/core/index.d.ts +12 -15
  178. package/dist/queue/core/index.d.ts.map +1 -1
  179. package/dist/queue/core/index.js.map +1 -1
  180. package/dist/queue/core/index.workerd.js.map +1 -1
  181. package/dist/queue/redis/index.d.ts +3 -5
  182. package/dist/queue/redis/index.d.ts.map +1 -1
  183. package/dist/queue/redis/index.js.map +1 -1
  184. package/dist/react/auth/index.browser.js +9 -2
  185. package/dist/react/auth/index.browser.js.map +1 -1
  186. package/dist/react/auth/index.d.ts +14 -9
  187. package/dist/react/auth/index.d.ts.map +1 -1
  188. package/dist/react/auth/index.js +9 -2
  189. package/dist/react/auth/index.js.map +1 -1
  190. package/dist/react/core/index.d.ts +7 -8
  191. package/dist/react/core/index.d.ts.map +1 -1
  192. package/dist/react/core/index.js +6 -3
  193. package/dist/react/core/index.js.map +1 -1
  194. package/dist/react/form/index.d.ts +2 -4
  195. package/dist/react/form/index.d.ts.map +1 -1
  196. package/dist/react/form/index.js.map +1 -1
  197. package/dist/react/head/index.browser.js.map +1 -1
  198. package/dist/react/head/index.d.ts +2 -4
  199. package/dist/react/head/index.d.ts.map +1 -1
  200. package/dist/react/head/index.js.map +1 -1
  201. package/dist/react/i18n/index.d.ts +47 -11
  202. package/dist/react/i18n/index.d.ts.map +1 -1
  203. package/dist/react/i18n/index.js +33 -1
  204. package/dist/react/i18n/index.js.map +1 -1
  205. package/dist/react/intro/index.d.ts +1 -2
  206. package/dist/react/intro/index.d.ts.map +1 -1
  207. package/dist/react/intro/index.js +2 -2
  208. package/dist/react/intro/index.js.map +1 -1
  209. package/dist/react/router/index.browser.js +65 -19
  210. package/dist/react/router/index.browser.js.map +1 -1
  211. package/dist/react/router/index.d.ts +327 -222
  212. package/dist/react/router/index.d.ts.map +1 -1
  213. package/dist/react/router/index.js +65 -29
  214. package/dist/react/router/index.js.map +1 -1
  215. package/dist/react/testing/index.d.ts +1 -2
  216. package/dist/react/testing/index.d.ts.map +1 -1
  217. package/dist/react/testing/index.js +16 -17
  218. package/dist/react/testing/index.js.map +1 -1
  219. package/dist/react/ui/index.d.ts +20 -25
  220. package/dist/react/ui/index.d.ts.map +1 -1
  221. package/dist/react/ui/index.js.map +1 -1
  222. package/dist/redis/index.bun.js.map +1 -1
  223. package/dist/redis/index.d.ts +17 -19
  224. package/dist/redis/index.d.ts.map +1 -1
  225. package/dist/redis/index.js.map +1 -1
  226. package/dist/retry/index.d.ts +2 -4
  227. package/dist/retry/index.d.ts.map +1 -1
  228. package/dist/retry/index.js.map +1 -1
  229. package/dist/router/index.d.ts.map +1 -1
  230. package/dist/router/index.js.map +1 -1
  231. package/dist/scheduler/index.d.ts +10 -13
  232. package/dist/scheduler/index.d.ts.map +1 -1
  233. package/dist/scheduler/index.js.map +1 -1
  234. package/dist/scheduler/index.workerd.js.map +1 -1
  235. package/dist/security/index.browser.js.map +1 -1
  236. package/dist/security/index.d.ts +45 -48
  237. package/dist/security/index.d.ts.map +1 -1
  238. package/dist/security/index.js.map +1 -1
  239. package/dist/server/auth/index.browser.js.map +1 -1
  240. package/dist/server/auth/index.d.ts +167 -172
  241. package/dist/server/auth/index.d.ts.map +1 -1
  242. package/dist/server/auth/index.js +4 -8
  243. package/dist/server/auth/index.js.map +1 -1
  244. package/dist/server/cookies/index.browser.js.map +1 -1
  245. package/dist/server/cookies/index.d.ts +5 -7
  246. package/dist/server/cookies/index.d.ts.map +1 -1
  247. package/dist/server/cookies/index.js.map +1 -1
  248. package/dist/server/core/index.browser.js.map +1 -1
  249. package/dist/server/core/index.d.ts +88 -73
  250. package/dist/server/core/index.d.ts.map +1 -1
  251. package/dist/server/core/index.js +19 -0
  252. package/dist/server/core/index.js.map +1 -1
  253. package/dist/server/cors/index.d.ts +11 -14
  254. package/dist/server/cors/index.d.ts.map +1 -1
  255. package/dist/server/cors/index.js.map +1 -1
  256. package/dist/server/etag/index.d.ts +6 -9
  257. package/dist/server/etag/index.d.ts.map +1 -1
  258. package/dist/server/etag/index.js.map +1 -1
  259. package/dist/server/health/index.d.ts +18 -21
  260. package/dist/server/health/index.d.ts.map +1 -1
  261. package/dist/server/health/index.js.map +1 -1
  262. package/dist/server/links/index.browser.js +2 -0
  263. package/dist/server/links/index.browser.js.map +1 -1
  264. package/dist/server/links/index.d.ts +63 -67
  265. package/dist/server/links/index.d.ts.map +1 -1
  266. package/dist/server/links/index.js +2 -0
  267. package/dist/server/links/index.js.map +1 -1
  268. package/dist/server/metrics/index.d.ts +5 -7
  269. package/dist/server/metrics/index.d.ts.map +1 -1
  270. package/dist/server/metrics/index.js.map +1 -1
  271. package/dist/server/proxy/index.d.ts +3 -5
  272. package/dist/server/proxy/index.d.ts.map +1 -1
  273. package/dist/server/proxy/index.js.map +1 -1
  274. package/dist/server/rate-limit/index.d.ts +10 -13
  275. package/dist/server/rate-limit/index.d.ts.map +1 -1
  276. package/dist/server/rate-limit/index.js.map +1 -1
  277. package/dist/server/static/index.d.ts +3 -5
  278. package/dist/server/static/index.d.ts.map +1 -1
  279. package/dist/server/static/index.js.map +1 -1
  280. package/dist/server/swagger/index.d.ts +5 -8
  281. package/dist/server/swagger/index.d.ts.map +1 -1
  282. package/dist/server/swagger/index.js.map +1 -1
  283. package/dist/sms/index.d.ts +3 -5
  284. package/dist/sms/index.d.ts.map +1 -1
  285. package/dist/sms/index.js.map +1 -1
  286. package/dist/system/index.browser.js.map +1 -1
  287. package/dist/system/index.d.ts +2 -4
  288. package/dist/system/index.d.ts.map +1 -1
  289. package/dist/system/index.js.map +1 -1
  290. package/dist/system/index.workerd.js.map +1 -1
  291. package/dist/topic/core/index.d.ts +4 -6
  292. package/dist/topic/core/index.d.ts.map +1 -1
  293. package/dist/topic/core/index.js.map +1 -1
  294. package/dist/topic/redis/index.d.ts +5 -8
  295. package/dist/topic/redis/index.d.ts.map +1 -1
  296. package/dist/topic/redis/index.js.map +1 -1
  297. package/package.json +45 -22
  298. package/src/api/audits/__tests__/AuditService.spec.ts +18 -110
  299. package/src/api/audits/controllers/AdminAuditController.ts +14 -0
  300. package/src/api/audits/services/AuditService.ts +21 -88
  301. package/src/api/files/__tests__/FileService.spec.ts +207 -2
  302. package/src/api/files/index.ts +3 -0
  303. package/src/api/files/schemas/fileCreatorSummarySchema.ts +22 -0
  304. package/src/api/files/schemas/fileResourceSchema.ts +10 -1
  305. package/src/api/files/services/FileService.ts +170 -72
  306. package/src/api/jobs/__tests__/$job.spec.ts +24 -1
  307. package/src/api/jobs/index.ts +4 -3
  308. package/src/api/jobs/primitives/$job.ts +7 -3
  309. package/src/api/jobs/providers/DirectJobDispatcher.ts +17 -36
  310. package/src/api/jobs/providers/JobProvider.ts +53 -24
  311. package/src/api/jobs/schemas/jobConfigAtom.ts +1 -1
  312. package/src/api/jobs/schemas/jobExecutionResourceSchema.ts +4 -1
  313. package/src/api/keys/schemas/adminApiKeyResourceSchema.ts +3 -1
  314. package/src/api/parameters/__tests__/$parameter.spec.ts +19 -2
  315. package/src/api/parameters/audits/ParameterAudits.ts +17 -0
  316. package/src/api/parameters/controllers/AdminParameterController.ts +95 -19
  317. package/src/api/parameters/index.ts +3 -0
  318. package/src/api/parameters/schemas/activateParameterBodySchema.ts +3 -3
  319. package/src/api/parameters/schemas/createParameterVersionBodySchema.ts +3 -2
  320. package/src/api/parameters/schemas/parameterCreatorSummarySchema.ts +25 -0
  321. package/src/api/parameters/schemas/parameterResponseSchema.ts +5 -0
  322. package/src/api/parameters/schemas/rollbackParameterBodySchema.ts +4 -2
  323. package/src/api/parameters/services/ParameterProvider.ts +69 -6
  324. package/src/api/subscriptions/jobs/SubscriptionJobs.ts +1 -1
  325. package/src/api/users/__tests__/AdminSessionController.spec.ts +37 -0
  326. package/src/api/users/audits/SessionAudits.ts +33 -0
  327. package/src/api/users/audits/UserAudits.ts +19 -43
  328. package/src/api/users/controllers/AdminUserController.ts +66 -1
  329. package/src/api/users/entities/sessions.ts +6 -0
  330. package/src/api/users/entities/users.ts +2 -0
  331. package/src/api/users/index.ts +9 -1
  332. package/src/api/users/primitives/$realm.ts +3 -0
  333. package/src/api/users/schemas/sessionResourceSchema.ts +16 -0
  334. package/src/api/users/schemas/updateUserSchema.ts +1 -8
  335. package/src/api/users/schemas/userQuerySchema.ts +7 -0
  336. package/src/api/users/services/CredentialService.ts +15 -6
  337. package/src/api/users/services/IdentityService.ts +2 -1
  338. package/src/api/users/services/RegistrationService.ts +2 -1
  339. package/src/api/users/services/SessionCrudService.ts +19 -2
  340. package/src/api/users/services/SessionService.ts +39 -19
  341. package/src/api/users/services/UserService.ts +106 -8
  342. package/src/background/__tests__/BackgroundTaskProvider.spec.ts +96 -0
  343. package/src/background/index.ts +37 -0
  344. package/src/background/index.workerd.ts +28 -0
  345. package/src/background/providers/BackgroundTaskProvider.ts +70 -0
  346. package/src/background/providers/WorkerdBackgroundTaskProvider.ts +43 -0
  347. package/src/bucket/__tests__/$bucket.spec.ts +18 -0
  348. package/src/bucket/__tests__/LocalFileStorageProvider.spec.ts +5 -0
  349. package/src/bucket/__tests__/MemoryFileStorageProvider.spec.ts +5 -0
  350. package/src/bucket/__tests__/NodeS3BucketProvider.spec.ts +23 -4
  351. package/src/bucket/__tests__/shared.ts +30 -0
  352. package/src/bucket/index.ts +5 -5
  353. package/src/bucket/index.workerd.ts +11 -4
  354. package/src/bucket/primitives/$bucket.ts +27 -0
  355. package/src/bucket/providers/FileStorageProvider.ts +13 -0
  356. package/src/bucket/providers/LocalFileStorageProvider.ts +17 -1
  357. package/src/bucket/providers/MemoryFileStorageProvider.ts +7 -0
  358. package/src/bucket/providers/{CloudflareR2Provider.ts → R2FileStorageProvider.ts} +10 -1
  359. package/src/bucket/providers/{NodeS3BucketProvider.ts → S3FileStorageProvider.ts} +27 -5
  360. package/src/cli/core/__tests__/BuildDockerTask.spec.ts +25 -1
  361. package/src/cli/core/__tests__/init.spec.ts +0 -219
  362. package/src/cli/core/commands/__tests__/BuildCommand.spec.ts +43 -0
  363. package/src/cli/core/commands/build.ts +108 -30
  364. package/src/cli/core/commands/init.ts +0 -12
  365. package/src/cli/core/commands/pack.ts +133 -0
  366. package/src/cli/core/index.ts +3 -0
  367. package/src/cli/core/providers/ViteDevServerProvider.ts +40 -16
  368. package/src/cli/core/services/PackageManagerUtils.ts +0 -16
  369. package/src/cli/core/services/ProjectScaffolder.ts +29 -291
  370. package/src/cli/core/tasks/BuildCloudflareTask.ts +353 -47
  371. package/src/cli/core/tasks/BuildDockerTask.ts +33 -3
  372. package/src/cli/core/tasks/BuildTask.ts +34 -0
  373. package/src/cli/core/templates/apiIndexTs.ts +1 -22
  374. package/src/cli/core/templates/mainCss.ts +0 -1
  375. package/src/cli/core/templates/webAppRouterTs.ts +0 -99
  376. package/src/cli/core/templates/webIndexTs.ts +1 -22
  377. package/src/cli/platform/__tests__/SecretsCommand.spec.ts +5 -3
  378. package/src/cli/platform/commands/SecretsCommand.ts +8 -6
  379. package/src/cli/platform/commands/platform.ts +192 -46
  380. package/src/cli/platform/index.ts +12 -52
  381. package/src/cli/{platform → platform-lib}/__tests__/CloudflareAdapter.spec.ts +426 -169
  382. package/src/cli/{platform → platform-lib}/__tests__/NamingService.spec.ts +91 -4
  383. package/src/cli/{platform → platform-lib}/__tests__/VercelAdapter.spec.ts +56 -85
  384. package/src/cli/{platform → platform-lib}/adapters/CloudflareAdapter.ts +402 -165
  385. package/src/cli/{platform → platform-lib}/adapters/PlatformAdapter.ts +62 -35
  386. package/src/cli/{platform → platform-lib}/adapters/VercelAdapter.ts +6 -10
  387. package/src/cli/{platform → platform-lib}/atoms/platformOptions.ts +34 -1
  388. package/src/cli/platform-lib/index.ts +67 -0
  389. package/src/cli/platform-lib/services/NamingService.ts +136 -0
  390. package/src/cli/{platform → platform-lib}/services/PlatformInspector.ts +60 -13
  391. package/src/cli/{platform → platform-lib}/services/PlatformOrchestrator.ts +54 -43
  392. package/src/cli/{platform → platform-lib}/services/WranglerApi.ts +4 -2
  393. package/src/command/__tests__/Runner.spec.ts +20 -0
  394. package/src/command/helpers/EnvUtils.ts +19 -3
  395. package/src/command/helpers/Runner.ts +12 -2
  396. package/src/command/providers/CliProvider.ts +34 -1
  397. package/src/{containers → container}/core/__tests__/$container.spec.ts +5 -5
  398. package/src/{containers → container}/core/index.ts +4 -4
  399. package/src/{containers → container}/core/index.workerd.ts +19 -3
  400. package/src/{containers → container}/core/primitives/$container.ts +1 -1
  401. package/src/{containers → container}/core/providers/CloudflareContainerProvider.ts +17 -19
  402. package/src/{containers → container}/core/providers/ContainerProvider.ts +16 -2
  403. package/src/{containers → container}/core/providers/MockContainerProvider.ts +1 -1
  404. package/src/core/Alepha.ts +49 -1
  405. package/src/core/__tests__/$env.spec.ts +42 -0
  406. package/src/core/__tests__/dump.spec.ts +47 -0
  407. package/src/email/cloudflare/__tests__/CloudflareEmailProvider.spec.ts +42 -10
  408. package/src/email/cloudflare/index.ts +14 -5
  409. package/src/email/cloudflare/providers/CloudflareEmailProvider.ts +54 -9
  410. package/src/logger/__tests__/Logger.spec.ts +55 -0
  411. package/src/logger/index.ts +13 -0
  412. package/src/logger/services/Logger.ts +31 -1
  413. package/src/orm/__tests__/orm-showcase-tests.ts +27 -0
  414. package/src/orm/__tests__/orm-showcase.spec.ts +12 -0
  415. package/src/orm/core/interfaces/PgQuery.ts +4 -1
  416. package/src/orm/core/services/Repository.ts +27 -11
  417. package/src/react/auth/hooks/useAuth.ts +10 -5
  418. package/src/react/core/__tests__/useQuery.browser.spec.tsx +25 -0
  419. package/src/react/core/hooks/useAction.ts +14 -3
  420. package/src/react/core/hooks/useQuery.ts +24 -4
  421. package/src/react/i18n/components/Translate.tsx +47 -0
  422. package/src/react/i18n/index.ts +2 -0
  423. package/src/react/intro/components/GettingStartedAdminSlide.tsx +2 -2
  424. package/src/react/router/__tests__/$page.spec.tsx +3 -2
  425. package/src/react/router/__tests__/page-can.spec.ts +18 -13
  426. package/src/react/router/hooks/useQueryParams.ts +114 -14
  427. package/src/react/router/primitives/$page.ts +85 -4
  428. package/src/react/router/providers/ReactBrowserRouterProvider.ts +3 -7
  429. package/src/react/router/providers/ReactServerProvider.ts +4 -13
  430. package/src/react/ui/services/SchemaControl.ts +3 -4
  431. package/src/server/core/providers/ServerMultipartProvider.ts +19 -0
  432. package/src/server/links/providers/LinkProvider.ts +10 -0
  433. package/dist/containers/core/index.d.ts.map +0 -1
  434. package/dist/containers/core/index.js.map +0 -1
  435. package/dist/containers/core/index.workerd.js.map +0 -1
  436. package/src/cli/core/templates/componentsJsonTs.ts +0 -39
  437. package/src/cli/core/templates/saasAdminLayoutTsx.ts +0 -77
  438. package/src/cli/core/templates/saasAdminPagesTsx.ts +0 -26
  439. package/src/cli/core/templates/saasAuthLayoutTsx.ts +0 -22
  440. package/src/cli/core/templates/saasAuthPagesTsx.ts +0 -62
  441. package/src/cli/core/templates/saasRealmProviderTs.ts +0 -52
  442. package/src/cli/platform/services/NamingService.ts +0 -54
  443. /package/dist/orm/core/{chunk-o8xxKEmq.js → chunk-B4FMCO8f.js} +0 -0
  444. /package/dist/react/testing/{chunk-6Ep1yQYe.js → chunk-BpyX8vjI.js} +0 -0
  445. /package/src/cli/{platform → platform-lib}/__tests__/GitHubSecretStore.spec.ts +0 -0
  446. /package/src/cli/{platform → platform-lib}/__tests__/PlatformCacheProvider.spec.ts +0 -0
  447. /package/src/cli/{platform → platform-lib}/__tests__/PlatformInspector.spec.ts +0 -0
  448. /package/src/cli/{platform → platform-lib}/__tests__/PlatformOrchestrator.spec.ts +0 -0
  449. /package/src/cli/{platform → platform-lib}/__tests__/SecretFilterService.spec.ts +0 -0
  450. /package/src/cli/{platform → platform-lib}/__tests__/detectResources.spec.ts +0 -0
  451. /package/src/cli/{platform → platform-lib}/providers/GitHubSecretStore.ts +0 -0
  452. /package/src/cli/{platform → platform-lib}/providers/MemorySecretStore.ts +0 -0
  453. /package/src/cli/{platform → platform-lib}/providers/PlatformCacheProvider.ts +0 -0
  454. /package/src/cli/{platform → platform-lib}/providers/SecretStoreProvider.ts +0 -0
  455. /package/src/cli/{platform → platform-lib}/schemas/cloudflare.ts +0 -0
  456. /package/src/cli/{platform → platform-lib}/schemas/platform.ts +0 -0
  457. /package/src/cli/{platform → platform-lib}/schemas/vercel.ts +0 -0
  458. /package/src/cli/{platform → platform-lib}/services/CloudflareApi.ts +0 -0
  459. /package/src/cli/{platform → platform-lib}/services/SecretFilterService.ts +0 -0
  460. /package/src/cli/{platform → platform-lib}/services/VercelApi.ts +0 -0
  461. /package/src/cli/{platform → platform-lib}/services/VercelCli.ts +0 -0
  462. /package/src/{containers → container}/core/interfaces/ContainerOptions.ts +0 -0
  463. /package/src/{containers → container}/core/providers/NodeContainerProvider.ts +0 -0
@@ -1,14 +1,10 @@
1
- import * as _$alepha from "alepha";
2
1
  import { Alepha, Static } from "alepha";
3
- import * as _$alepha_command0 from "alepha/command";
4
2
  import { CliProvider, EnvUtils, Runner, RunnerMethod } from "alepha/command";
5
- import * as _$alepha_logger0 from "alepha/logger";
6
3
  import { ConsoleColorProvider } from "alepha/logger";
7
4
  import { FileSystemProvider, ShellProvider } from "alepha/system";
8
5
  import { BrotliOptions, ZlibOptions, brotliCompress, gzip } from "node:zlib";
9
6
  import { spawn } from "node:child_process";
10
- import * as _$typebox from "typebox";
11
- import * as _$vite from "vite";
7
+ import * as vite from "vite";
12
8
  import { Logger, Plugin, ViteDevServer } from "vite";
13
9
  import { DatabaseProvider } from "alepha/orm";
14
10
 
@@ -30,6 +26,7 @@ declare const alephaPackageJson: {
30
26
  files: string[];
31
27
  dependencies: {
32
28
  "@biomejs/biome": string;
29
+ "@cloudflare/containers": string;
33
30
  "@redis/client": string;
34
31
  "@vitejs/plugin-react": string;
35
32
  dayjs: string;
@@ -175,6 +172,12 @@ declare const alephaPackageJson: {
175
172
  import: string;
176
173
  default: string;
177
174
  };
175
+ "./background": {
176
+ types: string;
177
+ workerd: string;
178
+ import: string;
179
+ default: string;
180
+ };
178
181
  "./batch": {
179
182
  types: string;
180
183
  import: string;
@@ -237,6 +240,11 @@ declare const alephaPackageJson: {
237
240
  import: string;
238
241
  default: string;
239
242
  };
243
+ "./cli/platform-lib": {
244
+ types: string;
245
+ import: string;
246
+ default: string;
247
+ };
240
248
  "./cli/vendor": {
241
249
  types: string;
242
250
  import: string;
@@ -247,7 +255,7 @@ declare const alephaPackageJson: {
247
255
  import: string;
248
256
  default: string;
249
257
  };
250
- "./containers": {
258
+ "./container": {
251
259
  types: string;
252
260
  workerd: string;
253
261
  import: string;
@@ -599,6 +607,12 @@ declare const alephaPackageJson: {
599
607
  import: string;
600
608
  default: string;
601
609
  };
610
+ "./background": {
611
+ types: string;
612
+ workerd: string;
613
+ import: string;
614
+ default: string;
615
+ };
602
616
  "./batch": {
603
617
  types: string;
604
618
  import: string;
@@ -661,6 +675,11 @@ declare const alephaPackageJson: {
661
675
  import: string;
662
676
  default: string;
663
677
  };
678
+ "./cli/platform-lib": {
679
+ types: string;
680
+ import: string;
681
+ default: string;
682
+ };
664
683
  "./cli/vendor": {
665
684
  types: string;
666
685
  import: string;
@@ -671,7 +690,7 @@ declare const alephaPackageJson: {
671
690
  import: string;
672
691
  default: string;
673
692
  };
674
- "./containers": {
693
+ "./container": {
675
694
  types: string;
676
695
  workerd: string;
677
696
  import: string;
@@ -947,10 +966,10 @@ declare const alephaPackageJson: {
947
966
  declare const version: string;
948
967
  //#endregion
949
968
  //#region ../../src/cli/core/atoms/appEntryOptions.d.ts
950
- declare const appEntryOptions: _$alepha.Atom<_$typebox.TObject<{
951
- server: _$typebox.TOptional<_$typebox.TString>;
952
- browser: _$typebox.TOptional<_$typebox.TString>;
953
- style: _$typebox.TOptional<_$typebox.TString>;
969
+ declare const appEntryOptions: import("alepha").Atom<import("typebox").TObject<{
970
+ server: import("typebox").TOptional<import("typebox").TString>;
971
+ browser: import("typebox").TOptional<import("typebox").TString>;
972
+ style: import("typebox").TOptional<import("typebox").TString>;
954
973
  }>, "alepha.cli.appEntry.options">;
955
974
  type AppEntryOptions = Static<typeof appEntryOptions.schema>;
956
975
  //#endregion
@@ -977,14 +996,14 @@ type BuildRuntime = "node" | "bun" | "workerd";
977
996
  * Defines the available build configuration options with their defaults.
978
997
  * Options can be overridden via alepha.config.ts or CLI flags.
979
998
  */
980
- declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
999
+ declare const buildOptions: import("alepha").Atom<import("typebox").TObject<{
981
1000
  /**
982
1001
  * Generate build stats report.
983
1002
  *
984
1003
  * - `true` - Generate a static HTML report
985
1004
  * - `"json"` - Generate a JSON report
986
1005
  */
987
- stats: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TUnsafe<"json">]>>;
1006
+ stats: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TBoolean, import("typebox").TUnsafe<"json">]>>;
988
1007
  /**
989
1008
  * Deployment target for the build output.
990
1009
  *
@@ -992,7 +1011,7 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
992
1011
  * - `vercel` - Generate Vercel deployment configuration (forces node runtime)
993
1012
  * - `cloudflare` - Generate Cloudflare Workers configuration (forces workerd runtime)
994
1013
  */
995
- target: _$typebox.TOptional<_$typebox.TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static">>;
1014
+ target: import("typebox").TOptional<import("typebox").TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static">>;
996
1015
  /**
997
1016
  * JavaScript runtime for the build output.
998
1017
  *
@@ -1004,23 +1023,23 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1004
1023
  * - `cloudflare` always uses `workerd`
1005
1024
  * - `vercel` always uses `node`
1006
1025
  */
1007
- runtime: _$typebox.TOptional<_$typebox.TUnsafe<"node" | "bun" | "workerd">>;
1026
+ runtime: import("typebox").TOptional<import("typebox").TUnsafe<"node" | "bun" | "workerd">>;
1008
1027
  /**
1009
1028
  * Output directory configuration.
1010
1029
  */
1011
- output: _$typebox.TOptional<_$typebox.TObject<{
1030
+ output: import("typebox").TOptional<import("typebox").TObject<{
1012
1031
  /**
1013
1032
  * Root dist directory.
1014
1033
  *
1015
1034
  * @default "dist"
1016
1035
  */
1017
- dist: _$typebox.TOptional<_$typebox.TString>;
1036
+ dist: import("typebox").TOptional<import("typebox").TString>;
1018
1037
  /**
1019
1038
  * Public/client subdirectory.
1020
1039
  *
1021
1040
  * @default "public"
1022
1041
  */
1023
- public: _$typebox.TOptional<_$typebox.TString>;
1042
+ public: import("typebox").TOptional<import("typebox").TString>;
1024
1043
  }>>;
1025
1044
  /**
1026
1045
  * Vercel-specific deployment configuration.
@@ -1028,14 +1047,14 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1028
1047
  * Note: Set `target: "vercel"` to enable Vercel deployment.
1029
1048
  * This object is only for additional configuration.
1030
1049
  */
1031
- vercel: _$typebox.TOptional<_$typebox.TObject<{
1032
- projectName: _$typebox.TOptional<_$typebox.TString>;
1033
- orgId: _$typebox.TOptional<_$typebox.TString>;
1034
- projectId: _$typebox.TOptional<_$typebox.TString>;
1035
- config: _$typebox.TOptional<_$typebox.TObject<{
1036
- crons: _$typebox.TOptional<_$typebox.TArray<_$typebox.TObject<{
1037
- path: _$typebox.TString;
1038
- schedule: _$typebox.TString;
1050
+ vercel: import("typebox").TOptional<import("typebox").TObject<{
1051
+ projectName: import("typebox").TOptional<import("typebox").TString>;
1052
+ orgId: import("typebox").TOptional<import("typebox").TString>;
1053
+ projectId: import("typebox").TOptional<import("typebox").TString>;
1054
+ config: import("typebox").TOptional<import("typebox").TObject<{
1055
+ crons: import("typebox").TOptional<import("typebox").TArray<import("typebox").TObject<{
1056
+ path: import("typebox").TString;
1057
+ schedule: import("typebox").TString;
1039
1058
  }>>>;
1040
1059
  }>>;
1041
1060
  }>>;
@@ -1045,8 +1064,8 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1045
1064
  * Note: Set `target: "cloudflare"` to enable Cloudflare deployment.
1046
1065
  * This object is only for additional configuration.
1047
1066
  */
1048
- cloudflare: _$typebox.TOptional<_$typebox.TObject<{
1049
- config: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1067
+ cloudflare: import("typebox").TOptional<import("typebox").TObject<{
1068
+ config: import("typebox").TOptional<import("typebox").TRecord<string, import("typebox").TAny>>;
1050
1069
  }>>;
1051
1070
  /**
1052
1071
  * Docker-specific deployment configuration.
@@ -1054,21 +1073,21 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1054
1073
  * Note: Set `target: "docker"` to enable Docker deployment.
1055
1074
  * This object is only for additional configuration.
1056
1075
  */
1057
- docker: _$typebox.TOptional<_$typebox.TObject<{
1076
+ docker: import("typebox").TOptional<import("typebox").TObject<{
1058
1077
  /**
1059
1078
  * Base image for the Dockerfile (FROM instruction).
1060
1079
  *
1061
1080
  * @default "node:24-alpine" for node runtime
1062
1081
  * @default "oven/bun:alpine" for bun runtime
1063
1082
  */
1064
- from: _$typebox.TOptional<_$typebox.TString>;
1083
+ from: import("typebox").TOptional<import("typebox").TString>;
1065
1084
  /**
1066
1085
  * Command to run in the Docker container.
1067
1086
  *
1068
1087
  * @default "node" for node runtime
1069
1088
  * @default "bun" for bun runtime
1070
1089
  */
1071
- command: _$typebox.TOptional<_$typebox.TString>;
1090
+ command: import("typebox").TOptional<import("typebox").TString>;
1072
1091
  /**
1073
1092
  * Extra packages to install globally in the generated image.
1074
1093
  *
@@ -1082,11 +1101,11 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1082
1101
  *
1083
1102
  * @example install: ["wrangler"]
1084
1103
  */
1085
- install: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1104
+ install: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
1086
1105
  /**
1087
1106
  * Docker build options (used when --image flag is passed).
1088
1107
  */
1089
- image: _$typebox.TOptional<_$typebox.TObject<{
1108
+ image: import("typebox").TOptional<import("typebox").TObject<{
1090
1109
  /**
1091
1110
  * Default image tag (name without version).
1092
1111
  *
@@ -1098,13 +1117,13 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1098
1117
  * @example "myproject/myapp"
1099
1118
  * @example "ghcr.io/myorg/myapp"
1100
1119
  */
1101
- tag: _$typebox.TString;
1120
+ tag: import("typebox").TString;
1102
1121
  /**
1103
1122
  * Additional arguments to pass to `docker build`.
1104
1123
  *
1105
1124
  * @example '--platform linux/amd64 --no-cache'
1106
1125
  */
1107
- args: _$typebox.TOptional<_$typebox.TString>;
1126
+ args: import("typebox").TOptional<import("typebox").TString>;
1108
1127
  /**
1109
1128
  * Auto-add OCI standard labels (revision, created, version).
1110
1129
  *
@@ -1113,7 +1132,7 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1113
1132
  * - org.opencontainers.image.created (build timestamp)
1114
1133
  * - org.opencontainers.image.version (from image tag)
1115
1134
  */
1116
- oci: _$typebox.TOptional<_$typebox.TBoolean>;
1135
+ oci: import("typebox").TOptional<import("typebox").TBoolean>;
1117
1136
  }>>;
1118
1137
  /**
1119
1138
  * Compile the server entry to a single static binary using
@@ -1130,7 +1149,7 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1130
1149
  *
1131
1150
  * Pass `true` to enable with defaults, or an object to override.
1132
1151
  */
1133
- compile: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TObject<{
1152
+ compile: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TBoolean, import("typebox").TObject<{
1134
1153
  /**
1135
1154
  * Bun target triple, e.g. `bun-linux-x64-musl`,
1136
1155
  * `bun-linux-arm64-musl`, or `bun-linux-x64-modern-musl`
@@ -1138,19 +1157,19 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1138
1157
  *
1139
1158
  * @default derived from host arch — always linux-musl.
1140
1159
  */
1141
- target: _$typebox.TOptional<_$typebox.TString>;
1160
+ target: import("typebox").TOptional<import("typebox").TString>;
1142
1161
  /**
1143
1162
  * Base image for the generated Dockerfile.
1144
1163
  *
1145
1164
  * @default "gcr.io/distroless/static-debian12"
1146
1165
  */
1147
- base: _$typebox.TOptional<_$typebox.TString>;
1166
+ base: import("typebox").TOptional<import("typebox").TString>;
1148
1167
  /**
1149
1168
  * Minify the compiled output.
1150
1169
  *
1151
1170
  * @default true
1152
1171
  */
1153
- minify: _$typebox.TOptional<_$typebox.TBoolean>;
1172
+ minify: import("typebox").TOptional<import("typebox").TBoolean>;
1154
1173
  }>]>>;
1155
1174
  }>>;
1156
1175
  /**
@@ -1158,7 +1177,7 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1158
1177
  *
1159
1178
  * Note: Set `target: "static"` to enable static site generation.
1160
1179
  */
1161
- static: _$typebox.TOptional<_$typebox.TObject<{
1180
+ static: import("typebox").TOptional<import("typebox").TObject<{
1162
1181
  /**
1163
1182
  * Surge domain for deployment.
1164
1183
  *
@@ -1168,7 +1187,7 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1168
1187
  * @example "my-app.surge.sh"
1169
1188
  * @example "my-custom-domain.com"
1170
1189
  */
1171
- domain: _$typebox.TOptional<_$typebox.TString>;
1190
+ domain: import("typebox").TOptional<import("typebox").TString>;
1172
1191
  }>>;
1173
1192
  /**
1174
1193
  * PWA (Progressive Web App) configuration.
@@ -1176,29 +1195,29 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1176
1195
  * Generates a web app manifest and enables installability.
1177
1196
  * Requires a client-side bundle (React).
1178
1197
  */
1179
- pwa: _$typebox.TOptional<_$typebox.TObject<{
1198
+ pwa: import("typebox").TOptional<import("typebox").TObject<{
1180
1199
  /**
1181
1200
  * Full application name displayed on the splash screen
1182
1201
  * and in the OS app switcher.
1183
1202
  */
1184
- name: _$typebox.TString;
1203
+ name: import("typebox").TString;
1185
1204
  /**
1186
1205
  * Short name displayed on the home screen icon.
1187
1206
  * Falls back to `name` if omitted.
1188
1207
  */
1189
- shortName: _$typebox.TOptional<_$typebox.TString>;
1208
+ shortName: import("typebox").TOptional<import("typebox").TString>;
1190
1209
  /**
1191
1210
  * Theme color used for the browser toolbar and OS chrome.
1192
1211
  *
1193
1212
  * @default "#ffffff"
1194
1213
  */
1195
- themeColor: _$typebox.TOptional<_$typebox.TString>;
1214
+ themeColor: import("typebox").TOptional<import("typebox").TString>;
1196
1215
  /**
1197
1216
  * Background color for the splash screen.
1198
1217
  *
1199
1218
  * @default "#ffffff"
1200
1219
  */
1201
- backgroundColor: _$typebox.TOptional<_$typebox.TString>;
1220
+ backgroundColor: import("typebox").TOptional<import("typebox").TString>;
1202
1221
  /**
1203
1222
  * Display mode for the installed PWA.
1204
1223
  *
@@ -1209,22 +1228,22 @@ declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
1209
1228
  *
1210
1229
  * @default "standalone"
1211
1230
  */
1212
- display: _$typebox.TOptional<_$typebox.TUnsafe<"browser" | "standalone" | "fullscreen" | "minimal-ui">>;
1231
+ display: import("typebox").TOptional<import("typebox").TUnsafe<"browser" | "standalone" | "fullscreen" | "minimal-ui">>;
1213
1232
  /**
1214
1233
  * Enable offline support via service worker.
1215
1234
  *
1216
1235
  * TODO: Not yet implemented.
1217
1236
  */
1218
- offline: _$typebox.TOptional<_$typebox.TBoolean>;
1237
+ offline: import("typebox").TOptional<import("typebox").TBoolean>;
1219
1238
  }>>;
1220
1239
  /**
1221
1240
  * Sitemap generation configuration.
1222
1241
  */
1223
- sitemap: _$typebox.TOptional<_$typebox.TObject<{
1242
+ sitemap: import("typebox").TOptional<import("typebox").TObject<{
1224
1243
  /**
1225
1244
  * Base URL for sitemap entries.
1226
1245
  */
1227
- hostname: _$typebox.TString;
1246
+ hostname: import("typebox").TString;
1228
1247
  }>>;
1229
1248
  }>, "alepha.cli.build.options">;
1230
1249
  /**
@@ -1250,12 +1269,12 @@ declare const DEFAULT_IGNORE: string[];
1250
1269
  * });
1251
1270
  * ```
1252
1271
  */
1253
- declare const changelogOptions: _$alepha.Atom<_$typebox.TObject<{
1272
+ declare const changelogOptions: import("alepha").Atom<import("typebox").TObject<{
1254
1273
  /**
1255
1274
  * Scopes to ignore (e.g., "project", "release", "chore").
1256
1275
  * Commits like `feat(chore): ...` will be excluded from changelog.
1257
1276
  */
1258
- ignore: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1277
+ ignore: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
1259
1278
  }>, "alepha.cli.changelog.options">;
1260
1279
  type ChangelogOptions = Static<typeof changelogOptions.schema>;
1261
1280
  //#endregion
@@ -1266,11 +1285,11 @@ type ChangelogOptions = Static<typeof changelogOptions.schema>;
1266
1285
  * Defines the available dev configuration options with their defaults.
1267
1286
  * Options can be overridden via alepha.config.ts or CLI flags.
1268
1287
  */
1269
- declare const devOptions: _$alepha.Atom<_$typebox.TObject<{
1288
+ declare const devOptions: import("alepha").Atom<import("typebox").TObject<{
1270
1289
  /**
1271
1290
  * Disable Vite React plugin.
1272
1291
  */
1273
- noViteReactPlugin: _$typebox.TOptional<_$typebox.TBoolean>;
1292
+ noViteReactPlugin: import("typebox").TOptional<import("typebox").TBoolean>;
1274
1293
  }>, "alepha.cli.dev.options">;
1275
1294
  /**
1276
1295
  * Type for dev options.
@@ -1351,7 +1370,7 @@ declare class ViteUtils {
1351
1370
  /**
1352
1371
  * Lazy-load Vite (with rolldown-vite fallback).
1353
1372
  */
1354
- importVite(): Promise<typeof _$vite>;
1373
+ importVite(): Promise<typeof import("vite")>;
1355
1374
  /**
1356
1375
  * Lazy-load @vitejs/plugin-react (optional).
1357
1376
  */
@@ -1381,8 +1400,8 @@ declare class ViteUtils {
1381
1400
  /**
1382
1401
  * We need to close the Vite dev server after build is done.
1383
1402
  */
1384
- protected onReady: _$alepha.HookPrimitive<"ready">;
1385
- protected onStop: _$alepha.HookPrimitive<"stop">;
1403
+ protected onReady: import("alepha").HookPrimitive<"ready">;
1404
+ protected onStop: import("alepha").HookPrimitive<"stop">;
1386
1405
  runAlepha(opts: {
1387
1406
  entry: AppEntry;
1388
1407
  mode: "production" | "development";
@@ -1411,7 +1430,7 @@ declare class ViteBuildProvider {
1411
1430
  * - Environment loading
1412
1431
  */
1413
1432
  declare class AlephaCliUtils {
1414
- protected readonly log: _$alepha_logger0.Logger;
1433
+ protected readonly log: import("alepha/logger").Logger;
1415
1434
  protected readonly fs: FileSystemProvider;
1416
1435
  protected readonly envUtils: EnvUtils;
1417
1436
  protected readonly boot: AppEntryProvider;
@@ -1514,7 +1533,7 @@ interface WorkspaceContext {
1514
1533
  * - Bun
1515
1534
  */
1516
1535
  declare class PackageManagerUtils {
1517
- protected readonly log: _$alepha_logger0.Logger;
1536
+ protected readonly log: import("alepha/logger").Logger;
1518
1537
  protected readonly fs: FileSystemProvider;
1519
1538
  protected readonly alepha: Alepha;
1520
1539
  /**
@@ -1592,12 +1611,6 @@ interface DependencyModes {
1592
1611
  react?: boolean;
1593
1612
  expo?: boolean;
1594
1613
  tailwind?: boolean;
1595
- shadcn?: boolean;
1596
- /**
1597
- * SaaS starter: implies `shadcn` + adds the alepha auth + admin registry
1598
- * components on top via `shadcn add @alepha/...`.
1599
- */
1600
- saas?: boolean;
1601
1614
  /**
1602
1615
  * Whether the project is a workspace package inside a monorepo.
1603
1616
  */
@@ -1615,10 +1628,9 @@ interface DependencyModes {
1615
1628
  * - Example code (HelloController, Home component)
1616
1629
  */
1617
1630
  declare class ProjectScaffolder {
1618
- protected readonly log: _$alepha_logger0.Logger;
1631
+ protected readonly log: import("alepha/logger").Logger;
1619
1632
  protected readonly colors: ConsoleColorProvider;
1620
1633
  protected readonly fs: FileSystemProvider;
1621
- protected readonly shell: ShellProvider;
1622
1634
  protected readonly pm: PackageManagerUtils;
1623
1635
  protected readonly utils: AlephaCliUtils;
1624
1636
  /**
@@ -1640,13 +1652,7 @@ declare class ProjectScaffolder {
1640
1652
  */
1641
1653
  checkWorkspace?: boolean;
1642
1654
  packageJson?: boolean | DependencyModes;
1643
- /**
1644
- * `true` writes a tsconfig.json if one doesn't already exist (parent
1645
- * dirs included). `"local"` writes one when none exists *in this
1646
- * directory* — used by shadcn since the CLI reads the local
1647
- * tsconfig directly for import-alias detection.
1648
- */
1649
- tsconfigJson?: boolean | "local";
1655
+ tsconfigJson?: boolean;
1650
1656
  biomeJson?: boolean;
1651
1657
  editorconfig?: boolean;
1652
1658
  agentMd?: boolean;
@@ -1658,7 +1664,6 @@ declare class ProjectScaffolder {
1658
1664
  }): Promise<void>;
1659
1665
  ensureTsConfig(root: string, opts?: {
1660
1666
  force?: boolean;
1661
- localOnly?: boolean;
1662
1667
  }): Promise<void>;
1663
1668
  ensureBiomeConfig(root: string, opts?: {
1664
1669
  force?: boolean;
@@ -1716,16 +1721,8 @@ declare class ProjectScaffolder {
1716
1721
  * - src/api/controllers/HelloController.ts (example controller)
1717
1722
  */
1718
1723
  ensureApiProject(root: string, opts?: {
1719
- saas?: boolean;
1720
1724
  force?: boolean;
1721
1725
  }): Promise<void>;
1722
- /**
1723
- * Best-effort lookup for the developer's git email — seeded as
1724
- * `ADMIN_EMAILS` in the SaaS project's `.env`. Returns undefined if git
1725
- * isn't available or `user.email` isn't configured; the caller then falls
1726
- * back to the neutral `admin@alepha.dev`.
1727
- */
1728
- protected detectGitEmail(): Promise<string | undefined>;
1729
1726
  /**
1730
1727
  * Ensure web/React project structure exists.
1731
1728
  *
@@ -1737,8 +1734,6 @@ declare class ProjectScaffolder {
1737
1734
  ensureWebProject(root: string, opts?: {
1738
1735
  api?: boolean;
1739
1736
  tailwind?: boolean;
1740
- shadcn?: boolean;
1741
- saas?: boolean;
1742
1737
  force?: boolean;
1743
1738
  }): Promise<void>;
1744
1739
  /**
@@ -1762,9 +1757,7 @@ declare class ProjectScaffolder {
1762
1757
  pm?: "yarn" | "npm" | "pnpm" | "bun";
1763
1758
  api?: boolean;
1764
1759
  react?: boolean;
1765
- tailwind?: boolean; /** boolean toggle, or a string preset id (default `b0` when bare). */
1766
- shadcn?: boolean | string; /** boolean toggle, or a string preset id (default `b0` when bare). */
1767
- saas?: boolean | string;
1760
+ tailwind?: boolean;
1768
1761
  force?: boolean;
1769
1762
  };
1770
1763
  args?: string;
@@ -1779,6 +1772,171 @@ declare class ProjectScaffolder {
1779
1772
  protected existsInParents(root: string, filename: string): Promise<boolean>;
1780
1773
  }
1781
1774
  //#endregion
1775
+ //#region ../../src/cli/core/tasks/BuildCloudflareTask.d.ts
1776
+ interface WranglerConfig {
1777
+ [key: string]: any;
1778
+ }
1779
+ /**
1780
+ * Build-time snapshot describing what the workspace needs at deploy
1781
+ * time. Written to `dist/manifest.json` alongside `wrangler.jsonc`.
1782
+ *
1783
+ * Lets `alepha platform up --prebuilt` skip the Vite-based
1784
+ * introspection step on the deploy side — and lets Alepha Rocket skip
1785
+ * the workspace's runtime `npm install` because no app source is
1786
+ * booted at deploy time. The manifest captures the bits of primitive
1787
+ * data that the deploy steps (provision, secrets, hooks) need to
1788
+ * know.
1789
+ */
1790
+ interface BuildManifest {
1791
+ version: 1;
1792
+ project: string;
1793
+ /**
1794
+ * Default environment when `--env` is omitted at deploy time.
1795
+ * Captured from `platformOptions.default` (defaults to `"production"`).
1796
+ */
1797
+ defaultEnv: string;
1798
+ /**
1799
+ * Multi-tenancy mode (`none` | `optional` | `required`). Captured from
1800
+ * `platformOptions.tenancy` so the prebuilt deploy side (Rocket) can
1801
+ * validate `--tenant` without re-evaluating `alepha.config.ts`.
1802
+ */
1803
+ tenancy?: "none" | "optional" | "required";
1804
+ /**
1805
+ * Resolved `platform({ environments: ... })` map. Captured at build
1806
+ * time from the workspace's `alepha.config.ts` so the deploy side
1807
+ * doesn't need to re-evaluate the config. Each value is the same
1808
+ * `EnvironmentConfig` shape consumed by the orchestrator (adapter,
1809
+ * domain, zone, jurisdiction, accountId).
1810
+ */
1811
+ environments: Record<string, {
1812
+ adapter: "cloudflare" | "vercel";
1813
+ domain?: string;
1814
+ zone?: string;
1815
+ jurisdiction?: "eu" | "fedramp";
1816
+ accountId?: string;
1817
+ }>;
1818
+ resources: {
1819
+ hasDatabase: boolean;
1820
+ hasBucket: boolean;
1821
+ hasKV: boolean;
1822
+ hasQueue: boolean;
1823
+ hasCron: boolean;
1824
+ };
1825
+ /**
1826
+ * All distinct cron expressions registered by `$scheduler`
1827
+ * primitives. Empty when `hasCron` is false.
1828
+ */
1829
+ crons: string[];
1830
+ /**
1831
+ * `$container()` descriptors — image, port, lifecycle settings.
1832
+ * Used both to populate Cloudflare Containers bindings in
1833
+ * wrangler.jsonc and (in future) to know which images Rocket should
1834
+ * pull on the deploy side.
1835
+ */
1836
+ containers: Array<{
1837
+ name: string;
1838
+ className: string;
1839
+ image: string;
1840
+ port: number;
1841
+ sleepAfter: string;
1842
+ instanceType: string;
1843
+ maxInstances: number;
1844
+ }>;
1845
+ /**
1846
+ * Every env var the app declares via `$env`, captured from
1847
+ * `alepha.dump().env` at build time. The deploy `secrets` step uses this
1848
+ * as the worker-secret allowlist (minus build/binding vars) so CI can
1849
+ * deliver secrets straight from `process.env` without a `.env` file —
1850
+ * `platform.secrets.keys` overrides it when set. Empty when introspection
1851
+ * was unavailable (older artifacts / prebuilt mode).
1852
+ */
1853
+ env: string[];
1854
+ }
1855
+ /**
1856
+ * Generate Cloudflare Workers deployment configuration.
1857
+ *
1858
+ * Creates:
1859
+ * - wrangler.jsonc with worker configuration
1860
+ * - main.cloudflare.js entry point for Cloudflare Workers
1861
+ */
1862
+ declare class BuildCloudflareTask extends BuildTask {
1863
+ protected readonly fs: FileSystemProvider;
1864
+ protected readonly viteUtils: ViteUtils;
1865
+ protected readonly warningComment: string;
1866
+ run(ctx: BuildTaskContext): Promise<void>;
1867
+ protected generateCloudflare(ctx: BuildTaskContext, distDir: string): Promise<void>;
1868
+ /**
1869
+ * Write `dist/manifest.json` — a build-time snapshot of everything
1870
+ * downstream tooling needs to know about the app without re-booting
1871
+ * it. Used by `alepha platform up --prebuilt` (and Alepha Rocket) so
1872
+ * the deploy path can skip the Vite-based introspection step and the
1873
+ * workspace's runtime npm install.
1874
+ */
1875
+ protected writeManifest(ctx: BuildTaskContext, root: string, distDir: string, name: string, containers: ContainerDescriptor[]): Promise<void>;
1876
+ protected enhanceDomain(wrangler: WranglerConfig): void;
1877
+ protected enhanceCron(ctx: BuildTaskContext, wrangler: WranglerConfig): void;
1878
+ protected discoverCrons(ctx: BuildTaskContext): string[];
1879
+ protected enhanceDatabase(wrangler: WranglerConfig): void;
1880
+ protected static readonly D1_BINDING = "DB";
1881
+ protected enhanceD1(wrangler: WranglerConfig): void;
1882
+ protected enhanceHyperdrive(wrangler: WranglerConfig): void;
1883
+ protected enhanceR2(wrangler: WranglerConfig): void;
1884
+ protected enhanceKV(wrangler: WranglerConfig): void;
1885
+ protected enhanceQueue(wrangler: WranglerConfig): void;
1886
+ protected enhanceEmail(ctx: BuildTaskContext, wrangler: WranglerConfig): void;
1887
+ /**
1888
+ * Discover `$container` primitives and emit the matching Cloudflare
1889
+ * Containers bindings, Durable Object bindings, and migrations into
1890
+ * `wrangler.jsonc`. The DO class declarations are added later, when
1891
+ * the worker entry point is written.
1892
+ *
1893
+ * Returns the list of container descriptors so
1894
+ * `writeWorkerEntryPoint` can emit `export class <NAME> extends
1895
+ * Container` declarations referencing them.
1896
+ */
1897
+ protected discoverContainers(ctx: BuildTaskContext): ContainerDescriptor[];
1898
+ /**
1899
+ * Expand a short image ref (e.g. `alepha-rocket:0.1.0`) into the
1900
+ * fully-qualified `registry.cloudflare.com/<account>/<image>:<tag>`
1901
+ * URL that wrangler validates at deploy time.
1902
+ *
1903
+ * Cloudflare Containers only pulls from `registry.cloudflare.com`;
1904
+ * wrangler accepts either a Dockerfile path or a fully-qualified
1905
+ * registry URL in the `image` field — not a bare DockerHub-style
1906
+ * name. We let `$container({ image })` callers write the short
1907
+ * form (it matches what `wrangler containers push <local>` accepts
1908
+ * + matches the local docker tag) and rewrite to the CF registry
1909
+ * URL here.
1910
+ *
1911
+ * Pass-through cases:
1912
+ * - already a full URL: starts with `registry.cloudflare.com/`
1913
+ * or contains a scheme/`://`
1914
+ * - looks like a Dockerfile path: starts with `./` or `/`
1915
+ */
1916
+ protected resolveContainerImage(image: string): string;
1917
+ protected enhanceContainers(ctx: BuildTaskContext, wrangler: WranglerConfig): ContainerDescriptor[];
1918
+ protected writeWorkerEntryPoint(root: string, distDir: string, containers?: ContainerDescriptor[]): Promise<void>;
1919
+ }
1920
+ interface ContainerDescriptor {
1921
+ name: string;
1922
+ className: string;
1923
+ image: string;
1924
+ port: number;
1925
+ sleepAfter: string;
1926
+ /**
1927
+ * Cloudflare Containers instance class.
1928
+ *
1929
+ * `dev` is the wrangler-pre-GA name; the platform accepts it but
1930
+ * emits a deprecation warning telling you to use `lite`. We
1931
+ * silently translate at write time (see `discoverContainers`
1932
+ * default + `enhanceContainers` write) so older
1933
+ * `$container({ instanceType: "dev" })` declarations keep working.
1934
+ */
1935
+ instanceType: "dev" | "lite" | "basic" | "standard";
1936
+ maxInstances: number;
1937
+ envVars?: Record<string, string>;
1938
+ }
1939
+ //#endregion
1782
1940
  //#region ../../src/cli/core/tasks/BuildTask.d.ts
1783
1941
  interface BuildTaskContext {
1784
1942
  /**
@@ -1814,6 +1972,34 @@ interface BuildTaskContext {
1814
1972
  * Raw CLI flags passed through from the command.
1815
1973
  * Tasks can read flags relevant to their domain.
1816
1974
  */
1975
+ /**
1976
+ * Build-time snapshot of primitive data, read from
1977
+ * `dist/manifest.json`. Populated only in `--prebuilt` mode when a
1978
+ * previous build's manifest is present — lets BuildCloudflareTask
1979
+ * regenerate `wrangler.jsonc` without re-booting the workspace.
1980
+ * `null` when introspection (`ctx.alepha`) is the source of truth.
1981
+ */
1982
+ manifest: BuildManifest | null;
1983
+ /**
1984
+ * Resolved `platform({ default, environments, ... })` options from
1985
+ * the workspace's `alepha.config.ts`. Populated by `BuildCommand`
1986
+ * from the CLI's Alepha instance (where alepha.config.ts ran) —
1987
+ * BuildCloudflareTask uses these to write the corresponding fields
1988
+ * into `dist/manifest.json` so the deploy side doesn't need to
1989
+ * re-load `alepha.config.ts`. `null` when no platform options were
1990
+ * declared.
1991
+ */
1992
+ platformOptions: {
1993
+ default?: string;
1994
+ tenancy?: "none" | "optional" | "required";
1995
+ environments?: Record<string, {
1996
+ adapter: "cloudflare" | "vercel";
1997
+ domain?: string;
1998
+ zone?: string;
1999
+ jurisdiction?: "eu" | "fedramp";
2000
+ accountId?: string;
2001
+ }>;
2002
+ } | null;
1817
2003
  flags?: {
1818
2004
  image?: boolean | string;
1819
2005
  /**
@@ -1874,57 +2060,6 @@ declare class BuildClientTask extends BuildTask {
1874
2060
  postBuildCleanUpForIndexHtml(dist?: string): Promise<void>;
1875
2061
  }
1876
2062
  //#endregion
1877
- //#region ../../src/cli/core/tasks/BuildCloudflareTask.d.ts
1878
- interface WranglerConfig {
1879
- [key: string]: any;
1880
- }
1881
- /**
1882
- * Generate Cloudflare Workers deployment configuration.
1883
- *
1884
- * Creates:
1885
- * - wrangler.jsonc with worker configuration
1886
- * - main.cloudflare.js entry point for Cloudflare Workers
1887
- */
1888
- declare class BuildCloudflareTask extends BuildTask {
1889
- protected readonly fs: FileSystemProvider;
1890
- protected readonly viteUtils: ViteUtils;
1891
- protected readonly warningComment: string;
1892
- run(ctx: BuildTaskContext): Promise<void>;
1893
- protected generateCloudflare(ctx: BuildTaskContext, distDir: string): Promise<void>;
1894
- protected enhanceDomain(wrangler: WranglerConfig): void;
1895
- protected enhanceCron(ctx: BuildTaskContext, wrangler: WranglerConfig): void;
1896
- protected enhanceDatabase(wrangler: WranglerConfig): void;
1897
- protected static readonly D1_BINDING = "DB";
1898
- protected enhanceD1(wrangler: WranglerConfig): void;
1899
- protected enhanceHyperdrive(wrangler: WranglerConfig): void;
1900
- protected enhanceR2(wrangler: WranglerConfig): void;
1901
- protected enhanceKV(wrangler: WranglerConfig): void;
1902
- protected enhanceQueue(wrangler: WranglerConfig): void;
1903
- protected enhanceEmail(ctx: BuildTaskContext, wrangler: WranglerConfig): void;
1904
- /**
1905
- * Discover `$container` primitives and emit the matching Cloudflare
1906
- * Containers bindings, Durable Object bindings, and migrations into
1907
- * `wrangler.jsonc`. The DO class declarations are added later, when
1908
- * the worker entry point is written.
1909
- *
1910
- * Returns the list of container descriptors so
1911
- * `writeWorkerEntryPoint` can emit `export class <NAME> extends
1912
- * Container` declarations referencing them.
1913
- */
1914
- protected enhanceContainers(ctx: BuildTaskContext, wrangler: WranglerConfig): ContainerDescriptor[];
1915
- protected writeWorkerEntryPoint(root: string, distDir: string, containers?: ContainerDescriptor[]): Promise<void>;
1916
- }
1917
- interface ContainerDescriptor {
1918
- name: string;
1919
- className: string;
1920
- image: string;
1921
- port: number;
1922
- sleepAfter: string;
1923
- instanceType: "dev" | "basic" | "standard";
1924
- maxInstances: number;
1925
- envVars?: Record<string, string>;
1926
- }
1927
- //#endregion
1928
2063
  //#region ../../src/cli/core/tasks/BuildCompressTask.d.ts
1929
2064
  interface CompressOptions {
1930
2065
  /**
@@ -2028,6 +2163,14 @@ declare class BuildDockerTask extends BuildTask {
2028
2163
  */
2029
2164
  protected cleanupPreCompileArtifacts(root: string, distDir: string): Promise<void>;
2030
2165
  protected copyMigrations(root: string, distDir: string): Promise<boolean>;
2166
+ /**
2167
+ * Whether the produced `dist/package.json` declares any runtime
2168
+ * dependencies. Alepha apps normally bundle everything into the
2169
+ * server entry via Vite, leaving `dependencies: {}` — in which case
2170
+ * the generated Dockerfile's `RUN npm install` is wasted work
2171
+ * (and emits deprecation noise). Skip the line when empty.
2172
+ */
2173
+ protected hasRuntimeDeps(root: string, distDir: string): Promise<boolean>;
2031
2174
  protected writeDockerfile(root: string, distDir: string, opts: {
2032
2175
  compile: ResolvedCompile | null;
2033
2176
  standard: {
@@ -2035,6 +2178,7 @@ declare class BuildDockerTask extends BuildTask {
2035
2178
  command: string;
2036
2179
  };
2037
2180
  hasMigrations: boolean;
2181
+ hasDeps: boolean;
2038
2182
  install: string[];
2039
2183
  }): Promise<void>;
2040
2184
  protected buildDockerImage(ctx: BuildTaskContext, distDir: string): Promise<void>;
@@ -2088,7 +2232,7 @@ declare class BuildPwaTask extends BuildTask {
2088
2232
  */
2089
2233
  declare class BuildServerTask extends BuildTask {
2090
2234
  protected readonly alepha: Alepha;
2091
- protected readonly log: _$alepha_logger0.Logger;
2235
+ protected readonly log: import("alepha/logger").Logger;
2092
2236
  protected readonly fs: FileSystemProvider;
2093
2237
  protected readonly viteUtils: ViteUtils;
2094
2238
  run(ctx: BuildTaskContext): Promise<void>;
@@ -2110,7 +2254,7 @@ declare class BuildServerTask extends BuildTask {
2110
2254
  protected generateExternals(distDir: string, externals: string[]): Promise<void>;
2111
2255
  protected loadJsonFile(path: string): Promise<any>;
2112
2256
  protected stripClientManifest(manifest: Record<string, any> | undefined): Record<string, any> | undefined;
2113
- protected extractEntryFromBundle(root: string, entry: string, result: _$vite.Rollup.RollupOutput | _$vite.Rollup.RollupOutput[] | _$vite.Rollup.RollupWatcher): string;
2257
+ protected extractEntryFromBundle(root: string, entry: string, result: vite.Rollup.RollupOutput | vite.Rollup.RollupOutput[] | vite.Rollup.RollupWatcher): string;
2114
2258
  }
2115
2259
  //#endregion
2116
2260
  //#region ../../src/cli/core/tasks/BuildSitemapTask.d.ts
@@ -2215,7 +2359,7 @@ declare class BuildVercelTask extends BuildTask {
2215
2359
  //#region ../../src/cli/core/commands/build.d.ts
2216
2360
  declare class BuildCommand {
2217
2361
  protected readonly alepha: Alepha;
2218
- protected readonly log: _$alepha_logger0.Logger;
2362
+ protected readonly log: import("alepha/logger").Logger;
2219
2363
  protected readonly utils: AlephaCliUtils;
2220
2364
  protected readonly pm: PackageManagerUtils;
2221
2365
  protected readonly scaffolder: ProjectScaffolder;
@@ -2279,6 +2423,20 @@ declare class BuildCommand {
2279
2423
  * Order matters — compress must be last.
2280
2424
  */
2281
2425
  protected readonly pipeline: (BuildVercelTask | BuildClientTask | BuildServerTask | BuildAssetsTask | BuildSitemapTask | BuildPwaTask | BuildPrerenderTask | BuildCloudflareTask | BuildDockerTask | BuildStaticTask | BuildCompressTask)[];
2426
+ /**
2427
+ * Value aliases accepted for `--target`.
2428
+ *
2429
+ * These let the CLI accept short forms (e.g. `--target cf`) that are
2430
+ * canonicalized to a real {@link BuildTarget} before they flow into the
2431
+ * pipeline. The enum in `flags.target` must also list the alias so it
2432
+ * passes schema validation.
2433
+ */
2434
+ protected readonly targetAliases: Record<string, BuildTarget>;
2435
+ /**
2436
+ * Canonicalize a raw `--target` value, mapping any known alias
2437
+ * (e.g. `cf` → `cloudflare`) to its real {@link BuildTarget}.
2438
+ */
2439
+ protected resolveTarget(target: string | undefined): BuildTarget | undefined;
2282
2440
  /**
2283
2441
  * Resolve the effective runtime based on target and explicit runtime flag.
2284
2442
  *
@@ -2290,15 +2448,21 @@ declare class BuildCommand {
2290
2448
  * @throws {AlephaError} If an incompatible runtime is specified for a target
2291
2449
  */
2292
2450
  protected resolveRuntime(target: BuildTarget | undefined, runtime: BuildRuntime | undefined): BuildRuntime;
2293
- readonly build: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2294
- stats: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TUnsafe<"json">]>>;
2295
- target: _$typebox.TOptional<_$typebox.TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static">>;
2296
- runtime: _$typebox.TOptional<_$typebox.TUnsafe<"node" | "bun" | "workerd">>;
2297
- image: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
2298
- compile: _$typebox.TOptional<_$typebox.TBoolean>;
2299
- prebuilt: _$typebox.TOptional<_$typebox.TBoolean>;
2300
- sitemap: _$typebox.TOptional<_$typebox.TString>;
2301
- }>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2451
+ readonly build: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2452
+ stats: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TBoolean, import("typebox").TUnsafe<"json">]>>;
2453
+ target: import("typebox").TOptional<import("typebox").TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static" | "cf">>;
2454
+ runtime: import("typebox").TOptional<import("typebox").TUnsafe<"node" | "bun" | "workerd">>;
2455
+ image: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TBoolean, import("typebox").TString]>>;
2456
+ compile: import("typebox").TOptional<import("typebox").TBoolean>;
2457
+ prebuilt: import("typebox").TOptional<import("typebox").TBoolean>;
2458
+ sitemap: import("typebox").TOptional<import("typebox").TString>;
2459
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2460
+ /**
2461
+ * Read `dist/manifest.json` produced by a previous `alepha build`.
2462
+ * Returns null when absent or unparseable — caller falls back to the
2463
+ * Vite-introspection path.
2464
+ */
2465
+ protected loadManifest(root: string): Promise<BuildManifest | null>;
2302
2466
  }
2303
2467
  //#endregion
2304
2468
  //#region ../../src/cli/core/commands/clean.d.ts
@@ -2306,12 +2470,12 @@ declare class CleanCommand {
2306
2470
  /**
2307
2471
  * Clean the project, removing the "dist" directory
2308
2472
  */
2309
- readonly clean: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2473
+ readonly clean: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2310
2474
  }
2311
2475
  //#endregion
2312
2476
  //#region ../../src/cli/core/commands/db.d.ts
2313
2477
  declare class DbCommand {
2314
- protected readonly log: _$alepha_logger0.Logger;
2478
+ protected readonly log: import("alepha/logger").Logger;
2315
2479
  protected readonly fs: FileSystemProvider;
2316
2480
  protected readonly utils: AlephaCliUtils;
2317
2481
  protected readonly pm: PackageManagerUtils;
@@ -2321,44 +2485,44 @@ declare class DbCommand {
2321
2485
  /**
2322
2486
  * Check if database migrations are up to date.
2323
2487
  */
2324
- protected readonly check: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2325
- provider: _$typebox.TOptional<_$typebox.TString>;
2326
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2488
+ protected readonly check: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2489
+ provider: import("typebox").TOptional<import("typebox").TString>;
2490
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2327
2491
  /**
2328
2492
  * Generate database migration files
2329
2493
  */
2330
- protected readonly create: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2331
- provider: _$typebox.TOptional<_$typebox.TString>;
2332
- custom: _$typebox.TOptional<_$typebox.TBoolean>;
2333
- name: _$typebox.TOptional<_$typebox.TString>;
2334
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2494
+ protected readonly create: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2495
+ provider: import("typebox").TOptional<import("typebox").TString>;
2496
+ custom: import("typebox").TOptional<import("typebox").TBoolean>;
2497
+ name: import("typebox").TOptional<import("typebox").TString>;
2498
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2335
2499
  /**
2336
2500
  * Push database schema changes directly to the database
2337
2501
  */
2338
- protected readonly push: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2339
- provider: _$typebox.TOptional<_$typebox.TString>;
2340
- dryRun: _$typebox.TOptional<_$typebox.TBoolean>;
2341
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2502
+ protected readonly push: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2503
+ provider: import("typebox").TOptional<import("typebox").TString>;
2504
+ dryRun: import("typebox").TOptional<import("typebox").TBoolean>;
2505
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2342
2506
  /**
2343
2507
  * Apply pending database migrations
2344
2508
  */
2345
- protected readonly apply: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2346
- provider: _$typebox.TOptional<_$typebox.TString>;
2347
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2509
+ protected readonly apply: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2510
+ provider: import("typebox").TOptional<import("typebox").TString>;
2511
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2348
2512
  /**
2349
2513
  * Launch Drizzle Studio database browser
2350
2514
  */
2351
- protected readonly studio: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2352
- provider: _$typebox.TOptional<_$typebox.TString>;
2353
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2515
+ protected readonly studio: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2516
+ provider: import("typebox").TOptional<import("typebox").TString>;
2517
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2354
2518
  /**
2355
2519
  * Parent command for migration operations.
2356
2520
  */
2357
- protected readonly migrations: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2521
+ protected readonly migrations: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2358
2522
  /**
2359
2523
  * Parent command for database operations.
2360
2524
  */
2361
- readonly db: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2525
+ readonly db: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2362
2526
  /**
2363
2527
  * Run a drizzle-kit command for all database providers in an Alepha instance.
2364
2528
  */
@@ -2433,7 +2597,7 @@ type OnAlephaLoadedHook = (alepha: Alepha, server: ViteDevServer) => Promise<voi
2433
2597
  * - Shared changes → Reload Alepha → Let HMR propagate
2434
2598
  */
2435
2599
  declare class ViteDevServerProvider {
2436
- protected readonly log: _$alepha_logger0.Logger;
2600
+ protected readonly log: import("alepha/logger").Logger;
2437
2601
  protected readonly fs: FileSystemProvider;
2438
2602
  protected readonly colors: ConsoleColorProvider;
2439
2603
  protected readonly viteUtils: ViteUtils;
@@ -2553,7 +2717,17 @@ declare class ViteDevServerProvider {
2553
2717
  */
2554
2718
  protected setupEnvironment(): Promise<void>;
2555
2719
  /**
2556
- * Invalidate modules and all their importers.
2720
+ * Invalidate modules and all their importers, across both client and
2721
+ * SSR module graphs.
2722
+ *
2723
+ * Vite registers a file under multiple module ids (one per query
2724
+ * variant — e.g. `?v=…`, `?import` and the bare path), and `getModuleById`
2725
+ * only matches one. For workspace-linked source files (`@alepha/ui/...`)
2726
+ * the SSR-graph entry is keyed by the absolute path while the client
2727
+ * may use the package-qualified id. `getModulesByFile` returns every
2728
+ * variant Vite knows about for a given absolute path — invalidating
2729
+ * each catches both halves of the dual graph and prevents stale SSR
2730
+ * compiled exports from surviving across edits.
2557
2731
  */
2558
2732
  protected invalidateModulesWithImporters(changedFiles: Set<string>): void;
2559
2733
  /**
@@ -2588,7 +2762,7 @@ declare class ViteDevServerProvider {
2588
2762
  //#endregion
2589
2763
  //#region ../../src/cli/core/commands/dev.d.ts
2590
2764
  declare class DevCommand {
2591
- protected readonly log: _$alepha_logger0.Logger;
2765
+ protected readonly log: import("alepha/logger").Logger;
2592
2766
  protected readonly fs: FileSystemProvider;
2593
2767
  protected readonly utils: AlephaCliUtils;
2594
2768
  protected readonly pm: PackageManagerUtils;
@@ -2605,9 +2779,9 @@ declare class DevCommand {
2605
2779
  * When run from a workspace root (with apps/ directory), spawns all apps in parallel.
2606
2780
  * When run from an app directory, starts a single Vite dev server.
2607
2781
  */
2608
- readonly dev: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2609
- only: _$typebox.TOptional<_$typebox.TString>;
2610
- }>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2782
+ readonly dev: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2783
+ only: import("typebox").TOptional<import("typebox").TString>;
2784
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2611
2785
  /**
2612
2786
  * Discover apps in the workspace root.
2613
2787
  *
@@ -2658,7 +2832,7 @@ declare class DevCommand {
2658
2832
  * - `feat(cli): add command` → included
2659
2833
  */
2660
2834
  declare class GitMessageParser {
2661
- protected readonly log: _$alepha_logger0.Logger;
2835
+ protected readonly log: import("alepha/logger").Logger;
2662
2836
  /**
2663
2837
  * Parse a git commit line into a structured Commit object.
2664
2838
  *
@@ -2702,7 +2876,7 @@ interface ChangelogEntry {
2702
2876
  * - `alepha gen changelog | tee -a CHANGELOG.md` - Append to file
2703
2877
  */
2704
2878
  declare class ChangelogCommand {
2705
- protected readonly log: _$alepha_logger0.Logger;
2879
+ protected readonly log: import("alepha/logger").Logger;
2706
2880
  protected readonly git: GitProvider;
2707
2881
  protected readonly parser: GitMessageParser;
2708
2882
  protected readonly config: Readonly<{
@@ -2730,30 +2904,30 @@ declare class ChangelogCommand {
2730
2904
  * Get the latest version tag.
2731
2905
  */
2732
2906
  protected getLatestTag(git: (cmd: string) => Promise<string>): Promise<string | null>;
2733
- readonly command: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2907
+ readonly command: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2734
2908
  /**
2735
2909
  * Show changes from this ref (tag, commit, branch).
2736
2910
  * Defaults to the latest version tag.
2737
2911
  * Example: --from=1.0.0
2738
2912
  */
2739
- from: _$typebox.TOptional<_$typebox.TString>;
2913
+ from: import("typebox").TOptional<import("typebox").TString>;
2740
2914
  /**
2741
2915
  * Show changes up to this ref (tag, commit, branch).
2742
2916
  * Defaults to HEAD.
2743
2917
  * Example: --to=main
2744
2918
  */
2745
- to: _$typebox.TOptional<_$typebox.TString>;
2746
- }>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2919
+ to: import("typebox").TOptional<import("typebox").TString>;
2920
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2747
2921
  }
2748
2922
  //#endregion
2749
2923
  //#region ../../src/cli/core/commands/gen/openapi.d.ts
2750
2924
  declare class OpenApiCommand {
2751
- protected readonly log: _$alepha_logger0.Logger;
2925
+ protected readonly log: import("alepha/logger").Logger;
2752
2926
  protected readonly utils: AlephaCliUtils;
2753
2927
  protected readonly fs: FileSystemProvider;
2754
- readonly command: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2755
- out: _$typebox.TOptional<_$typebox.TString>;
2756
- }>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2928
+ readonly command: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2929
+ out: import("typebox").TOptional<import("typebox").TString>;
2930
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2757
2931
  }
2758
2932
  //#endregion
2759
2933
  //#region ../../src/cli/core/commands/init.d.ts
@@ -2763,46 +2937,75 @@ declare class InitCommand {
2763
2937
  * Ensure the project has the necessary Alepha configuration files.
2764
2938
  * Add the correct dependencies to package.json and install them.
2765
2939
  */
2766
- readonly init: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2767
- pm: _$typebox.TOptional<_$typebox.TUnsafe<"bun" | "yarn" | "npm" | "pnpm">>;
2768
- api: _$typebox.TOptional<_$typebox.TBoolean>;
2769
- react: _$typebox.TOptional<_$typebox.TBoolean>;
2770
- tailwind: _$typebox.TOptional<_$typebox.TBoolean>;
2771
- shadcn: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
2772
- saas: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
2773
- force: _$typebox.TOptional<_$typebox.TBoolean>;
2774
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
2940
+ readonly init: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2941
+ pm: import("typebox").TOptional<import("typebox").TUnsafe<"bun" | "yarn" | "npm" | "pnpm">>;
2942
+ api: import("typebox").TOptional<import("typebox").TBoolean>;
2943
+ react: import("typebox").TOptional<import("typebox").TBoolean>;
2944
+ tailwind: import("typebox").TOptional<import("typebox").TBoolean>;
2945
+ force: import("typebox").TOptional<import("typebox").TBoolean>;
2946
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<import("typebox").TProperties>>;
2775
2947
  }
2776
2948
  //#endregion
2777
2949
  //#region ../../src/cli/core/commands/lint.d.ts
2778
2950
  declare class LintCommand {
2779
2951
  protected readonly utils: AlephaCliUtils;
2780
2952
  protected readonly scaffolder: ProjectScaffolder;
2781
- readonly lint: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2953
+ readonly lint: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2954
+ }
2955
+ //#endregion
2956
+ //#region ../../src/cli/core/commands/pack.d.ts
2957
+ /**
2958
+ * Pack the workspace into a deployable `tar.gz`.
2959
+ *
2960
+ * The tar contains everything a remote runner (Alepha Rocket, or any
2961
+ * `alepha platform <op> --prebuilt` consumer) needs to deploy the app:
2962
+ *
2963
+ * dist/ pre-built output (incl. manifest.json)
2964
+ * migrations/ SQL files (if present)
2965
+ *
2966
+ * No source, no `alepha.config.ts`, no `package.json` — the deploy
2967
+ * side reads everything from `dist/manifest.json` and never touches
2968
+ * source. Excludes: `node_modules`, `.DS_Store`, macOS AppleDouble
2969
+ * (`._*`), `.alepha` build cache, `e2e`, `playwright-report`,
2970
+ * `coverage`.
2971
+ *
2972
+ * Output name: `<project-name>-<tag>.tar.gz` (default tag
2973
+ * "latest"). Project name comes from `package.json.name`. Naming
2974
+ * mirrors Docker tags — same artifact, different tag = different
2975
+ * file.
2976
+ */
2977
+ declare class PackCommand {
2978
+ protected readonly log: import("alepha/logger").Logger;
2979
+ protected readonly fs: FileSystemProvider;
2980
+ protected readonly shell: ShellProvider;
2981
+ readonly pack: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2982
+ tag: import("typebox").TOptional<import("typebox").TString>;
2983
+ output: import("typebox").TOptional<import("typebox").TString>;
2984
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2782
2985
  }
2783
2986
  //#endregion
2784
2987
  //#region ../../src/cli/core/commands/root.d.ts
2785
2988
  declare class RootCommand {
2786
- protected readonly log: _$alepha_logger0.Logger;
2989
+ protected readonly log: import("alepha/logger").Logger;
2787
2990
  protected readonly cli: CliProvider;
2788
2991
  protected readonly alepha: Alepha;
2789
2992
  protected readonly color: ConsoleColorProvider;
2790
2993
  /**
2791
2994
  * Called when no command is provided
2792
2995
  */
2793
- readonly root: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2794
- version: _$typebox.TOptional<_$typebox.TBoolean>;
2795
- }>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
2996
+ readonly root: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
2997
+ version: import("typebox").TOptional<import("typebox").TBoolean>;
2998
+ }>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2796
2999
  }
2797
3000
  //#endregion
2798
3001
  //#region ../../src/cli/core/commands/test.d.ts
2799
3002
  declare class TestCommand {
2800
3003
  protected readonly utils: AlephaCliUtils;
2801
3004
  protected readonly scaffolder: ProjectScaffolder;
2802
- readonly test: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
2803
- config: _$typebox.TOptional<_$typebox.TString>;
2804
- }>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<{
2805
- VITEST_ARGS: _$typebox.TOptional<_$typebox.TString>;
3005
+ readonly test: import("alepha/command").CommandPrimitive<import("typebox").TObject<{
3006
+ config: import("typebox").TOptional<import("typebox").TString>;
3007
+ }>, import("typebox").TOptional<import("typebox").TString>, import("typebox").TObject<{
3008
+ VITEST_ARGS: import("typebox").TOptional<import("typebox").TString>;
2806
3009
  }>>;
2807
3010
  }
2808
3011
  //#endregion
@@ -2813,7 +3016,7 @@ declare class TypecheckCommand {
2813
3016
  /**
2814
3017
  * Run TypeScript type checking across the codebase with no emit.
2815
3018
  */
2816
- readonly typecheck: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
3019
+ readonly typecheck: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2817
3020
  }
2818
3021
  //#endregion
2819
3022
  //#region ../../src/cli/core/commands/verify.d.ts
@@ -2833,14 +3036,14 @@ declare class VerifyCommand {
2833
3036
  * - Build the project
2834
3037
  * - Clean the project again
2835
3038
  */
2836
- readonly verify: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
3039
+ readonly verify: import("alepha/command").CommandPrimitive<import("typebox").TObject<import("typebox").TProperties>, import("typebox").TSchema, import("typebox").TObject<import("typebox").TProperties>>;
2837
3040
  }
2838
3041
  //#endregion
2839
3042
  //#region ../../src/cli/core/providers/AlephaCliExtensionProvider.d.ts
2840
3043
  declare class AlephaCliExtensionProvider {
2841
3044
  protected readonly alepha: Alepha;
2842
3045
  protected readonly fs: FileSystemProvider;
2843
- protected readonly onConfigure: _$alepha.HookPrimitive<"configure">;
3046
+ protected readonly onConfigure: import("alepha").HookPrimitive<"configure">;
2844
3047
  }
2845
3048
  //#endregion
2846
3049
  //#region ../../src/cli/core/index.d.ts
@@ -2848,11 +3051,11 @@ declare class AlephaCliExtensionProvider {
2848
3051
  * Services, providers, and build tasks — no commands.
2849
3052
  * Use this module when you need CLI utilities without registering commands.
2850
3053
  */
2851
- declare const AlephaCliServices: _$alepha.Service<_$alepha.Module>;
3054
+ declare const AlephaCliServices: import("alepha").Service<import("alepha").Module>;
2852
3055
  /**
2853
3056
  * Full CLI module — all services and commands.
2854
3057
  */
2855
- declare const AlephaCli: _$alepha.Service<_$alepha.Module>;
3058
+ declare const AlephaCli: import("alepha").Service<import("alepha").Module>;
2856
3059
  //#endregion
2857
- export { AlephaCli, AlephaCliExtensionProvider, AlephaCliServices, AlephaCliUtils, AppEntry, AppEntryOptions, AppEntryProvider, BufferedLogger, BuildAssetsTask, BuildClientTask, BuildCloudflareTask, BuildCommand, BuildCompressTask, BuildDockerTask, BuildOptions, BuildPrerenderTask, BuildRuntime, BuildServerTask, BuildSitemapTask, BuildStaticTask, BuildTarget, BuildTask, BuildTaskContext, BuildVercelTask, ChangelogCommand, type ChangelogOptions, CleanCommand, Commit, CompressOptions, DEFAULT_IGNORE, DbCommand, DependencyModes, DevCommand, DevOptions, DevServerOptions, GitMessageParser, GitProvider, InitCommand, LintCommand, OnAlephaLoadedHook, OpenApiCommand, PackageManagerUtils, PreloadManifest, ProjectScaffolder, RootCommand, TestCommand, TypecheckCommand, VerifyCommand, ViteBuildProvider, ViteDevServerProvider, ViteUtils, WorkspaceContext, alephaPackageJson, appEntryOptions, buildOptions, changelogOptions, devOptions, version };
3060
+ export { AlephaCli, AlephaCliExtensionProvider, AlephaCliServices, AlephaCliUtils, AppEntry, AppEntryOptions, AppEntryProvider, BufferedLogger, BuildAssetsTask, BuildClientTask, BuildCloudflareTask, BuildCommand, BuildCompressTask, BuildDockerTask, BuildManifest, BuildOptions, BuildPrerenderTask, BuildRuntime, BuildServerTask, BuildSitemapTask, BuildStaticTask, BuildTarget, BuildTask, BuildTaskContext, BuildVercelTask, ChangelogCommand, ChangelogOptions, CleanCommand, Commit, CompressOptions, DEFAULT_IGNORE, DbCommand, DependencyModes, DevCommand, DevOptions, DevServerOptions, GitMessageParser, GitProvider, InitCommand, LintCommand, OnAlephaLoadedHook, OpenApiCommand, PackCommand, PackageManagerUtils, PreloadManifest, ProjectScaffolder, RootCommand, TestCommand, TypecheckCommand, VerifyCommand, ViteBuildProvider, ViteDevServerProvider, ViteUtils, WorkspaceContext, alephaPackageJson, appEntryOptions, buildOptions, changelogOptions, devOptions, version };
2858
3061
  //# sourceMappingURL=index.d.ts.map