better-supabase 0.58.3 → 0.59.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 (442) hide show
  1. package/dist/{adapter-base-BbnpIsy4.js → adapter-base-BAjra5Eb.js} +1 -1
  2. package/dist/{ai-schedules-D47O_Vlo.d.ts → ai-schedules-BxBsTpji.d.ts} +1 -1
  3. package/dist/{api-DsFkhsYI.js → api-DAJJ7N_0.js} +1 -1
  4. package/dist/{app-tables-IXL0Hzut.d.ts → app-tables-DBmFqdFN.d.ts} +1 -1
  5. package/dist/astro/index.js +3 -3
  6. package/dist/{bind-BRkDWXXk.d.ts → bind-Bx0H1vAc.d.ts} +2 -2
  7. package/dist/{block-env-I8juWoVO.d.ts → block-env-DUn5reXc.d.ts} +2 -2
  8. package/dist/{block-tables-DmDyNlJf.d.ts → block-tables-BaLXCQha.d.ts} +1 -1
  9. package/dist/blocks/access-requests/index.d.ts +1 -1
  10. package/dist/blocks/accounting/index.d.ts +1 -1
  11. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  12. package/dist/blocks/activities/index.d.ts +2 -2
  13. package/dist/blocks/advisories/index.d.ts +1 -1
  14. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  15. package/dist/blocks/agents/index.d.ts +1 -1
  16. package/dist/blocks/ai-cache/index.d.ts +1 -1
  17. package/dist/blocks/ai-chat/index.d.ts +1 -1
  18. package/dist/blocks/ai-evals/index.d.ts +1 -1
  19. package/dist/blocks/ai-files/index.d.ts +1 -1
  20. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  21. package/dist/blocks/ai-keys/index.d.ts +1 -1
  22. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  23. package/dist/blocks/announcements/index.d.ts +2 -2
  24. package/dist/blocks/api-keys/index.d.ts +1 -1
  25. package/dist/blocks/appraisals/index.d.ts +1 -1
  26. package/dist/blocks/approvals/index.d.ts +1 -1
  27. package/dist/blocks/assets/index.d.ts +1 -1
  28. package/dist/blocks/assignment/index.d.ts +1 -1
  29. package/dist/blocks/attachments/index.d.ts +3 -3
  30. package/dist/blocks/audit/index.d.ts +2 -2
  31. package/dist/blocks/automations/index.d.ts +3 -3
  32. package/dist/blocks/banking/index.d.ts +1 -1
  33. package/dist/blocks/billable-time/index.d.ts +1 -1
  34. package/dist/blocks/billing/index.d.ts +2 -2
  35. package/dist/blocks/bookings/index.d.ts +2 -2
  36. package/dist/blocks/bulk-actions/index.d.ts +2 -2
  37. package/dist/blocks/calendar/index.d.ts +3 -3
  38. package/dist/blocks/care/index.d.ts +27 -27
  39. package/dist/blocks/care-plans/index.d.ts +2 -2
  40. package/dist/blocks/cases/index.d.ts +2 -2
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +1 -1
  43. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  44. package/dist/blocks/cms/index.d.ts +5 -5
  45. package/dist/blocks/collaboration/index.d.ts +6 -6
  46. package/dist/blocks/collections/index.d.ts +1 -1
  47. package/dist/blocks/comments/index.d.ts +1 -1
  48. package/dist/blocks/commerce/index.d.ts +5 -5
  49. package/dist/blocks/commissions/index.d.ts +1 -1
  50. package/dist/blocks/compliance/index.d.ts +1 -1
  51. package/dist/blocks/connectors/index.d.ts +1 -1
  52. package/dist/blocks/consents/index.d.ts +2 -2
  53. package/dist/blocks/contacts/index.d.ts +2 -2
  54. package/dist/blocks/content/index.d.ts +1 -1
  55. package/dist/blocks/contracts/index.d.ts +1 -1
  56. package/dist/blocks/courses/index.d.ts +2 -2
  57. package/dist/blocks/created-by/index.d.ts +1 -1
  58. package/dist/blocks/crm/index.d.ts +16 -16
  59. package/dist/blocks/custom-fields/index.d.ts +1 -1
  60. package/dist/blocks/dam/index.d.ts +2 -2
  61. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  62. package/dist/blocks/deadlines/index.d.ts +1 -1
  63. package/dist/blocks/deals/index.d.ts +1 -1
  64. package/dist/blocks/dispatch/index.d.ts +1 -1
  65. package/dist/blocks/document-templates/index.d.ts +1 -1
  66. package/dist/blocks/documents/index.d.ts +1 -1
  67. package/dist/blocks/domains/index.d.ts +1 -1
  68. package/dist/blocks/donations/index.d.ts +1 -1
  69. package/dist/blocks/drive/index.d.ts +5 -5
  70. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  71. package/dist/blocks/employees/index.d.ts +1 -1
  72. package/dist/blocks/enrichment/index.d.ts +1 -1
  73. package/dist/blocks/enrollments/index.d.ts +1 -1
  74. package/dist/blocks/entitlements/index.d.ts +3 -3
  75. package/dist/blocks/events/index.d.ts +3 -3
  76. package/dist/blocks/expenses/index.d.ts +1 -1
  77. package/dist/blocks/field-history/index.d.ts +1 -1
  78. package/dist/blocks/filespace/index.d.ts +8 -8
  79. package/dist/blocks/finance/index.d.ts +5 -5
  80. package/dist/blocks/flags/index.d.ts +1 -1
  81. package/dist/blocks/forecasts/index.d.ts +1 -1
  82. package/dist/blocks/forms/index.d.ts +3 -3
  83. package/dist/blocks/funding/index.d.ts +2 -2
  84. package/dist/blocks/goals/index.d.ts +1 -1
  85. package/dist/blocks/governance/index.d.ts +4 -4
  86. package/dist/blocks/guests/index.d.ts +1 -1
  87. package/dist/blocks/hiring/index.d.ts +1 -1
  88. package/dist/blocks/identities/index.d.ts +1 -1
  89. package/dist/blocks/imports/index.d.ts +1 -1
  90. package/dist/blocks/inbox/index.d.ts +3 -3
  91. package/dist/blocks/incidents/index.d.ts +1 -1
  92. package/dist/blocks/index.d.ts +2 -2
  93. package/dist/blocks/inspections/index.d.ts +1 -1
  94. package/dist/blocks/inventory/index.d.ts +1 -1
  95. package/dist/blocks/invoices/index.d.ts +1 -1
  96. package/dist/blocks/knowledge/index.d.ts +1 -1
  97. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  98. package/dist/blocks/learning/index.d.ts +3 -3
  99. package/dist/blocks/leases/index.d.ts +1 -1
  100. package/dist/blocks/leave/index.d.ts +1 -1
  101. package/dist/blocks/ledger/index.d.ts +1 -1
  102. package/dist/blocks/legal-entities/index.d.ts +1 -1
  103. package/dist/blocks/lims/index.d.ts +1 -1
  104. package/dist/blocks/mail-sync/index.d.ts +2 -2
  105. package/dist/blocks/maintenance/index.d.ts +2 -2
  106. package/dist/blocks/manufacturing/index.d.ts +1 -1
  107. package/dist/blocks/medications/index.d.ts +1 -1
  108. package/dist/blocks/meetings/index.d.ts +2 -2
  109. package/dist/blocks/memberships/index.d.ts +1 -1
  110. package/dist/blocks/memory/index.d.ts +1 -1
  111. package/dist/blocks/messaging/index.d.ts +2 -2
  112. package/dist/blocks/metrics/index.d.ts +1 -1
  113. package/dist/blocks/mfa/index.d.ts +2 -2
  114. package/dist/blocks/moderation/index.d.ts +1 -1
  115. package/dist/blocks/notifications/index.d.ts +3 -3
  116. package/dist/blocks/numbering/index.d.ts +1 -1
  117. package/dist/blocks/oauth-server/index.d.ts +1 -1
  118. package/dist/blocks/observations/index.d.ts +2 -2
  119. package/dist/blocks/onboarding/index.d.ts +2 -2
  120. package/dist/blocks/option-sets/index.d.ts +2 -2
  121. package/dist/blocks/orders/index.d.ts +1 -1
  122. package/dist/blocks/organizations/index.d.ts +1 -1
  123. package/dist/blocks/outbox/index.d.ts +1 -1
  124. package/dist/blocks/passes/index.d.ts +1 -1
  125. package/dist/blocks/payroll-export/index.d.ts +2 -2
  126. package/dist/blocks/people/index.d.ts +7 -7
  127. package/dist/blocks/periods/index.d.ts +1 -1
  128. package/dist/blocks/permissions/index.d.ts +3 -3
  129. package/dist/blocks/pipelines/index.d.ts +2 -2
  130. package/dist/blocks/posts/index.d.ts +1 -1
  131. package/dist/blocks/procurement/index.d.ts +5 -5
  132. package/dist/blocks/profiles/index.d.ts +1 -1
  133. package/dist/blocks/projects/index.d.ts +7 -7
  134. package/dist/blocks/promotions/index.d.ts +1 -1
  135. package/dist/blocks/prompts/index.d.ts +1 -1
  136. package/dist/blocks/push/index.d.ts +1 -1
  137. package/dist/blocks/qualifications/index.d.ts +2 -2
  138. package/dist/blocks/queue/index.d.ts +2 -2
  139. package/dist/blocks/quotes/index.d.ts +1 -1
  140. package/dist/blocks/rank/index.d.ts +1 -1
  141. package/dist/blocks/reactions/index.d.ts +2 -2
  142. package/dist/blocks/recruiting/index.d.ts +4 -4
  143. package/dist/blocks/referrals/index.d.ts +1 -1
  144. package/dist/blocks/relations/index.d.ts +1 -1
  145. package/dist/blocks/reminders/index.d.ts +1 -1
  146. package/dist/blocks/reviews/index.d.ts +1 -1
  147. package/dist/blocks/rfqs/index.d.ts +2 -2
  148. package/dist/blocks/risks/index.d.ts +1 -1
  149. package/dist/blocks/saas/index.d.ts +12 -12
  150. package/dist/blocks/sales/index.d.ts +1 -1
  151. package/dist/blocks/saved-views/index.d.ts +2 -2
  152. package/dist/blocks/scheduling/index.d.ts +4 -4
  153. package/dist/blocks/scores/index.d.ts +1 -1
  154. package/dist/blocks/search/index.d.ts +2 -2
  155. package/dist/blocks/security-events/index.d.ts +1 -1
  156. package/dist/blocks/segments/index.d.ts +1 -1
  157. package/dist/blocks/sequences/index.d.ts +2 -2
  158. package/dist/blocks/service/index.d.ts +7 -7
  159. package/dist/blocks/service-accounts/index.d.ts +1 -1
  160. package/dist/blocks/sessions/index.d.ts +2 -2
  161. package/dist/blocks/settings/index.d.ts +2 -2
  162. package/dist/blocks/share-links/index.d.ts +1 -1
  163. package/dist/blocks/shifts/index.d.ts +2 -2
  164. package/dist/blocks/shipments/index.d.ts +1 -1
  165. package/dist/blocks/signatures/index.d.ts +1 -1
  166. package/dist/blocks/signing-keys/index.d.ts +1 -1
  167. package/dist/blocks/sla/index.d.ts +1 -1
  168. package/dist/blocks/sso/index.d.ts +1 -1
  169. package/dist/blocks/state-machine/index.d.ts +1 -1
  170. package/dist/blocks/subjects/index.d.ts +2 -2
  171. package/dist/blocks/support/index.d.ts +5 -5
  172. package/dist/blocks/tags/index.d.ts +2 -2
  173. package/dist/blocks/tasks/index.d.ts +2 -2
  174. package/dist/blocks/tax/index.d.ts +2 -2
  175. package/dist/blocks/teams/index.d.ts +1 -1
  176. package/dist/blocks/templates/index.d.ts +1 -1
  177. package/dist/blocks/tills/index.d.ts +1 -1
  178. package/dist/blocks/time-entries/index.d.ts +2 -2
  179. package/dist/blocks/timeline/index.d.ts +1 -1
  180. package/dist/blocks/trash/index.d.ts +1 -1
  181. package/dist/blocks/undo/index.d.ts +2 -2
  182. package/dist/blocks/updated-at/index.d.ts +1 -1
  183. package/dist/blocks/usage/index.d.ts +2 -2
  184. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  185. package/dist/blocks/versions/index.d.ts +1 -1
  186. package/dist/blocks/waitlist/index.d.ts +1 -1
  187. package/dist/blocks/warehouse/index.d.ts +1 -1
  188. package/dist/blocks/warranty/index.d.ts +1 -1
  189. package/dist/blocks/webhooks/index.d.ts +1 -1
  190. package/dist/blocks/workflow-editor/index.d.ts +2 -2
  191. package/dist/blocks/workflows/index.d.ts +2 -2
  192. package/dist/{build-Cb9yLxtS.js → build-Rz89mkdS.js} +1 -1
  193. package/dist/claims/index.d.ts +4 -4
  194. package/dist/{claims-source-CXAtLZ9_.d.ts → claims-source-BEVTXHQx.d.ts} +1 -1
  195. package/dist/cli/{add-BQZyQh4f.js → add-BJNTq7Ti.js} +2 -2
  196. package/dist/cli/add-C04PIE9H.js +1 -0
  197. package/dist/cli/{add-dbBQf6Vy.js → add-CnCt2QoB.js} +11 -11
  198. package/dist/cli/{app-table-files-CITEmvRS.js → app-table-files-CfB0_NuX.js} +4 -4
  199. package/dist/cli/{app-tables-BBqu3dow.js → app-tables-oieRU_sP.js} +2 -2
  200. package/dist/cli/{backfill-bBk3QjfK.js → backfill-Cr5jgVi1.js} +3 -3
  201. package/dist/cli/bin.js +1 -1
  202. package/dist/cli/{blocks-D-DV2aCE.js → blocks-B-ANsRnH.js} +1 -1
  203. package/dist/cli/{blocks-CsQNweG8.js → blocks-DLMVaOFG.js} +1 -1
  204. package/dist/cli/{cache-sR8AQqSV.js → cache-Ba26VW2N.js} +1 -1
  205. package/dist/cli/{codemod-naming-BLoVSmVF.js → codemod-naming-CZhndoO7.js} +1 -1
  206. package/dist/cli/{codemod-BkPcyPnF.js → codemod-x1I7Mjr3.js} +6 -6
  207. package/dist/cli/{column-renames-brM-D_th.js → column-renames-BEEDF6P6.js} +2 -2
  208. package/dist/cli/{config-NxPVkM-K.js → config-DD_MnPRL.js} +1 -0
  209. package/dist/cli/{config-BGh7rJwA.js → config-DkjilxeE.js} +1 -1
  210. package/dist/cli/{content-mapper-DMi2HOKi.js → content-mapper-z7CrnE1s.js} +1 -1
  211. package/dist/cli/{db-od92zIrO.js → db-CEUnv3hK.js} +2 -2
  212. package/dist/cli/{dev-ClH-7fB0.js → dev-D9nn9Gzt.js} +5 -5
  213. package/dist/cli/{doctor-C_BEuEGg.js → doctor-DCorhlir.js} +584 -25
  214. package/dist/cli/{emit-CTzFdffA.js → emit-qQdWBc9e.js} +2 -2
  215. package/dist/cli/{gen-RKf7q3L5.js → gen-Bf1ujcTm.js} +5 -5
  216. package/dist/cli/{gen-tasks-DmDvgVBV.js → gen-tasks-q9JJSJ6r.js} +11 -11
  217. package/dist/cli/index.d.ts +1 -1
  218. package/dist/cli/index.js +8 -8
  219. package/dist/cli/{init-B_CCByIh.js → init-DLLfL1uL.js} +9 -9
  220. package/dist/cli/{live-DjjMID3V.js → live-D4giSEyd.js} +2 -2
  221. package/dist/cli/{mcp-BYwrZHp1.js → mcp-DwjeMbmV.js} +2 -2
  222. package/dist/cli/{memo-backend-BIHqP1uE.js → memo-backend-DPGMyJvH.js} +1 -1
  223. package/dist/cli/{metadata-DCtLUYqR.js → metadata-Cft3CW1M.js} +4 -4
  224. package/dist/cli/{migrate-Bq6CUPbE.js → migrate-Ci_UUuPv.js} +1 -1
  225. package/dist/cli/{migration-safety-BvJ-JK5n.js → migration-safety-D3raBuJx.js} +2 -2
  226. package/dist/cli/{module-migration-Dv6VV1om.js → module-migration-DZtxNO8A.js} +1 -1
  227. package/dist/cli/{partition-C4g7WAwh.js → partition-DWJ6icQ5.js} +3 -3
  228. package/dist/cli/{powersync-1HMiZhFF.js → powersync-BAyDVR-N.js} +4 -4
  229. package/dist/cli/powersync-DnKUA1tu.js +1 -0
  230. package/dist/cli/{print-D9biMrfv.js → print-BSy5c62C.js} +2 -2
  231. package/dist/cli/{providers-C5fw9XC_.js → providers-BbFKOale.js} +1 -1
  232. package/dist/cli/{prune-workflows-DxpPCevB.js → prune-workflows-VY7C9vhb.js} +3 -3
  233. package/dist/cli/{remove-CyhSdPkK.js → remove-CcBoTjEO.js} +6 -6
  234. package/dist/cli/{render-DOz25g5T.js → render-CIrcdge6.js} +5 -5
  235. package/dist/cli/{render-cache-CInSNFhV.js → render-cache-bbL2UdJ6.js} +1 -1
  236. package/dist/cli/{round-trips-D2KD5Hpq.js → round-trips-n_Dk1iUI.js} +1 -3
  237. package/dist/cli/{run-0bMsZ1VV.js → run-D_p_WkPh.js} +7 -7
  238. package/dist/cli/{run-DVdkD1MI.js → run-qCtE--0z.js} +35 -35
  239. package/dist/cli/seed-CucH5loT.js +1 -0
  240. package/dist/cli/{seed-DVKgi-7l.js → seed-CvDA1ItH.js} +2 -2
  241. package/dist/cli/{shared-D2i8_u-U.js → shared-CkqZm0Bz.js} +1 -1
  242. package/dist/cli/{source-args-B3Rowfv5.js → source-args-yU6N6JLm.js} +1 -1
  243. package/dist/cli/{source-BGVOuWXq.js → source-io7b1UpH.js} +1 -1
  244. package/dist/cli/{spec-C_JKo_dP.js → spec-QGOfTJvS.js} +1 -1
  245. package/dist/cli/{spec-COotILIk.js → spec-djAAvGKU.js} +2 -2
  246. package/dist/cli/{sql-layout-D8dIzdy9.js → sql-layout-1ASqdR4g.js} +3 -3
  247. package/dist/cli/{squash-xCseaSP1.js → squash-DEmB47YZ.js} +1 -1
  248. package/dist/cli/{sync-Ceqa-3R6.js → sync-CUcxtnwa.js} +4 -4
  249. package/dist/cli/{upgrade-CUNKALDw.js → upgrade-DV9mKpAp.js} +5 -5
  250. package/dist/cli/{upgrade-DiMHauEU.js → upgrade-FWW6hKCv.js} +5 -5
  251. package/dist/cli/{verify-BFLaU6w3.js → verify-CrFHs8Lr.js} +2 -2
  252. package/dist/cli/{version-C7imaHag.js → version-CSdXYnhG.js} +1 -1
  253. package/dist/client/index.d.ts +3 -3
  254. package/dist/client/native/index.d.ts +1 -1
  255. package/dist/client/native/index.js +1 -1
  256. package/dist/{composite-DYAp3Znr.js → composite-WUO6K2Hu.js} +1 -1
  257. package/dist/config/index.d.ts +2 -2
  258. package/dist/config/index.js +2 -2
  259. package/dist/{config-DzPViWQU.js → config-C3yry9U5.js} +2 -1
  260. package/dist/{context-DMBXEzQa.d.ts → context-DMTfze4z.d.ts} +2 -1
  261. package/dist/contract/index.d.ts +1 -1
  262. package/dist/{controller-CaZv50cD.d.ts → controller-l9h4TtKg.d.ts} +1 -1
  263. package/dist/{conversion-D2key0v9.d.ts → conversion-D70FELty.d.ts} +1 -1
  264. package/dist/create/index.d.ts +4 -4
  265. package/dist/create/index.js +1 -1
  266. package/dist/create/lite/index.d.ts +2 -2
  267. package/dist/create/lite/index.js +3 -3
  268. package/dist/{define-block-kWv1wYf7.d.ts → define-block-D-Z8xB6y.d.ts} +5 -0
  269. package/dist/{define-runtime-full-Bh5c_01f.js → define-runtime-full-C4eTtJAx.js} +42 -35
  270. package/dist/{drive-Bm-up0KU.d.ts → drive-DrD94tWF.d.ts} +1 -1
  271. package/dist/edge/index.js +4 -4
  272. package/dist/{entitlements-UGUF2RJv.d.ts → entitlements-B6q7TIMP.d.ts} +2 -2
  273. package/dist/{executor-B0nTn-4Q.js → executor-BmcRcw83.js} +1 -1
  274. package/dist/expo/index.js +3 -3
  275. package/dist/{extract-Bs_b4ZIX.d.ts → extract-D4QPFB_M.d.ts} +1 -1
  276. package/dist/{extras-C258FsPj.d.ts → extras-C0cnpjDP.d.ts} +1 -1
  277. package/dist/{field-errors-BKCtkPxS.d.ts → field-errors-Br3wwgbu.d.ts} +2 -2
  278. package/dist/{former-permission-keys-hL23tm66.js → former-permission-keys-BwJW5uc6.js} +2 -1
  279. package/dist/{framework-C9UiMaOq.js → framework-CbjS8M33.js} +1 -1
  280. package/dist/generators/factories/index.d.ts +1 -1
  281. package/dist/generators/factories/index.js +1 -1
  282. package/dist/generators/index.d.ts +2 -2
  283. package/dist/generators/json-schema/index.d.ts +2 -2
  284. package/dist/generators/json-schema/index.js +1 -1
  285. package/dist/generators/nuqs/index.d.ts +1 -1
  286. package/dist/generators/nuqs/index.js +1 -1
  287. package/dist/generators/standard-schema/index.d.ts +1 -1
  288. package/dist/generators/standard-schema/index.js +1 -1
  289. package/dist/generators/valibot/index.d.ts +1 -1
  290. package/dist/generators/valibot/index.js +1 -1
  291. package/dist/generators/zod/index.d.ts +1 -1
  292. package/dist/generators/zod/index.js +1 -1
  293. package/dist/hono/index.js +3 -3
  294. package/dist/{index-BZdSOt51.d.ts → index-B4uPo3Sr.d.ts} +1 -1
  295. package/dist/{index-CIVA5x1i.d.ts → index-B6h9m3ml.d.ts} +2 -2
  296. package/dist/{index-DebFs8qq.d.ts → index-BFvj-fNS.d.ts} +1 -1
  297. package/dist/{index-icogJj2C.d.ts → index-BWxcC8ll.d.ts} +2 -2
  298. package/dist/{index-BG-WQ0JH.d.ts → index-BZHDwHGW.d.ts} +1 -1
  299. package/dist/{index-DWxio8F_.d.ts → index-BbpacfC0.d.ts} +7 -7
  300. package/dist/{index-DRKAMZV3.d.ts → index-BfoKErj3.d.ts} +1 -1
  301. package/dist/{index-BMh8ACKR.d.ts → index-BquYRGtV.d.ts} +1 -1
  302. package/dist/{index-48l12mNt.d.ts → index-C7Tcervm.d.ts} +2 -2
  303. package/dist/{index-DLVuARYk.d.ts → index-C9p3wiWn.d.ts} +6 -6
  304. package/dist/{index-R_k3Nh4y.d.ts → index-CHOeFZUB.d.ts} +3 -3
  305. package/dist/{index-CjeQqQzW.d.ts → index-Cg0lDbXs.d.ts} +2 -2
  306. package/dist/{index-B64DT6Io.d.ts → index-CnTxcNyl.d.ts} +1 -1
  307. package/dist/{index-DgiSwhKf.d.ts → index-D3d7m03L.d.ts} +1 -1
  308. package/dist/{index-CkCuMFVG.d.ts → index-DG187JM_.d.ts} +1 -1
  309. package/dist/{index-C_DCvnW0.d.ts → index-DGszLnec.d.ts} +1 -1
  310. package/dist/{index-D2aht6Cz.d.ts → index-DHjZvZWC.d.ts} +2 -2
  311. package/dist/{index-Mq2z-GgJ.d.ts → index-DK0Hj3pi.d.ts} +1 -1
  312. package/dist/{index-CDCyOPT7.d.ts → index-DKuOnwh6.d.ts} +2 -2
  313. package/dist/{index-CDrLyU72.d.ts → index-DLlAc0wg.d.ts} +1 -1
  314. package/dist/{index-GamVr8VZ.d.ts → index-DMyMrXPW.d.ts} +1 -1
  315. package/dist/{index-DskEpSgl.d.ts → index-DU_gZYuh.d.ts} +1 -1
  316. package/dist/{index-CDxfstYD.d.ts → index-DYX_uL5t.d.ts} +1 -1
  317. package/dist/{index-BJ1Mv0TK.d.ts → index-D_xJSanv.d.ts} +1 -1
  318. package/dist/{index-DOBq5QFe.d.ts → index-Dg4lbDzI.d.ts} +1 -1
  319. package/dist/{index-BYx-ObF-.d.ts → index-DkALeCTq.d.ts} +1 -1
  320. package/dist/{index-DIK12ZTb.d.ts → index-DtVZnjKf.d.ts} +2 -2
  321. package/dist/{index-BBf3nn7Y.d.ts → index-Dyns9a8l.d.ts} +1 -1
  322. package/dist/{index-B6i7w-iS.d.ts → index-NNox0BqF.d.ts} +1 -1
  323. package/dist/{index-CzNRwKGG.d.ts → index-WuUhLgMp.d.ts} +2 -2
  324. package/dist/{index-DcdC0Qll.d.ts → index-X-ihJBuJ.d.ts} +1 -1
  325. package/dist/{index-rFIDpwjh.d.ts → index-jCKNxp8C.d.ts} +1 -1
  326. package/dist/{index-BtuseUSW.d.ts → index-o2y0w9lX.d.ts} +1 -1
  327. package/dist/{index-nsEUHz98.d.ts → index-ouiV6zqH.d.ts} +2 -2
  328. package/dist/{index-B67YUNow.d.ts → index-qzFFTwel.d.ts} +1 -1
  329. package/dist/{json-schema-CgwH39-G.js → json-schema-B8f7HdoX.js} +1 -1
  330. package/dist/{manifest-DcnVXlH7.d.ts → manifest--_00y416.d.ts} +1 -1
  331. package/dist/{manifest-CxUI9ZXn.d.ts → manifest-B7lSTuVC.d.ts} +1 -1
  332. package/dist/{manifest-Cz8poTZ2.d.ts → manifest-BA-urVob.d.ts} +1 -1
  333. package/dist/{manifest-ChKRtAF6.d.ts → manifest-BAn3lTr4.d.ts} +1 -1
  334. package/dist/{manifest-tjlvcP1t.d.ts → manifest-BESrR9Xp.d.ts} +1 -1
  335. package/dist/{manifest-BkJdR1D-.d.ts → manifest-BEw6nEKW.d.ts} +1 -1
  336. package/dist/{manifest-C7bh84U0.d.ts → manifest-BGmmK9bZ.d.ts} +1 -1
  337. package/dist/{manifest-B7IYj4OA.d.ts → manifest-BMcuCUre.d.ts} +1 -1
  338. package/dist/{manifest-BG2_hkzB.d.ts → manifest-BS8p47JO.d.ts} +1 -1
  339. package/dist/{manifest-C7CtYgWC.d.ts → manifest-BYv5BqtY.d.ts} +1 -1
  340. package/dist/{manifest-9TRpR9P-.d.ts → manifest-B_2lEGUS.d.ts} +1 -1
  341. package/dist/{manifest-BSSoVDlI.d.ts → manifest-BgmY9fuz.d.ts} +1 -1
  342. package/dist/{manifest-C1TwYhyr.d.ts → manifest-BoUGzBpS.d.ts} +1 -1
  343. package/dist/{manifest-D02pP9Nl.d.ts → manifest-BvzmDxod.d.ts} +1 -1
  344. package/dist/{manifest-Ce_JDK4r.d.ts → manifest-ByNpLQWh.d.ts} +1 -1
  345. package/dist/{manifest-CpMVJWDU.d.ts → manifest-ByV81mLa.d.ts} +1 -1
  346. package/dist/{manifest-DBptC4dz.d.ts → manifest-C-pVDUC6.d.ts} +1 -1
  347. package/dist/{manifest-Cx_UVMlT.d.ts → manifest-C0v6IEWk.d.ts} +1 -1
  348. package/dist/{manifest-DAv6iO-q.d.ts → manifest-C5LxShda.d.ts} +1 -1
  349. package/dist/{manifest-DZc_37YJ.d.ts → manifest-C8PUzse6.d.ts} +1 -1
  350. package/dist/{manifest-BdV9GNAF.d.ts → manifest-CCKfdYiH.d.ts} +1 -1
  351. package/dist/{manifest-BNCX3M2Y.d.ts → manifest-CIVhJzKF.d.ts} +1 -1
  352. package/dist/{manifest-BmGsyaxx.d.ts → manifest-CKCaFg8y.d.ts} +1 -1
  353. package/dist/{manifest-BXatXuLx.d.ts → manifest-CKDaQT_5.d.ts} +1 -1
  354. package/dist/{manifest-blSYzmEZ.d.ts → manifest-CLukD6aB.d.ts} +1 -1
  355. package/dist/{manifest-BSrdiUHP.d.ts → manifest-CNLJLsHB.d.ts} +1 -1
  356. package/dist/{manifest-t9v09kRa.d.ts → manifest-CWwdLMT0.d.ts} +1 -1
  357. package/dist/{manifest-Dc_FWIrg.d.ts → manifest-CXYg8gzt.d.ts} +1 -1
  358. package/dist/{manifest-BOxu_JMd.d.ts → manifest-CZoRtSvn.d.ts} +1 -1
  359. package/dist/{manifest-Cle7S3sn.d.ts → manifest-Ch08RUKa.d.ts} +1 -1
  360. package/dist/{manifest-BWE_47qq.d.ts → manifest-CjzlsilW.d.ts} +1 -1
  361. package/dist/{manifest-CD_ZA69x.d.ts → manifest-Clzy2rSU.d.ts} +1 -1
  362. package/dist/{manifest-B91B3Yvk.d.ts → manifest-Co41j70r.d.ts} +1 -1
  363. package/dist/{manifest-Cn85_kP6.d.ts → manifest-CvncELVO.d.ts} +1 -1
  364. package/dist/{manifest-BKY6WHm6.d.ts → manifest-CxgOFWlh.d.ts} +1 -1
  365. package/dist/{manifest-BizfO8zf.d.ts → manifest-CyaHDD_i.d.ts} +1 -1
  366. package/dist/{manifest-DGrcTY4n.d.ts → manifest-D0eItVsP.d.ts} +1 -1
  367. package/dist/{manifest-BdBaGzfE.d.ts → manifest-D80LSWzZ.d.ts} +1 -1
  368. package/dist/{manifest-LAVlQXiw.d.ts → manifest-DBfQe19Z.d.ts} +1 -1
  369. package/dist/{manifest-C3FjJnQT.d.ts → manifest-DCkeNzPW.d.ts} +1 -1
  370. package/dist/{manifest-Bsrn5gfq.d.ts → manifest-DHTVfgX9.d.ts} +1 -1
  371. package/dist/{manifest-gS-wx2yB.d.ts → manifest-DHulRwzL.d.ts} +1 -1
  372. package/dist/{manifest-CIa0-uCj.d.ts → manifest-DKnWcgse.d.ts} +1 -1
  373. package/dist/{manifest-CTEURHfF.d.ts → manifest-DLSzZMXM.d.ts} +1 -1
  374. package/dist/{manifest-dSiPcx5l.d.ts → manifest-DVZmJvrE.d.ts} +1 -1
  375. package/dist/{manifest-BWFemJ6Q.d.ts → manifest-D_wBteR5.d.ts} +1 -1
  376. package/dist/{manifest-Cfrflbtt.d.ts → manifest-DlLxdk7P.d.ts} +1 -1
  377. package/dist/{manifest-zEA2Tw_l.d.ts → manifest-DofXV9lE.d.ts} +1 -1
  378. package/dist/{manifest-BVwoT7GU.d.ts → manifest-Dp92U_iP.d.ts} +1 -1
  379. package/dist/{manifest-DF6GzdBC.d.ts → manifest-Dpad_5Lw.d.ts} +1 -1
  380. package/dist/{manifest-D4iEPtlb.d.ts → manifest-Dvm2mwFy.d.ts} +1 -1
  381. package/dist/{manifest-1P6OEAwH.d.ts → manifest-Fapf4NdA.d.ts} +1 -1
  382. package/dist/{manifest-CPlmHPRY.d.ts → manifest-QmYmc98q.d.ts} +1 -1
  383. package/dist/{manifest-VjVVI7bV.d.ts → manifest-RitquXSE.d.ts} +1 -1
  384. package/dist/{manifest-BN2J8Zo7.d.ts → manifest-TvLJWs_L.d.ts} +1 -1
  385. package/dist/{manifest-D32p1K-g.d.ts → manifest-V0QSCEfx.d.ts} +1 -1
  386. package/dist/{manifest-BNIvrs6_.d.ts → manifest-VCJSqffq.d.ts} +2 -2
  387. package/dist/{manifest-B-wg2F2L.d.ts → manifest-eUUJnoB5.d.ts} +1 -1
  388. package/dist/{manifest-mCn7RdZs.d.ts → manifest-qvMWfrZ-.d.ts} +1 -1
  389. package/dist/{manifest-khfEDzX4.d.ts → manifest-r6DHrB4Q.d.ts} +1 -1
  390. package/dist/{manifest-BcqqAgm9.d.ts → manifest-ra7MSo-3.d.ts} +1 -1
  391. package/dist/{manifest-SoNChfLL.d.ts → manifest-wbs2VkcB.d.ts} +1 -1
  392. package/dist/mapper/bin.js +6 -6
  393. package/dist/mcp/index.js +1 -1
  394. package/dist/mcp/sdk/index.js +1 -1
  395. package/dist/{mcp-CoJbu0Hk.js → mcp-aMq1fkoe.js} +3 -3
  396. package/dist/next/index.d.ts +4 -4
  397. package/dist/next/index.js +2 -2
  398. package/dist/next/proxy/index.d.ts +2 -2
  399. package/dist/orpc/index.js +2 -2
  400. package/dist/otel/index.js +5 -5
  401. package/dist/{permissions-Ccvec0MR.d.ts → permissions-ZLtxCurD.d.ts} +1 -1
  402. package/dist/powersync/index.d.ts +1 -1
  403. package/dist/powersync/index.js +1 -1
  404. package/dist/preset/index.d.ts +4 -4
  405. package/dist/{preview-CR1nZ6-E.d.ts → preview-BoJkQw2E.d.ts} +2 -2
  406. package/dist/{project-CxoixIpG.js → project-DI09JnXz.js} +2 -2
  407. package/dist/query/index.d.ts +1 -1
  408. package/dist/react/index.d.ts +4 -4
  409. package/dist/react/native/index.d.ts +1 -1
  410. package/dist/react/server.d.ts +4 -4
  411. package/dist/react-router/index.js +3 -3
  412. package/dist/{record-form-mpamIVq3.d.ts → record-form-BHUYs5ju.d.ts} +1 -1
  413. package/dist/records/index.d.ts +5 -5
  414. package/dist/server/index.d.ts +3 -3
  415. package/dist/server/index.js +4 -4
  416. package/dist/{server-CqRpnOo0.js → server-Bgugpk3A.js} +1 -1
  417. package/dist/{sign-in-CMEBFv36.d.ts → sign-in-Dp-X2YXo.d.ts} +3 -3
  418. package/dist/solid/index.d.ts +4 -4
  419. package/dist/solid-start/index.js +3 -3
  420. package/dist/spec/index.js +2 -2
  421. package/dist/sql/index.d.ts +4 -4
  422. package/dist/sql/index.js +1 -1
  423. package/dist/{sql-ZLYXNvXw.js → sql-BqOBYRvI.js} +2 -2
  424. package/dist/sqlite/index.js +1 -1
  425. package/dist/ssr/index.d.ts +1 -1
  426. package/dist/svelte/index.d.ts +4 -4
  427. package/dist/sveltekit/index.js +3 -3
  428. package/dist/tanstack-start/index.js +3 -3
  429. package/dist/{tenant-DpJTJr1c.d.ts → tenant-BQaG8Hma.d.ts} +1 -1
  430. package/dist/testing/index.d.ts +5 -5
  431. package/dist/testing/index.js +3 -3
  432. package/dist/{timeline-CGjiciIY.d.ts → timeline-D7T-qrKN.d.ts} +2 -2
  433. package/dist/{types-BidEA6pZ.d.ts → types-BE6BvLv2.d.ts} +2 -2
  434. package/dist/{version-DRVVrk-u.js → version-CkYT3KbT.js} +1 -1
  435. package/dist/vue/index.d.ts +4 -4
  436. package/dist/webmcp/index.js +1 -1
  437. package/package.json +1 -1
  438. package/schemas/config-v1.json +3 -0
  439. package/schemas/doctor-report-v1.json +2 -0
  440. package/dist/cli/add-DHvo6zQZ.js +0 -1
  441. package/dist/cli/powersync-DLUNuNl4.js +0 -1
  442. package/dist/cli/seed-Dlm5jjPn.js +0 -1
