better-supabase 0.54.0 → 0.55.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/{agents-DcZk8HBB.d.ts → agents-CBXJce8J.d.ts} +2 -2
  2. package/dist/{ai-schedules-b-uWaxba.d.ts → ai-schedules-CtwkMJDZ.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +1 -1
  4. package/dist/ai-sdk/workflow/index.d.ts +1 -1
  5. package/dist/{app-tables-B2xNMyLA.d.ts → app-tables-BsDmauWB.d.ts} +1 -1
  6. package/dist/{audit-actions-Dni5Y4wV.d.ts → audit-actions-DC-AtyWB.d.ts} +6 -0
  7. package/dist/{authorization-Bk6cLL5f.d.ts → authorization-DK7YSiFV.d.ts} +1 -1
  8. package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
  9. package/dist/{bind-DWElQa6I.d.ts → bind-DiGmjHzz.d.ts} +4 -4
  10. package/dist/{block-env-CQQUMPYZ.d.ts → block-env-BTKZBCL4.d.ts} +4 -4
  11. package/dist/{block-subjects-9KU6Q6-3.js → block-subjects-BoJrJAgR.js} +3 -2
  12. package/dist/{block-tables-JC1dMLaA.d.ts → block-tables-B6Jt0mWg.d.ts} +1 -1
  13. package/dist/blocks/access-requests/index.d.ts +1 -1
  14. package/dist/blocks/accounting/index.d.ts +1 -1
  15. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  16. package/dist/blocks/activities/index.d.ts +2 -2
  17. package/dist/blocks/advisories/index.d.ts +1 -1
  18. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  19. package/dist/blocks/agents/index.d.ts +1 -1
  20. package/dist/blocks/ai-cache/index.d.ts +1 -1
  21. package/dist/blocks/ai-chat/index.d.ts +1 -1
  22. package/dist/blocks/ai-evals/index.d.ts +1 -1
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +1 -1
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +4 -4
  28. package/dist/blocks/api-keys/index.d.ts +1 -1
  29. package/dist/blocks/appraisals/index.d.ts +1 -1
  30. package/dist/blocks/approvals/index.d.ts +1 -1
  31. package/dist/blocks/assets/index.d.ts +2 -2
  32. package/dist/blocks/assignment/index.d.ts +1 -1
  33. package/dist/blocks/attachments/index.d.ts +5 -5
  34. package/dist/blocks/audit/index.d.ts +2 -2
  35. package/dist/blocks/automations/index.d.ts +3 -3
  36. package/dist/blocks/banking/index.d.ts +1 -1
  37. package/dist/blocks/billable-time/index.d.ts +1 -1
  38. package/dist/blocks/billing/index.d.ts +2 -2
  39. package/dist/blocks/bookings/index.d.ts +2 -2
  40. package/dist/blocks/bulk/index.d.ts +1 -1
  41. package/dist/blocks/calendar/index.d.ts +3 -3
  42. package/dist/blocks/care/index.d.ts +27 -27
  43. package/dist/blocks/care-plans/index.d.ts +3 -3
  44. package/dist/blocks/cases/index.d.ts +3 -3
  45. package/dist/blocks/catalog/index.d.ts +2 -2
  46. package/dist/blocks/channels/index.d.ts +1 -1
  47. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  48. package/dist/blocks/cms/index.d.ts +5 -5
  49. package/dist/blocks/collaboration/index.d.ts +6 -6
  50. package/dist/blocks/collections/index.d.ts +1 -1
  51. package/dist/blocks/comments/index.d.ts +2 -2
  52. package/dist/blocks/commerce/index.d.ts +5 -5
  53. package/dist/blocks/commerce/index.js +2 -2
  54. package/dist/blocks/commissions/index.d.ts +1 -1
  55. package/dist/blocks/compliance/index.d.ts +1 -1
  56. package/dist/blocks/connectors/index.d.ts +1 -1
  57. package/dist/blocks/consents/index.d.ts +2 -2
  58. package/dist/blocks/contacts/index.d.ts +2 -2
  59. package/dist/blocks/content/index.d.ts +2 -2
  60. package/dist/blocks/contracts/index.d.ts +1 -1
  61. package/dist/blocks/courses/index.d.ts +3 -3
  62. package/dist/blocks/created-by/index.d.ts +2 -2
  63. package/dist/blocks/crm/index.d.ts +16 -16
  64. package/dist/blocks/crm/index.js +2 -2
  65. package/dist/blocks/custom-fields/index.d.ts +1 -1
  66. package/dist/blocks/dam/index.d.ts +2 -2
  67. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  68. package/dist/blocks/deadlines/index.d.ts +1 -1
  69. package/dist/blocks/deals/index.d.ts +1 -1
  70. package/dist/blocks/dispatch/index.d.ts +2 -2
  71. package/dist/blocks/document-templates/index.d.ts +2 -2
  72. package/dist/blocks/documents/index.d.ts +1 -1
  73. package/dist/blocks/domains/index.d.ts +1 -1
  74. package/dist/blocks/donations/index.d.ts +1 -1
  75. package/dist/blocks/drive/index.d.ts +5 -5
  76. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  77. package/dist/blocks/employees/index.d.ts +1 -1
  78. package/dist/blocks/enrichment/index.d.ts +1 -1
  79. package/dist/blocks/enrollments/index.d.ts +2 -2
  80. package/dist/blocks/entitlements/index.d.ts +3 -3
  81. package/dist/blocks/events/index.d.ts +3 -3
  82. package/dist/blocks/expenses/index.d.ts +1 -1
  83. package/dist/blocks/field-history/index.d.ts +1 -1
  84. package/dist/blocks/filespace/index.d.ts +8 -8
  85. package/dist/blocks/finance/index.d.ts +5 -5
  86. package/dist/blocks/finance/index.js +1 -1
  87. package/dist/blocks/flags/index.d.ts +1 -1
  88. package/dist/blocks/forecasts/index.d.ts +1 -1
  89. package/dist/blocks/forms/index.d.ts +3 -3
  90. package/dist/blocks/funding/index.d.ts +2 -2
  91. package/dist/blocks/goals/index.d.ts +1 -1
  92. package/dist/blocks/governance/index.d.ts +4 -4
  93. package/dist/blocks/guests/index.d.ts +1 -1
  94. package/dist/blocks/hiring/index.d.ts +1 -1
  95. package/dist/blocks/identities/index.d.ts +1 -1
  96. package/dist/blocks/imports/index.d.ts +2 -2
  97. package/dist/blocks/inbox/index.d.ts +6 -6
  98. package/dist/blocks/incidents/index.d.ts +1 -1
  99. package/dist/blocks/index.d.ts +4 -4
  100. package/dist/blocks/inspections/index.d.ts +2 -2
  101. package/dist/blocks/inventory/index.d.ts +1 -1
  102. package/dist/blocks/inventory/index.js +1 -1
  103. package/dist/blocks/invoices/index.d.ts +1 -1
  104. package/dist/blocks/invoices/index.js +1 -1
  105. package/dist/blocks/knowledge/index.d.ts +1 -1
  106. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  107. package/dist/blocks/learning/index.d.ts +3 -3
  108. package/dist/blocks/leases/index.d.ts +1 -1
  109. package/dist/blocks/leave/index.d.ts +1 -1
  110. package/dist/blocks/ledger/index.d.ts +1 -1
  111. package/dist/blocks/legal-entities/index.d.ts +2 -2
  112. package/dist/blocks/lims/index.d.ts +2 -2
  113. package/dist/blocks/mail-sync/index.d.ts +3 -3
  114. package/dist/blocks/maintenance/index.d.ts +2 -2
  115. package/dist/blocks/manufacturing/index.d.ts +2 -2
  116. package/dist/blocks/medications/index.d.ts +1 -1
  117. package/dist/blocks/meetings/index.d.ts +3 -3
  118. package/dist/blocks/memberships/index.d.ts +2 -2
  119. package/dist/blocks/memory/index.d.ts +1 -1
  120. package/dist/blocks/messaging/index.d.ts +5 -5
  121. package/dist/blocks/metrics/index.d.ts +1 -1
  122. package/dist/blocks/mfa/index.d.ts +2 -2
  123. package/dist/blocks/moderation/index.d.ts +2 -2
  124. package/dist/blocks/notifications/index.d.ts +5 -5
  125. package/dist/blocks/numbering/index.d.ts +1 -1
  126. package/dist/blocks/oauth-server/index.d.ts +1 -1
  127. package/dist/blocks/observations/index.d.ts +2 -2
  128. package/dist/blocks/onboarding/index.d.ts +2 -2
  129. package/dist/blocks/option-sets/index.d.ts +2 -2
  130. package/dist/blocks/orders/index.d.ts +1 -1
  131. package/dist/blocks/orders/index.js +1 -1
  132. package/dist/blocks/organizations/index.d.ts +2 -2
  133. package/dist/blocks/outbox/index.d.ts +1 -1
  134. package/dist/blocks/passes/index.d.ts +2 -2
  135. package/dist/blocks/payroll-export/index.d.ts +2 -2
  136. package/dist/blocks/payroll-export/index.js +1 -1
  137. package/dist/blocks/people/index.d.ts +7 -7
  138. package/dist/blocks/people/index.js +1 -1
  139. package/dist/blocks/periods/index.d.ts +1 -1
  140. package/dist/blocks/permissions/index.d.ts +3 -3
  141. package/dist/blocks/pipelines/index.d.ts +1 -1
  142. package/dist/blocks/posts/index.d.ts +2 -2
  143. package/dist/blocks/procurement/index.d.ts +5 -5
  144. package/dist/blocks/procurement/index.js +2 -2
  145. package/dist/blocks/profiles/index.d.ts +1 -1
  146. package/dist/blocks/projects/index.d.ts +7 -7
  147. package/dist/blocks/projects/index.js +2 -2
  148. package/dist/blocks/promotions/index.d.ts +1 -1
  149. package/dist/blocks/prompts/index.d.ts +1 -1
  150. package/dist/blocks/push/index.d.ts +2 -2
  151. package/dist/blocks/qualifications/index.d.ts +2 -2
  152. package/dist/blocks/queue/index.d.ts +2 -2
  153. package/dist/blocks/quotes/index.d.ts +1 -1
  154. package/dist/blocks/quotes/index.js +2 -2
  155. package/dist/blocks/rank/index.d.ts +1 -1
  156. package/dist/blocks/reactions/index.d.ts +4 -4
  157. package/dist/blocks/recruiting/index.d.ts +4 -4
  158. package/dist/blocks/referrals/index.d.ts +1 -1
  159. package/dist/blocks/relations/index.d.ts +1 -1
  160. package/dist/blocks/reminders/index.d.ts +1 -1
  161. package/dist/blocks/reviews/index.d.ts +1 -1
  162. package/dist/blocks/rfqs/index.d.ts +2 -2
  163. package/dist/blocks/risks/index.d.ts +2 -2
  164. package/dist/blocks/saas/index.d.ts +12 -12
  165. package/dist/blocks/sales/index.d.ts +1 -1
  166. package/dist/blocks/sales/index.js +1 -1
  167. package/dist/blocks/saved-views/index.d.ts +2 -2
  168. package/dist/blocks/scheduling/index.d.ts +4 -4
  169. package/dist/blocks/scores/index.d.ts +2 -2
  170. package/dist/blocks/search/index.d.ts +3 -3
  171. package/dist/blocks/security-events/index.d.ts +1 -1
  172. package/dist/blocks/segments/index.d.ts +2 -2
  173. package/dist/blocks/sequences/index.d.ts +3 -3
  174. package/dist/blocks/service/index.d.ts +7 -7
  175. package/dist/blocks/service/index.js +1 -1
  176. package/dist/blocks/service-accounts/index.d.ts +1 -1
  177. package/dist/blocks/sessions/index.d.ts +2 -2
  178. package/dist/blocks/settings/index.d.ts +2 -2
  179. package/dist/blocks/share-links/index.d.ts +1 -1
  180. package/dist/blocks/shifts/index.d.ts +2 -2
  181. package/dist/blocks/shipments/index.d.ts +2 -2
  182. package/dist/blocks/signatures/index.d.ts +2 -2
  183. package/dist/blocks/signing-keys/index.d.ts +1 -1
  184. package/dist/blocks/sla/index.d.ts +1 -1
  185. package/dist/blocks/sso/index.d.ts +1 -1
  186. package/dist/blocks/state-machine/index.d.ts +1 -1
  187. package/dist/blocks/subjects/index.d.ts +2 -2
  188. package/dist/blocks/support/index.d.ts +5 -5
  189. package/dist/blocks/support/index.js +1 -1
  190. package/dist/blocks/tags/index.d.ts +2 -2
  191. package/dist/blocks/tasks/index.d.ts +2 -2
  192. package/dist/blocks/tasks/index.js +1 -1
  193. package/dist/blocks/tax/index.d.ts +2 -2
  194. package/dist/blocks/teams/index.d.ts +1 -1
  195. package/dist/blocks/templates/index.d.ts +11 -1
  196. package/dist/blocks/templates/index.js +6 -1
  197. package/dist/blocks/tills/index.d.ts +1 -1
  198. package/dist/blocks/time-tracking/index.d.ts +2 -2
  199. package/dist/blocks/timeline/index.d.ts +1 -1
  200. package/dist/blocks/trash/index.d.ts +1 -1
  201. package/dist/blocks/undo/index.d.ts +2 -2
  202. package/dist/blocks/updated-at/index.d.ts +2 -2
  203. package/dist/blocks/usage/index.d.ts +2 -2
  204. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  205. package/dist/blocks/versions/index.d.ts +1 -1
  206. package/dist/blocks/waitlist/index.d.ts +1 -1
  207. package/dist/blocks/warehouse/index.d.ts +1 -1
  208. package/dist/blocks/webhooks/index.d.ts +1 -1
  209. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  210. package/dist/blocks/workflows/index.d.ts +4 -4
  211. package/dist/{blocks-LZklPzC5.d.ts → blocks-2HFgUcqG.d.ts} +52 -17
  212. package/dist/claims/index.d.ts +3 -3
  213. package/dist/cli/{add-DK38-F2F.js → add-BnYh-Kpy.js} +12 -12
  214. package/dist/cli/add-D0TUMxXn.js +1 -0
  215. package/dist/cli/{add-BQZbFEAP.js → add-LvxZ-JNB.js} +2 -2
  216. package/dist/cli/{app-table-files-C5Sx2Qao.js → app-table-files-7M0I9LaE.js} +3 -3
  217. package/dist/cli/{app-tables-ChZE8Z_L.js → app-tables-BfWPWiOJ.js} +2 -2
  218. package/dist/cli/{backfill-COnv2tOL.js → backfill-i0Tx24Sa.js} +3 -3
  219. package/dist/cli/bin.js +1 -1
  220. package/dist/cli/{blocks-Dea_Z5Ps.js → blocks-C_7ioBdJ.js} +1 -1
  221. package/dist/cli/{blocks-Csu6lLqC.js → blocks-X_eD_t_f.js} +1 -1
  222. package/dist/cli/{cache-C1nAFZNW.js → cache-D98rjB1C.js} +1 -1
  223. package/dist/cli/{codemod-DHULUpez.js → codemod-j1nCkgA5.js} +1 -1
  224. package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
  225. package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
  226. package/dist/cli/{content-mapper-QVJJto5U.js → content-mapper-UsLt4y0J.js} +2 -2
  227. package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
  228. package/dist/cli/{doctor-Du2zwLUG.js → doctor-BYJM72wi.js} +17 -17
  229. package/dist/cli/{gen-CQ2ubqjB.js → gen-D47t5jj3.js} +14 -14
  230. package/dist/cli/index.d.ts +1 -1
  231. package/dist/cli/index.js +7 -7
  232. package/dist/cli/{init-CTt0aQn1.js → init-CAWeLXCs.js} +10 -10
  233. package/dist/cli/{live-DMNuAml9.js → live-DNd8MMNk.js} +2 -2
  234. package/dist/cli/{mcp-C63ulwyU.js → mcp-BUs7M6fq.js} +2 -2
  235. package/dist/cli/{metadata-CylES-9Y.js → metadata-UwEYCntC.js} +3 -3
  236. package/dist/cli/{migrate-BezKva56.js → migrate-D-GzXR4D.js} +1 -1
  237. package/dist/cli/{migration-safety-DQtpMu-g.js → migration-safety-Cg9jf2s-.js} +2 -2
  238. package/dist/cli/{migrations-DGJJ1rHt.js → migrations-Bhcf7MHM.js} +2 -2
  239. package/dist/cli/{module-migration-CxbEDfSF.js → module-migration-BJaOdOWy.js} +2 -2
  240. package/dist/cli/powersync-Bn-u0TGP.js +1 -0
  241. package/dist/cli/{powersync-FUYFuZSw.js → powersync-DQKdjG_K.js} +3 -3
  242. package/dist/cli/{print-DAwLAC-7.js → print-B1onZWRG.js} +2 -2
  243. package/dist/cli/{providers-hrxX3YKU.js → providers-M7s8btf1.js} +1 -1
  244. package/dist/cli/{prune-workflows-DLhKu_UJ.js → prune-workflows-BiRF1YBZ.js} +3 -3
  245. package/dist/cli/{remove-DSC6Fvwo.js → remove-BHyzqWNm.js} +6 -6
  246. package/dist/cli/{render-647qdnrX.js → render-DDCy_0V_.js} +4 -4
  247. package/dist/cli/{run-BcI6KXV3.js → run-Csm1-Uto.js} +35 -35
  248. package/dist/cli/{run--qaDaqfL.js → run-DDUBMkbN.js} +9 -9
  249. package/dist/cli/seed-BxjjQ3OO.js +1 -0
  250. package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
  251. package/dist/cli/{shared-D_DZ9MfG.js → shared-Cv22MEAO.js} +1 -1
  252. package/dist/cli/{snapshot-B-1tPbV4.js → snapshot-9xnSt525.js} +3 -3
  253. package/dist/cli/{source-BgFNrRcl.js → source-B_miugrh.js} +1 -1
  254. package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
  255. package/dist/cli/{spec-C88dtkj4.js → spec-BeAgQ-of.js} +1 -1
  256. package/dist/cli/{spec-CV0FdW18.js → spec-dYLJbr9J.js} +2 -2
  257. package/dist/cli/{sql-layout-byUur5FC.js → sql-layout-3YU4941N.js} +2 -2
  258. package/dist/cli/{sync-BtM7o-sI.js → sync-Bfwk4Ldc.js} +4 -4
  259. package/dist/cli/{upgrade-CKDeHkyy.js → upgrade-BMrkzAcD.js} +5 -5
  260. package/dist/cli/{upgrade-B_HEJvRX.js → upgrade-DRvMFW2T.js} +2 -2
  261. package/dist/cli/{version-DWDoiP5_.js → version-BXjNETWS.js} +1 -1
  262. package/dist/client/index.d.ts +6 -6
  263. package/dist/client/native/index.d.ts +4 -4
  264. package/dist/config/index.d.ts +4 -4
  265. package/dist/config/index.js +4 -4
  266. package/dist/{config-LOwFAFpo.js → config-CsX2THwJ.js} +3 -3
  267. package/dist/{config-ekflaCnS.js → config-Dgl6AxKE.js} +1 -1
  268. package/dist/{context-iduX3Fsn.d.ts → context-DSJpfeVv.d.ts} +47 -4
  269. package/dist/contract/index.d.ts +3 -3
  270. package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
  271. package/dist/{controller-DFGNChQL.d.ts → controller-BVee4yX8.d.ts} +1 -1
  272. package/dist/{conversion-DTBB0Zgt.d.ts → conversion-BPkWkVoa.d.ts} +1 -1
  273. package/dist/create/index.d.ts +4 -4
  274. package/dist/create/index.js +3 -3
  275. package/dist/create/lite/index.d.ts +3 -3
  276. package/dist/create/lite/index.js +2 -2
  277. package/dist/{data-engine-BKO5EAzN.d.ts → data-engine-0uVsKWaB.d.ts} +7 -3
  278. package/dist/{define-block-By-LUpM_.d.ts → define-block-Cu67KCN1.d.ts} +1 -1
  279. package/dist/{drive-CuNG4qB8.d.ts → drive-D008IDpI.d.ts} +1 -1
  280. package/dist/{entitlements-Go8BHqhr.d.ts → entitlements-CRBZg5y2.d.ts} +1 -1
  281. package/dist/{extract-DQKHxiiq.d.ts → extract-BU5w3k5s.d.ts} +1 -1
  282. package/dist/{field-errors-B4SMTk2e.d.ts → field-errors-CjEgbjO9.d.ts} +6 -6
  283. package/dist/{index-NqLuAXG3.d.ts → index--7HXH_H_.d.ts} +2 -2
  284. package/dist/{index-BvwlIGwY.d.ts → index-AmPcMT_X.d.ts} +1 -1
  285. package/dist/{index-DfJFbsVp.d.ts → index-BDn4Mqq0.d.ts} +1 -1
  286. package/dist/{index-DeE-Xuv7.d.ts → index-BOZ6AsMs.d.ts} +1 -1
  287. package/dist/{index-BkBNirhK.d.ts → index-BR8ZkijS.d.ts} +2 -2
  288. package/dist/{index-DzjugbCf.d.ts → index-BTl5A8Aj.d.ts} +2 -2
  289. package/dist/{index-BmKtYKwN.d.ts → index-BVJsz3pS.d.ts} +2 -2
  290. package/dist/{index-CTHuTJtf.d.ts → index-BeU2DRAI.d.ts} +1 -1
  291. package/dist/{index-DkNMN5uU.d.ts → index-BleHtlJ6.d.ts} +1 -1
  292. package/dist/{index-ROumUag2.d.ts → index-BoCyVsCr.d.ts} +1 -1
  293. package/dist/{index-DgRK-iM3.d.ts → index-BvPirjfD.d.ts} +4 -4
  294. package/dist/{index-pRdO2XnG.d.ts → index-CDEzb5bl.d.ts} +1 -1
  295. package/dist/{index-D-bMFoGs.d.ts → index-CKdNndE3.d.ts} +2 -2
  296. package/dist/{index-B8axasMg.d.ts → index-CaW37FHZ.d.ts} +1 -1
  297. package/dist/{index-DJyt9j86.d.ts → index-ChaJiMkI.d.ts} +2 -2
  298. package/dist/{index-9zNFFq6E.d.ts → index-D-3fZP5z.d.ts} +1 -1
  299. package/dist/{index-szXZSILq.d.ts → index-D5nY5k-2.d.ts} +7 -7
  300. package/dist/{index-D7FXhn2i.d.ts → index-D7zwaGAP.d.ts} +1 -1
  301. package/dist/{index-DkJtM-9e.d.ts → index-DDDHYXtr.d.ts} +9 -9
  302. package/dist/{index-DFdqVxv6.d.ts → index-DJ1Uk4ff.d.ts} +4 -4
  303. package/dist/{index-BKWnyAWN.d.ts → index-DR4P3Lf9.d.ts} +2 -2
  304. package/dist/{index-BoKvWo8t.d.ts → index-DYzQ_PPW.d.ts} +1 -1
  305. package/dist/{index-abVPYQE3.d.ts → index-DZRsTCds.d.ts} +1 -1
  306. package/dist/{index-D9Sb8Ju5.d.ts → index-DhS8Qkgj.d.ts} +3 -3
  307. package/dist/{index-YZ-_hzdR.d.ts → index-DsA7MQwZ.d.ts} +1 -1
  308. package/dist/{index-bJVAgXxw.d.ts → index-DtMdKIJU.d.ts} +2 -2
  309. package/dist/{index-BXRyr3ey.d.ts → index-Dyq6B4gZ.d.ts} +2 -2
  310. package/dist/{index-D337YzjX.d.ts → index-E_Q5L9PV.d.ts} +1 -1
  311. package/dist/{index-DXoS8BnK.d.ts → index-JzAR_Y7n.d.ts} +3 -3
  312. package/dist/{index-D4ke5U0m.d.ts → index-_RnZChF8.d.ts} +1 -1
  313. package/dist/{index-DkNLdcX_.d.ts → index-_wr8wCe9.d.ts} +1 -1
  314. package/dist/{index-20EPlFXG.d.ts → index-dMGEJLxl.d.ts} +1 -1
  315. package/dist/{index-DQVQYEhP.d.ts → index-ilxdL8pz.d.ts} +1 -1
  316. package/dist/{index-DlXgoerO.d.ts → index-r3QZBY7z.d.ts} +1 -1
  317. package/dist/{index-Bsd8P1iQ.d.ts → index-slG4UpF_.d.ts} +2 -2
  318. package/dist/{index-C1kImKZg.d.ts → index-u8EXkOzJ.d.ts} +1 -1
  319. package/dist/{index-Dg35ugqv.d.ts → index-voglIa16.d.ts} +4 -4
  320. package/dist/{instances-DJxWRqXk.js → instances-BMjIO6Xu.js} +32 -7
  321. package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
  322. package/dist/{manifest-8JvRt8LB.d.ts → manifest-6PhMgCFi.d.ts} +1 -1
  323. package/dist/{manifest-B6EkxzC0.d.ts → manifest-B17Sra5h.d.ts} +1 -1
  324. package/dist/{manifest-DCPKfwsh.d.ts → manifest-B4CEdcH_.d.ts} +1 -1
  325. package/dist/{manifest-BCyCm0Z3.d.ts → manifest-BB3GjGa3.d.ts} +1 -1
  326. package/dist/{manifest-H6lz9xQm.d.ts → manifest-BE7UwezO.d.ts} +1 -1
  327. package/dist/{manifest-DGgFeLwd.d.ts → manifest-BMNwdO5D.d.ts} +1 -1
  328. package/dist/{manifest-BrOXXz7k.d.ts → manifest-BSvxbZH5.d.ts} +1 -1
  329. package/dist/{manifest-DZLr6Cbr.js → manifest-BV1YxozT.js} +1 -1
  330. package/dist/{manifest-BJs6pHI0.d.ts → manifest-BVjhJ3Mj.d.ts} +1 -1
  331. package/dist/{manifest-Dh4AJeLl.d.ts → manifest-BXxSqnLS.d.ts} +1 -1
  332. package/dist/{manifest-CcDqfRee.d.ts → manifest-BYbt4y_O.d.ts} +1 -1
  333. package/dist/{manifest-KHudP5T5.d.ts → manifest-BZL2TAB1.d.ts} +1 -1
  334. package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
  335. package/dist/{manifest-fviCqeHj.d.ts → manifest-BknZ4yQ-.d.ts} +1 -1
  336. package/dist/{manifest-B24Ymu8p.d.ts → manifest-Bp0oZ3-W.d.ts} +1 -1
  337. package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
  338. package/dist/{manifest-DWQaegX6.d.ts → manifest-Bz0EjE76.d.ts} +1 -1
  339. package/dist/{manifest-BbC83cJB.d.ts → manifest-BzsuqiQx.d.ts} +1 -1
  340. package/dist/{manifest-Dc1eHEJV.d.ts → manifest-CBwrN4Nf.d.ts} +1 -1
  341. package/dist/{manifest-BqBVKNjy.d.ts → manifest-CELTce26.d.ts} +1 -1
  342. package/dist/{manifest-jSOZl7qT.d.ts → manifest-CGZQ9lU3.d.ts} +1 -1
  343. package/dist/{manifest-DpF5bliV.d.ts → manifest-CGcGylmw.d.ts} +1 -1
  344. package/dist/{manifest-RUmJ5H6p.d.ts → manifest-CMNPpmWS.d.ts} +2 -2
  345. package/dist/{manifest-vG5iHhA5.d.ts → manifest-CMnLDDS3.d.ts} +1 -1
  346. package/dist/{manifest-CszjCxVJ.d.ts → manifest-CSHNTEJZ.d.ts} +1 -1
  347. package/dist/{manifest-qs_U2rx3.d.ts → manifest-CWj5SFuw.d.ts} +1 -1
  348. package/dist/{manifest-Cko_ySTe.d.ts → manifest-C_dVunWg.d.ts} +1 -1
  349. package/dist/{manifest-uL5fzXsx.d.ts → manifest-CaA-2HPK.d.ts} +1 -1
  350. package/dist/{manifest-DPGJ2otk.d.ts → manifest-CbKgs5qA.d.ts} +1 -1
  351. package/dist/{manifest-BfIYKrNe.d.ts → manifest-CdD44xlg.d.ts} +1 -1
  352. package/dist/{manifest-BGD8cD6S.d.ts → manifest-CoFpa0dN.d.ts} +1 -1
  353. package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
  354. package/dist/{manifest-BHlKJbN2.d.ts → manifest-D0FjVeay.d.ts} +1 -1
  355. package/dist/{manifest-Bj5hfBA_.d.ts → manifest-D2Z_2z9-.d.ts} +1 -1
  356. package/dist/{manifest-o-S9bj6i.d.ts → manifest-D2d1wS7g.d.ts} +1 -1
  357. package/dist/{manifest-CL5QEu5B.d.ts → manifest-D7mliM-d.d.ts} +1 -1
  358. package/dist/{manifest-DBmuiJ91.d.ts → manifest-D9P9Yhe3.d.ts} +1 -1
  359. package/dist/{manifest-Bg5Znp_u.d.ts → manifest-DAXz8rxB.d.ts} +1 -1
  360. package/dist/{manifest-BgVQ8xd3.d.ts → manifest-DG0oDOmq.d.ts} +1 -1
  361. package/dist/{manifest-Csw2tVut.d.ts → manifest-DGLrMEdB.d.ts} +1 -1
  362. package/dist/{manifest-BxujRhsY.d.ts → manifest-DGiswyG5.d.ts} +1 -1
  363. package/dist/{manifest-Da1QZDY4.d.ts → manifest-DIZ6chpf.d.ts} +1 -1
  364. package/dist/{manifest-xRlf8RQk.d.ts → manifest-DMvx2rWH.d.ts} +1 -1
  365. package/dist/{manifest-BtlEwVU4.d.ts → manifest-DPqKZgWn.d.ts} +1 -1
  366. package/dist/{manifest-BmLU5HtO.d.ts → manifest-DUlZ8qck.d.ts} +1 -1
  367. package/dist/{manifest-DjAdsSs4.d.ts → manifest-DYPVnKW_.d.ts} +1 -1
  368. package/dist/{manifest-Oo7PegXK.d.ts → manifest-D_VmA0aC.d.ts} +1 -1
  369. package/dist/{manifest-CAPSAozN.d.ts → manifest-Dc8pNExY.d.ts} +1 -1
  370. package/dist/{manifest-dXPq0ubY.d.ts → manifest-Df1QDhiQ.d.ts} +1 -1
  371. package/dist/{manifest-BAgvJODg.d.ts → manifest-DhXoSaUC.d.ts} +1 -1
  372. package/dist/{manifest-DweZMH-F.d.ts → manifest-DhpmWh55.d.ts} +1 -1
  373. package/dist/{manifest-BxuSAdYu.d.ts → manifest-Dk_7prKx.d.ts} +1 -1
  374. package/dist/{manifest-DnGgZ9_F.d.ts → manifest-Dl_bw4IU.d.ts} +1 -1
  375. package/dist/{manifest-BeW5LlW1.d.ts → manifest-DsuoLp-Y.d.ts} +1 -1
  376. package/dist/{manifest-2ZgzNTbP.d.ts → manifest-DtEcJBdE.d.ts} +10 -1
  377. package/dist/{manifest-DdxfAXvG.d.ts → manifest-DwCorUVJ.d.ts} +1 -1
  378. package/dist/{manifest-CfQ0nD_7.d.ts → manifest-DxPLHyKY.d.ts} +1 -1
  379. package/dist/{manifest-BSkYvne3.d.ts → manifest-Eazz96as.d.ts} +1 -1
  380. package/dist/{manifest-CH7g3uI3.d.ts → manifest-Pl5us_yz.d.ts} +1 -1
  381. package/dist/{manifest-upfKO7JJ.d.ts → manifest-X4analSK.d.ts} +1 -1
  382. package/dist/{manifest-2jLTjnVh.d.ts → manifest-auanzyjB.d.ts} +1 -1
  383. package/dist/{manifest-CeoUoZDs.d.ts → manifest-gGFtQDJz.d.ts} +1 -1
  384. package/dist/{manifest-BCOBkYvY.d.ts → manifest-lzwWCAYV.d.ts} +2 -2
  385. package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
  386. package/dist/{manifest-Ct6mHhg4.d.ts → manifest-uIIb_YLI.d.ts} +1 -1
  387. package/dist/{manifest-DevURQJj.js → manifest-vBvsSefP.js} +5 -1
  388. package/dist/{manifest-CDcaLpwB.d.ts → manifest-xikzppm9.d.ts} +1 -1
  389. package/dist/{manifest-BHZEsuzC.d.ts → manifest-yKx0faak.d.ts} +1 -1
  390. package/dist/mapper/bin.js +6 -6
  391. package/dist/mcp/index.d.ts +1 -1
  392. package/dist/next/index.d.ts +7 -7
  393. package/dist/{operations-IzVAIMvs.d.ts → operations-DKfYeS5z.d.ts} +1 -1
  394. package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
  395. package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
  396. package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
  397. package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
  398. package/dist/otel/index.js +4 -4
  399. package/dist/{payroll-export-T754eWz8.js → payroll-export-ChZY6W3w.js} +1 -1
  400. package/dist/{permissions-DxXor_NY.d.ts → permissions-C5h1cU25.d.ts} +1 -1
  401. package/dist/{ports-C5BEHQi6.d.ts → ports-DvaVv_3b.d.ts} +1 -1
  402. package/dist/powersync/index.d.ts +3 -3
  403. package/dist/powersync/index.js +11 -3
  404. package/dist/preset/index.d.ts +4 -4
  405. package/dist/preset/index.js +3 -3
  406. package/dist/{preset-8Xh21Uyw.js → preset-Cl3Q5ASC.js} +8 -2
  407. package/dist/{preview-B-mtB1ka.d.ts → preview-Bwg7r1Lf.d.ts} +2 -2
  408. package/dist/{project-C6JAWCnH.js → project-At5wBJSS.js} +5 -5
  409. package/dist/{push-token-TWXWra8i.d.ts → push-token-C6ZGE1g0.d.ts} +1 -1
  410. package/dist/query/index.d.ts +1 -1
  411. package/dist/react/index.d.ts +6 -6
  412. package/dist/react/native/index.d.ts +1 -1
  413. package/dist/react/server.d.ts +5 -5
  414. package/dist/realtime/index.d.ts +3 -3
  415. package/dist/{record-form-B9-7RhYz.d.ts → record-form-DTncyqVH.d.ts} +1 -1
  416. package/dist/records/index.d.ts +7 -7
  417. package/dist/{sales-CLHrvNDm.js → sales-BhOckhix.js} +3 -3
  418. package/dist/server/index.d.ts +3 -3
  419. package/dist/solid/index.d.ts +5 -5
  420. package/dist/sql/index.d.ts +6 -6
  421. package/dist/sql/index.js +3 -3
  422. package/dist/{sql-Bam07JIf.js → sql-CdZdPqjA.js} +1010 -219
  423. package/dist/sqlite/index.d.ts +1 -1
  424. package/dist/ssr/index.d.ts +1 -1
  425. package/dist/svelte/index.d.ts +5 -5
  426. package/dist/tanstack-db/index.d.ts +1 -1
  427. package/dist/{tenant-BpJ2F2b_.d.ts → tenant-BTnwa5oZ.d.ts} +1 -1
  428. package/dist/testing/index.d.ts +6 -6
  429. package/dist/testing/index.js +1 -1
  430. package/dist/{timeline-LHtdAJnM.d.ts → timeline-B7kBQ1gh.d.ts} +2 -2
  431. package/dist/{topic-4KYLvvTB.d.ts → topic-hu0RP7CG.d.ts} +1 -1
  432. package/dist/{types-Dfa7b0KI.d.ts → types-DvglaQ_D.d.ts} +2 -2
  433. package/dist/vue/index.d.ts +5 -5
  434. package/dist/{watch-topic-C9DIO476.d.ts → watch-topic-C_rGHxIA.d.ts} +1 -1
  435. package/dist/webmcp/index.d.ts +1 -1
  436. package/dist/yjs/index.d.ts +1 -1
  437. package/package.json +1 -1
  438. package/schemas/config-v1.json +64 -1
  439. package/skills/better-supabase-api/references/powersync.md +1 -0
  440. package/dist/cli/add-3L9NVEA3.js +0 -1
  441. package/dist/cli/powersync-COHj6FT8.js +0 -1
  442. package/dist/cli/seed-CRD1tYPA.js +0 -1
package/dist/cli/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { i as run, n as createCli, r as help, t as commandNames } from "./run-BcI6KXV3.js";
1
+ import { i as run, n as createCli, r as help, t as commandNames } from "./run-Csm1-Uto.js";
2
2
  import { a as list, r as defineCliCommand } from "./command-CLvgELKk.js";
3
3
  import { n as CliError, t as CLI_ERRORS_URL } from "./errors-DcJ_PayO.js";
4
- import { a as emitBlockConfig, c as GENERATED_HEADER, d as buildModel, l as emitModule, o as emitBlockConfigModule, r as renderFiles, s as emitClientBlocks } from "./render-647qdnrX.js";
5
- import { n as runGen } from "./run--qaDaqfL.js";
6
- import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-B-1tPbV4.js";
7
- import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BgFNrRcl.js";
8
- import { s as loadConfig } from "./config-FN5Cp861.js";
9
- import { t as VERSION } from "./version-DWDoiP5_.js";
4
+ import { a as emitBlockConfig, c as GENERATED_HEADER, d as buildModel, l as emitModule, o as emitBlockConfigModule, r as renderFiles, s as emitClientBlocks } from "./render-DDCy_0V_.js";
5
+ import { n as runGen } from "./run-DDUBMkbN.js";
6
+ import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-9xnSt525.js";
7
+ import { a as toCatalog, n as managementSource, r as pgSource } from "./source-B_miugrh.js";
8
+ import { s as loadConfig } from "./config-DdkxiGjH.js";
9
+ import { t as VERSION } from "./version-BXjNETWS.js";
10
10
  // src/cli/introspect/from-catalog.ts
11
11
  /**
12
12
  * Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
@@ -1,18 +1,18 @@
1
- import { a as findConfig, s as loadConfig } from "./config-FN5Cp861.js";
2
- import { r as contentMapperFiles } from "./content-mapper-QVJJto5U.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-DK38-F2F.js";
1
+ import { a as findConfig, s as loadConfig } from "./config-DdkxiGjH.js";
2
+ import { r as contentMapperFiles } from "./content-mapper-UsLt4y0J.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-BnYh-Kpy.js";
4
4
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
5
5
  import { n as CliError } from "./errors-DcJ_PayO.js";
6
6
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
7
7
  import { r as readIfExists } from "./io-CQzy8PEZ.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-DQtpMu-g.js";
9
- import { s as enablePgDelta, t as syncModules } from "./sync-BtM7o-sI.js";
10
- import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-B-1tPbV4.js";
11
- import { a as toCatalog } from "./source-BgFNrRcl.js";
12
- import { l as TYPEGEN_VERSION } from "./cache-C1nAFZNW.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-Cg9jf2s-.js";
9
+ import { s as enablePgDelta, t as syncModules } from "./sync-Bfwk4Ldc.js";
10
+ import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-9xnSt525.js";
11
+ import { a as toCatalog } from "./source-B_miugrh.js";
12
+ import { l as TYPEGEN_VERSION } from "./cache-D98rjB1C.js";
13
13
  import { n as installCommand, t as detectProject } from "./detect-ad_V_zja.js";
14
- import { m as suggestedPackage, p as detectWorkspace } from "./sql-layout-byUur5FC.js";
15
- import { t as appTablePlan } from "./app-table-files-C5Sx2Qao.js";
14
+ import { m as suggestedPackage, p as detectWorkspace } from "./sql-layout-3YU4941N.js";
15
+ import { t as appTablePlan } from "./app-table-files-7M0I9LaE.js";
16
16
  import { i as plain } from "./style-B5-nByxb.js";
17
17
  import { existsSync } from "node:fs";
18
18
  import { join, posix, resolve } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import { r as errorText } from "./errors-DcJ_PayO.js";
2
- import "./source-BgFNrRcl.js";
3
- import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-D_DZ9MfG.js";
2
+ import "./source-B_miugrh.js";
3
+ import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-Cv22MEAO.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-CLvgELKk.js";
2
- import { a as envelope, i as run } from "./run-BcI6KXV3.js";
2
+ import { a as envelope, i as run } from "./run-Csm1-Uto.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-BLwQ6srP.js";
4
4
  import { n as consentToken } from "./agent-Tqq3MAqx.js";
5
5
  import { n as CliError } from "./errors-DcJ_PayO.js";
6
- import { t as VERSION } from "./version-DWDoiP5_.js";
6
+ import { t as VERSION } from "./version-BXjNETWS.js";
7
7
  import { createInterface } from "node:readline";
8
8
  import { answerLine } from "better-supabase/mcp";
9
9
  // src/cli/mcp/server.ts
@@ -1,8 +1,8 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { i as readStdin } from "./io-CQzy8PEZ.js";
3
- import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run--qaDaqfL.js";
4
- import { f as MetadataRejectedError, g as parseMetadataDocument } from "./snapshot-B-1tPbV4.js";
5
- import { n as render, u as metaPaths } from "./render-647qdnrX.js";
3
+ import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-DDUBMkbN.js";
4
+ import { f as MetadataRejectedError, g as parseMetadataDocument } from "./snapshot-9xnSt525.js";
5
+ import { n as render, u as metaPaths } from "./render-DDCy_0V_.js";
6
6
  import { basename, join, relative, resolve, sep } from "node:path";
7
7
  import { readFile } from "node:fs/promises";
8
8
  import { jsonSchema, standardSchema, valibot, zod } from "better-supabase/config";
@@ -1,6 +1,6 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
3
- import { t as appTablePlan } from "./app-table-files-C5Sx2Qao.js";
3
+ import { t as appTablePlan } from "./app-table-files-7M0I9LaE.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 { f as INTEGRATIONS } from "./config-FN5Cp861.js";
2
- import { c as splitStatements } from "./shared-D_DZ9MfG.js";
1
+ import { f as INTEGRATIONS } from "./config-DdkxiGjH.js";
2
+ import { c as splitStatements } from "./shared-Cv22MEAO.js";
3
3
  import { dirname, join, posix } from "node:path";
4
4
  import { readdir } from "node:fs/promises";
5
5
  import { INTEGRATION_INFO, groupEntries } from "better-supabase/config";
@@ -1,7 +1,7 @@
1
1
  import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
2
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-byUur5FC.js";
2
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
3
3
  import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
- import { r as layoutFor } from "./providers-hrxX3YKU.js";
4
+ import { r as layoutFor } from "./providers-M7s8btf1.js";
5
5
  import { resolve } from "node:path";
6
6
  import { readFile, readdir } from "node:fs/promises";
7
7
  import { moduleSchemaExtensions, renderBlocks } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
2
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-byUur5FC.js";
2
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
3
3
  import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
- import { i as stampAfter } from "./migrations-DGJJ1rHt.js";
4
+ import { i as stampAfter } from "./migrations-Bhcf7MHM.js";
5
5
  import { resolve } from "node:path";
6
6
  import { readFile, readdir } from "node:fs/promises";
7
7
  import { moduleSchemaExtensions } from "better-supabase/sql";
@@ -0,0 +1 @@
1
+ export { t as powersyncStreamsCommand } from "./powersync-DQKdjG_K.js";
@@ -1,8 +1,8 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
3
- import { a as snapshotColumnTypes, n as migrationsDir } from "./sql-layout-byUur5FC.js";
4
- import { i as stampAfter } from "./migrations-DGJJ1rHt.js";
5
- import { r as layoutFor } from "./providers-hrxX3YKU.js";
3
+ import { a as snapshotColumnTypes, n as migrationsDir } from "./sql-layout-3YU4941N.js";
4
+ import { i as stampAfter } from "./migrations-Bhcf7MHM.js";
5
+ import { r as layoutFor } from "./providers-M7s8btf1.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { join, resolve } from "node:path";
8
8
  import { readFile, readdir } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
- import { n as layout } from "./providers-hrxX3YKU.js";
3
- import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-CxbEDfSF.js";
2
+ import { n as layout } from "./providers-M7s8btf1.js";
3
+ import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-BJaOdOWy.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 moduleKeyProblems, i as entitlementsMode, t as accessProviderMode } from "./authorization-DAYgx04b.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
4
- import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-byUur5FC.js";
4
+ import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-3YU4941N.js";
5
5
  import { resolve } from "node:path";
6
6
  import { compileReadSets, moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
7
7
  import { isReadSet } from "better-supabase";
@@ -1,10 +1,10 @@
1
- import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-FN5Cp861.js";
1
+ import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DdkxiGjH.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
3
3
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
4
4
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
5
5
  import { t as connect } from "./db-B8zfxjl2.js";
6
- import { n as ident } from "./live-DMNuAml9.js";
7
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DC8snM7e.js";
6
+ import { n as ident } from "./live-DNd8MMNk.js";
7
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-C3_mMci3.js";
8
8
  // src/cli/commands/prune-workflows.ts
9
9
  const TERMINAL = [
10
10
  "completed",
@@ -2,17 +2,17 @@ import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
4
4
  import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
5
- import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-DK38-F2F.js";
5
+ import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-BnYh-Kpy.js";
6
6
  import { t as detectProject } from "./detect-ad_V_zja.js";
7
- import { o as sqlPlan } from "./sql-layout-byUur5FC.js";
8
- import { n as isComposite } from "./add-BQZbFEAP.js";
7
+ import { o as sqlPlan } from "./sql-layout-3YU4941N.js";
8
+ import { n as isComposite } from "./add-LvxZ-JNB.js";
9
9
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
10
10
  import { _ as wiringBlocks, a as configObject, c as mask, i as closingIndex, l as properties, n as addBlocksToJson, t as addBlocksToConfig } from "./config-edit-C6sQ1MqT.js";
11
- import { r as layoutFor } from "./providers-hrxX3YKU.js";
11
+ import { r as layoutFor } from "./providers-M7s8btf1.js";
12
12
  import { i as tidyInline, t as cutRange } from "./config-group-D4JWh4kG.js";
13
- import { n as guardedRemoval } from "./sync-BtM7o-sI.js";
13
+ import { n as guardedRemoval } from "./sync-Bfwk4Ldc.js";
14
14
  import { i as plain } from "./style-B5-nByxb.js";
15
- import { t as blockNames } from "./blocks-Csu6lLqC.js";
15
+ import { t as blockNames } from "./blocks-X_eD_t_f.js";
16
16
  import { existsSync } from "node:fs";
17
17
  import { resolve } from "node:path";
18
18
  import { readFile } from "node:fs/promises";
@@ -1,12 +1,12 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { n as importPath } from "./io-CQzy8PEZ.js";
3
- import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-C1nAFZNW.js";
4
- import { _ as restrictSchemas, b as tsTypeOf, d as apiTypeSchemas, h as oxfmtInstalled, m as generateDatabaseTypes, u as bootstrapTables } from "./snapshot-B-1tPbV4.js";
3
+ import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-D98rjB1C.js";
4
+ import { _ as restrictSchemas, b as tsTypeOf, d as apiTypeSchemas, h as oxfmtInstalled, m as generateDatabaseTypes, u as bootstrapTables } from "./snapshot-9xnSt525.js";
5
5
  import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
6
6
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
7
7
  import { s as providerTruncatedClaim } from "./authorization-DAYgx04b.js";
8
- import { a as toCatalog } from "./source-BgFNrRcl.js";
9
- import { m as withTableTags } from "./config-FN5Cp861.js";
8
+ import { a as toCatalog } from "./source-B_miugrh.js";
9
+ import { m as withTableTags } from "./config-DdkxiGjH.js";
10
10
  import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
11
11
  import { BLOCK_OPTION_SCHEMAS, DEFAULT_ROLES, SQL_MODULES, appTableEventTypes, instanceFunctions, modulePermissionKeys, readArgSource, resolveBlock, resolveBlocks, resolveProviderSql } from "better-supabase/sql";
12
12
  import { entityNames } from "better-supabase/blocks";
@@ -1,6 +1,6 @@
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-CLvgELKk.js";
2
2
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
3
- import { t as VERSION } from "./version-DWDoiP5_.js";
3
+ import { t as VERSION } from "./version-BXjNETWS.js";
4
4
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-Tqq3MAqx.js";
5
5
  import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
6
6
  import { a as globalFlags, c as resolveCommand, i as commandTree, n as closestName, o as isVariadic, r as commandArgs, t as checkArgs } from "./parse-BwGYCpEv.js";
@@ -19,48 +19,48 @@ const LOADERS = [
19
19
  ["login", () => import("./account-C1vKOJOX.js").then((m) => m.loginCommand)],
20
20
  ["logout", () => import("./account-C1vKOJOX.js").then((m) => m.logoutCommand)],
21
21
  ["whoami", () => import("./account-C1vKOJOX.js").then((m) => m.whoamiCommand)],
22
- ["init", () => import("./init-CTt0aQn1.js").then((m) => m.initCommand)],
23
- ["add", () => import("./add-3L9NVEA3.js").then((m) => m.addCommand)],
24
- ["remove", () => import("./remove-DSC6Fvwo.js").then((m) => m.removeCommand)],
25
- ["upgrade", () => import("./upgrade-B_HEJvRX.js").then((m) => m.upgradeCommand)],
22
+ ["init", () => import("./init-CAWeLXCs.js").then((m) => m.initCommand)],
23
+ ["add", () => import("./add-D0TUMxXn.js").then((m) => m.addCommand)],
24
+ ["remove", () => import("./remove-BHyzqWNm.js").then((m) => m.removeCommand)],
25
+ ["upgrade", () => import("./upgrade-DRvMFW2T.js").then((m) => m.upgradeCommand)],
26
26
  ["table", () => import("./table-Cup45iWj.js").then((m) => m.tableCommand)],
27
- ["migrate schema-first", () => import("./migrate-BezKva56.js").then((m) => m.migrateSchemaFirstCommand)],
28
- ["gen", () => import("./gen-CQ2ubqjB.js").then((m) => m.genCommand)],
29
- ["doctor", () => import("./doctor-Du2zwLUG.js").then((m) => m.doctorCommand)],
30
- ["db query", () => import("./db-T8u160uM.js").then((m) => m.dbQueryCommand)],
31
- ["db diff", () => import("./db-T8u160uM.js").then((m) => m.dbDiffCommand)],
32
- ["db seed", () => import("./seed-CRD1tYPA.js").then((m) => m.seedCommand)],
33
- ["db backfill", () => import("./backfill-COnv2tOL.js").then((m) => m.dbBackfillCommand)],
34
- ["db prune-workflows", () => import("./prune-workflows-DLhKu_UJ.js").then((m) => m.dbPruneWorkflowsCommand)],
27
+ ["migrate schema-first", () => import("./migrate-D-GzXR4D.js").then((m) => m.migrateSchemaFirstCommand)],
28
+ ["gen", () => import("./gen-D47t5jj3.js").then((m) => m.genCommand)],
29
+ ["doctor", () => import("./doctor-BYJM72wi.js").then((m) => m.doctorCommand)],
30
+ ["db query", () => import("./db-B54TQ_iX.js").then((m) => m.dbQueryCommand)],
31
+ ["db diff", () => import("./db-B54TQ_iX.js").then((m) => m.dbDiffCommand)],
32
+ ["db seed", () => import("./seed-BxjjQ3OO.js").then((m) => m.seedCommand)],
33
+ ["db backfill", () => import("./backfill-i0Tx24Sa.js").then((m) => m.dbBackfillCommand)],
34
+ ["db prune-workflows", () => import("./prune-workflows-BiRF1YBZ.js").then((m) => m.dbPruneWorkflowsCommand)],
35
35
  ["dev env", () => import("./env-BMQqBhS_.js").then((m) => m.envCommand)],
36
36
  ["dev run", () => import("./run-CAvLtfJG.js").then((m) => m.runCommand)],
37
37
  ["dev keys", () => import("./keys-BnVLA3NK.js").then((m) => m.keysCommand)],
38
38
  ["dev stack ls", () => import("./stack-DINh7KWu.js").then((m) => m.stackLsCommand)],
39
39
  ["dev stack prune", () => import("./stack-DINh7KWu.js").then((m) => m.stackPruneCommand)],
40
40
  ["automations list", () => import("./automations-0G37FqXw.js").then((m) => m.automationsListCommand)],
41
- ["blocks list", () => import("./blocks-Dea_Z5Ps.js").then((m) => m.blocksListCommand)],
42
- ["blocks view", () => import("./blocks-Dea_Z5Ps.js").then((m) => m.blocksViewCommand)],
43
- ["blocks search", () => import("./blocks-Dea_Z5Ps.js").then((m) => m.blocksSearchCommand)],
44
- ["powersync streams", () => import("./powersync-COHj6FT8.js").then((m) => m.powersyncStreamsCommand)],
45
- ["spec emit", () => import("./spec-C88dtkj4.js").then((m) => m.specEmitCommand)],
46
- ["spec validate", () => import("./spec-C88dtkj4.js").then((m) => m.specValidateCommand)],
47
- ["mcp", () => import("./mcp-C63ulwyU.js").then((m) => m.mcpCommand)],
41
+ ["blocks list", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksListCommand)],
42
+ ["blocks view", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksViewCommand)],
43
+ ["blocks search", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksSearchCommand)],
44
+ ["powersync streams", () => import("./powersync-Bn-u0TGP.js").then((m) => m.powersyncStreamsCommand)],
45
+ ["spec emit", () => import("./spec-BeAgQ-of.js").then((m) => m.specEmitCommand)],
46
+ ["spec validate", () => import("./spec-BeAgQ-of.js").then((m) => m.specValidateCommand)],
47
+ ["mcp", () => import("./mcp-BUs7M6fq.js").then((m) => m.mcpCommand)],
48
48
  ["skills list", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsListCommand)],
49
49
  ["skills install", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsInstallCommand)],
50
- ["codemod 0.4", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.4"))],
51
- ["codemod 0.5", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.5"))],
52
- ["codemod 0.6", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.6"))],
53
- ["codemod 0.9", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.9"))],
54
- ["codemod 0.11", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.11"))],
55
- ["codemod 0.15", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.15"))],
56
- ["codemod 0.29", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.29"))],
57
- ["codemod 0.32", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.32"))],
58
- ["codemod 0.35", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.35"))],
59
- ["codemod 0.37", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.37"))],
60
- ["codemod 0.46", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.46"))],
61
- ["codemod 0.47", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.47"))],
62
- ["codemod 0.53", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("0.53"))],
63
- ["codemod read-many", () => import("./codemod-DHULUpez.js").then((m) => m.codemodCommand("read-many"))],
50
+ ["codemod 0.4", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.4"))],
51
+ ["codemod 0.5", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.5"))],
52
+ ["codemod 0.6", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.6"))],
53
+ ["codemod 0.9", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.9"))],
54
+ ["codemod 0.11", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.11"))],
55
+ ["codemod 0.15", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.15"))],
56
+ ["codemod 0.29", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.29"))],
57
+ ["codemod 0.32", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.32"))],
58
+ ["codemod 0.35", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.35"))],
59
+ ["codemod 0.37", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.37"))],
60
+ ["codemod 0.46", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.46"))],
61
+ ["codemod 0.47", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.47"))],
62
+ ["codemod 0.53", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.53"))],
63
+ ["codemod read-many", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("read-many"))],
64
64
  ["completion", () => import("./completion-Q1M-cdP-.js").then((m) => m.completionCommand)],
65
65
  ["config", () => import("./config-COfXd-G3.js").then((m) => m.configCommand)]
66
66
  ];
@@ -607,7 +607,7 @@ function cliFromTree(init, extra = {}) {
607
607
  try {
608
608
  const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
609
609
  node.load(),
610
- import("./config-U32Vo0h6.js"),
610
+ import("./config-DmjFp8jY.js"),
611
611
  import("./env-DcxRyArf.js")
612
612
  ]);
613
613
  command = loaded;
@@ -1,17 +1,17 @@
1
1
  import { a as moduleKeyProblems, c as unsafeKey, i as entitlementsMode, n as accessRequirements, o as providerLabel, r as entitlementRequirements } from "./authorization-DAYgx04b.js";
2
- import { S as typegenVersionNotice, h as oxfmtInstalled, t as loadSnapshot, x as typegenVersion, y as stabilizeMetadata } from "./snapshot-B-1tPbV4.js";
3
- import { s as schemaStampPath } from "./content-mapper-QVJJto5U.js";
2
+ import { S as typegenVersionNotice, h as oxfmtInstalled, t as loadSnapshot, x as typegenVersion, y as stabilizeMetadata } from "./snapshot-9xnSt525.js";
3
+ import { s as schemaStampPath } from "./content-mapper-UsLt4y0J.js";
4
4
  import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-DQayErI8.js";
5
5
  import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
6
- import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-ChZE8Z_L.js";
6
+ import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BfWPWiOJ.js";
7
7
  import { r as errorText } from "./errors-DcJ_PayO.js";
8
- import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-D_DZ9MfG.js";
9
- import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-C1nAFZNW.js";
10
- import { a as compiledReadSets } from "./providers-hrxX3YKU.js";
11
- import { n as migrationsDir } from "./sql-layout-byUur5FC.js";
12
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-CxbEDfSF.js";
8
+ import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-Cv22MEAO.js";
9
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-D98rjB1C.js";
10
+ import { a as compiledReadSets } from "./providers-M7s8btf1.js";
11
+ import { n as migrationsDir } from "./sql-layout-3YU4941N.js";
12
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
13
13
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
14
- import { n as render } from "./render-647qdnrX.js";
14
+ import { n as render } from "./render-DDCy_0V_.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";
@@ -0,0 +1 @@
1
+ export { n as seedCommand } from "./seed-kCLEYSOH.js";
@@ -1,4 +1,4 @@
1
- import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-FN5Cp861.js";
1
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DdkxiGjH.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
3
3
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.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-DQayErI8.js";
@@ -6,7 +6,7 @@ import { t as display } from "./io-CQzy8PEZ.js";
6
6
  import { t as connect } from "./db-B8zfxjl2.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-MSvhufSp.js";
9
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DC8snM7e.js";
9
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-C3_mMci3.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-BgFNrRcl.js";
1
+ import { a as toCatalog } from "./source-B_miugrh.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
  const catalogs = /* @__PURE__ */ new WeakMap();
@@ -1,10 +1,10 @@
1
- import { n as databaseUrl, u as accessToken } from "./config-FN5Cp861.js";
1
+ import { n as databaseUrl, u as accessToken } from "./config-DdkxiGjH.js";
2
2
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
3
3
  import { t as connect } from "./db-B8zfxjl2.js";
4
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-C1nAFZNW.js";
4
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-D98rjB1C.js";
5
5
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
7
- import { n as managementSource, r as pgSource } from "./source-BgFNrRcl.js";
7
+ import { n as managementSource, r as pgSource } from "./source-B_miugrh.js";
8
8
  import { existsSync } from "node:fs";
9
9
  import { dirname, join, resolve } from "node:path";
10
10
  import { readFile, readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-DWDoiP5_.js";
1
+ import { t as VERSION } from "./version-BXjNETWS.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { r as redactUrl } from "./redact--zOGdWzo.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
@@ -1,4 +1,4 @@
1
- import { l as stdinDatabaseUrl } from "./config-FN5Cp861.js";
1
+ import { l as stdinDatabaseUrl } from "./config-DdkxiGjH.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  // src/cli/commands/source-args.ts
4
4
  /**
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-CV0FdW18.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-dYLJbr9J.js";
@@ -3,8 +3,8 @@ import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
3
3
  import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
4
4
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
5
5
  import { t as display } from "./io-CQzy8PEZ.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-C1nAFZNW.js";
7
- import { t as VERSION } from "./version-DWDoiP5_.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-D98rjB1C.js";
7
+ import { t as VERSION } from "./version-BXjNETWS.js";
8
8
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
9
9
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
10
10
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
@@ -1,8 +1,8 @@
1
1
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
2
2
  import { t as detectProject } from "./detect-ad_V_zja.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
4
- import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-B-1tPbV4.js";
5
- import { a as toCatalog } from "./source-BgFNrRcl.js";
4
+ import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-9xnSt525.js";
5
+ import { a as toCatalog } from "./source-B_miugrh.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { dirname, join, posix, relative, resolve, sep } from "node:path";
8
8
  import { glob, readFile, readdir } from "node:fs/promises";
@@ -1,13 +1,13 @@
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-DQayErI8.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-byUur5FC.js";
3
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
4
4
  import { n as CliError } from "./errors-DcJ_PayO.js";
5
5
  import { t as loadTopics } from "./topics-Cdg0V7Tt.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-CxbEDfSF.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-BJaOdOWy.js";
7
7
  import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
8
- import { r as layoutFor } from "./providers-hrxX3YKU.js";
8
+ import { r as layoutFor } from "./providers-M7s8btf1.js";
9
9
  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";
10
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-DGJJ1rHt.js";
10
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-Bhcf7MHM.js";
11
11
  import { dirname, join, resolve } from "node:path";
12
12
  import { readFile, readdir } from "node:fs/promises";
13
13
  import { APP_TABLES_MARKER, APP_TABLES_MODULE, currentBlockName, moduleTopics, renderBlocks, resolveBlocks, sameBlockFile } from "better-supabase/sql";
@@ -1,11 +1,11 @@
1
1
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-byUur5FC.js";
4
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-BtM7o-sI.js";
3
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
4
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-Bfwk4Ldc.js";
5
5
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
6
- import { r as migrationStamp } from "./migrations-DGJJ1rHt.js";
7
- import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CxbEDfSF.js";
8
- import { r as layoutFor } from "./providers-hrxX3YKU.js";
6
+ import { r as migrationStamp } from "./migrations-Bhcf7MHM.js";
7
+ import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
8
+ import { r as layoutFor } from "./providers-M7s8btf1.js";
9
9
  import { resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
11
11
  import { BLOCK_RENAMES, SQL_MODULES, currentBlockName, entityRenamePlan, formerBlockName, moduleFileVersion, moduleTopics, renderBlocks, sameBlockFile, upgradePlan } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
3
- import { t as syncModules } from "./sync-BtM7o-sI.js";
4
- import { t as upgrade } from "./upgrade-CKDeHkyy.js";
3
+ import { t as syncModules } from "./sync-Bfwk4Ldc.js";
4
+ import { t as upgrade } from "./upgrade-BMrkzAcD.js";
5
5
  import { i as plain } from "./style-B5-nByxb.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
@@ -1,3 +1,3 @@
1
1
  // src/cli/version.ts
2
- const VERSION = "0.54.0";
2
+ const VERSION = "0.55.0";
3
3
  export { VERSION as t };
@@ -1,9 +1,9 @@
1
- import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-BKO5EAzN.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C9DIO476.js";
3
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-C5BEHQi6.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DWElQa6I.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-DFGNChQL.js";
1
+ import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-0uVsKWaB.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C_rGHxIA.js";
3
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-DvaVv_3b.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DiGmjHzz.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-BVee4yX8.js";
6
6
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
7
7
  import { n as FunctionContract } from "../function-contract-CMJR3nYl.js";
8
- import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-DJyt9j86.js";
8
+ import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-ChaJiMkI.js";
9
9
  export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
@@ -1,10 +1,10 @@
1
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DWElQa6I.js";
1
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DiGmjHzz.js";
2
2
  import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-C9DIO476.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-C_rGHxIA.js";
4
4
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
5
5
  import { a as AppStateLike, i as startNativeAuthzRefresh, n as NativeAuthzRefreshOptions, o as AutoRefreshClient, r as PowerSyncReconnect, s as autoRefreshOnForeground, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
6
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-C5BEHQi6.js";
7
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-TWXWra8i.js";
6
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-DvaVv_3b.js";
7
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-C6ZGE1g0.js";
8
8
  import { T as UploadOptions, w as UploadBody } from "../../bucket-DJu58KBb.js";
9
9
  import { t as AsyncResult } from "../../result-CMqlHv82.js";
10
10
  import { SupabaseClient } from "@supabase/supabase-js";