better-supabase 0.54.0 → 0.56.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 (445) hide show
  1. package/dist/{agents-DcZk8HBB.d.ts → agents-DJChYmXn.d.ts} +2 -2
  2. package/dist/{ai-schedules-b-uWaxba.d.ts → ai-schedules-5fxfEOWM.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-CWnf7wpo.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-Hh9xUm0r.d.ts} +1 -1
  8. package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
  9. package/dist/{bind-DWElQa6I.d.ts → bind-CC5-eBT-.d.ts} +4 -4
  10. package/dist/{block-env-CQQUMPYZ.d.ts → block-env-CzT1OAiI.d.ts} +4 -4
  11. package/dist/{block-subjects-9KU6Q6-3.js → block-subjects-B9hb1LLk.js} +4 -3
  12. package/dist/{block-tables-JC1dMLaA.d.ts → block-tables-DOGtmm0m.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 +249 -43
  69. package/dist/blocks/deadlines/index.js +862 -20
  70. package/dist/blocks/deals/index.d.ts +1 -1
  71. package/dist/blocks/dispatch/index.d.ts +2 -2
  72. package/dist/blocks/document-templates/index.d.ts +2 -2
  73. package/dist/blocks/documents/index.d.ts +1 -1
  74. package/dist/blocks/domains/index.d.ts +1 -1
  75. package/dist/blocks/donations/index.d.ts +1 -1
  76. package/dist/blocks/drive/index.d.ts +5 -5
  77. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  78. package/dist/blocks/employees/index.d.ts +1 -1
  79. package/dist/blocks/enrichment/index.d.ts +1 -1
  80. package/dist/blocks/enrollments/index.d.ts +2 -2
  81. package/dist/blocks/entitlements/index.d.ts +3 -3
  82. package/dist/blocks/events/index.d.ts +3 -3
  83. package/dist/blocks/expenses/index.d.ts +1 -1
  84. package/dist/blocks/field-history/index.d.ts +1 -1
  85. package/dist/blocks/filespace/index.d.ts +8 -8
  86. package/dist/blocks/finance/index.d.ts +5 -5
  87. package/dist/blocks/finance/index.js +1 -1
  88. package/dist/blocks/flags/index.d.ts +1 -1
  89. package/dist/blocks/forecasts/index.d.ts +1 -1
  90. package/dist/blocks/forms/index.d.ts +3 -3
  91. package/dist/blocks/funding/index.d.ts +2 -2
  92. package/dist/blocks/goals/index.d.ts +1 -1
  93. package/dist/blocks/governance/index.d.ts +4 -4
  94. package/dist/blocks/guests/index.d.ts +1 -1
  95. package/dist/blocks/hiring/index.d.ts +1 -1
  96. package/dist/blocks/identities/index.d.ts +1 -1
  97. package/dist/blocks/imports/index.d.ts +2 -2
  98. package/dist/blocks/inbox/index.d.ts +6 -6
  99. package/dist/blocks/incidents/index.d.ts +1 -1
  100. package/dist/blocks/index.d.ts +4 -4
  101. package/dist/blocks/inspections/index.d.ts +2 -2
  102. package/dist/blocks/inventory/index.d.ts +1 -1
  103. package/dist/blocks/inventory/index.js +1 -1
  104. package/dist/blocks/invoices/index.d.ts +1 -1
  105. package/dist/blocks/invoices/index.js +1 -1
  106. package/dist/blocks/knowledge/index.d.ts +1 -1
  107. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  108. package/dist/blocks/learning/index.d.ts +3 -3
  109. package/dist/blocks/leases/index.d.ts +1 -1
  110. package/dist/blocks/leave/index.d.ts +1 -1
  111. package/dist/blocks/ledger/index.d.ts +1 -1
  112. package/dist/blocks/legal-entities/index.d.ts +2 -2
  113. package/dist/blocks/lims/index.d.ts +2 -2
  114. package/dist/blocks/mail-sync/index.d.ts +3 -3
  115. package/dist/blocks/maintenance/index.d.ts +2 -2
  116. package/dist/blocks/manufacturing/index.d.ts +2 -2
  117. package/dist/blocks/medications/index.d.ts +1 -1
  118. package/dist/blocks/meetings/index.d.ts +3 -3
  119. package/dist/blocks/memberships/index.d.ts +2 -2
  120. package/dist/blocks/memory/index.d.ts +1 -1
  121. package/dist/blocks/messaging/index.d.ts +5 -5
  122. package/dist/blocks/metrics/index.d.ts +1 -1
  123. package/dist/blocks/mfa/index.d.ts +2 -2
  124. package/dist/blocks/moderation/index.d.ts +2 -2
  125. package/dist/blocks/notifications/index.d.ts +5 -5
  126. package/dist/blocks/numbering/index.d.ts +1 -1
  127. package/dist/blocks/oauth-server/index.d.ts +1 -1
  128. package/dist/blocks/observations/index.d.ts +2 -2
  129. package/dist/blocks/onboarding/index.d.ts +2 -2
  130. package/dist/blocks/option-sets/index.d.ts +2 -2
  131. package/dist/blocks/orders/index.d.ts +1 -1
  132. package/dist/blocks/orders/index.js +1 -1
  133. package/dist/blocks/organizations/index.d.ts +2 -2
  134. package/dist/blocks/outbox/index.d.ts +1 -1
  135. package/dist/blocks/passes/index.d.ts +2 -2
  136. package/dist/blocks/payroll-export/index.d.ts +2 -2
  137. package/dist/blocks/payroll-export/index.js +1 -1
  138. package/dist/blocks/people/index.d.ts +7 -7
  139. package/dist/blocks/people/index.js +1 -1
  140. package/dist/blocks/periods/index.d.ts +1 -1
  141. package/dist/blocks/permissions/index.d.ts +3 -3
  142. package/dist/blocks/pipelines/index.d.ts +1 -1
  143. package/dist/blocks/posts/index.d.ts +2 -2
  144. package/dist/blocks/procurement/index.d.ts +5 -5
  145. package/dist/blocks/procurement/index.js +2 -2
  146. package/dist/blocks/profiles/index.d.ts +1 -1
  147. package/dist/blocks/projects/index.d.ts +7 -7
  148. package/dist/blocks/projects/index.js +2 -2
  149. package/dist/blocks/promotions/index.d.ts +1 -1
  150. package/dist/blocks/prompts/index.d.ts +1 -1
  151. package/dist/blocks/push/index.d.ts +2 -2
  152. package/dist/blocks/qualifications/index.d.ts +2 -2
  153. package/dist/blocks/queue/index.d.ts +2 -2
  154. package/dist/blocks/quotes/index.d.ts +1 -1
  155. package/dist/blocks/quotes/index.js +2 -2
  156. package/dist/blocks/rank/index.d.ts +1 -1
  157. package/dist/blocks/reactions/index.d.ts +4 -4
  158. package/dist/blocks/recruiting/index.d.ts +4 -4
  159. package/dist/blocks/referrals/index.d.ts +1 -1
  160. package/dist/blocks/relations/index.d.ts +1 -1
  161. package/dist/blocks/reminders/index.d.ts +1 -1
  162. package/dist/blocks/reviews/index.d.ts +1 -1
  163. package/dist/blocks/rfqs/index.d.ts +2 -2
  164. package/dist/blocks/risks/index.d.ts +2 -2
  165. package/dist/blocks/saas/index.d.ts +12 -12
  166. package/dist/blocks/sales/index.d.ts +1 -1
  167. package/dist/blocks/sales/index.js +1 -1
  168. package/dist/blocks/saved-views/index.d.ts +2 -2
  169. package/dist/blocks/scheduling/index.d.ts +4 -4
  170. package/dist/blocks/scores/index.d.ts +2 -2
  171. package/dist/blocks/search/index.d.ts +3 -3
  172. package/dist/blocks/security-events/index.d.ts +1 -1
  173. package/dist/blocks/segments/index.d.ts +2 -2
  174. package/dist/blocks/sequences/index.d.ts +3 -3
  175. package/dist/blocks/service/index.d.ts +7 -7
  176. package/dist/blocks/service/index.js +1 -1
  177. package/dist/blocks/service-accounts/index.d.ts +1 -1
  178. package/dist/blocks/sessions/index.d.ts +2 -2
  179. package/dist/blocks/settings/index.d.ts +2 -2
  180. package/dist/blocks/share-links/index.d.ts +1 -1
  181. package/dist/blocks/shifts/index.d.ts +2 -2
  182. package/dist/blocks/shipments/index.d.ts +2 -2
  183. package/dist/blocks/signatures/index.d.ts +2 -2
  184. package/dist/blocks/signing-keys/index.d.ts +1 -1
  185. package/dist/blocks/sla/index.d.ts +1 -1
  186. package/dist/blocks/sso/index.d.ts +1 -1
  187. package/dist/blocks/state-machine/index.d.ts +1 -1
  188. package/dist/blocks/subjects/index.d.ts +2 -2
  189. package/dist/blocks/support/index.d.ts +5 -5
  190. package/dist/blocks/support/index.js +1 -1
  191. package/dist/blocks/tags/index.d.ts +2 -2
  192. package/dist/blocks/tasks/index.d.ts +2 -2
  193. package/dist/blocks/tasks/index.js +1 -1
  194. package/dist/blocks/tax/index.d.ts +2 -2
  195. package/dist/blocks/teams/index.d.ts +1 -1
  196. package/dist/blocks/templates/index.d.ts +11 -1
  197. package/dist/blocks/templates/index.js +6 -1
  198. package/dist/blocks/tills/index.d.ts +1 -1
  199. package/dist/blocks/time-tracking/index.d.ts +2 -2
  200. package/dist/blocks/timeline/index.d.ts +1 -1
  201. package/dist/blocks/trash/index.d.ts +1 -1
  202. package/dist/blocks/undo/index.d.ts +2 -2
  203. package/dist/blocks/updated-at/index.d.ts +2 -2
  204. package/dist/blocks/usage/index.d.ts +2 -2
  205. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  206. package/dist/blocks/versions/index.d.ts +1 -1
  207. package/dist/blocks/waitlist/index.d.ts +1 -1
  208. package/dist/blocks/warehouse/index.d.ts +1 -1
  209. package/dist/blocks/webhooks/index.d.ts +1 -1
  210. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  211. package/dist/blocks/workflows/index.d.ts +4 -4
  212. package/dist/{blocks-LZklPzC5.d.ts → blocks-DvWEz8mQ.d.ts} +56 -21
  213. package/dist/claims/index.d.ts +3 -3
  214. package/dist/cli/{add-BQZbFEAP.js → add--O_HFhs0.js} +2 -2
  215. package/dist/cli/add-CUAchifS.js +1 -0
  216. package/dist/cli/{add-DK38-F2F.js → add-DT2QsJB0.js} +12 -12
  217. package/dist/cli/{app-table-files-C5Sx2Qao.js → app-table-files-BjMDa_7_.js} +3 -3
  218. package/dist/cli/{app-tables-ChZE8Z_L.js → app-tables-D34g1ASz.js} +2 -2
  219. package/dist/cli/{backfill-COnv2tOL.js → backfill-DWD5chCd.js} +3 -3
  220. package/dist/cli/bin.js +1 -1
  221. package/dist/cli/{blocks-Dea_Z5Ps.js → blocks-BduQcXFb.js} +1 -1
  222. package/dist/cli/{blocks-Csu6lLqC.js → blocks-DKs7Qj8R.js} +1 -1
  223. package/dist/cli/{cache-C1nAFZNW.js → cache-EFwNdKib.js} +1 -1
  224. package/dist/cli/{codemod-DHULUpez.js → codemod-CuaWRwst.js} +1 -1
  225. package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
  226. package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
  227. package/dist/cli/{content-mapper-QVJJto5U.js → content-mapper-BlOMmIM2.js} +2 -2
  228. package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
  229. package/dist/cli/{doctor-Du2zwLUG.js → doctor-JdxWuscJ.js} +17 -17
  230. package/dist/cli/{gen-CQ2ubqjB.js → gen-n6l6AMLo.js} +14 -14
  231. package/dist/cli/index.d.ts +1 -1
  232. package/dist/cli/index.js +7 -7
  233. package/dist/cli/{init-CTt0aQn1.js → init-BLMHN_2A.js} +10 -10
  234. package/dist/cli/{live-DMNuAml9.js → live-C4uCg3ME.js} +2 -2
  235. package/dist/cli/{mcp-C63ulwyU.js → mcp-CFLvzFKH.js} +2 -2
  236. package/dist/cli/{metadata-CylES-9Y.js → metadata-CRp8JQTE.js} +3 -3
  237. package/dist/cli/{migrate-BezKva56.js → migrate-BjDf0moD.js} +1 -1
  238. package/dist/cli/{migration-safety-DQtpMu-g.js → migration-safety-D-QnV2BW.js} +2 -2
  239. package/dist/cli/{migrations-DGJJ1rHt.js → migrations-8dDFF8SW.js} +2 -2
  240. package/dist/cli/{module-migration-CxbEDfSF.js → module-migration-DuwIX8MO.js} +2 -2
  241. package/dist/cli/powersync-ByqoHJwp.js +1 -0
  242. package/dist/cli/{powersync-FUYFuZSw.js → powersync-CHVlZIqs.js} +3 -3
  243. package/dist/cli/{print-DAwLAC-7.js → print-orgMiDzp.js} +2 -2
  244. package/dist/cli/{providers-hrxX3YKU.js → providers-DWZVnoDw.js} +1 -1
  245. package/dist/cli/{prune-workflows-DLhKu_UJ.js → prune-workflows-DelKs-zD.js} +3 -3
  246. package/dist/cli/{remove-DSC6Fvwo.js → remove-BH6Zwjhs.js} +6 -6
  247. package/dist/cli/{render-647qdnrX.js → render-DyWVslCM.js} +4 -4
  248. package/dist/cli/{run--qaDaqfL.js → run-BYX5n5rt.js} +9 -9
  249. package/dist/cli/{run-BcI6KXV3.js → run-GcSBgXCH.js} +35 -35
  250. package/dist/cli/seed-BxjjQ3OO.js +1 -0
  251. package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
  252. package/dist/cli/{shared-D_DZ9MfG.js → shared-BoVOOrpJ.js} +1 -1
  253. package/dist/cli/{snapshot-B-1tPbV4.js → snapshot-BZGZ9pB-.js} +3 -3
  254. package/dist/cli/{source-BgFNrRcl.js → source-Buw7eODS.js} +1 -1
  255. package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
  256. package/dist/cli/{spec-CV0FdW18.js → spec-CUWMpL3f.js} +2 -2
  257. package/dist/cli/{spec-C88dtkj4.js → spec-CnRC9FcX.js} +1 -1
  258. package/dist/cli/{sql-layout-byUur5FC.js → sql-layout-BZ-NhhTI.js} +2 -2
  259. package/dist/cli/{sync-BtM7o-sI.js → sync-CFzA4xdr.js} +4 -4
  260. package/dist/cli/{upgrade-CKDeHkyy.js → upgrade-D1szGysi.js} +5 -5
  261. package/dist/cli/{upgrade-B_HEJvRX.js → upgrade-ukOP0GXf.js} +2 -2
  262. package/dist/cli/{version-DWDoiP5_.js → version-D1sJX6_6.js} +1 -1
  263. package/dist/client/index.d.ts +6 -6
  264. package/dist/client/native/index.d.ts +4 -4
  265. package/dist/config/index.d.ts +4 -4
  266. package/dist/config/index.js +4 -4
  267. package/dist/{config-LOwFAFpo.js → config-Bx3UYp8b.js} +3 -3
  268. package/dist/{config-ekflaCnS.js → config-CAjlOSQY.js} +1 -1
  269. package/dist/{context-iduX3Fsn.d.ts → context-BIBqUjVz.d.ts} +47 -4
  270. package/dist/contract/index.d.ts +3 -3
  271. package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
  272. package/dist/{controller-DFGNChQL.d.ts → controller-DBD6WWDa.d.ts} +1 -1
  273. package/dist/{conversion-DTBB0Zgt.d.ts → conversion-DLkof9_y.d.ts} +1 -1
  274. package/dist/create/index.d.ts +4 -4
  275. package/dist/create/index.js +3 -3
  276. package/dist/create/lite/index.d.ts +3 -3
  277. package/dist/create/lite/index.js +2 -2
  278. package/dist/{data-engine-BKO5EAzN.d.ts → data-engine-0uVsKWaB.d.ts} +7 -3
  279. package/dist/deadlines-values-vmaCCdGl.js +92 -0
  280. package/dist/{define-block-By-LUpM_.d.ts → define-block-zK3QnPyG.d.ts} +1 -1
  281. package/dist/{drive-CuNG4qB8.d.ts → drive-Keqe8dIg.d.ts} +1 -1
  282. package/dist/{entitlements-Go8BHqhr.d.ts → entitlements-QwMag409.d.ts} +1 -1
  283. package/dist/{extract-DQKHxiiq.d.ts → extract-CJWS6MMG.d.ts} +1 -1
  284. package/dist/{field-errors-B4SMTk2e.d.ts → field-errors-BlyD3if3.d.ts} +6 -6
  285. package/dist/{index-DQVQYEhP.d.ts → index-0AVn1Dcr.d.ts} +1 -1
  286. package/dist/{index-20EPlFXG.d.ts → index-9rajR8Ti.d.ts} +1 -1
  287. package/dist/{index-DlXgoerO.d.ts → index-B5rQ9MEl.d.ts} +1 -1
  288. package/dist/{index-DkNMN5uU.d.ts → index-B7_Mq8Qm.d.ts} +1 -1
  289. package/dist/{index-DkJtM-9e.d.ts → index-BGqvP9dE.d.ts} +9 -9
  290. package/dist/{index-szXZSILq.d.ts → index-BIClMq6S.d.ts} +7 -7
  291. package/dist/{index-YZ-_hzdR.d.ts → index-BOI3eLz0.d.ts} +1 -1
  292. package/dist/{index-B8axasMg.d.ts → index-BSdDLEA-.d.ts} +1 -1
  293. package/dist/{index-ROumUag2.d.ts → index-BTC40rxx.d.ts} +1 -1
  294. package/dist/{index-C1kImKZg.d.ts → index-BxdldeGx.d.ts} +1 -1
  295. package/dist/{index-DXoS8BnK.d.ts → index-C7tmYYB5.d.ts} +3 -3
  296. package/dist/{index-BoKvWo8t.d.ts → index-CJB2uCFk.d.ts} +1 -1
  297. package/dist/{index-DkNLdcX_.d.ts → index-COLMIEk0.d.ts} +1 -1
  298. package/dist/{index-BmKtYKwN.d.ts → index-CPRQdNHc.d.ts} +2 -2
  299. package/dist/{index-NqLuAXG3.d.ts → index-CSdjm0Kn.d.ts} +2 -2
  300. package/dist/{index-D4ke5U0m.d.ts → index-CT0OjCk1.d.ts} +1 -1
  301. package/dist/{index-D7FXhn2i.d.ts → index-CocISf2h.d.ts} +1 -1
  302. package/dist/{index-9zNFFq6E.d.ts → index-Cvd24Ybb.d.ts} +1 -1
  303. package/dist/{index-CTHuTJtf.d.ts → index-DASeimpy.d.ts} +1 -1
  304. package/dist/{index-Dg35ugqv.d.ts → index-DBqRH5cj.d.ts} +4 -4
  305. package/dist/{index-abVPYQE3.d.ts → index-DCeA3cFQ.d.ts} +1 -1
  306. package/dist/{index-bJVAgXxw.d.ts → index-DD3Ldome.d.ts} +2 -2
  307. package/dist/{index-DJyt9j86.d.ts → index-DEDIPDaW.d.ts} +2 -2
  308. package/dist/{index-D9Sb8Ju5.d.ts → index-DNitLhgU.d.ts} +3 -3
  309. package/dist/{index-BKWnyAWN.d.ts → index-D_OEwOaE.d.ts} +2 -2
  310. package/dist/{index-DzjugbCf.d.ts → index-D_g2loq-.d.ts} +2 -2
  311. package/dist/{index-DfJFbsVp.d.ts → index-DaTxv1aA.d.ts} +1 -1
  312. package/dist/{index-D337YzjX.d.ts → index-DcihkEQo.d.ts} +1 -1
  313. package/dist/{index-DeE-Xuv7.d.ts → index-Do6ZAvXT.d.ts} +1 -1
  314. package/dist/{index-DgRK-iM3.d.ts → index-DpwRuDBy.d.ts} +4 -4
  315. package/dist/{index-pRdO2XnG.d.ts → index-HANt6RDT.d.ts} +1 -1
  316. package/dist/{index-Bsd8P1iQ.d.ts → index-QpKsKUbn.d.ts} +2 -2
  317. package/dist/{index-DFdqVxv6.d.ts → index-WXVYfOHr.d.ts} +4 -4
  318. package/dist/{index-BkBNirhK.d.ts → index-XjhYgGhk.d.ts} +2 -2
  319. package/dist/{index-BvwlIGwY.d.ts → index-_rOaXPbx.d.ts} +1 -1
  320. package/dist/{index-BXRyr3ey.d.ts → index-n-7IwvYP.d.ts} +2 -2
  321. package/dist/{index-D-bMFoGs.d.ts → index-urOSlPMc.d.ts} +2 -2
  322. package/dist/{instances-DJxWRqXk.js → instances-z6DJn2Gr.js} +52 -8
  323. package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
  324. package/dist/{manifest-DjAdsSs4.d.ts → manifest-B4SF4ieN.d.ts} +1 -1
  325. package/dist/{manifest-BeW5LlW1.d.ts → manifest-B9D-PHpo.d.ts} +1 -1
  326. package/dist/{manifest-H6lz9xQm.d.ts → manifest-BBIs-5xy.d.ts} +1 -1
  327. package/dist/{manifest-BfIYKrNe.d.ts → manifest-BE6JGlFP.d.ts} +1 -1
  328. package/dist/{manifest-BCOBkYvY.d.ts → manifest-BExilPWu.d.ts} +2 -2
  329. package/dist/{manifest-uL5fzXsx.d.ts → manifest-BNhdYakH.d.ts} +1 -1
  330. package/dist/{manifest-DZLr6Cbr.js → manifest-BV1YxozT.js} +1 -1
  331. package/dist/{manifest-DweZMH-F.d.ts → manifest-BVkjX2t-.d.ts} +1 -1
  332. package/dist/{manifest-RUmJ5H6p.d.ts → manifest-BVnfLMPU.d.ts} +2 -2
  333. package/dist/{manifest-BxuSAdYu.d.ts → manifest-BX7vyeYr.d.ts} +1 -1
  334. package/dist/{manifest-DBmuiJ91.d.ts → manifest-BYxKYFcH.d.ts} +1 -1
  335. package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
  336. package/dist/{manifest-CfQ0nD_7.d.ts → manifest-Bcx4GSo0.d.ts} +1 -1
  337. package/dist/{manifest-fviCqeHj.d.ts → manifest-BeupHUUC.d.ts} +1 -1
  338. package/dist/{manifest-BAgvJODg.d.ts → manifest-BmI85ooO.d.ts} +1 -1
  339. package/dist/{manifest-Dh4AJeLl.d.ts → manifest-BoKnFQJK.d.ts} +1 -1
  340. package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
  341. package/dist/{manifest-DWQaegX6.d.ts → manifest-BwwWlxof.d.ts} +1 -1
  342. package/dist/{manifest-BGD8cD6S.d.ts → manifest-Bx62hgMv.d.ts} +1 -1
  343. package/dist/{manifest-o-S9bj6i.d.ts → manifest-C1plIFth.d.ts} +1 -1
  344. package/dist/{manifest-upfKO7JJ.d.ts → manifest-C8-zVlM4.d.ts} +1 -1
  345. package/dist/{manifest-BCyCm0Z3.d.ts → manifest-CANbbLyM.d.ts} +1 -1
  346. package/dist/{manifest-DdxfAXvG.d.ts → manifest-CCQYjt7L.d.ts} +1 -1
  347. package/dist/{manifest-CAPSAozN.d.ts → manifest-CDIvE9Po.d.ts} +1 -1
  348. package/dist/{manifest-CDcaLpwB.d.ts → manifest-CJEzfFKP.d.ts} +1 -1
  349. package/dist/{manifest-BgVQ8xd3.d.ts → manifest-CLSlmLnn.d.ts} +1 -1
  350. package/dist/{manifest-KHudP5T5.d.ts → manifest-CV-9uzTU.d.ts} +1 -1
  351. package/dist/{manifest-Dc1eHEJV.d.ts → manifest-CYDtm5Yz.d.ts} +1 -1
  352. package/dist/{manifest-CcDqfRee.d.ts → manifest-Cb0BCYmS.d.ts} +1 -1
  353. package/dist/{manifest-BJs6pHI0.d.ts → manifest-Cc1r_IME.d.ts} +1 -1
  354. package/dist/{manifest-DGgFeLwd.d.ts → manifest-CeFiTTOx.d.ts} +1 -1
  355. package/dist/{manifest-CszjCxVJ.d.ts → manifest-Ch8G8wad.d.ts} +1 -1
  356. package/dist/{manifest-qs_U2rx3.d.ts → manifest-Ciu7htmT.d.ts} +1 -1
  357. package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
  358. package/dist/{manifest-xRlf8RQk.d.ts → manifest-CtvRTQoq.d.ts} +1 -1
  359. package/dist/{manifest-B24Ymu8p.d.ts → manifest-CxJtO760.d.ts} +1 -1
  360. package/dist/{manifest-BSkYvne3.d.ts → manifest-D2mvuqCe.d.ts} +1 -1
  361. package/dist/{manifest-B6EkxzC0.d.ts → manifest-D8o7ivPa.d.ts} +1 -1
  362. package/dist/{manifest-Cko_ySTe.d.ts → manifest-DAQAHnHf.d.ts} +1 -1
  363. package/dist/{manifest-2jLTjnVh.d.ts → manifest-DBUE3KbP.d.ts} +1 -1
  364. package/dist/{manifest-DCPKfwsh.d.ts → manifest-DElW3hfs.d.ts} +1 -1
  365. package/dist/{manifest-BrOXXz7k.d.ts → manifest-DFGW17h3.d.ts} +1 -1
  366. package/dist/{manifest-CL5QEu5B.d.ts → manifest-DGXOQgh3.d.ts} +1 -1
  367. package/dist/{manifest-BqBVKNjy.d.ts → manifest-DHV0zxVj.d.ts} +1 -1
  368. package/dist/{manifest-BHZEsuzC.d.ts → manifest-DKCc24tm.d.ts} +1 -1
  369. package/dist/{manifest-BxujRhsY.d.ts → manifest-DKk12W7u.d.ts} +1 -1
  370. package/dist/{manifest-BbC83cJB.d.ts → manifest-DOUGC7xP.d.ts} +1 -1
  371. package/dist/{manifest-BmLU5HtO.d.ts → manifest-DPQpIRCO.d.ts} +1 -1
  372. package/dist/{manifest-Csw2tVut.d.ts → manifest-DPXd-wZG.d.ts} +1 -1
  373. package/dist/{manifest-Ct6mHhg4.d.ts → manifest-D_tuEFvt.d.ts} +1 -1
  374. package/dist/{manifest-BtlEwVU4.d.ts → manifest-DbzB7NQP.d.ts} +1 -1
  375. package/dist/{manifest-Bg5Znp_u.d.ts → manifest-Dd0bmqd-.d.ts} +1 -1
  376. package/dist/{manifest-jSOZl7qT.d.ts → manifest-DebHyEiN.d.ts} +1 -1
  377. package/dist/{manifest-vG5iHhA5.d.ts → manifest-Doxj-elq.d.ts} +1 -1
  378. package/dist/{manifest-Oo7PegXK.d.ts → manifest-DujUV7Cu.d.ts} +1 -1
  379. package/dist/{manifest-DnGgZ9_F.d.ts → manifest-Duj_AN2H.d.ts} +1 -1
  380. package/dist/{manifest-CeoUoZDs.d.ts → manifest-DzN5YdbZ.d.ts} +1 -1
  381. package/dist/{manifest-Da1QZDY4.d.ts → manifest-P2Pzb1Jo.d.ts} +1 -1
  382. package/dist/{manifest-DPGJ2otk.d.ts → manifest-SEhx1LFs.d.ts} +1 -1
  383. package/dist/{manifest-DpF5bliV.d.ts → manifest-Se6qEw03.d.ts} +1 -1
  384. package/dist/{manifest-8JvRt8LB.d.ts → manifest-UHESrKBI.d.ts} +1 -1
  385. package/dist/{manifest-dXPq0ubY.d.ts → manifest-Ul7Uq35H.d.ts} +1 -1
  386. package/dist/{manifest-CH7g3uI3.d.ts → manifest-XpSrCsAV.d.ts} +1 -1
  387. package/dist/{manifest-2ZgzNTbP.d.ts → manifest-iRX3gQ3g.d.ts} +10 -1
  388. package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
  389. package/dist/{manifest-BHlKJbN2.d.ts → manifest-uRsVzPOJ.d.ts} +1 -1
  390. package/dist/{manifest-DevURQJj.js → manifest-vBvsSefP.js} +5 -1
  391. package/dist/{manifest-Bj5hfBA_.d.ts → manifest-x50nYF_4.d.ts} +1 -1
  392. package/dist/mapper/bin.js +6 -6
  393. package/dist/mcp/index.d.ts +1 -1
  394. package/dist/next/index.d.ts +7 -7
  395. package/dist/{operations-IzVAIMvs.d.ts → operations-Ce53BGJ0.d.ts} +1 -1
  396. package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
  397. package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
  398. package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
  399. package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
  400. package/dist/otel/index.js +4 -4
  401. package/dist/{payroll-export-T754eWz8.js → payroll-export-ChZY6W3w.js} +1 -1
  402. package/dist/{permissions-DxXor_NY.d.ts → permissions-Bi4WvjnM.d.ts} +1 -1
  403. package/dist/{ports-C5BEHQi6.d.ts → ports-TvLRuWgJ.d.ts} +1 -1
  404. package/dist/powersync/index.d.ts +3 -3
  405. package/dist/powersync/index.js +11 -3
  406. package/dist/preset/index.d.ts +4 -4
  407. package/dist/preset/index.js +3 -3
  408. package/dist/{preset-8Xh21Uyw.js → preset-CPUA9haY.js} +9 -3
  409. package/dist/{preview-B-mtB1ka.d.ts → preview-DvpfbcDY.d.ts} +2 -2
  410. package/dist/{project-C6JAWCnH.js → project-CkGGYXKd.js} +5 -5
  411. package/dist/{push-token-TWXWra8i.d.ts → push-token-GJUUE_6j.d.ts} +1 -1
  412. package/dist/query/index.d.ts +1 -1
  413. package/dist/react/index.d.ts +6 -6
  414. package/dist/react/native/index.d.ts +1 -1
  415. package/dist/react/server.d.ts +5 -5
  416. package/dist/realtime/index.d.ts +3 -3
  417. package/dist/{record-form-B9-7RhYz.d.ts → record-form-DhpdYw5e.d.ts} +1 -1
  418. package/dist/records/index.d.ts +7 -7
  419. package/dist/{sales-CLHrvNDm.js → sales-BhOckhix.js} +3 -3
  420. package/dist/server/index.d.ts +3 -3
  421. package/dist/solid/index.d.ts +5 -5
  422. package/dist/sql/index.d.ts +6 -6
  423. package/dist/sql/index.js +3 -3
  424. package/dist/{sql-Bam07JIf.js → sql-CFsIpR4t.js} +2515 -474
  425. package/dist/sqlite/index.d.ts +1 -1
  426. package/dist/ssr/index.d.ts +1 -1
  427. package/dist/svelte/index.d.ts +5 -5
  428. package/dist/tanstack-db/index.d.ts +1 -1
  429. package/dist/{tenant-BpJ2F2b_.d.ts → tenant-BTxVWIN6.d.ts} +1 -1
  430. package/dist/testing/index.d.ts +6 -6
  431. package/dist/testing/index.js +1 -1
  432. package/dist/{timeline-LHtdAJnM.d.ts → timeline-9r4mx0A2.d.ts} +2 -2
  433. package/dist/{topic-4KYLvvTB.d.ts → topic-_7QKu4b5.d.ts} +1 -1
  434. package/dist/{types-Dfa7b0KI.d.ts → types-C2qXUXjK.d.ts} +2 -2
  435. package/dist/vue/index.d.ts +5 -5
  436. package/dist/{watch-topic-C9DIO476.d.ts → watch-topic-Do0x41n3.d.ts} +1 -1
  437. package/dist/webmcp/index.d.ts +1 -1
  438. package/dist/yjs/index.d.ts +1 -1
  439. package/package.json +1 -1
  440. package/schemas/config-v1.json +64 -1
  441. package/skills/better-supabase-api/references/powersync.md +1 -0
  442. package/dist/cli/add-3L9NVEA3.js +0 -1
  443. package/dist/cli/powersync-COHj6FT8.js +0 -1
  444. package/dist/cli/seed-CRD1tYPA.js +0 -1
  445. package/dist/deadlines-values-B7ArpVJU.js +0 -127
@@ -1,7 +1,7 @@
1
1
  import { t as i } from "./jsonc-Dyww6wHM.js";
2
2
  import { r as readIfExists } from "./io-CQzy8PEZ.js";
3
- import { t as CACHE_DIR } from "./cache-C1nAFZNW.js";
4
- import { C as installedVersion } from "./snapshot-B-1tPbV4.js";
3
+ import { t as CACHE_DIR } from "./cache-EFwNdKib.js";
4
+ import { C as installedVersion } from "./snapshot-BZGZ9pB-.js";
5
5
  import { resolve } from "node:path";
6
6
  import { createHash } from "node:crypto";
7
7
  // src/cli/content-mapper.ts
@@ -1,4 +1,4 @@
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";
@@ -7,7 +7,7 @@ import { t as connect } from "./db-B8zfxjl2.js";
7
7
  import { r as supabaseCli } from "./exec-Q6uNzyQs.js";
8
8
  import { a as migrationFiles, i as isShadowFailure, o as migrationVersion, r as inStackDiff, t as MIGRATION_HEADER } from "./in-stack-diff-huI7fGMX.js";
9
9
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
10
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DC8snM7e.js";
10
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-C3_mMci3.js";
11
11
  import { dirname, join, resolve } from "node:path";
12
12
  import { mkdir, readFile, writeFile } from "node:fs/promises";
13
13
  import { parseRenameHints } from "better-supabase/create";
@@ -1,5 +1,5 @@
1
- import { l as stdinDatabaseUrl, m as withTableTags, n as databaseUrl } from "./config-FN5Cp861.js";
2
- import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-QVJJto5U.js";
1
+ import { l as stdinDatabaseUrl, m as withTableTags, n as databaseUrl } from "./config-DdkxiGjH.js";
2
+ import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-BlOMmIM2.js";
3
3
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
4
4
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
5
5
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
@@ -7,32 +7,32 @@ import { c as insideRoot, i as changeLines, r as applyPlan } from "./files-DQayE
7
7
  import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
8
8
  import { t as connect } from "./db-B8zfxjl2.js";
9
9
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
10
- import { C as installedVersion, T as satisfies, c as isSqliteLiteDriver, f as MetadataRejectedError, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, w as peerVersions } from "./snapshot-B-1tPbV4.js";
11
- import { i as request } from "./source-BgFNrRcl.js";
10
+ import { C as installedVersion, T as satisfies, c as isSqliteLiteDriver, f as MetadataRejectedError, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, w as peerVersions } from "./snapshot-BZGZ9pB-.js";
11
+ import { i as request } from "./source-Buw7eODS.js";
12
12
  import { a as findRepoRoot, c as httpHooks, d as readSupabaseToml, h as tomlGet, i as diffEngine, l as migrationCommand, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
13
- import { t as CACHE_DIR } from "./cache-C1nAFZNW.js";
14
- import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run--qaDaqfL.js";
15
- import { f as notNullTag, p as configFor, r as renderFiles } from "./render-647qdnrX.js";
13
+ import { t as CACHE_DIR } from "./cache-EFwNdKib.js";
14
+ import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-BYX5n5rt.js";
15
+ import { f as notNullTag, p as configFor, r as renderFiles } from "./render-DyWVslCM.js";
16
16
  import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
17
17
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
18
- import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-ChZE8Z_L.js";
19
- import { c as ENV_FILES, d as sourceFiles, f as sqlFiles, l as readText, n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables, u as seedFiles } from "./sql-layout-byUur5FC.js";
20
- import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-CxbEDfSF.js";
21
- import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-D_DZ9MfG.js";
22
- import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-DMNuAml9.js";
18
+ import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-D34g1ASz.js";
19
+ import { c as ENV_FILES, d as sourceFiles, f as sqlFiles, l as readText, n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables, u as seedFiles } from "./sql-layout-BZ-NhhTI.js";
20
+ import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-DuwIX8MO.js";
21
+ import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-BoVOOrpJ.js";
22
+ import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-C4uCg3ME.js";
23
23
  import { o as providerLabel } from "./authorization-DAYgx04b.js";
24
- import { t as VERSION$1 } from "./version-DWDoiP5_.js";
24
+ import { t as VERSION$1 } from "./version-D1sJX6_6.js";
25
25
  import { t as PROCESS_ENV } from "./env-BLwQ6srP.js";
26
26
  import { a as staleVariables, i as stackEnvValues, r as redactValue, t as PREFIX_NAMES } from "./stack-env-BQhbUFa7.js";
27
27
  import { n as readStackStatus } from "./stack-status-BQUi1luk.js";
28
- import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-DQtpMu-g.js";
28
+ import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-D-QnV2BW.js";
29
29
  import { n as PLATFORM_SCHEMAS } from "./in-stack-diff-huI7fGMX.js";
30
30
  import { d as SPEC_SUBPATH_RENAMES, i as findObjectInputCalls, l as PLUGIN_SUBPATH_RENAMES, n as ROUND_TRIP_RULES, o as BLOCK_EXPORT_RENAMES, s as BLOCK_SUBPATH_RENAMES } from "./round-trips-rnu6_HKg.js";
31
31
  import { a as readSharedMemory, n as listStacks, t as branchName } from "./stacks-CsgWTwYg.js";
32
32
  import { i as plain } from "./style-B5-nByxb.js";
33
- import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-CylES-9Y.js";
34
- import { a as compiledReadSets } from "./providers-hrxX3YKU.js";
35
- import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-DC8snM7e.js";
33
+ import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-CRp8JQTE.js";
34
+ import { a as compiledReadSets } from "./providers-DWZVnoDw.js";
35
+ import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-C3_mMci3.js";
36
36
  import { existsSync } from "node:fs";
37
37
  import { dirname, join, posix, relative, resolve } from "node:path";
38
38
  import { createHash } from "node:crypto";
@@ -1,22 +1,22 @@
1
1
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { a as parseNames, i as failedResult, n as CliError } from "./errors-DcJ_PayO.js";
3
- import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-CylES-9Y.js";
4
- import { n as runGen } from "./run--qaDaqfL.js";
5
- import { u as catalogFingerprint } from "./cache-C1nAFZNW.js";
6
- import { d as GEN_TASKS, p as isGenTask } from "./config-FN5Cp861.js";
3
+ import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-CRp8JQTE.js";
4
+ import { n as runGen } from "./run-BYX5n5rt.js";
5
+ import { u as catalogFingerprint } from "./cache-EFwNdKib.js";
6
+ import { d as GEN_TASKS, p as isGenTask } from "./config-DdkxiGjH.js";
7
7
  import { i as plain } from "./style-B5-nByxb.js";
8
- import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-CV0FdW18.js";
8
+ import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-CUWMpL3f.js";
9
9
  import { i as runEnv } from "./env-G6fCEgJi.js";
10
- import { n as runPowerSync } from "./powersync-FUYFuZSw.js";
11
- import { t as runSeed } from "./seed-BgpovbwF.js";
12
- import { t as addModules } from "./add-BQZbFEAP.js";
13
- import { n as listModules, t as printModule } from "./print-DAwLAC-7.js";
14
- import { n as dataMigration } from "./migrations-DGJJ1rHt.js";
15
- import { t as syncModules } from "./sync-BtM7o-sI.js";
16
- import { t as upgrade } from "./upgrade-CKDeHkyy.js";
10
+ import { n as runPowerSync } from "./powersync-CHVlZIqs.js";
11
+ import { t as runSeed } from "./seed-kCLEYSOH.js";
12
+ import { t as addModules } from "./add--O_HFhs0.js";
13
+ import { n as listModules, t as printModule } from "./print-orgMiDzp.js";
14
+ import { n as dataMigration } from "./migrations-8dDFF8SW.js";
15
+ import { t as syncModules } from "./sync-CFzA4xdr.js";
16
+ import { t as upgrade } from "./upgrade-D1szGysi.js";
17
17
  import { c as insideRoot, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
18
- import { _ as restrictSchemas, a as serializeSnapshot, o as snapshotFile, r as openSource, t as loadSnapshot, v as serializeGenerator } from "./snapshot-B-1tPbV4.js";
19
- import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-DC8snM7e.js";
18
+ import { _ as restrictSchemas, a as serializeSnapshot, o as snapshotFile, r as openSource, t as loadSnapshot, v as serializeGenerator } from "./snapshot-BZGZ9pB-.js";
19
+ import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-C3_mMci3.js";
20
20
  import { existsSync } from "node:fs";
21
21
  import { resolve } from "node:path";
22
22
  // src/cli/commands/sql.ts
@@ -783,5 +783,5 @@ export declare function emitModule(model: Model, options: EmitOptions): string;
783
783
  export declare function loadConfig(cwd: string, explicit?: string, environment?: string, path?: string | undefined, options?: {
784
784
  readonly legacyTables?: boolean;
785
785
  }): Promise<ResolvedConfig>;
786
- export declare const VERSION = "0.54.0";
786
+ export declare const VERSION = "0.56.0";
787
787
  export type { Catalog, CatalogCheck, CatalogColumn, CatalogColumnGrant, CatalogEnum, CatalogForeignKey, CatalogFunction, CatalogFunctionArg, CatalogGrant, CatalogIndex, CatalogPolicy, CatalogTable, CatalogTrigger, CatalogUnique, Choice, Cli, CliArgs, CliCommand, CliCommandDef, CliContext, CliEnv, CliErrorCode, CliErrorOptions, CliIo, CliLog, CliProblem, CliProblemExtensions, 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,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-GcSBgXCH.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-DyWVslCM.js";
5
+ import { n as runGen } from "./run-BYX5n5rt.js";
6
+ import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-BZGZ9pB-.js";
7
+ import { a as toCatalog, n as managementSource, r as pgSource } from "./source-Buw7eODS.js";
8
+ import { s as loadConfig } from "./config-DdkxiGjH.js";
9
+ import { t as VERSION } from "./version-D1sJX6_6.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-BlOMmIM2.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-DT2QsJB0.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-D-QnV2BW.js";
9
+ import { s as enablePgDelta, t as syncModules } from "./sync-CFzA4xdr.js";
10
+ import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-BZGZ9pB-.js";
11
+ import { a as toCatalog } from "./source-Buw7eODS.js";
12
+ import { l as TYPEGEN_VERSION } from "./cache-EFwNdKib.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-BZ-NhhTI.js";
15
+ import { t as appTablePlan } from "./app-table-files-BjMDa_7_.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-Buw7eODS.js";
3
+ import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-BoVOOrpJ.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-GcSBgXCH.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-D1sJX6_6.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-BYX5n5rt.js";
4
+ import { f as MetadataRejectedError, g as parseMetadataDocument } from "./snapshot-BZGZ9pB-.js";
5
+ import { n as render, u as metaPaths } from "./render-DyWVslCM.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-BjMDa_7_.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-BoVOOrpJ.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-BZ-NhhTI.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-DWZVnoDw.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-BZ-NhhTI.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-8dDFF8SW.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-CHVlZIqs.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-BZ-NhhTI.js";
4
+ import { i as stampAfter } from "./migrations-8dDFF8SW.js";
5
+ import { r as layoutFor } from "./providers-DWZVnoDw.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-DWZVnoDw.js";
3
+ import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-DuwIX8MO.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-BZ-NhhTI.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-C4uCg3ME.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-DT2QsJB0.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-BZ-NhhTI.js";
8
+ import { n as isComposite } from "./add--O_HFhs0.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-DWZVnoDw.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-CFzA4xdr.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-DKs7Qj8R.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-EFwNdKib.js";
4
+ import { _ as restrictSchemas, b as tsTypeOf, d as apiTypeSchemas, h as oxfmtInstalled, m as generateDatabaseTypes, u as bootstrapTables } from "./snapshot-BZGZ9pB-.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-Buw7eODS.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,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-BZGZ9pB-.js";
3
+ import { s as schemaStampPath } from "./content-mapper-BlOMmIM2.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-D34g1ASz.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-BoVOOrpJ.js";
9
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-EFwNdKib.js";
10
+ import { a as compiledReadSets } from "./providers-DWZVnoDw.js";
11
+ import { n as migrationsDir } from "./sql-layout-BZ-NhhTI.js";
12
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-DuwIX8MO.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-DyWVslCM.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,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-D1sJX6_6.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-BLMHN_2A.js").then((m) => m.initCommand)],
23
+ ["add", () => import("./add-CUAchifS.js").then((m) => m.addCommand)],
24
+ ["remove", () => import("./remove-BH6Zwjhs.js").then((m) => m.removeCommand)],
25
+ ["upgrade", () => import("./upgrade-ukOP0GXf.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-BjDf0moD.js").then((m) => m.migrateSchemaFirstCommand)],
28
+ ["gen", () => import("./gen-n6l6AMLo.js").then((m) => m.genCommand)],
29
+ ["doctor", () => import("./doctor-JdxWuscJ.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-DWD5chCd.js").then((m) => m.dbBackfillCommand)],
34
+ ["db prune-workflows", () => import("./prune-workflows-DelKs-zD.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-BduQcXFb.js").then((m) => m.blocksListCommand)],
42
+ ["blocks view", () => import("./blocks-BduQcXFb.js").then((m) => m.blocksViewCommand)],
43
+ ["blocks search", () => import("./blocks-BduQcXFb.js").then((m) => m.blocksSearchCommand)],
44
+ ["powersync streams", () => import("./powersync-ByqoHJwp.js").then((m) => m.powersyncStreamsCommand)],
45
+ ["spec emit", () => import("./spec-CnRC9FcX.js").then((m) => m.specEmitCommand)],
46
+ ["spec validate", () => import("./spec-CnRC9FcX.js").then((m) => m.specValidateCommand)],
47
+ ["mcp", () => import("./mcp-CFLvzFKH.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-CuaWRwst.js").then((m) => m.codemodCommand("0.4"))],
51
+ ["codemod 0.5", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.5"))],
52
+ ["codemod 0.6", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.6"))],
53
+ ["codemod 0.9", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.9"))],
54
+ ["codemod 0.11", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.11"))],
55
+ ["codemod 0.15", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.15"))],
56
+ ["codemod 0.29", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.29"))],
57
+ ["codemod 0.32", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.32"))],
58
+ ["codemod 0.35", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.35"))],
59
+ ["codemod 0.37", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.37"))],
60
+ ["codemod 0.46", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.46"))],
61
+ ["codemod 0.47", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.47"))],
62
+ ["codemod 0.53", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.53"))],
63
+ ["codemod read-many", () => import("./codemod-CuaWRwst.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;
@@ -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-Buw7eODS.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-EFwNdKib.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-Buw7eODS.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-D1sJX6_6.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
  /**
@@ -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-EFwNdKib.js";
7
+ import { t as VERSION } from "./version-D1sJX6_6.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 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-CV0FdW18.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-CUWMpL3f.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-BZGZ9pB-.js";
5
+ import { a as toCatalog } from "./source-Buw7eODS.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";