@@ -2,8 +2,8 @@ import { t as byCodePoint } from "./compare-yl4sSwVn.js";
2
2
  import { r as claimMarkerOverrides } from "./authorization-CNWhpdKb.js";
3
3
  import { n as CliError } from "./errors-B7i-VGxk.js";
4
4
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
5
- import { a as toCatalog } from "./source-BGVOuWXq.js";
6
- import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-D8dIzdy9.js";
5
+ import { a as toCatalog } from "./source-io7b1UpH.js";
6
+ import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-1ASqdR4g.js";
7
7
  import { resolveBlock, resolveProviderSql } from "better-supabase/sql";
8
8
  import { DEFAULT_CLAIMS, tenantClaimPaths } from "better-supabase/config";
9
9
  import { toCamel } from "better-supabase";
@@ -1,11 +1,11 @@
1
1
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
2
  import { n as CliError } from "./errors-B7i-VGxk.js";
3
- import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-DCtLUYqR.js";
4
- import { m as GEN_TASKS } from "./config-NxPVkM-K.js";
5
- import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-DmDvgVBV.js";
3
+ import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-Cft3CW1M.js";
4
+ import { m as GEN_TASKS } from "./config-DD_MnPRL.js";
5
+ import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-q9JJSJ6r.js";
6
6
  import { c as insideRoot, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
7
- import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-D8dIzdy9.js";
8
- import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-B3Rowfv5.js";
7
+ import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-1ASqdR4g.js";
8
+ import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-yU6N6JLm.js";
9
9
  // src/cli/commands/save-snapshot.ts
10
10
  /** The flags `gen --save-snapshot` reads. */
11
11
  const SAVE_SNAPSHOT_ARGS = {
@@ -1,17 +1,17 @@
1
1
  import { c as parseNames, i as failedResult, n as CliError } from "./errors-B7i-VGxk.js";
2
- import { n as runGen } from "./run-0bMsZ1VV.js";
3
- import { l as catalogFingerprint } from "./cache-sR8AQqSV.js";
2
+ import { n as runGen } from "./run-D_p_WkPh.js";
3
+ import { l as catalogFingerprint } from "./cache-Ba26VW2N.js";
4
4
  import { i as plain } from "./style-B5-nByxb.js";
5
- import { g as isGenTask, m as GEN_TASKS } from "./config-NxPVkM-K.js";
5
+ import { g as isGenTask, m as GEN_TASKS } from "./config-DD_MnPRL.js";
6
6
  import { i as runEnv } from "./env-DtJNOdyD.js";
7
- import { n as runPowerSync } from "./powersync-1HMiZhFF.js";
8
- import { t as runSeed } from "./seed-DVKgi-7l.js";
9
- import { r as specOptionsFromConfig, t as runSpec } from "./spec-COotILIk.js";
10
- import { t as addModules } from "./add-BQZyQh4f.js";
11
- import { n as listModules, t as printModule } from "./print-D9biMrfv.js";
12
- import { o as dataMigration, t as syncModules } from "./sync-Ceqa-3R6.js";
13
- import { t as upgrade } from "./upgrade-CUNKALDw.js";
14
- import { d as loadSnapshot } from "./sql-layout-D8dIzdy9.js";
7
+ import { n as runPowerSync } from "./powersync-BAyDVR-N.js";
8
+ import { t as runSeed } from "./seed-CvDA1ItH.js";
9
+ import { r as specOptionsFromConfig, t as runSpec } from "./spec-djAAvGKU.js";
10
+ import { t as addModules } from "./add-BJNTq7Ti.js";
11
+ import { n as listModules, t as printModule } from "./print-BSy5c62C.js";
12
+ import { o as dataMigration, t as syncModules } from "./sync-CUcxtnwa.js";
13
+ import { t as upgrade } from "./upgrade-DV9mKpAp.js";
14
+ import { d as loadSnapshot } from "./sql-layout-1ASqdR4g.js";
15
15
  import { existsSync } from "node:fs";
16
16
  import { resolve } from "node:path";
17
17
  // src/cli/commands/sql.ts
@@ -864,5 +864,5 @@ export declare function emitModule(model: Model, options: EmitOptions): string;
864
864
  export declare function loadConfig(cwd: string, explicit?: string, environment?: string, path?: string | undefined, options?: {
865
865
  readonly legacyTables?: boolean;
866
866
  }): Promise<ResolvedConfig>;
867
- export declare const VERSION = "0.58.3";
867
+ export declare const VERSION = "0.59.0";
868
868
  export type { Catalog, CatalogCheck, CatalogColumn, CatalogColumnGrant, CatalogEnum, CatalogForeignKey, CatalogFunction, CatalogFunctionArg, CatalogGrant, CatalogIndex, CatalogPolicy, CatalogTable, CatalogTrigger, CatalogUnique, Choice, Cli, CliCommand, CliCommandDef, CliContext, CliEnv, CliErrorCode, CliErrorOptions, CliIo, CliLog, CliProblem, CliProblemExtensions, CliValues, CommandResult, CreateCliOptions, ExitCode, ExtrasFunction, ExtrasHook, ExtrasHookFunction, ExtrasTable, ForeignKeyAction, Format, GeneratorMetadata, IntrospectionSource, ManagementSourceOptions, NextStep, Paint, Prompter, Queryable, RunOptions, RunResult, Snapshot, SnapshotBucket, SnapshotExtras };
package/dist/cli/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { i as run, n as createCli, r as help, t as commandNames } from "./run-DVdkD1MI.js";
1
+ import { i as run, n as createCli, r as help, t as commandNames } from "./run-qCtE--0z.js";
2
2
  import { a as list, r as defineCliCommand } from "./command-fqvJ0TdG.js";
3
3
  import { n as CliError, t as CLI_ERRORS_URL } from "./errors-B7i-VGxk.js";
4
- import { a as emitBlockConfig, c as emitClientBlocks, o as emitBlockConfigModule, r as renderFiles, s as emitBlockReads } from "./render-DOz25g5T.js";
5
- import { n as runGen } from "./run-0bMsZ1VV.js";
6
- import { d as loadSnapshot, h as serializeSnapshot, m as parseSnapshot, y as introspect } from "./sql-layout-D8dIzdy9.js";
7
- import { a as emitModule, d as buildModel, t as GENERATED_HEADER } from "./emit-CTzFdffA.js";
8
- import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BGVOuWXq.js";
9
- import { s as loadConfig } from "./config-NxPVkM-K.js";
10
- import { t as VERSION } from "./version-C7imaHag.js";
4
+ import { a as emitBlockConfig, c as emitClientBlocks, o as emitBlockConfigModule, r as renderFiles, s as emitBlockReads } from "./render-CIrcdge6.js";
5
+ import { n as runGen } from "./run-D_p_WkPh.js";
6
+ import { d as loadSnapshot, h as serializeSnapshot, m as parseSnapshot, y as introspect } from "./sql-layout-1ASqdR4g.js";
7
+ import { a as emitModule, d as buildModel, t as GENERATED_HEADER } from "./emit-qQdWBc9e.js";
8
+ import { a as toCatalog, n as managementSource, r as pgSource } from "./source-io7b1UpH.js";
9
+ import { s as loadConfig } from "./config-DD_MnPRL.js";
10
+ import { t as VERSION } from "./version-CSdXYnhG.js";
11
11
  // src/cli/introspect/from-catalog.ts
12
12
  /**
13
13
  * Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
@@ -1,17 +1,17 @@
1
- import { a as findConfig, s as loadConfig } from "./config-NxPVkM-K.js";
2
- import { r as contentMapperFiles } from "./content-mapper-DMi2HOKi.js";
3
- import { C as withConventions, S as promptConventions, _ as CONVENTION_ARGS, a as writeDesign, b as defaultConventions, c as createUrlParam, d as integrationFiles, f as overwrite, g as templatePlan, h as templateContextFor, i as blocksWiringPath, l as CANCELLED, m as parseIntegrations, o as readPresetInput, p as packagesFor, r as blockConfigImport, s as AUTHZ_NOTE, u as chooseIntegrations, v as CONVENTION_COMPLETIONS, x as hasConventionFlags, y as conventionFlags } from "./add-dbBQf6Vy.js";
1
+ import { a as findConfig, s as loadConfig } from "./config-DD_MnPRL.js";
2
+ import { r as contentMapperFiles } from "./content-mapper-z7CrnE1s.js";
3
+ import { C as withConventions, S as promptConventions, _ as CONVENTION_ARGS, a as writeDesign, b as defaultConventions, c as createUrlParam, d as integrationFiles, f as overwrite, g as templatePlan, h as templateContextFor, i as blocksWiringPath, l as CANCELLED, m as parseIntegrations, o as readPresetInput, p as packagesFor, r as blockConfigImport, s as AUTHZ_NOTE, u as chooseIntegrations, v as CONVENTION_COMPLETIONS, x as hasConventionFlags, y as conventionFlags } from "./add-CnCt2QoB.js";
4
4
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
5
5
  import { n as CliError } from "./errors-B7i-VGxk.js";
6
6
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
7
7
  import { r as readIfExists } from "./io-CngfGyMA.js";
8
- import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-BvJ-JK5n.js";
9
- import { c as enablePgDelta, t as syncModules } from "./sync-Ceqa-3R6.js";
10
- import { A as suggestedPackage, d as loadSnapshot, h as serializeSnapshot, k as detectWorkspace } from "./sql-layout-D8dIzdy9.js";
11
- import { a as toCatalog } from "./source-BGVOuWXq.js";
12
- import { c as TYPEGEN_VERSION } from "./cache-sR8AQqSV.js";
8
+ import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-D3raBuJx.js";
9
+ import { c as enablePgDelta, t as syncModules } from "./sync-CUcxtnwa.js";
10
+ import { A as suggestedPackage, d as loadSnapshot, h as serializeSnapshot, k as detectWorkspace } from "./sql-layout-1ASqdR4g.js";
11
+ import { a as toCatalog } from "./source-io7b1UpH.js";
12
+ import { c as TYPEGEN_VERSION } from "./cache-Ba26VW2N.js";
13
13
  import { n as installCommand, t as detectProject } from "./detect-CHR-SAmE.js";
14
- import { t as appTablePlan } from "./app-table-files-CITEmvRS.js";
14
+ import { t as appTablePlan } from "./app-table-files-CfB0_NuX.js";
15
15
  import { i as plain } from "./style-B5-nByxb.js";
16
16
  import { existsSync } from "node:fs";
17
17
  import { join, posix, resolve } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import { r as errorText } from "./errors-B7i-VGxk.js";
2
- import "./source-BGVOuWXq.js";
3
- import { c as qualified, l as tableObject, r as exposed, t as catalogOf } from "./shared-D2i8_u-U.js";
2
+ import "./source-io7b1UpH.js";
3
+ import { c as qualified, l as tableObject, r as exposed, t as catalogOf } from "./shared-CkqZm0Bz.js";
4
4
  // src/cli/doctor/reserved-roles.ts
5
5
  /**
6
6
  * Supautils' `reserved_roles` on Supabase. Nobody but a superuser may alter,
@@ -1,9 +1,9 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
- import { a as errorDocument, i as run } from "./run-DVdkD1MI.js";
2
+ import { a as errorDocument, i as run } from "./run-qCtE--0z.js";
3
3
  import { C as optional, D as record, N as unknown, a as array, d as is, j as string$1, k as safeParse, t as PROCESS_ENV, x as object } from "./env-CQ831uY0.js";
4
4
  import { n as consentDigest } from "./agent-BlYLJPzM.js";
5
5
  import { n as CliError } from "./errors-B7i-VGxk.js";
6
- import { t as VERSION } from "./version-C7imaHag.js";
6
+ import { t as VERSION } from "./version-CSdXYnhG.js";
7
7
  import { createInterface } from "node:readline";
8
8
  import { answerLine } from "better-supabase/mcp";
9
9
  // src/cli/mcp/server.ts
@@ -1,5 +1,5 @@
1
1
  import { t as generatorHash } from "./generator-hash-BkdtEywR.js";
2
- import { t as VERSION } from "./version-C7imaHag.js";
2
+ import { t as VERSION } from "./version-CSdXYnhG.js";
3
3
  import { n as cacheEnabled, r as cacheRoot } from "./store-DP-nmqBt.js";
4
4
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
5
5
  import { dirname, resolve } from "node:path";
@@ -1,9 +1,9 @@
1
1
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
2
2
  import { i as readStdin } from "./io-CngfGyMA.js";
3
- import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-0bMsZ1VV.js";
4
- import { P as parseMetadataDocument, j as MetadataRejectedError } from "./sql-layout-D8dIzdy9.js";
5
- import { c as metaPaths } from "./emit-CTzFdffA.js";
6
- import { n as render } from "./render-DOz25g5T.js";
3
+ import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-D_p_WkPh.js";
4
+ import { P as parseMetadataDocument, j as MetadataRejectedError } from "./sql-layout-1ASqdR4g.js";
5
+ import { c as metaPaths } from "./emit-qQdWBc9e.js";
6
+ import { n as render } from "./render-CIrcdge6.js";
7
7
  import { basename, join, relative, resolve, sep } from "node:path";
8
8
  import { readFile } from "node:fs/promises";
9
9
  import { jsonSchema } from "better-supabase/generators/json-schema";
@@ -1,6 +1,6 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
2
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
3
- import { t as appTablePlan } from "./app-table-files-CITEmvRS.js";
3
+ import { t as appTablePlan } from "./app-table-files-CfB0_NuX.js";
4
4
  import { i as plain } from "./style-B5-nByxb.js";
5
5
  // src/cli/commands/migrate.ts
6
6
  const MIGRATE_ARGS = {};
@@ -1,5 +1,5 @@
1
- import { h as INTEGRATIONS } from "./config-NxPVkM-K.js";
2
- import { l as schemaModulePath } from "./emit-CTzFdffA.js";
1
+ import { h as INTEGRATIONS } from "./config-DD_MnPRL.js";
2
+ import { l as schemaModulePath } from "./emit-qQdWBc9e.js";
3
3
  import { dirname, join, posix } from "node:path";
4
4
  import { readdir } from "node:fs/promises";
5
5
  import { splitStatements } from "better-supabase/sql";
@@ -1,5 +1,5 @@
1
1
  import { i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
2
- import { i as migrationsDir, l as sqlPlan } from "./sql-layout-D8dIzdy9.js";
2
+ import { i as migrationsDir, l as sqlPlan } from "./sql-layout-1ASqdR4g.js";
3
3
  import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
4
  import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
5
5
  import { resolve } from "node:path";
@@ -1,10 +1,10 @@
1
- import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-NxPVkM-K.js";
1
+ import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DD_MnPRL.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
3
3
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
4
4
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
5
5
  import { t as connect } from "./db-B_xr3ZvK.js";
6
- import { n as ident } from "./live-DjjMID3V.js";
7
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-B3Rowfv5.js";
6
+ import { n as ident } from "./live-D4giSEyd.js";
7
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
8
8
  // src/cli/commands/partition.ts
9
9
  const DEFAULT_BATCH = 5e4;
10
10
  const PROCEDURE = "convert_audit_log_to_partitioned";
@@ -1,11 +1,11 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
2
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
3
3
  import { t as projectionsOf } from "./projection-DlVB5YL-.js";
4
- import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-D8dIzdy9.js";
4
+ import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-1ASqdR4g.js";
5
5
  import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
6
- import { r as layoutFor } from "./providers-C5fw9XC_.js";
7
- import { n as renderBlocksCached } from "./render-cache-CInSNFhV.js";
8
- import { d as subjectFromTag } from "./config-NxPVkM-K.js";
6
+ import { r as layoutFor } from "./providers-BbFKOale.js";
7
+ import { n as renderBlocksCached } from "./render-cache-bbL2UdJ6.js";
8
+ import { d as subjectFromTag } from "./config-DD_MnPRL.js";
9
9
  import { existsSync } from "node:fs";
10
10
  import { join, resolve } from "node:path";
11
11
  import { readFile, readdir } from "node:fs/promises";
@@ -0,0 +1 @@
1
+ export { t as powersyncStreamsCommand } from "./powersync-BAyDVR-N.js";
@@ -1,6 +1,6 @@
1
1
  import { n as CliError } from "./errors-B7i-VGxk.js";
2
- import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-Dv6VV1om.js";
3
- import { n as layout } from "./providers-C5fw9XC_.js";
2
+ import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-DZtxNO8A.js";
3
+ import { n as layout } from "./providers-BbFKOale.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { resolve } from "node:path";
6
6
  import { SQL_MODULES, contractSignature, customContracts, moduleBody, moduleFilePaths } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { a as entitlementsMode, o as moduleKeyProblems, t as accessProviderMode } from "./authorization-CNWhpdKb.js";
2
2
  import { n as CliError } from "./errors-B7i-VGxk.js";
3
3
  import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
4
- import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-D8dIzdy9.js";
4
+ import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-1ASqdR4g.js";
5
5
  import { moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
6
6
  import { FormerPermissionKeyError } from "better-supabase/config";
7
7
  // src/cli/sql/providers.ts
@@ -1,10 +1,10 @@
1
- import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-NxPVkM-K.js";
1
+ import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DD_MnPRL.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
3
3
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
4
4
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
5
5
  import { t as connect } from "./db-B_xr3ZvK.js";
6
- import { n as ident } from "./live-DjjMID3V.js";
7
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-B3Rowfv5.js";
6
+ import { n as ident } from "./live-D4giSEyd.js";
7
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
8
8
  // src/cli/commands/prune-workflows.ts
9
9
  const TERMINAL = [
10
10
  "completed",
@@ -2,15 +2,15 @@ import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
2
  import { n as CliError } from "./errors-B7i-VGxk.js";
3
3
  import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
4
4
  import { r as readIfExists, t as display } from "./io-CngfGyMA.js";
5
- import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-dbBQf6Vy.js";
5
+ import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-CnCt2QoB.js";
6
6
  import { t as detectProject } from "./detect-CHR-SAmE.js";
7
- import { l as sqlPlan } from "./sql-layout-D8dIzdy9.js";
8
- import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-BQZyQh4f.js";
7
+ import { l as sqlPlan } from "./sql-layout-1ASqdR4g.js";
8
+ import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-BJNTq7Ti.js";
9
9
  import { t as SQL_ARGS } from "./args-CS_64_tg.js";
10
- import { r as layoutFor } from "./providers-C5fw9XC_.js";
11
- import { n as guardedRemoval } from "./sync-Ceqa-3R6.js";
10
+ import { r as layoutFor } from "./providers-BbFKOale.js";
11
+ import { n as guardedRemoval } from "./sync-CUcxtnwa.js";
12
12
  import { i as plain } from "./style-B5-nByxb.js";
13
- import { t as blockNames } from "./blocks-D-DV2aCE.js";
13
+ import { t as blockNames } from "./blocks-B-ANsRnH.js";
14
14
  import { existsSync } from "node:fs";
15
15
  import { resolve } from "node:path";
16
16
  import { readFile } from "node:fs/promises";
@@ -1,14 +1,14 @@
1
1
  import { n as importPath } from "./io-CngfGyMA.js";
2
2
  import { n as cacheEnabled, t as CACHE_DIR } from "./store-DP-nmqBt.js";
3
3
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
4
- import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-sR8AQqSV.js";
5
- import { t as VERSION } from "./version-C7imaHag.js";
6
- import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-D8dIzdy9.js";
4
+ import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-Ba26VW2N.js";
5
+ import { t as VERSION } from "./version-CSdXYnhG.js";
6
+ import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-1ASqdR4g.js";
7
7
  import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
8
- import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-CTzFdffA.js";
8
+ import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-qQdWBc9e.js";
9
9
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
10
10
  import { t as projectionsOf } from "./projection-DlVB5YL-.js";
11
- import { u as withTableTags } from "./config-NxPVkM-K.js";
11
+ import { u as withTableTags } from "./config-DD_MnPRL.js";
12
12
  import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
13
13
  import { readFile } from "node:fs/promises";
14
14
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
2
- import { t as VERSION } from "./version-C7imaHag.js";
2
+ import { t as VERSION } from "./version-CSdXYnhG.js";
3
3
  import { t as generatorHash } from "./generator-hash-BkdtEywR.js";
4
4
  import { dirname, resolve } from "node:path";
5
5
  import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
@@ -26,14 +26,12 @@ function arrayEntries(text, open) {
26
26
  }
27
27
  /** An entry that awaits the database: a repository, a block client or a call. */
28
28
  const DATABASE_READ = /\b(?:db|ctx\.db|bsb\.db\(\)|blocks\.\w+)\b[\s\S]*?\(|\$rpc\s*\(/;
29
- /** Reads in one `Promise.all` before the hint (BS609). */
30
- const MIN_READS = 3;
31
29
  function parallelReads(context) {
32
30
  const findings = [];
33
31
  for (const file of context.sources) for (const match of file.text.matchAll(PROMISE_ALL)) {
34
32
  const open = match.index + match[0].length;
35
33
  const reads = arrayEntries(file.text, open)?.filter((entry) => DATABASE_READ.test(entry));
36
- if (reads === void 0 || reads.length < MIN_READS) continue;
34
+ if (reads === void 0 || reads.length < context.config.doctor.parallelReads) continue;
37
35
  const line = file.text.slice(0, match.index).split("\n").length;
38
36
  findings.push({
39
37
  message: `${file.path} awaits ${reads.length} database reads in one Promise.all. They run in parallel, but each is its own request. Load them in one call with a read set: defineReadSet(db, "name", { ... }) and db.$many(readSet, params) (or bsb.bootstrap for a page's first load).`,
@@ -1,17 +1,17 @@
1
1
  import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
2
2
  import { a as entitlementsMode, c as unsafeKey, i as entitlementRequirements, n as accessRequirements, o as moduleKeyProblems, s as providerLabel } from "./authorization-CNWhpdKb.js";
3
- import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-D8dIzdy9.js";
4
- import { s as schemaStampPath } from "./content-mapper-DMi2HOKi.js";
3
+ import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-1ASqdR4g.js";
4
+ import { s as schemaStampPath } from "./content-mapper-z7CrnE1s.js";
5
5
  import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-NnXnawki.js";
6
6
  import { a as sameText, t as display } from "./io-CngfGyMA.js";
7
- import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BBqu3dow.js";
7
+ import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-oieRU_sP.js";
8
8
  import { r as errorText } from "./errors-B7i-VGxk.js";
9
- import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-D2i8_u-U.js";
10
- import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-sR8AQqSV.js";
9
+ import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-CkqZm0Bz.js";
10
+ import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-Ba26VW2N.js";
11
11
  import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
12
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-Dv6VV1om.js";
12
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-DZtxNO8A.js";
13
13
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
14
- import { n as render } from "./render-DOz25g5T.js";
14
+ import { n as render } from "./render-CIrcdge6.js";
15
15
  import { existsSync } from "node:fs";
16
16
  import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
17
17
  import { readFile } from "node:fs/promises";
@@ -1,7 +1,7 @@
1
1
  import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-fqvJ0TdG.js";
2
2
  import { s as setCacheEnabled } from "./store-DP-nmqBt.js";
3
3
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
4
- import { t as VERSION } from "./version-C7imaHag.js";
4
+ import { t as VERSION } from "./version-CSdXYnhG.js";
5
5
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-BlYLJPzM.js";
6
6
  import { a as isActionRequired, l as toCliError, n as CliError, o as isReport, s as isRetryable } from "./errors-B7i-VGxk.js";
7
7
  import { r as splitCommandLine } from "./shell-omi9-T2X.js";
@@ -21,48 +21,48 @@ const LOADERS = [
21
21
  ["login", () => import("./account-BzhVD6jJ.js").then((m) => m.loginCommand)],
22
22
  ["logout", () => import("./account-BzhVD6jJ.js").then((m) => m.logoutCommand)],
23
23
  ["whoami", () => import("./account-BzhVD6jJ.js").then((m) => m.whoamiCommand)],
24
- ["init", () => import("./init-B_CCByIh.js").then((m) => m.initCommand)],
25
- ["add", () => import("./add-DHvo6zQZ.js").then((m) => m.addCommand)],
26
- ["remove", () => import("./remove-CyhSdPkK.js").then((m) => m.removeCommand)],
27
- ["upgrade", () => import("./upgrade-DiMHauEU.js").then((m) => m.upgradeCommand)],
24
+ ["init", () => import("./init-DLLfL1uL.js").then((m) => m.initCommand)],
25
+ ["add", () => import("./add-C04PIE9H.js").then((m) => m.addCommand)],
26
+ ["remove", () => import("./remove-CcBoTjEO.js").then((m) => m.removeCommand)],
27
+ ["upgrade", () => import("./upgrade-FWW6hKCv.js").then((m) => m.upgradeCommand)],
28
28
  ["table", () => import("./table-CcO-m_7t.js").then((m) => m.tableCommand)],
29
- ["migrate schema-first", () => import("./migrate-Bq6CUPbE.js").then((m) => m.migrateSchemaFirstCommand)],
30
- ["gen", () => import("./gen-RKf7q3L5.js").then((m) => m.genCommand)],
31
- ["doctor", () => import("./doctor-C_BEuEGg.js").then((m) => m.doctorCommand)],
29
+ ["migrate schema-first", () => import("./migrate-Ci_UUuPv.js").then((m) => m.migrateSchemaFirstCommand)],
30
+ ["gen", () => import("./gen-Bf1ujcTm.js").then((m) => m.genCommand)],
31
+ ["doctor", () => import("./doctor-DCorhlir.js").then((m) => m.doctorCommand)],
32
32
  ["codes", () => import("./codes-DNq30BZg.js").then((m) => m.codesCommand)],
33
- ["db query", () => import("./db-od92zIrO.js").then((m) => m.dbQueryCommand)],
34
- ["db diff", () => import("./db-od92zIrO.js").then((m) => m.dbDiffCommand)],
35
- ["db seed", () => import("./seed-Dlm5jjPn.js").then((m) => m.seedCommand)],
36
- ["db backfill", () => import("./backfill-bBk3QjfK.js").then((m) => m.dbBackfillCommand)],
37
- ["db verify", () => import("./verify-BFLaU6w3.js").then((m) => m.dbVerifyCommand)],
38
- ["db partition", () => import("./partition-C4g7WAwh.js").then((m) => m.dbPartitionCommand)],
39
- ["db squash", () => import("./squash-xCseaSP1.js").then((m) => m.dbSquashCommand)],
40
- ["workflows prune", () => import("./prune-workflows-DxpPCevB.js").then((m) => m.workflowsPruneCommand)],
41
- ["dev", () => import("./dev-ClH-7fB0.js").then((m) => m.devCommand)],
33
+ ["db query", () => import("./db-CEUnv3hK.js").then((m) => m.dbQueryCommand)],
34
+ ["db diff", () => import("./db-CEUnv3hK.js").then((m) => m.dbDiffCommand)],
35
+ ["db seed", () => import("./seed-CucH5loT.js").then((m) => m.seedCommand)],
36
+ ["db backfill", () => import("./backfill-Cr5jgVi1.js").then((m) => m.dbBackfillCommand)],
37
+ ["db verify", () => import("./verify-CrFHs8Lr.js").then((m) => m.dbVerifyCommand)],
38
+ ["db partition", () => import("./partition-DWJ6icQ5.js").then((m) => m.dbPartitionCommand)],
39
+ ["db squash", () => import("./squash-DEmB47YZ.js").then((m) => m.dbSquashCommand)],
40
+ ["workflows prune", () => import("./prune-workflows-VY7C9vhb.js").then((m) => m.workflowsPruneCommand)],
41
+ ["dev", () => import("./dev-D9nn9Gzt.js").then((m) => m.devCommand)],
42
42
  ["dev env", () => import("./env-bItpF97w.js").then((m) => m.envCommand)],
43
43
  ["dev run", () => import("./run-DbR0NaN_.js").then((m) => m.runCommand)],
44
44
  ["dev keys", () => import("./keys-f9iMQepr.js").then((m) => m.keysCommand)],
45
45
  ["dev stack ls", () => import("./stack-BUrc8jsg.js").then((m) => m.stackLsCommand)],
46
46
  ["dev stack prune", () => import("./stack-BUrc8jsg.js").then((m) => m.stackPruneCommand)],
47
47
  ["automations list", () => import("./automations-C1yZj3mn.js").then((m) => m.automationsListCommand)],
48
- ["blocks list", () => import("./blocks-CsQNweG8.js").then((m) => m.blocksListCommand)],
49
- ["blocks view", () => import("./blocks-CsQNweG8.js").then((m) => m.blocksViewCommand)],
50
- ["blocks search", () => import("./blocks-CsQNweG8.js").then((m) => m.blocksSearchCommand)],
51
- ["powersync streams", () => import("./powersync-DLUNuNl4.js").then((m) => m.powersyncStreamsCommand)],
52
- ["spec emit", () => import("./spec-C_JKo_dP.js").then((m) => m.specEmitCommand)],
53
- ["spec validate", () => import("./spec-C_JKo_dP.js").then((m) => m.specValidateCommand)],
54
- ["mcp", () => import("./mcp-BYwrZHp1.js").then((m) => m.mcpCommand)],
48
+ ["blocks list", () => import("./blocks-DLMVaOFG.js").then((m) => m.blocksListCommand)],
49
+ ["blocks view", () => import("./blocks-DLMVaOFG.js").then((m) => m.blocksViewCommand)],
50
+ ["blocks search", () => import("./blocks-DLMVaOFG.js").then((m) => m.blocksSearchCommand)],
51
+ ["powersync streams", () => import("./powersync-DnKUA1tu.js").then((m) => m.powersyncStreamsCommand)],
52
+ ["spec emit", () => import("./spec-QGOfTJvS.js").then((m) => m.specEmitCommand)],
53
+ ["spec validate", () => import("./spec-QGOfTJvS.js").then((m) => m.specValidateCommand)],
54
+ ["mcp", () => import("./mcp-DwjeMbmV.js").then((m) => m.mcpCommand)],
55
55
  ["skills list", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsListCommand)],
56
56
  ["skills install", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsInstallCommand)],
57
- ["codemod naming", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("naming"))],
58
- ["codemod extra-columns", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("extra-columns"))],
59
- ["codemod owned-columns", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("owned-columns"))],
60
- ["codemod config", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("config"))],
61
- ["codemod table-modules", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("table-modules"))],
62
- ["codemod account-calls", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("account-calls"))],
63
- ["codemod server-imports", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("server-imports"))],
64
- ["codemod generators", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("generators"))],
65
- ["codemod read-many", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("read-many"))],
57
+ ["codemod naming", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("naming"))],
58
+ ["codemod extra-columns", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("extra-columns"))],
59
+ ["codemod owned-columns", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("owned-columns"))],
60
+ ["codemod config", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("config"))],
61
+ ["codemod table-modules", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("table-modules"))],
62
+ ["codemod account-calls", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("account-calls"))],
63
+ ["codemod server-imports", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("server-imports"))],
64
+ ["codemod generators", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("generators"))],
65
+ ["codemod read-many", () => import("./codemod-x1I7Mjr3.js").then((m) => m.codemodCommand("read-many"))],
66
66
  ["completion", () => import("./completion-Ct0kXYpV.js").then((m) => m.completionCommand)],
67
67
  ["cache purge", () => import("./cache-DwdJCb29.js").then((m) => m.cachePurgeCommand)],
68
68
  ["config", () => import("./config-J8LaJ0Nl.js").then((m) => m.configCommand)]
@@ -714,7 +714,7 @@ function cliFromTree(init, extra = {}) {
714
714
  try {
715
715
  const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
716
716
  node.load(),
717
- import("./config-BGh7rJwA.js"),
717
+ import("./config-DkjilxeE.js"),
718
718
  import("./env-CBFi4MKR.js")
719
719
  ]);
720
720
  command = loaded;
@@ -746,7 +746,7 @@ function cliFromTree(init, extra = {}) {
746
746
  digest: globals["effects-digest"]
747
747
  });
748
748
  };
749
- await import("./memo-backend-BIHqP1uE.js").then(({ installMemo }) => installMemo(config.root));
749
+ await import("./memo-backend-DPGMyJvH.js").then(({ installMemo }) => installMemo(config.root));
750
750
  context = {
751
751
  cwd,
752
752
  config,
@@ -0,0 +1 @@
1
+ export { n as seedCommand } from "./seed-CvDA1ItH.js";
@@ -1,4 +1,4 @@
1
- import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-NxPVkM-K.js";
1
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DD_MnPRL.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
3
3
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
4
4
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-NnXnawki.js";
@@ -6,7 +6,7 @@ import { t as display } from "./io-CngfGyMA.js";
6
6
  import { t as connect } from "./db-B_xr3ZvK.js";
7
7
  import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
8
8
  import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-BhLbon5M.js";
9
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-B3Rowfv5.js";
9
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
10
10
  import { existsSync } from "node:fs";
11
11
  import { dirname, resolve } from "node:path";
12
12
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-BGVOuWXq.js";
1
+ import { a as toCatalog } from "./source-io7b1UpH.js";
2
2
  import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
3
3
  // src/cli/doctor/shared.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { l as stdinDatabaseUrl } from "./config-NxPVkM-K.js";
1
+ import { l as stdinDatabaseUrl } from "./config-DD_MnPRL.js";
2
2
  import { n as CliError } from "./errors-B7i-VGxk.js";
3
3
  // src/cli/commands/source-args.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-C7imaHag.js";
1
+ import { t as VERSION } from "./version-CSdXYnhG.js";
2
2
  import { n as CliError } from "./errors-B7i-VGxk.js";
3
3
  import { r as redactUrl } from "./redact--zOGdWzo.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-COotILIk.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-djAAvGKU.js";
@@ -4,8 +4,8 @@ import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
4
4
  import { i as failedResult, n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
5
5
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
6
6
  import { t as display } from "./io-CngfGyMA.js";
7
- import { s as writeAtomic } from "./cache-sR8AQqSV.js";
8
- import { t as VERSION } from "./version-C7imaHag.js";
7
+ import { s as writeAtomic } from "./cache-Ba26VW2N.js";
8
+ import { t as VERSION } from "./version-CSdXYnhG.js";
9
9
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
10
10
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
11
11
  import { t as loadTopics } from "./topics-CqhOV1S0.js";
@@ -1,11 +1,11 @@
1
1
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
2
2
  import { t as detectProject } from "./detect-CHR-SAmE.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
4
- import { n as databaseUrl, p as accessToken } from "./config-NxPVkM-K.js";
4
+ import { n as databaseUrl, p as accessToken } from "./config-DD_MnPRL.js";
5
5
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
6
6
  import { t as connect } from "./db-B_xr3ZvK.js";
7
- import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-sR8AQqSV.js";
8
- import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BGVOuWXq.js";
7
+ import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-Ba26VW2N.js";
8
+ import { a as toCatalog, n as managementSource, r as pgSource } from "./source-io7b1UpH.js";
9
9
  import { existsSync } from "node:fs";
10
10
  import { dirname, join, posix, relative, resolve, sep } from "node:path";
11
11
  import { glob, readFile, readdir } from "node:fs/promises";
@@ -1,7 +1,7 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
2
2
  import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
3
3
  import { r as supabaseCli } from "./exec-DBgtTCHK.js";
4
- import { i as migrationsDir } from "./sql-layout-D8dIzdy9.js";
4
+ import { i as migrationsDir } from "./sql-layout-1ASqdR4g.js";
5
5
  import { r as migrationStamp } from "./migration-names-7zAdXfcd.js";
6
6
  import { resolve } from "node:path";
7
7
  import { readFile, readdir, rm, writeFile } from "node:fs/promises";
@@ -1,12 +1,12 @@
1
1
  import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
2
2
  import { t as display } from "./io-CngfGyMA.js";
3
- import { i as migrationsDir, l as sqlPlan } from "./sql-layout-D8dIzdy9.js";
3
+ import { i as migrationsDir, l as sqlPlan } from "./sql-layout-1ASqdR4g.js";
4
4
  import { n as CliError } from "./errors-B7i-VGxk.js";
5
5
  import { t as loadTopics } from "./topics-CqhOV1S0.js";
6
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-Dv6VV1om.js";
6
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-DZtxNO8A.js";
7
7
  import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
8
- import { r as layoutFor } from "./providers-C5fw9XC_.js";
9
- import { n as renderBlocksCached, t as cacheOf } from "./render-cache-CInSNFhV.js";
8
+ import { r as layoutFor } from "./providers-BbFKOale.js";
9
+ import { n as renderBlocksCached, t as cacheOf } from "./render-cache-bbL2UdJ6.js";
10
10
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
11
11
  import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
12
12
  import { dirname, join, resolve } from "node:path";