better-supabase 0.49.0 → 0.51.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 (850) hide show
  1. package/README.md +14 -0
  2. package/dist/{activities-C2v_Sq4w.d.ts → activities-CL253DEv.d.ts} +2 -2
  3. package/dist/{adapter-BzeH7ffo.js → adapter-DBO28HF_.js} +1 -1
  4. package/dist/{agents-Cekdx8Bz.d.ts → agents-C3l31Csq.d.ts} +33 -2
  5. package/dist/agents-Cf59iYaF.d.ts +290 -0
  6. package/dist/agents-lkuM-m6i.js +380 -0
  7. package/dist/{ai-cache-Pchr6Y4y.js → ai-cache-CnmJIQZG.js} +2 -2
  8. package/dist/{ai-chat-D2o3jqZ5.d.ts → ai-chat-DwVklsNR.d.ts} +88 -7
  9. package/dist/{ai-files-B2BWwPoj.js → ai-files-CMDsogDg.js} +3 -2
  10. package/dist/ai-guardrails-Ckbf-cmW.d.ts +216 -0
  11. package/dist/{ai-schedules-BOiaFIva.d.ts → ai-schedules-D68hvDoZ.d.ts} +1 -1
  12. package/dist/ai-sdk/agents/index.d.ts +68 -212
  13. package/dist/ai-sdk/agents/index.js +103 -300
  14. package/dist/ai-sdk/batches/index.js +1 -1
  15. package/dist/ai-sdk/cache/index.js +1 -1
  16. package/dist/ai-sdk/chat/index.d.ts +2 -2
  17. package/dist/ai-sdk/chat/index.js +5 -2
  18. package/dist/ai-sdk/embeddings/index.d.ts +52 -3
  19. package/dist/ai-sdk/embeddings/index.js +69 -1
  20. package/dist/ai-sdk/files/index.d.ts +38 -4
  21. package/dist/ai-sdk/files/index.js +100 -4
  22. package/dist/ai-sdk/index.d.ts +166 -16
  23. package/dist/ai-sdk/index.js +394 -21
  24. package/dist/ai-sdk/mcp/index.d.ts +49 -2
  25. package/dist/ai-sdk/mcp/index.js +108 -6
  26. package/dist/ai-sdk/memory/index.d.ts +2 -2
  27. package/dist/ai-sdk/memory/index.js +7 -2
  28. package/dist/ai-sdk/react/index.js +2 -2
  29. package/dist/ai-sdk/react/server.js +1 -1
  30. package/dist/ai-sdk/workflow/index.d.ts +87 -23
  31. package/dist/ai-sdk/workflow/index.js +275 -28
  32. package/dist/ai-sdk/workflow/react/index.d.ts +25 -4
  33. package/dist/ai-sdk/workflow/react/index.js +71 -16
  34. package/dist/ai-sdk/workflow/react/server.d.ts +4 -4
  35. package/dist/{api-CWeCh_j2.d.ts → api-3I8ucZF2.d.ts} +1 -1
  36. package/dist/{api-DXZh-j0l.js → api-CZGUgEVr.js} +1 -1
  37. package/dist/{app-tables-D6Na4nwb.d.ts → app-tables-qa0wvhw0.d.ts} +1 -1
  38. package/dist/{approvals-B-WgN6Mf.d.ts → approvals-C7DjllLP.d.ts} +84 -1
  39. package/dist/{approvals-CMkvP9kT.js → approvals-CfQuk-lJ.js} +84 -8
  40. package/dist/{assistant-DcxV_seb.js → assistant-BBN9KJPi.js} +108 -26
  41. package/dist/{assistant-Dy9zwENt.d.ts → assistant-VF3vhPZo.d.ts} +68 -25
  42. package/dist/astro/index.js +2 -2
  43. package/dist/{attachments-gjSYzlsQ.js → attachments-Da24yVTB.js} +4 -4
  44. package/dist/audit-files/index.js +2 -2
  45. package/dist/{authorization-N4bh4KQS.d.ts → authorization-fXe0XyzB.d.ts} +1 -1
  46. package/dist/{automations-Ce0jNNIe.js → automations-BKxKPkhr.js} +2 -2
  47. package/dist/{automations-CCc5RUw-.js → automations-CkwKi84L.js} +2 -1
  48. package/dist/{bind-ChYzUApb.d.ts → bind-CimlbjXB.d.ts} +3 -3
  49. package/dist/{block-authors-CjI5VcQz.js → block-authors-Dt82LpCs.js} +1 -1
  50. package/dist/{block-env-buLS8m9m.d.ts → block-env-D0JCpFzh.d.ts} +4 -4
  51. package/dist/{block-helpers-CCl3V9ku.js → block-helpers-DApvw3n9.js} +5 -2
  52. package/dist/{block-hooks-C2_d17_b.js → block-hooks-mazaapv5.js} +1 -1
  53. package/dist/{block-subjects-ok-uZ1UU.js → block-subjects-CFDmtXvr.js} +1 -1
  54. package/dist/{block-subjects-rv7V0R6O.js → block-subjects-D3r2SfCb.js} +10 -10
  55. package/dist/{block-tables-Pd7nOPv3.d.ts → block-tables-CdXRHb2v.d.ts} +1 -1
  56. package/dist/blocks/access-requests/index.d.ts +1 -1
  57. package/dist/blocks/access-requests/index.js +2 -2
  58. package/dist/blocks/accounting/index.d.ts +1 -1
  59. package/dist/blocks/accounting/index.js +3 -3
  60. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  61. package/dist/blocks/acknowledgements/index.js +2 -2
  62. package/dist/blocks/activities/index.d.ts +5 -13
  63. package/dist/blocks/activities/index.js +3 -3
  64. package/dist/blocks/advisories/index.d.ts +1 -1
  65. package/dist/blocks/advisories/index.js +2 -2
  66. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  67. package/dist/blocks/agent-checkout/index.js +2 -2
  68. package/dist/blocks/agents/index.d.ts +4 -4
  69. package/dist/blocks/agents/index.js +47 -8
  70. package/dist/blocks/ai-cache/index.d.ts +1 -1
  71. package/dist/blocks/ai-cache/index.js +2 -2
  72. package/dist/blocks/ai-chat/index.d.ts +4 -4
  73. package/dist/blocks/ai-chat/index.js +76 -8
  74. package/dist/blocks/ai-evals/index.d.ts +1 -1
  75. package/dist/blocks/ai-evals/index.js +2 -2
  76. package/dist/blocks/ai-files/index.d.ts +2 -2
  77. package/dist/blocks/ai-files/index.js +2 -2
  78. package/dist/blocks/ai-guardrails/index.d.ts +3 -216
  79. package/dist/blocks/ai-guardrails/index.js +4 -4
  80. package/dist/blocks/ai-keys/index.d.ts +1 -1
  81. package/dist/blocks/ai-keys/index.js +4 -4
  82. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  83. package/dist/blocks/ai-schedules/index.js +2 -2
  84. package/dist/blocks/announcements/index.d.ts +4 -4
  85. package/dist/blocks/announcements/index.js +2 -2
  86. package/dist/blocks/api-keys/index.d.ts +1 -1
  87. package/dist/blocks/api-keys/index.js +2 -2
  88. package/dist/blocks/appraisals/index.d.ts +1 -1
  89. package/dist/blocks/appraisals/index.js +2 -2
  90. package/dist/blocks/approvals/index.d.ts +2 -2
  91. package/dist/blocks/approvals/index.js +3 -3
  92. package/dist/blocks/assets/index.d.ts +2 -2
  93. package/dist/blocks/assets/index.js +3 -3
  94. package/dist/blocks/assignment/index.d.ts +1 -1
  95. package/dist/blocks/assignment/index.js +3 -3
  96. package/dist/blocks/attachments/index.d.ts +5 -5
  97. package/dist/blocks/attachments/index.js +3 -3
  98. package/dist/blocks/audit/index.d.ts +2 -2
  99. package/dist/blocks/audit/index.js +2 -2
  100. package/dist/blocks/automations/index.d.ts +4 -4
  101. package/dist/blocks/automations/index.js +3 -3
  102. package/dist/blocks/banking/index.d.ts +1 -1
  103. package/dist/blocks/banking/index.js +3 -3
  104. package/dist/blocks/billable-time/index.d.ts +1 -1
  105. package/dist/blocks/billable-time/index.js +3 -3
  106. package/dist/blocks/billing/index.d.ts +2 -2
  107. package/dist/blocks/billing/index.js +2 -2
  108. package/dist/blocks/bookings/index.d.ts +2 -2
  109. package/dist/blocks/bookings/index.js +2 -2
  110. package/dist/blocks/bulk/index.d.ts +1 -1
  111. package/dist/blocks/bulk/index.js +2 -2
  112. package/dist/blocks/calendar/index.d.ts +3 -3
  113. package/dist/blocks/calendar/index.js +1 -1
  114. package/dist/blocks/care/index.d.ts +27 -27
  115. package/dist/blocks/care/index.js +27 -27
  116. package/dist/blocks/care-plans/index.d.ts +3 -3
  117. package/dist/blocks/care-plans/index.js +3 -3
  118. package/dist/blocks/cases/index.d.ts +3 -3
  119. package/dist/blocks/cases/index.js +3 -3
  120. package/dist/blocks/catalog/index.d.ts +2 -2
  121. package/dist/blocks/catalog/index.js +3 -3
  122. package/dist/blocks/channels/index.d.ts +1 -1
  123. package/dist/blocks/channels/index.js +2 -2
  124. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  125. package/dist/blocks/clinical-decision-support/index.js +2 -2
  126. package/dist/blocks/cms/index.d.ts +5 -5
  127. package/dist/blocks/cms/index.js +5 -5
  128. package/dist/blocks/collaboration/index.d.ts +6 -6
  129. package/dist/blocks/collaboration/index.js +6 -6
  130. package/dist/blocks/collections/index.d.ts +1 -1
  131. package/dist/blocks/collections/index.js +2 -2
  132. package/dist/blocks/comments/index.d.ts +2 -2
  133. package/dist/blocks/comments/index.js +3 -3
  134. package/dist/blocks/commerce/index.d.ts +5 -5
  135. package/dist/blocks/commerce/index.js +5 -5
  136. package/dist/blocks/commissions/index.d.ts +1 -1
  137. package/dist/blocks/commissions/index.js +2 -2
  138. package/dist/blocks/compliance/index.d.ts +1 -1
  139. package/dist/blocks/compliance/index.js +2 -2
  140. package/dist/blocks/connectors/index.d.ts +1 -1
  141. package/dist/blocks/connectors/index.js +3 -3
  142. package/dist/blocks/consents/index.d.ts +2 -2
  143. package/dist/blocks/consents/index.js +3 -3
  144. package/dist/blocks/contacts/index.d.ts +3 -3
  145. package/dist/blocks/contacts/index.js +4 -4
  146. package/dist/blocks/content/index.d.ts +2 -2
  147. package/dist/blocks/content/index.js +3 -3
  148. package/dist/blocks/contracts/index.d.ts +1 -1
  149. package/dist/blocks/contracts/index.js +4 -4
  150. package/dist/blocks/courses/index.d.ts +3 -3
  151. package/dist/blocks/courses/index.js +3 -3
  152. package/dist/blocks/created-by/index.d.ts +2 -2
  153. package/dist/blocks/crm/index.d.ts +16 -16
  154. package/dist/blocks/crm/index.js +16 -16
  155. package/dist/blocks/custom-fields/index.d.ts +1 -1
  156. package/dist/blocks/custom-fields/index.js +2 -2
  157. package/dist/blocks/dam/index.d.ts +2 -2
  158. package/dist/blocks/dam/index.js +4 -4
  159. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  160. package/dist/blocks/data-lifecycle/index.js +3 -3
  161. package/dist/blocks/deals/index.d.ts +1 -1
  162. package/dist/blocks/deals/index.js +3 -3
  163. package/dist/blocks/dispatch/index.d.ts +2 -2
  164. package/dist/blocks/dispatch/index.js +4 -4
  165. package/dist/blocks/document-templates/index.d.ts +1 -1
  166. package/dist/blocks/document-templates/index.js +2 -2
  167. package/dist/blocks/documents/index.d.ts +1 -1
  168. package/dist/blocks/documents/index.js +2 -2
  169. package/dist/blocks/domains/index.d.ts +1 -1
  170. package/dist/blocks/domains/index.js +3 -3
  171. package/dist/blocks/donations/index.d.ts +1 -1
  172. package/dist/blocks/donations/index.js +4 -4
  173. package/dist/blocks/drive/index.d.ts +5 -5
  174. package/dist/blocks/drive/index.js +5 -5
  175. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  176. package/dist/blocks/e-prescribing/index.js +2 -2
  177. package/dist/blocks/employees/index.d.ts +1 -1
  178. package/dist/blocks/employees/index.js +3 -3
  179. package/dist/blocks/enrichment/index.d.ts +1 -1
  180. package/dist/blocks/enrichment/index.js +3 -3
  181. package/dist/blocks/enrollments/index.d.ts +2 -2
  182. package/dist/blocks/enrollments/index.js +3 -3
  183. package/dist/blocks/entitlements/index.d.ts +3 -3
  184. package/dist/blocks/entitlements/index.js +3 -3
  185. package/dist/blocks/events/index.d.ts +3 -3
  186. package/dist/blocks/events/index.js +3 -3
  187. package/dist/blocks/expenses/index.d.ts +1 -1
  188. package/dist/blocks/expenses/index.js +3 -3
  189. package/dist/blocks/field-history/index.d.ts +1 -1
  190. package/dist/blocks/field-history/index.js +3 -3
  191. package/dist/blocks/filespace/index.d.ts +8 -8
  192. package/dist/blocks/filespace/index.js +7 -7
  193. package/dist/blocks/finance/index.d.ts +5 -5
  194. package/dist/blocks/finance/index.js +5 -5
  195. package/dist/blocks/flags/index.d.ts +1 -1
  196. package/dist/blocks/flags/index.js +3 -3
  197. package/dist/blocks/forecasts/index.d.ts +1 -1
  198. package/dist/blocks/forecasts/index.js +3 -3
  199. package/dist/blocks/forms/index.d.ts +3 -3
  200. package/dist/blocks/forms/index.js +2 -2
  201. package/dist/blocks/funding/index.d.ts +2 -2
  202. package/dist/blocks/funding/index.js +3 -3
  203. package/dist/blocks/goals/index.d.ts +1 -1
  204. package/dist/blocks/goals/index.js +3 -3
  205. package/dist/blocks/governance/index.d.ts +4 -4
  206. package/dist/blocks/governance/index.js +4 -4
  207. package/dist/blocks/guests/index.d.ts +1 -1
  208. package/dist/blocks/guests/index.js +3 -3
  209. package/dist/blocks/hiring/index.d.ts +1 -1
  210. package/dist/blocks/hiring/index.js +3 -3
  211. package/dist/blocks/identities/index.d.ts +1 -1
  212. package/dist/blocks/identities/index.js +2 -2
  213. package/dist/blocks/imports/index.d.ts +2 -2
  214. package/dist/blocks/imports/index.js +2 -2
  215. package/dist/blocks/inbox/index.d.ts +8 -8
  216. package/dist/blocks/inbox/index.js +3 -3
  217. package/dist/blocks/incidents/index.d.ts +1 -1
  218. package/dist/blocks/incidents/index.js +2 -2
  219. package/dist/blocks/index.d.ts +8 -8
  220. package/dist/blocks/index.js +4 -4
  221. package/dist/blocks/inspections/index.d.ts +2 -2
  222. package/dist/blocks/inspections/index.js +2 -2
  223. package/dist/blocks/inventory/index.d.ts +1 -1
  224. package/dist/blocks/inventory/index.js +3 -3
  225. package/dist/blocks/invoices/index.d.ts +1 -1
  226. package/dist/blocks/invoices/index.js +3 -3
  227. package/dist/blocks/knowledge/index.d.ts +3 -3
  228. package/dist/blocks/knowledge/index.js +4 -4
  229. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  230. package/dist/blocks/lead-scoring/index.js +3 -3
  231. package/dist/blocks/learning/index.d.ts +3 -3
  232. package/dist/blocks/learning/index.js +3 -3
  233. package/dist/blocks/leases/index.d.ts +1 -1
  234. package/dist/blocks/leases/index.js +3 -3
  235. package/dist/blocks/leave/index.d.ts +1 -1
  236. package/dist/blocks/leave/index.js +3 -3
  237. package/dist/blocks/ledger/index.d.ts +1 -1
  238. package/dist/blocks/ledger/index.js +2 -2
  239. package/dist/blocks/legal-entities/index.d.ts +2 -2
  240. package/dist/blocks/legal-entities/index.js +2 -2
  241. package/dist/blocks/lims/index.d.ts +2 -2
  242. package/dist/blocks/lims/index.js +2 -2
  243. package/dist/blocks/mail-sync/index.d.ts +3 -3
  244. package/dist/blocks/mail-sync/index.js +3 -3
  245. package/dist/blocks/maintenance/index.d.ts +2 -2
  246. package/dist/blocks/maintenance/index.js +3 -3
  247. package/dist/blocks/manufacturing/index.d.ts +2 -2
  248. package/dist/blocks/manufacturing/index.js +3 -3
  249. package/dist/blocks/medications/index.d.ts +1 -1
  250. package/dist/blocks/medications/index.js +3 -3
  251. package/dist/blocks/meetings/index.d.ts +3 -3
  252. package/dist/blocks/meetings/index.js +3 -3
  253. package/dist/blocks/memberships/index.d.ts +2 -2
  254. package/dist/blocks/memory/index.d.ts +3 -3
  255. package/dist/blocks/memory/index.js +7 -7
  256. package/dist/blocks/messaging/index.d.ts +5 -5
  257. package/dist/blocks/messaging/index.js +3 -3
  258. package/dist/blocks/metrics/index.d.ts +1 -1
  259. package/dist/blocks/metrics/index.js +2 -2
  260. package/dist/blocks/mfa/index.d.ts +2 -2
  261. package/dist/blocks/moderation/index.d.ts +2 -2
  262. package/dist/blocks/moderation/index.js +2 -2
  263. package/dist/blocks/notifications/index.d.ts +5 -5
  264. package/dist/blocks/notifications/index.js +3 -3
  265. package/dist/blocks/numbering/index.d.ts +1 -1
  266. package/dist/blocks/numbering/index.js +1 -1
  267. package/dist/blocks/oauth-server/index.d.ts +1 -1
  268. package/dist/blocks/oauth-server/index.js +2 -2
  269. package/dist/blocks/observations/index.d.ts +2 -2
  270. package/dist/blocks/observations/index.js +3 -3
  271. package/dist/blocks/onboarding/index.d.ts +2 -2
  272. package/dist/blocks/onboarding/index.js +2 -2
  273. package/dist/blocks/orders/index.d.ts +1 -1
  274. package/dist/blocks/orders/index.js +4 -4
  275. package/dist/blocks/organizations/index.d.ts +2 -2
  276. package/dist/blocks/organizations/index.js +3 -3
  277. package/dist/blocks/outbox/index.d.ts +1 -1
  278. package/dist/blocks/outbox/index.js +2 -2
  279. package/dist/blocks/passes/index.d.ts +2 -2
  280. package/dist/blocks/passes/index.js +3 -3
  281. package/dist/blocks/payroll-export/index.d.ts +2 -2
  282. package/dist/blocks/payroll-export/index.js +3 -3
  283. package/dist/blocks/people/index.d.ts +7 -7
  284. package/dist/blocks/people/index.js +7 -7
  285. package/dist/blocks/periods/index.d.ts +1 -1
  286. package/dist/blocks/periods/index.js +2 -2
  287. package/dist/blocks/permissions/index.d.ts +3 -3
  288. package/dist/blocks/permissions/index.js +2 -2
  289. package/dist/blocks/pipelines/index.d.ts +1 -1
  290. package/dist/blocks/pipelines/index.js +3 -3
  291. package/dist/blocks/posts/index.d.ts +2 -2
  292. package/dist/blocks/posts/index.js +2 -2
  293. package/dist/blocks/procurement/index.d.ts +5 -5
  294. package/dist/blocks/procurement/index.js +5 -5
  295. package/dist/blocks/profiles/index.d.ts +1 -1
  296. package/dist/blocks/profiles/index.js +3 -3
  297. package/dist/blocks/projects/index.d.ts +7 -7
  298. package/dist/blocks/projects/index.js +7 -7
  299. package/dist/blocks/promotions/index.d.ts +1 -1
  300. package/dist/blocks/promotions/index.js +4 -4
  301. package/dist/blocks/prompts/index.d.ts +1 -1
  302. package/dist/blocks/prompts/index.js +2 -2
  303. package/dist/blocks/push/index.d.ts +2 -2
  304. package/dist/blocks/push/index.js +3 -3
  305. package/dist/blocks/qualifications/index.d.ts +2 -2
  306. package/dist/blocks/qualifications/index.js +3 -3
  307. package/dist/blocks/queue/index.d.ts +96 -3
  308. package/dist/blocks/queue/index.js +149 -7
  309. package/dist/blocks/quotes/index.d.ts +1 -1
  310. package/dist/blocks/quotes/index.js +3 -3
  311. package/dist/blocks/rank/index.d.ts +1 -1
  312. package/dist/blocks/rank/index.js +2 -2
  313. package/dist/blocks/reactions/index.d.ts +4 -4
  314. package/dist/blocks/reactions/index.js +3 -3
  315. package/dist/blocks/recruiting/index.d.ts +4 -4
  316. package/dist/blocks/recruiting/index.js +4 -4
  317. package/dist/blocks/referrals/index.d.ts +1 -1
  318. package/dist/blocks/referrals/index.js +2 -2
  319. package/dist/blocks/relations/index.d.ts +1 -1
  320. package/dist/blocks/relations/index.js +4 -4
  321. package/dist/blocks/reminders/index.d.ts +1 -1
  322. package/dist/blocks/reminders/index.js +1 -1
  323. package/dist/blocks/reviews/index.d.ts +1 -1
  324. package/dist/blocks/reviews/index.js +2 -2
  325. package/dist/blocks/rfqs/index.d.ts +2 -2
  326. package/dist/blocks/rfqs/index.js +3 -3
  327. package/dist/blocks/risks/index.d.ts +2 -2
  328. package/dist/blocks/risks/index.js +2 -2
  329. package/dist/blocks/saas/index.d.ts +12 -12
  330. package/dist/blocks/saas/index.js +12 -12
  331. package/dist/blocks/sales/index.d.ts +1 -1
  332. package/dist/blocks/sales/index.js +1 -1
  333. package/dist/blocks/saved-views/index.d.ts +2 -2
  334. package/dist/blocks/saved-views/index.js +2 -2
  335. package/dist/blocks/scheduling/index.d.ts +4 -4
  336. package/dist/blocks/scheduling/index.js +4 -4
  337. package/dist/blocks/scores/index.d.ts +2 -2
  338. package/dist/blocks/scores/index.js +3 -3
  339. package/dist/blocks/search/index.d.ts +4 -4
  340. package/dist/blocks/search/index.js +2 -2
  341. package/dist/blocks/security-events/index.d.ts +1 -1
  342. package/dist/blocks/security-events/index.js +2 -2
  343. package/dist/blocks/segments/index.d.ts +2 -2
  344. package/dist/blocks/segments/index.js +3 -3
  345. package/dist/blocks/sequences/index.d.ts +3 -3
  346. package/dist/blocks/sequences/index.js +3 -3
  347. package/dist/blocks/service/index.d.ts +7 -7
  348. package/dist/blocks/service/index.js +7 -7
  349. package/dist/blocks/service-accounts/index.d.ts +1 -1
  350. package/dist/blocks/service-accounts/index.js +2 -2
  351. package/dist/blocks/sessions/index.d.ts +2 -2
  352. package/dist/blocks/sessions/index.js +2 -2
  353. package/dist/blocks/settings/index.d.ts +2 -2
  354. package/dist/blocks/settings/index.js +3 -3
  355. package/dist/blocks/share-links/index.d.ts +1 -1
  356. package/dist/blocks/share-links/index.js +1 -1
  357. package/dist/blocks/shifts/index.d.ts +2 -2
  358. package/dist/blocks/shifts/index.js +3 -3
  359. package/dist/blocks/shipments/index.d.ts +2 -2
  360. package/dist/blocks/shipments/index.js +4 -4
  361. package/dist/blocks/signatures/index.d.ts +2 -2
  362. package/dist/blocks/signatures/index.js +2 -2
  363. package/dist/blocks/signing-keys/index.d.ts +1 -1
  364. package/dist/blocks/signing-keys/index.js +2 -2
  365. package/dist/blocks/sla/index.d.ts +1 -1
  366. package/dist/blocks/sla/index.js +3 -3
  367. package/dist/blocks/sso/index.d.ts +1 -1
  368. package/dist/blocks/sso/index.js +2 -2
  369. package/dist/blocks/state-machine/index.d.ts +1 -1
  370. package/dist/blocks/state-machine/index.js +1 -1
  371. package/dist/blocks/subjects/index.d.ts +2 -2
  372. package/dist/blocks/subjects/index.js +3 -3
  373. package/dist/blocks/support/index.d.ts +5 -5
  374. package/dist/blocks/support/index.js +5 -5
  375. package/dist/blocks/tags/index.d.ts +2 -2
  376. package/dist/blocks/tags/index.js +1 -1
  377. package/dist/blocks/tasks/index.d.ts +2 -2
  378. package/dist/blocks/tasks/index.js +3 -3
  379. package/dist/blocks/tax/index.d.ts +2 -2
  380. package/dist/blocks/tax/index.js +3 -3
  381. package/dist/blocks/teams/index.d.ts +1 -1
  382. package/dist/blocks/teams/index.js +1 -1
  383. package/dist/blocks/templates/index.d.ts +3 -3
  384. package/dist/blocks/templates/index.js +2 -2
  385. package/dist/blocks/tills/index.d.ts +1 -1
  386. package/dist/blocks/tills/index.js +3 -3
  387. package/dist/blocks/time-tracking/index.d.ts +2 -2
  388. package/dist/blocks/time-tracking/index.js +2 -2
  389. package/dist/blocks/timeline/index.d.ts +1 -1
  390. package/dist/blocks/timeline/index.js +2 -2
  391. package/dist/blocks/trash/index.d.ts +1 -1
  392. package/dist/blocks/trash/index.js +2 -2
  393. package/dist/blocks/undo/index.d.ts +2 -2
  394. package/dist/blocks/undo/index.js +2 -2
  395. package/dist/blocks/updated-at/index.d.ts +2 -2
  396. package/dist/blocks/usage/index.d.ts +3 -3
  397. package/dist/blocks/usage/index.js +15 -3
  398. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  399. package/dist/blocks/vercel-marketplace/index.js +2 -2
  400. package/dist/blocks/versions/index.d.ts +1 -1
  401. package/dist/blocks/versions/index.js +2 -2
  402. package/dist/blocks/waitlist/index.d.ts +1 -1
  403. package/dist/blocks/waitlist/index.js +2 -2
  404. package/dist/blocks/warehouse/index.d.ts +1 -1
  405. package/dist/blocks/warehouse/index.js +3 -3
  406. package/dist/blocks/webhooks/index.d.ts +1 -1
  407. package/dist/blocks/webhooks/index.js +6 -6
  408. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  409. package/dist/blocks/workflow-editor/index.js +3 -3
  410. package/dist/blocks/workflows/index.d.ts +5 -5
  411. package/dist/blocks/workflows/index.js +51 -12
  412. package/dist/{blocks-ERs7xZ7E.d.ts → blocks-DbarkJe1.d.ts} +43 -19
  413. package/dist/{channel-iJrqCvKh.js → channel-HoCqE6Xb.js} +1 -1
  414. package/dist/chat-sdk/index.d.ts +549 -131
  415. package/dist/chat-sdk/index.js +881 -245
  416. package/dist/claims/index.d.ts +3 -3
  417. package/dist/cli/{account-D7u3LvNN.js → account-CVomaGBV.js} +1 -1
  418. package/dist/cli/{account-BGMPSKJs.js → account-Co53476L.js} +1 -1
  419. package/dist/cli/add-CGR3mLgc.js +1 -0
  420. package/dist/cli/{add-BXfK7N0H.js → add-Cbuj3vBk.js} +2 -2
  421. package/dist/cli/{add-Ca3FNbhm.js → add-ymWkkPNw.js} +13 -13
  422. package/dist/cli/{app-table-files-BR0zwJ7T.js → app-table-files-DoPmytoG.js} +3 -3
  423. package/dist/cli/{app-tables-DAHcDTFh.js → app-tables-D1rjtFmq.js} +2 -2
  424. package/dist/cli/{automations-DKKuC8MW.js → automations-DAMWU5je.js} +1 -1
  425. package/dist/cli/{backfill-DHD9e6XO.js → backfill-DgHzYvi5.js} +162 -6
  426. package/dist/cli/bin.js +1 -1
  427. package/dist/cli/{blocks-C4J4d_Jx.js → blocks-CzCYyx9N.js} +2 -2
  428. package/dist/cli/{blocks-DtEsw6CG.js → blocks-DmIQd43q.js} +1 -1
  429. package/dist/cli/{cache-DyhfGbUV.js → cache-dmC65uMm.js} +1 -1
  430. package/dist/cli/{codemod-B7EdR7Fu.js → codemod-CzRpopTy.js} +3 -3
  431. package/dist/cli/{command-bvbsvYpo.js → command-CLlRvLN9.js} +14 -7
  432. package/dist/cli/{completion-C8zJwfzA.js → completion-4Ta2j6uu.js} +2 -2
  433. package/dist/cli/{completion-CsGpvIuo.js → completion-BeyJYbyT.js} +2 -2
  434. package/dist/cli/{completion-GgZmb_t7.js → completion-DwUZqnou.js} +1 -1
  435. package/dist/cli/{config-C-DXllAX.js → config-DDzGKmmT.js} +32 -1
  436. package/dist/cli/{config-DyGupd-1.js → config-DPKOp4D5.js} +1 -1
  437. package/dist/cli/{config-CWQesy6K.js → config-lZB85ksj.js} +1 -1
  438. package/dist/cli/{content-mapper-BM9asZuL.js → content-mapper-B6JGZZ-x.js} +2 -2
  439. package/dist/cli/{db-CVoN3aLl.js → db-XUHrXei6.js} +3 -3
  440. package/dist/cli/{doctor-BuE0Ry7T.js → doctor-Be-y8dsz.js} +240 -20
  441. package/dist/cli/{env-Bco8UGR3.js → env-49B92Izr.js} +1 -1
  442. package/dist/cli/env-BNeYZxBV.js +1 -0
  443. package/dist/cli/{gen-DMAd__D1.js → gen-CMppeGNK.js} +16 -16
  444. package/dist/cli/index.d.ts +1 -1
  445. package/dist/cli/index.js +8 -8
  446. package/dist/cli/{init-BfpkhVgY.js → init-qbw1o0Dd.js} +10 -10
  447. package/dist/cli/{keys-CRf_wOFs.js → keys-DPHVpbjn.js} +1 -1
  448. package/dist/cli/{live-XBM0kzT3.js → live-RZhHZRFj.js} +2 -2
  449. package/dist/cli/{mcp-C9HqqPIV.js → mcp-DudhybBp.js} +3 -3
  450. package/dist/cli/{metadata-dYoVRApT.js → metadata-O2AJ-PDA.js} +3 -3
  451. package/dist/cli/{migrate-DLWnaHNN.js → migrate-CiGCX8KP.js} +2 -2
  452. package/dist/cli/{migration-safety-Bh7VzARh.js → migration-safety-Cn2z7UC-.js} +11 -2
  453. package/dist/cli/{migrations-Cq5hkJsa.js → migrations-6KOIDi_b.js} +2 -2
  454. package/dist/cli/{module-migration-BUd_MAbE.js → module-migration-XPQbFJib.js} +2 -2
  455. package/dist/cli/{moved-btVl2MAQ.js → moved-DV_Edueb.js} +1 -1
  456. package/dist/cli/{parse-ThNFQ1hP.js → parse-CX-x-r5L.js} +1 -1
  457. package/dist/cli/powersync-BNWYxuB0.js +1 -0
  458. package/dist/cli/{powersync-Cb8xtLDc.js → powersync-CFOmXWSv.js} +4 -4
  459. package/dist/cli/{print-BVeE5vr_.js → print-BgO62egM.js} +2 -2
  460. package/dist/cli/{providers-xmyaROnG.js → providers-Ciss4nHV.js} +1 -1
  461. package/dist/cli/{prune-workflows-DUOBOuHp.js → prune-workflows-eAi-3R9F.js} +4 -4
  462. package/dist/cli/{remove-BuasHmdF.js → remove-B-vjuw8U.js} +7 -7
  463. package/dist/cli/{render-Hvu_ZKtr.js → render-eYxq_mwL.js} +4 -4
  464. package/dist/cli/{run-1ZTOS-gb.js → run-CLLVkt9B.js} +2 -2
  465. package/dist/cli/{run-DMZQUy5b.js → run-Cn0Ay_l6.js} +51 -51
  466. package/dist/cli/{run-KdsUN7Qj.js → run-VHRy6vLi.js} +9 -9
  467. package/dist/cli/seed-BqsY5MlO.js +1 -0
  468. package/dist/cli/{seed-C7eiVpBy.js → seed-DNaRUG_M.js} +4 -4
  469. package/dist/cli/{shared-3cetvs_N.js → shared-CL-Gg-tZ.js} +1 -1
  470. package/dist/cli/{skills-wZ94Fa8G.js → skills-Bfx3HM5e.js} +1 -1
  471. package/dist/cli/{snapshot-D7h2oWfS.js → snapshot-BDeHrbby.js} +3 -3
  472. package/dist/cli/{source-ENOc1zZ9.js → source-BPCSkEGq.js} +1 -1
  473. package/dist/cli/{source-args-Deg53QHe.js → source-args-DowOyFq5.js} +1 -1
  474. package/dist/cli/{spec-DGaKqtfR.js → spec-BN7JlljA.js} +3 -3
  475. package/dist/cli/{spec-CfKQ2Xxd.js → spec-CEiZkG-g.js} +1 -1
  476. package/dist/cli/{sql-layout-CGlyhvQ1.js → sql-layout-oPEsvcMQ.js} +2 -2
  477. package/dist/cli/{stack-Dr_oEfmw.js → stack-CwBH6-o8.js} +1 -1
  478. package/dist/cli/{sync-DFJfT7dH.js → sync-CgpA7QSy.js} +4 -4
  479. package/dist/cli/{table-DJiZ_PJP.js → table-BEiSh604.js} +1 -1
  480. package/dist/cli/{upgrade-C2Kdvrj-.js → upgrade-CWx1Pdz2.js} +5 -5
  481. package/dist/cli/{upgrade-DSi7r0MG.js → upgrade-DPDYkDat.js} +3 -3
  482. package/dist/cli/{version-AGe2VWGm.js → version-XN1WDU-l.js} +1 -1
  483. package/dist/client/index.d.ts +5 -5
  484. package/dist/client/native/index.d.ts +4 -4
  485. package/dist/{codecs-jdyv13IU.js → codecs-BSDJw_Fn.js} +2 -2
  486. package/dist/commerce/index.js +2 -2
  487. package/dist/{compose-DUitDAa_.js → compose-Be6lxp05.js} +1 -1
  488. package/dist/{composite-CQjoTPwv.js → composite-qffn948S.js} +1 -1
  489. package/dist/config/index.d.ts +5 -5
  490. package/dist/config/index.js +4 -4
  491. package/dist/{config-DYtSlwsi.js → config-DVRBLGIK.js} +3 -3
  492. package/dist/{config-gJ9FX0jc.js → config-DwPO3Dcs.js} +1 -1
  493. package/dist/{context-DNwBlpKo.d.ts → context-NgBzQFD8.d.ts} +61 -4
  494. package/dist/contract/index.d.ts +3 -3
  495. package/dist/{controller-DfgxFNFx.d.ts → controller-XiTA4O2z.d.ts} +1 -1
  496. package/dist/{conversion-BzVxeYqk.d.ts → conversion-BYSDK6_r.d.ts} +1 -1
  497. package/dist/create/index.d.ts +4 -4
  498. package/dist/create/index.js +3 -3
  499. package/dist/create/lite/index.d.ts +2 -2
  500. package/dist/create/lite/index.js +3 -3
  501. package/dist/{create-blocks-DupJA8Lw.js → create-blocks-X59FRi6t.js} +2 -2
  502. package/dist/credentials/index.js +3 -3
  503. package/dist/{deal-forecast-CgzuxYtf.js → deal-forecast-DWwQ_ZL6.js} +2 -2
  504. package/dist/{define-block-DiW9g10_.d.ts → define-block-DLqYhrYF.d.ts} +3 -3
  505. package/dist/{delivery-events-DUiTctdo.js → delivery-events-BNBvla4y.js} +1 -1
  506. package/dist/{drive-CvgLTJA9.d.ts → drive-CnOz5P5H.d.ts} +2 -2
  507. package/dist/e-invoicing/index.js +1 -1
  508. package/dist/edge/index.js +3 -3
  509. package/dist/embeddings-CCPghrsU.js +249 -0
  510. package/dist/{embeddings-Dm-GSHAi.d.ts → embeddings-DoNwEveb.d.ts} +52 -4
  511. package/dist/{entitlements-5nbdIitJ.d.ts → entitlements-7iVfWIy8.d.ts} +1 -1
  512. package/dist/{entitlements-BxZpcgcb.js → entitlements-CE-fFbUR.js} +2 -2
  513. package/dist/{errors-DCJMVeY7.js → errors-B3EJToP_.js} +72 -19
  514. package/dist/eve/index.d.ts +4 -4
  515. package/dist/eve/index.js +2 -2
  516. package/dist/{eve-DRYPT58Y.d.ts → eve-UQ0RZX-K.d.ts} +2 -2
  517. package/dist/{executor-COn2O4fg.d.ts → executor-mRSXEFIB.d.ts} +1 -1
  518. package/dist/expo/index.js +2 -2
  519. package/dist/{extract-DpiLKlbp.d.ts → extract-4SajsgPj.d.ts} +2 -2
  520. package/dist/fhir/index.js +1 -1
  521. package/dist/{field-errors-BCX7RCEc.d.ts → field-errors-B6sHzfiG.d.ts} +5 -5
  522. package/dist/{flags-oS3Mbyfc.js → flags-CtmDvszx.js} +1 -1
  523. package/dist/flags-sdk/index.js +5 -3
  524. package/dist/{framework-D8eW-nTX.js → framework-CD0tHWLN.js} +1 -1
  525. package/dist/{gateway-DjJYyq6h.d.ts → gateway-BsE1qacd.d.ts} +2 -2
  526. package/dist/{history-6KiVNWdH.js → history-CoX8QoXr.js} +21 -6
  527. package/dist/hono/index.js +2 -2
  528. package/dist/{inbox-BnELyPRZ.d.ts → inbox-i3nEfNHG.d.ts} +21 -1
  529. package/dist/{index-B8Mjb-KA.d.ts → index---6uF_J0.d.ts} +1 -1
  530. package/dist/{index-CFT7e_HH.d.ts → index-7-mAsoAB.d.ts} +2 -2
  531. package/dist/{index-CakXRuAZ.d.ts → index-B2HOIiNe.d.ts} +2 -2
  532. package/dist/{index-DMlTXcWp.d.ts → index-B9sdIEmz.d.ts} +2 -2
  533. package/dist/{index-ZI4sMVPT.d.ts → index-BEyOO6xN.d.ts} +2 -2
  534. package/dist/{index-BB5n8R_s.d.ts → index-BHlGYVat.d.ts} +1 -1
  535. package/dist/{index-D48wVmDj.d.ts → index-BUGFN7Lu.d.ts} +1 -1
  536. package/dist/{index-DHwPGqLY.d.ts → index-BaI1DFjU.d.ts} +2 -2
  537. package/dist/{index-BMYIwvDA.d.ts → index-BjMlZ2la.d.ts} +1 -1
  538. package/dist/{index-D6y6ojUX.d.ts → index-BpW3Kn-H.d.ts} +2 -2
  539. package/dist/{index-CurH6bgW.d.ts → index-C35Mxkfj.d.ts} +1 -1
  540. package/dist/{index-Bn5v6soX.d.ts → index-CA5xzl6j.d.ts} +1 -1
  541. package/dist/{index-D5LnplxJ.d.ts → index-CBTA4Hus.d.ts} +6 -6
  542. package/dist/{index-EHczIYa7.d.ts → index-CFfFev2y.d.ts} +72 -5
  543. package/dist/{index-BolFrOMw.d.ts → index-CaUkbhw7.d.ts} +2 -2
  544. package/dist/{index-BGgGwWcn.d.ts → index-Cfft6iUs.d.ts} +1 -1
  545. package/dist/{index-BW0aDURc.d.ts → index-CsngKWje.d.ts} +1 -1
  546. package/dist/{index-BNBFiyOR.d.ts → index-D89tUktw.d.ts} +1 -1
  547. package/dist/{index-BK8zPigx.d.ts → index-DDIZwUK-.d.ts} +1 -1
  548. package/dist/{index-BZ1Akcrg.d.ts → index-D_JS5FYo.d.ts} +1 -1
  549. package/dist/{index-BLL45v55.d.ts → index-Dh-CE1YF.d.ts} +1 -1
  550. package/dist/{index-DkWXofPH.d.ts → index-Dk039ZLg.d.ts} +1 -1
  551. package/dist/{index-DZTavebO.d.ts → index-Do2iK7pF.d.ts} +1 -1
  552. package/dist/{index-IKK8zWTN.d.ts → index-DpQ1JuKa.d.ts} +2 -2
  553. package/dist/{index-S6axmDQL.d.ts → index-Drjrj8Y5.d.ts} +2 -2
  554. package/dist/{index-7UV0pNYj.d.ts → index-Dvu6MySL.d.ts} +2 -2
  555. package/dist/{index-B2C1NczA.d.ts → index-LnDm58TV.d.ts} +4 -4
  556. package/dist/{index-D25Ry5R9.d.ts → index-P5Xhtrzo.d.ts} +1 -1
  557. package/dist/{index-CRSNN2v9.d.ts → index-PV91A2_J.d.ts} +8 -8
  558. package/dist/{index-B1NcZsVD.d.ts → index-VaTlShTa.d.ts} +7 -7
  559. package/dist/{index-iaMOudmP.d.ts → index-aNW_fYBI.d.ts} +1 -1
  560. package/dist/{index-Bdg6ee4m.d.ts → index-b5FUPI-5.d.ts} +1 -1
  561. package/dist/{index-1001GtVL.d.ts → index-hkFhFgRv.d.ts} +1 -1
  562. package/dist/{index-kidoYhB8.d.ts → index-jaxdP0Qe.d.ts} +1 -1
  563. package/dist/index-nFxtUFQv.d.ts +11 -0
  564. package/dist/{index-Bopuqb8z.d.ts → index-oR-iOHLT.d.ts} +4 -4
  565. package/dist/{index-DplKvjCs.d.ts → index-qPP3ja-K.d.ts} +1 -1
  566. package/dist/index.d.ts +1 -1
  567. package/dist/index.js +1 -1
  568. package/dist/{instances-ukDFg8oN.js → instances-CAzvtvlH.js} +119 -8
  569. package/dist/json-render/index.d.ts +91 -0
  570. package/dist/json-render/index.js +233 -0
  571. package/dist/{knowledge-DL1ZnEe7.d.ts → knowledge-CjrMiSnp.d.ts} +59 -9
  572. package/dist/{knowledge-CQl9LXaZ.js → knowledge-m3IJobAw.js} +22 -10
  573. package/dist/{manifest-DKY9HGin.js → manifest-12CvUHma.js} +3 -3
  574. package/dist/{manifest-DI_Vz152.d.ts → manifest-1CNHDf-P.d.ts} +2 -2
  575. package/dist/{manifest-D8JpSvuE.js → manifest-1X1rpQ-5.js} +3 -3
  576. package/dist/{manifest-BSQh5dw2.js → manifest-1qVuPpg1.js} +2 -2
  577. package/dist/{manifest-Cxz4_mWy.d.ts → manifest-279mgqK2.d.ts} +1 -1
  578. package/dist/{manifest-Cu_4X5Rm.js → manifest-3mRZEFbA.js} +2 -2
  579. package/dist/{manifest-ppItbSA5.d.ts → manifest-4-J2cBhl.d.ts} +1 -1
  580. package/dist/{manifest-BhBqFYV4.d.ts → manifest-4Ei8W6XJ.d.ts} +1 -1
  581. package/dist/{manifest-BEZ8HltH.js → manifest-638tYNw7.js} +2 -2
  582. package/dist/{manifest-BXNDl7bx.js → manifest-AFBjJxrJ.js} +2 -2
  583. package/dist/{manifest-B_3_99xa.js → manifest-AI6u-id7.js} +3 -3
  584. package/dist/{manifest-C95-cClh.js → manifest-B1Xj7ObD.js} +1 -1
  585. package/dist/{manifest-_qzN4kUG.js → manifest-B2G5B8ty.js} +2 -2
  586. package/dist/{manifest-CPYEEX6u.js → manifest-B3Fs0ZeU.js} +8 -3
  587. package/dist/{manifest-DJRHzb6v.js → manifest-B5c8gqof.js} +2 -2
  588. package/dist/{manifest-Dagm1cVO.d.ts → manifest-BAEYvNSN.d.ts} +1 -1
  589. package/dist/{manifest-CJByGKJ_.d.ts → manifest-BBCFaNss.d.ts} +1 -1
  590. package/dist/{manifest-CRXxYu5L.js → manifest-BEyhZ8sV.js} +3 -3
  591. package/dist/{manifest-ycsWja2O.d.ts → manifest-BFXftMd7.d.ts} +1 -1
  592. package/dist/{manifest--eIzr9Tj.js → manifest-BFbZ2mZA.js} +2 -2
  593. package/dist/{manifest-C0f5YJ7x.d.ts → manifest-BFi8-A1w.d.ts} +1 -1
  594. package/dist/{manifest-DeCjklgV.js → manifest-BHaR8iYx.js} +2 -2
  595. package/dist/{manifest-BKD8DbQT.js → manifest-BI65KPyR.js} +4 -4
  596. package/dist/{manifest-DHYr9yD1.js → manifest-BIOzNAsT.js} +2 -2
  597. package/dist/{manifest-CKxnGCVY.d.ts → manifest-BJ7XyLlV.d.ts} +1 -1
  598. package/dist/{manifest-DM2T_dN2.js → manifest-BKvawy3P.js} +3 -3
  599. package/dist/{manifest-C-_0WkGx.d.ts → manifest-BNR_72jF.d.ts} +4 -3
  600. package/dist/{manifest-BcdRITPc.d.ts → manifest-BOQOTepZ.d.ts} +1 -1
  601. package/dist/{manifest-DqwQmPZb.js → manifest-BP7YQERu.js} +3 -3
  602. package/dist/{manifest-C_hIU5kk.js → manifest-BPeoWfAO.js} +3 -3
  603. package/dist/{manifest-DHt1h5GN.js → manifest-BPpt2s0a.js} +3 -3
  604. package/dist/{manifest-6MuVEQnP.js → manifest-BQobHp4x.js} +5 -5
  605. package/dist/{manifest-BgMjraZw.js → manifest-BRgWZzVn.js} +3 -3
  606. package/dist/{manifest-CCXaDWdN.d.ts → manifest-BS1QA4mT.d.ts} +1 -1
  607. package/dist/{manifest-JvgqqKRq.js → manifest-BW6RRJXm.js} +2 -2
  608. package/dist/{manifest-K_42e50M.d.ts → manifest-BWIcNHVs.d.ts} +1 -1
  609. package/dist/{manifest-Hx3FBHKX.js → manifest-BXIL-A7I.js} +1 -1
  610. package/dist/{manifest-C3VB7-hM.d.ts → manifest-BaQ-A5Jy.d.ts} +2 -2
  611. package/dist/{manifest-D3HTgmR3.d.ts → manifest-BaR4cYwY.d.ts} +1 -1
  612. package/dist/{manifest-DjVqN_iK.d.ts → manifest-Bc1-GptG.d.ts} +1 -1
  613. package/dist/{manifest-C8Boo7Ps.js → manifest-Bea2AWYl.js} +4 -4
  614. package/dist/{manifest-1Xiu6zqs.js → manifest-BgKbxGVp.js} +2 -2
  615. package/dist/{manifest-Dbq6t-bI.d.ts → manifest-BhhX6xjo.d.ts} +1 -1
  616. package/dist/{manifest-Dm_5DTyx.js → manifest-BhpXYw_3.js} +2 -2
  617. package/dist/{manifest-BHNrIQ8X.d.ts → manifest-BieAORBI.d.ts} +1 -1
  618. package/dist/{manifest-D2qeEjrC.d.ts → manifest-Bk69YFI3.d.ts} +1 -1
  619. package/dist/{manifest-gCNbUW-X.js → manifest-BnJ_9tgk.js} +2 -2
  620. package/dist/{manifest-1lzhOO0z.d.ts → manifest-BqCQrbSP.d.ts} +2 -2
  621. package/dist/{manifest-DnZw4JWP.js → manifest-Brv_Pss2.js} +2 -2
  622. package/dist/{manifest-D7y9_k5i.d.ts → manifest-BuEIqayB.d.ts} +1 -1
  623. package/dist/{manifest-OS0pwPRn.d.ts → manifest-BxRL6XuJ.d.ts} +1 -1
  624. package/dist/{manifest-qb_YXiWK.js → manifest-BydKYd32.js} +2 -2
  625. package/dist/{manifest-FkY_rpfH.js → manifest-C-ROCYHF.js} +5 -5
  626. package/dist/{manifest-BfAXsd-X.d.ts → manifest-C1JGYvR-.d.ts} +1 -1
  627. package/dist/{manifest-gGOpzRmJ.d.ts → manifest-C3d7DJiE.d.ts} +1 -1
  628. package/dist/{manifest-D84UV5p6.js → manifest-C5NzuW_p.js} +2 -2
  629. package/dist/{manifest-A_VPz6fq.js → manifest-C75gu7oi.js} +2 -2
  630. package/dist/{manifest-BdmDmQtx.js → manifest-CBj4zlpo.js} +4 -4
  631. package/dist/{manifest-BKDSuS3x.d.ts → manifest-CFb---rO.d.ts} +2 -2
  632. package/dist/{manifest-BHhBqtFw.js → manifest-CFq6WJJO.js} +4 -4
  633. package/dist/{manifest-Bbtt8mb1.d.ts → manifest-CGJ2xLRu.d.ts} +1 -1
  634. package/dist/{manifest-DpwaOTir.js → manifest-CHheBZjl.js} +3 -3
  635. package/dist/{manifest-B83YpMlz.d.ts → manifest-CJzK3H3h.d.ts} +1 -1
  636. package/dist/{manifest-ClbUuESE.js → manifest-CKT1bZoZ.js} +2 -2
  637. package/dist/{manifest-Cj5IjsCB.js → manifest-CLFmOMSQ.js} +2 -2
  638. package/dist/{manifest-B9KmOzmT.d.ts → manifest-CMmfdgAG.d.ts} +1 -1
  639. package/dist/{manifest-Bx_0qkBP.js → manifest-COnvr04R.js} +2 -2
  640. package/dist/{manifest-mu_UflgB.d.ts → manifest-CR_RHsHu.d.ts} +1 -1
  641. package/dist/{manifest-BTC6dWdq.d.ts → manifest-CSLqw5qE.d.ts} +1 -1
  642. package/dist/{manifest-BDGVge5o.js → manifest-CWkdEugm.js} +2 -2
  643. package/dist/{manifest-DS2PjAgW.js → manifest-CXTVwg4s.js} +3 -3
  644. package/dist/{manifest-CX8DVTzn.js → manifest-CY-bInzt.js} +3 -3
  645. package/dist/{manifest-BZP0wKpE.js → manifest-CaZnTLGe.js} +3 -3
  646. package/dist/{manifest-B4CVN-Kx.js → manifest-CbdezcLS.js} +2 -2
  647. package/dist/{manifest-B3QwQDTx.js → manifest-Ccjdt-zG.js} +3 -3
  648. package/dist/{manifest-BW7wdKXA.js → manifest-CdDdPHbV.js} +4 -4
  649. package/dist/{manifest-cqfeLW8g.js → manifest-CeN-ohYP.js} +2 -2
  650. package/dist/{manifest-B7MpuCmz.d.ts → manifest-Cge4urPD.d.ts} +1 -1
  651. package/dist/{manifest-DsYIWD--.js → manifest-CiAp3lJg.js} +2 -2
  652. package/dist/{manifest-BFJvys4-.js → manifest-CmtXDmOP.js} +3 -3
  653. package/dist/{manifest-CJb0PtMj.d.ts → manifest-Cq3zIydP.d.ts} +1 -1
  654. package/dist/{manifest-DLv_WaSF.d.ts → manifest-Cs5-Vi9X.d.ts} +1 -1
  655. package/dist/{manifest-DwVl4YC4.d.ts → manifest-CsVTMa-G.d.ts} +1 -1
  656. package/dist/{manifest-DBsPHetA.js → manifest-Ct3CZB2E.js} +2 -2
  657. package/dist/{manifest--M7GmEPg.d.ts → manifest-CyKD7Hyx.d.ts} +1 -1
  658. package/dist/{manifest-DNaSpmZ3.js → manifest-Cytb-iJk.js} +2 -2
  659. package/dist/{manifest-Cj_ZnW6k.js → manifest-D-sJpAJB.js} +3 -3
  660. package/dist/{manifest-Bpzxyvxc.js → manifest-D0ceE9Zm.js} +3 -3
  661. package/dist/{manifest-CIJTIKo3.d.ts → manifest-D1FhVaUw.d.ts} +1 -1
  662. package/dist/{manifest-CLphqjtj.d.ts → manifest-D2URJ82u.d.ts} +1 -1
  663. package/dist/{manifest-Czv_oJ77.js → manifest-D2r45JYc.js} +2 -2
  664. package/dist/{manifest-DBJ5nBG9.d.ts → manifest-D3V8Ngw3.d.ts} +1 -1
  665. package/dist/{manifest-B709eXLx.js → manifest-D5UYH-l1.js} +2 -2
  666. package/dist/{manifest-DVnOUxy4.js → manifest-D5gmrL5j.js} +6 -6
  667. package/dist/{manifest-BQwqV6dQ.js → manifest-D6k-MFrE.js} +4 -4
  668. package/dist/{manifest-BoSzgLUl.js → manifest-D72opuEP.js} +3 -3
  669. package/dist/{manifest-DJ5nCW5K.js → manifest-D8ljY6Fz.js} +4 -4
  670. package/dist/{manifest-DemyeI_z.js → manifest-D96KwsqD.js} +4 -4
  671. package/dist/{manifest-Bz3xNPJL.d.ts → manifest-D9B8QIWz.d.ts} +1 -1
  672. package/dist/{manifest-BkS073Py.d.ts → manifest-DA0Q62es.d.ts} +1 -1
  673. package/dist/{manifest-CYNC6a1d.js → manifest-DAu2qpOy.js} +2 -2
  674. package/dist/{manifest-0vrTq9Uf.d.ts → manifest-DB6dSXpw.d.ts} +1 -1
  675. package/dist/{manifest-Db-GUsLH.d.ts → manifest-DKY1mHtE.d.ts} +1 -1
  676. package/dist/{manifest-CQFlAwfU.d.ts → manifest-DOIRQHB8.d.ts} +2 -2
  677. package/dist/{manifest-0PDfKdtc.js → manifest-DR8po1OZ.js} +4 -4
  678. package/dist/{manifest-ITF-BpEi.js → manifest-D_RCNlv9.js} +4 -4
  679. package/dist/{manifest-CR-6QDLZ.d.ts → manifest-D_gWI_Xp.d.ts} +1 -1
  680. package/dist/{manifest-BR_uGpTd.js → manifest-DaZ7LEOi.js} +2 -2
  681. package/dist/{manifest-Dz2IkqqY.d.ts → manifest-DfaKFvmO.d.ts} +1 -1
  682. package/dist/{manifest-DPFn2x18.d.ts → manifest-Dg4rFnjr.d.ts} +1 -1
  683. package/dist/{manifest-n9XQtQXA.d.ts → manifest-DhYiWMYQ.d.ts} +1 -1
  684. package/dist/{manifest-BfOHwSNK.js → manifest-DjIq3ZJf.js} +7 -7
  685. package/dist/{manifest-D7yeYU0f.d.ts → manifest-DnSrbZuv.d.ts} +1 -1
  686. package/dist/{manifest-D7slgR5H.d.ts → manifest-Do4TvdNR.d.ts} +1 -1
  687. package/dist/{manifest-DdFl3BYM.d.ts → manifest-Do7f1k9C.d.ts} +1 -1
  688. package/dist/{manifest--qnXa2lK.js → manifest-Dr-wuvfR.js} +4 -4
  689. package/dist/{manifest-yPcrAK5N.d.ts → manifest-Dr5yltSj.d.ts} +10 -3
  690. package/dist/{manifest-CbxMRPGY.js → manifest-DunhKI5K.js} +4 -4
  691. package/dist/{manifest-C3RDEoAr.d.ts → manifest-Duq5aCrY.d.ts} +1 -1
  692. package/dist/{manifest-J6kJX8YL.js → manifest-DuwJ7Ya_.js} +3 -3
  693. package/dist/{manifest-FJi1pYoB.js → manifest-Dxob7J6V.js} +6 -6
  694. package/dist/{manifest-Dj9AIgTy.d.ts → manifest-DzNmDhoS.d.ts} +1 -1
  695. package/dist/{manifest-CHsjS47_.d.ts → manifest-FqJtbN5n.d.ts} +1 -1
  696. package/dist/{manifest-roKO06Ko.d.ts → manifest-I7nR1vhO.d.ts} +1 -1
  697. package/dist/{manifest-o-EzlFwZ.js → manifest-N-vJi36T.js} +2 -2
  698. package/dist/{manifest-FAVN8Bg9.js → manifest-UHMLAfCl.js} +2 -2
  699. package/dist/{manifest-BKegpJgn.d.ts → manifest-VoN5Ae-i.d.ts} +1 -1
  700. package/dist/{manifest-DDkncgRB.d.ts → manifest-XRDA_p9P.d.ts} +1 -1
  701. package/dist/{manifest-Di0UrbTw.d.ts → manifest-ZQvywRBI.d.ts} +1 -1
  702. package/dist/{manifest-COZUTRxz.js → manifest-aWO0h4lZ.js} +3 -3
  703. package/dist/{manifest-D7R4sM8L.d.ts → manifest-hpPeciuH.d.ts} +1 -1
  704. package/dist/{manifest-CkYNs6PX.js → manifest-iNt_0t6h.js} +4 -4
  705. package/dist/{manifest-BAgqRR7p.js → manifest-j5YiEWqV.js} +2 -2
  706. package/dist/{manifest-D_iJU__f.d.ts → manifest-jRpt7muB.d.ts} +1 -1
  707. package/dist/{manifest-xD290bNh.js → manifest-jU8fwfLu.js} +3 -3
  708. package/dist/{manifest-DCC3phPq.js → manifest-nR_d-Ivi.js} +1 -1
  709. package/dist/{manifest-BRd1q660.d.ts → manifest-nyksTa_6.d.ts} +1 -1
  710. package/dist/{manifest-CWaCXYgf.js → manifest-p4Yvamix.js} +2 -2
  711. package/dist/{manifest-BQJV63RV.js → manifest-pKQ4z-dv.js} +1 -1
  712. package/dist/{manifest-DbjDYuCE.js → manifest-q62slcP6.js} +2 -2
  713. package/dist/{manifest-UbBXSkXn.d.ts → manifest-uDAAzAlQ.d.ts} +1 -1
  714. package/dist/{manifest-CtOwRTvP.js → manifest-upxzRaY-.js} +2 -2
  715. package/dist/{manifest-DW2_P6AT.js → manifest-vaCUz3Wa.js} +3 -3
  716. package/dist/{manifest-Dqgqm1Zo.js → manifest-vabt4x2a.js} +3 -3
  717. package/dist/{manifest-Cfvr-BhF.js → manifest-wSbIcOln.js} +19 -7
  718. package/dist/mapper/bin.js +7 -7
  719. package/dist/mcp/index.d.ts +1 -1
  720. package/dist/mcp/index.js +1 -1
  721. package/dist/mcp/sdk/index.js +1 -1
  722. package/dist/{mcp-Bx9wzQw6.js → mcp-D1d_uDNE.js} +2 -2
  723. package/dist/{message-Cc4bkdNw.d.ts → message-Chvocrom.d.ts} +27 -4
  724. package/dist/{model-messages-OmbNNuN2.js → model-messages-BgSCTojd.js} +1 -1
  725. package/dist/{model-messages-CGSUU450.d.ts → model-messages-CK7L1_hV.d.ts} +1 -1
  726. package/dist/{money-codec-CvUy3_Ep.js → money-codec-lrXaOqi7.js} +1 -1
  727. package/dist/next/index.d.ts +7 -7
  728. package/dist/next/index.js +5 -5
  729. package/dist/{operations-Di203azT.d.ts → operations-BSsNQ81h.d.ts} +1 -1
  730. package/dist/{options-CyYZvdSy.js → options-BNtLQZrG.js} +2 -1
  731. package/dist/{options-SOjQVgfS.js → options-BYlcrVVf.js} +1 -0
  732. package/dist/options-BxOFSs-u.js +4 -0
  733. package/dist/orpc/index.d.ts +1 -1
  734. package/dist/orpc/index.js +1 -1
  735. package/dist/otel/index.d.ts +1 -1
  736. package/dist/otel/index.js +5 -5
  737. package/dist/{parse-H3g3kyZa.js → parse-Iz0DTVot.js} +2 -2
  738. package/dist/{payments-D89SVEgj.js → payments-DjrRAHBY.js} +1 -1
  739. package/dist/{permissions-C7GgjgTA.d.ts → permissions-CrPkD5Ik.d.ts} +1 -1
  740. package/dist/{ports-6EMtxwGE.d.ts → ports-Z6S_jGD7.d.ts} +1 -1
  741. package/dist/powersync/index.d.ts +3 -3
  742. package/dist/preset/index.d.ts +4 -4
  743. package/dist/preset/index.js +3 -3
  744. package/dist/{preset-Be8m6-PH.js → preset-D2dg-EVp.js} +3 -2
  745. package/dist/{preview-DCndUjk9.js → preview-B7OjoABd.js} +3 -3
  746. package/dist/{preview-Dlc_7tMK.d.ts → preview-Bgwwuvc9.d.ts} +2 -2
  747. package/dist/{project-CwZtBezd.js → project-Dhm0C7OR.js} +5 -5
  748. package/dist/{provider-DRGTjcBY.js → provider-Bkh8zSHN.js} +1 -1
  749. package/dist/{push-token-CQnqTZrb.d.ts → push-token-hDDp188w.d.ts} +1 -1
  750. package/dist/query/index.d.ts +1 -1
  751. package/dist/rate-limit/index.d.ts +1 -1
  752. package/dist/rate-limit/index.js +1 -1
  753. package/dist/{rate-limit-Bl_jNyAg.d.ts → rate-limit-A_ngDsV_.d.ts} +17 -0
  754. package/dist/{rate-limit-Df913_w3.js → rate-limit-Jl-5e7s8.js} +30 -10
  755. package/dist/react/index.d.ts +5 -5
  756. package/dist/react/index.js +1 -1
  757. package/dist/react/native/index.d.ts +1 -1
  758. package/dist/react/server.d.ts +5 -5
  759. package/dist/react/server.js +1 -1
  760. package/dist/{react-CsgcTKRk.js → react-DIfKgdfV.js} +2 -2
  761. package/dist/{react-CqOVutZj.js → react-DnOu9xsi.js} +3 -3
  762. package/dist/react-router/index.js +2 -2
  763. package/dist/realtime/index.d.ts +3 -3
  764. package/dist/realtime/index.js +2 -2
  765. package/dist/{record-form-DqGcUu0C.d.ts → record-form-Bye6v7Sg.d.ts} +1 -1
  766. package/dist/{recordings-CiYHdFPa.d.ts → recordings-16Flkx9W.d.ts} +1 -1
  767. package/dist/records/index.d.ts +7 -7
  768. package/dist/{route-optimizer-DqUyDP78.js → route-optimizer-Ds11cQyM.js} +1 -1
  769. package/dist/{rows-Ccg381fF.js → rows-DidUYmOx.js} +1 -1
  770. package/dist/{rows-CTzeKlaI.js → rows-kSV-CDYA.js} +2 -2
  771. package/dist/runs-CEm5AFQk.js +91 -0
  772. package/dist/{sales-C8o3E5U3.js → sales-DNuk5v36.js} +7 -7
  773. package/dist/{sales-lines-COFwijz1.js → sales-lines-mwRnIC9p.js} +3 -3
  774. package/dist/{sales-shared-DGSptcqA.js → sales-shared-Ca2ZDF6a.js} +1 -1
  775. package/dist/{sales-variants-D0oxdF-6.js → sales-variants-QTgChYXJ.js} +1 -1
  776. package/dist/{scores-CQt_G6T-.js → scores-Opsegupn.js} +2 -2
  777. package/dist/server/index.d.ts +3 -3
  778. package/dist/server/index.js +4 -4
  779. package/dist/{settings-B4NApcY7.js → settings-Bf5nmbl-.js} +2 -2
  780. package/dist/{sign-in-Dd5ljzNG.js → sign-in-BYJboUBW.js} +1 -1
  781. package/dist/{signing-keys-B2bpJ3eJ.js → signing-keys-sYy92dAx.js} +2 -2
  782. package/dist/solid/index.d.ts +5 -5
  783. package/dist/solid-start/index.js +2 -2
  784. package/dist/spec/index.d.ts +2 -2
  785. package/dist/spec/index.js +2 -2
  786. package/dist/{spec-pins-D2Q41RiK.d.ts → spec-pins-Bb6V8nR2.d.ts} +1 -1
  787. package/dist/{spec-pins-BtVFN8wA.js → spec-pins-Dlz8OVqi.js} +1 -1
  788. package/dist/sql/index.d.ts +6 -6
  789. package/dist/sql/index.js +3 -3
  790. package/dist/{sql-BPU70zf9.js → sql-DrlapNYO.js} +3365 -788
  791. package/dist/{sso-gMj8CIpe.js → sso-RsAYRs9q.js} +2 -2
  792. package/dist/ssr/index.d.ts +1 -1
  793. package/dist/{store-DHoKrWYZ.d.ts → store-CGXNwUwi.d.ts} +6 -1
  794. package/dist/streams/index.d.ts +59 -2
  795. package/dist/streams/index.js +111 -22
  796. package/dist/streams/redis/index.d.ts +8 -1
  797. package/dist/streams/redis/index.js +12 -4
  798. package/dist/streams/resumable/index.d.ts +68 -0
  799. package/dist/streams/resumable/index.js +71 -0
  800. package/dist/{subject-readers-B5YcD7CO.js → subject-readers-DhXR7Tdk.js} +1 -1
  801. package/dist/svelte/index.d.ts +5 -5
  802. package/dist/sveltekit/index.js +2 -2
  803. package/dist/tanstack-start/index.js +2 -2
  804. package/dist/{tax-D_M90sFh.js → tax-Deg3udmG.js} +1 -1
  805. package/dist/{tee-eneLXtYJ.js → tee-CHLXLuvg.js} +2 -1
  806. package/dist/{tenant-DHLx2ZkL.d.ts → tenant-DYOUVE8r.d.ts} +1 -1
  807. package/dist/testing/index.d.ts +13 -12
  808. package/dist/testing/index.js +60 -15
  809. package/dist/{timeline-9mP3m30L.d.ts → timeline-DTE4-6Hq.d.ts} +2 -2
  810. package/dist/{topic-DVr01uhB.js → topic-CLEQ3t6o.js} +25 -2
  811. package/dist/{topic-BKsRT4gu.d.ts → topic-DrN4Af8U.d.ts} +16 -1
  812. package/dist/{transport-CS4cVH4S.js → transport-CZBRg-9e.js} +7 -3
  813. package/dist/{types-Y1Oa950J.d.ts → types-BKtpHTHc.d.ts} +8 -0
  814. package/dist/{types-B2y4HmKY.d.ts → types-C941lZYk.d.ts} +1 -1
  815. package/dist/{types-D9r3axee.d.ts → types-DTNDqdyT.d.ts} +2 -2
  816. package/dist/{types-zYtQ5JDy.d.ts → types-D_o60OcA.d.ts} +1 -1
  817. package/dist/{types-DlG6Uj4P.d.ts → types-DeKSApwU.d.ts} +2 -2
  818. package/dist/{undo-DNRfstwk.js → undo-BXeYO6gy.js} +2 -2
  819. package/dist/{usage-CFVOHbUu.d.ts → usage-D7CYIk1m.d.ts} +22 -0
  820. package/dist/vue/index.d.ts +5 -5
  821. package/dist/{watch-topic-M1yL9NiW.d.ts → watch-topic-ClQWiVZ1.d.ts} +1 -1
  822. package/dist/{webhook-inbox-BamK2_Vw.js → webhook-inbox-B36XJ2eY.js} +25 -2
  823. package/dist/webmcp/index.d.ts +1 -1
  824. package/dist/webmcp/index.js +1 -1
  825. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  826. package/dist/workflow-sdk/builder/index.js +1 -1
  827. package/dist/workflow-sdk/index.d.ts +7 -3
  828. package/dist/workflow-sdk/index.js +16 -74
  829. package/dist/workflow-sdk/world/index.d.ts +48 -3
  830. package/dist/workflow-sdk/world/index.js +326 -31
  831. package/dist/{workflow-sdk-BCNusk7Y.d.ts → workflow-sdk-Bdp_VQ3Q.d.ts} +37 -3
  832. package/dist/{workflow-sdk-cHlpMyLV.js → workflow-sdk-ID8eoPMe.js} +108 -7
  833. package/dist/{workflow-sdk-CcoFSLFn.js → workflow-sdk-j7xorOLf.js} +230 -60
  834. package/dist/{workflows-DjVrHu22.d.ts → workflows-C6fR7YGm.d.ts} +56 -15
  835. package/dist/yjs/index.d.ts +1 -1
  836. package/dist/yjs/index.js +1 -1
  837. package/package.json +41 -11
  838. package/schemas/ai-message-v2.json +290 -0
  839. package/schemas/config-v1.json +29 -1
  840. package/schemas/design-v1.json +45 -0
  841. package/schemas/doctor-report-v1.json +5 -0
  842. package/skills/better-supabase/references/ui-recipes.md +77 -0
  843. package/skills/better-supabase-api/SKILL.md +2 -2
  844. package/skills/better-supabase-api/references/ai.md +56 -0
  845. package/skills/better-supabase-api/references/streams-credentials.md +5 -0
  846. package/dist/cli/add-4-omCrbh.js +0 -1
  847. package/dist/cli/env-C9HRYvnX.js +0 -1
  848. package/dist/cli/powersync-ZBM_emZL.js +0 -1
  849. package/dist/cli/seed-Ki7TgmY1.js +0 -1
  850. package/dist/embeddings-bZWDJ5yx.js +0 -129
@@ -1,10 +1,10 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
3
3
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
4
- import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-C-DXllAX.js";
4
+ import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DDzGKmmT.js";
5
5
  import { t as connect } from "./db-B8zfxjl2.js";
6
- import { n as ident } from "./live-XBM0kzT3.js";
7
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Deg53QHe.js";
6
+ import { n as ident } from "./live-RZhHZRFj.js";
7
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DowOyFq5.js";
8
8
  // src/cli/commands/prune-workflows.ts
9
9
  const TERMINAL = [
10
10
  "completed",
@@ -1,17 +1,17 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { n as CliError } from "./errors-DcJ_PayO.js";
4
4
  import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
5
5
  import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
6
- import { o as sqlPlan } from "./sql-layout-CGlyhvQ1.js";
7
- import { r as layoutFor } from "./providers-xmyaROnG.js";
8
- import { g as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-Ca3FNbhm.js";
6
+ import { o as sqlPlan } from "./sql-layout-oPEsvcMQ.js";
7
+ import { r as layoutFor } from "./providers-Ciss4nHV.js";
8
+ import { g as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-ymWkkPNw.js";
9
9
  import { t as detectProject } from "./detect-BcUDaO8I.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 { n as guardedRemoval } from "./sync-DFJfT7dH.js";
12
- import { n as isComposite } from "./add-BXfK7N0H.js";
11
+ import { n as guardedRemoval } from "./sync-CgpA7QSy.js";
12
+ import { n as isComposite } from "./add-Cbuj3vBk.js";
13
13
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
14
- import { t as blockNames } from "./blocks-C4J4d_Jx.js";
14
+ import { t as blockNames } from "./blocks-CzCYyx9N.js";
15
15
  import { i as tidyInline, t as cutRange } from "./config-group-D4JWh4kG.js";
16
16
  import { existsSync } from "node:fs";
17
17
  import { resolve } from "node:path";
@@ -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-DyhfGbUV.js";
3
+ import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-dmC65uMm.js";
4
4
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
5
- import { f as generateDatabaseTypes, h as restrictSchemas, p as oxfmtInstalled, v as tsTypeOf } from "./snapshot-D7h2oWfS.js";
5
+ import { f as generateDatabaseTypes, h as restrictSchemas, p as oxfmtInstalled, v as tsTypeOf } from "./snapshot-BDeHrbby.js";
6
6
  import { s as providerTruncatedClaim } from "./authorization-DJkkOjjG.js";
7
7
  import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
8
- import { a as toCatalog } from "./source-ENOc1zZ9.js";
9
- import { m as withTableTags } from "./config-C-DXllAX.js";
8
+ import { a as toCatalog } from "./source-BPCSkEGq.js";
9
+ import { m as withTableTags } from "./config-DDzGKmmT.js";
10
10
  import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
11
11
  import { entityNames } from "better-supabase/blocks";
12
12
  import { DEFAULT_CLAIMS, blockEntities, blockEntityRenames, blockEventRenames, blockFormerFunctions, blockSubjectTypes, tenantClaimPaths, tenantNameOf } from "better-supabase/config";
@@ -1,9 +1,9 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { t as PROCESS_ENV } from "./env-BLwQ6srP.js";
4
4
  import { n as spawnInherited } from "./exec-LJeQZ_9q.js";
5
5
  import { a as staleVariables } from "./stack-env-BQhbUFa7.js";
6
- import { i as readStackEnv } from "./env-Bco8UGR3.js";
6
+ import { i as readStackEnv } from "./env-49B92Izr.js";
7
7
  // src/cli/commands/run.ts
8
8
  const ARGS = {
9
9
  prefix: {
@@ -1,10 +1,10 @@
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-bvbsvYpo.js";
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-CLlRvLN9.js";
2
2
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
3
- import { t as VERSION } from "./version-AGe2VWGm.js";
3
+ import { t as VERSION } from "./version-XN1WDU-l.js";
4
4
  import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
5
5
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-Tqq3MAqx.js";
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-ThNFQ1hP.js";
7
- import { n as movedCommand, r as movedFlag } from "./moved-btVl2MAQ.js";
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-CX-x-r5L.js";
7
+ import { n as movedCommand, r as movedFlag } from "./moved-DV_Edueb.js";
8
8
  import { n as HTTP_CHANNEL, t as EXEC_CHANNEL } from "./trace-D3TNqWBg.js";
9
9
  import { stripVTControlCharacters } from "node:util";
10
10
  import { subscribe, unsubscribe } from "node:diagnostics_channel";
@@ -16,51 +16,51 @@ import { resolve } from "node:path";
16
16
  * loads on demand, so `--version` and `--help` import no command.
17
17
  */
18
18
  const LOADERS = [
19
- ["login", () => import("./account-BGMPSKJs.js").then((m) => m.loginCommand)],
20
- ["logout", () => import("./account-BGMPSKJs.js").then((m) => m.logoutCommand)],
21
- ["whoami", () => import("./account-BGMPSKJs.js").then((m) => m.whoamiCommand)],
22
- ["init", () => import("./init-BfpkhVgY.js").then((m) => m.initCommand)],
23
- ["add", () => import("./add-4-omCrbh.js").then((m) => m.addCommand)],
24
- ["remove", () => import("./remove-BuasHmdF.js").then((m) => m.removeCommand)],
25
- ["upgrade", () => import("./upgrade-DSi7r0MG.js").then((m) => m.upgradeCommand)],
26
- ["table", () => import("./table-DJiZ_PJP.js").then((m) => m.tableCommand)],
27
- ["migrate schema-first", () => import("./migrate-DLWnaHNN.js").then((m) => m.migrateSchemaFirstCommand)],
28
- ["gen", () => import("./gen-DMAd__D1.js").then((m) => m.genCommand)],
29
- ["doctor", () => import("./doctor-BuE0Ry7T.js").then((m) => m.doctorCommand)],
30
- ["db query", () => import("./db-CVoN3aLl.js").then((m) => m.dbQueryCommand)],
31
- ["db diff", () => import("./db-CVoN3aLl.js").then((m) => m.dbDiffCommand)],
32
- ["db seed", () => import("./seed-Ki7TgmY1.js").then((m) => m.seedCommand)],
33
- ["db backfill", () => import("./backfill-DHD9e6XO.js").then((m) => m.dbBackfillCommand)],
34
- ["db prune-workflows", () => import("./prune-workflows-DUOBOuHp.js").then((m) => m.dbPruneWorkflowsCommand)],
35
- ["dev env", () => import("./env-C9HRYvnX.js").then((m) => m.envCommand)],
36
- ["dev run", () => import("./run-1ZTOS-gb.js").then((m) => m.runCommand)],
37
- ["dev keys", () => import("./keys-CRf_wOFs.js").then((m) => m.keysCommand)],
38
- ["dev stack ls", () => import("./stack-Dr_oEfmw.js").then((m) => m.stackLsCommand)],
39
- ["dev stack prune", () => import("./stack-Dr_oEfmw.js").then((m) => m.stackPruneCommand)],
40
- ["automations list", () => import("./automations-DKKuC8MW.js").then((m) => m.automationsListCommand)],
41
- ["blocks list", () => import("./blocks-DtEsw6CG.js").then((m) => m.blocksListCommand)],
42
- ["blocks view", () => import("./blocks-DtEsw6CG.js").then((m) => m.blocksViewCommand)],
43
- ["blocks search", () => import("./blocks-DtEsw6CG.js").then((m) => m.blocksSearchCommand)],
44
- ["powersync streams", () => import("./powersync-ZBM_emZL.js").then((m) => m.powersyncStreamsCommand)],
45
- ["spec emit", () => import("./spec-CfKQ2Xxd.js").then((m) => m.specEmitCommand)],
46
- ["spec validate", () => import("./spec-CfKQ2Xxd.js").then((m) => m.specValidateCommand)],
47
- ["mcp", () => import("./mcp-C9HqqPIV.js").then((m) => m.mcpCommand)],
48
- ["skills list", () => import("./skills-wZ94Fa8G.js").then((m) => m.skillsListCommand)],
49
- ["skills install", () => import("./skills-wZ94Fa8G.js").then((m) => m.skillsInstallCommand)],
50
- ["codemod 0.4", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.4"))],
51
- ["codemod 0.5", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.5"))],
52
- ["codemod 0.6", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.6"))],
53
- ["codemod 0.9", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.9"))],
54
- ["codemod 0.11", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.11"))],
55
- ["codemod 0.15", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.15"))],
56
- ["codemod 0.29", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.29"))],
57
- ["codemod 0.32", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.32"))],
58
- ["codemod 0.35", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.35"))],
59
- ["codemod 0.37", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.37"))],
60
- ["codemod 0.46", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.46"))],
61
- ["codemod 0.47", () => import("./codemod-B7EdR7Fu.js").then((m) => m.codemodCommand("0.47"))],
62
- ["completion", () => import("./completion-C8zJwfzA.js").then((m) => m.completionCommand)],
63
- ["config", () => import("./config-CWQesy6K.js").then((m) => m.configCommand)]
19
+ ["login", () => import("./account-Co53476L.js").then((m) => m.loginCommand)],
20
+ ["logout", () => import("./account-Co53476L.js").then((m) => m.logoutCommand)],
21
+ ["whoami", () => import("./account-Co53476L.js").then((m) => m.whoamiCommand)],
22
+ ["init", () => import("./init-qbw1o0Dd.js").then((m) => m.initCommand)],
23
+ ["add", () => import("./add-CGR3mLgc.js").then((m) => m.addCommand)],
24
+ ["remove", () => import("./remove-B-vjuw8U.js").then((m) => m.removeCommand)],
25
+ ["upgrade", () => import("./upgrade-DPDYkDat.js").then((m) => m.upgradeCommand)],
26
+ ["table", () => import("./table-BEiSh604.js").then((m) => m.tableCommand)],
27
+ ["migrate schema-first", () => import("./migrate-CiGCX8KP.js").then((m) => m.migrateSchemaFirstCommand)],
28
+ ["gen", () => import("./gen-CMppeGNK.js").then((m) => m.genCommand)],
29
+ ["doctor", () => import("./doctor-Be-y8dsz.js").then((m) => m.doctorCommand)],
30
+ ["db query", () => import("./db-XUHrXei6.js").then((m) => m.dbQueryCommand)],
31
+ ["db diff", () => import("./db-XUHrXei6.js").then((m) => m.dbDiffCommand)],
32
+ ["db seed", () => import("./seed-BqsY5MlO.js").then((m) => m.seedCommand)],
33
+ ["db backfill", () => import("./backfill-DgHzYvi5.js").then((m) => m.dbBackfillCommand)],
34
+ ["db prune-workflows", () => import("./prune-workflows-eAi-3R9F.js").then((m) => m.dbPruneWorkflowsCommand)],
35
+ ["dev env", () => import("./env-BNeYZxBV.js").then((m) => m.envCommand)],
36
+ ["dev run", () => import("./run-CLLVkt9B.js").then((m) => m.runCommand)],
37
+ ["dev keys", () => import("./keys-DPHVpbjn.js").then((m) => m.keysCommand)],
38
+ ["dev stack ls", () => import("./stack-CwBH6-o8.js").then((m) => m.stackLsCommand)],
39
+ ["dev stack prune", () => import("./stack-CwBH6-o8.js").then((m) => m.stackPruneCommand)],
40
+ ["automations list", () => import("./automations-DAMWU5je.js").then((m) => m.automationsListCommand)],
41
+ ["blocks list", () => import("./blocks-DmIQd43q.js").then((m) => m.blocksListCommand)],
42
+ ["blocks view", () => import("./blocks-DmIQd43q.js").then((m) => m.blocksViewCommand)],
43
+ ["blocks search", () => import("./blocks-DmIQd43q.js").then((m) => m.blocksSearchCommand)],
44
+ ["powersync streams", () => import("./powersync-BNWYxuB0.js").then((m) => m.powersyncStreamsCommand)],
45
+ ["spec emit", () => import("./spec-CEiZkG-g.js").then((m) => m.specEmitCommand)],
46
+ ["spec validate", () => import("./spec-CEiZkG-g.js").then((m) => m.specValidateCommand)],
47
+ ["mcp", () => import("./mcp-DudhybBp.js").then((m) => m.mcpCommand)],
48
+ ["skills list", () => import("./skills-Bfx3HM5e.js").then((m) => m.skillsListCommand)],
49
+ ["skills install", () => import("./skills-Bfx3HM5e.js").then((m) => m.skillsInstallCommand)],
50
+ ["codemod 0.4", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.4"))],
51
+ ["codemod 0.5", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.5"))],
52
+ ["codemod 0.6", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.6"))],
53
+ ["codemod 0.9", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.9"))],
54
+ ["codemod 0.11", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.11"))],
55
+ ["codemod 0.15", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.15"))],
56
+ ["codemod 0.29", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.29"))],
57
+ ["codemod 0.32", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.32"))],
58
+ ["codemod 0.35", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.35"))],
59
+ ["codemod 0.37", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.37"))],
60
+ ["codemod 0.46", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.46"))],
61
+ ["codemod 0.47", () => import("./codemod-CzRpopTy.js").then((m) => m.codemodCommand("0.47"))],
62
+ ["completion", () => import("./completion-4Ta2j6uu.js").then((m) => m.completionCommand)],
63
+ ["config", () => import("./config-lZB85ksj.js").then((m) => m.configCommand)]
64
64
  ];
65
65
  /** The built-in commands, for `createCli`. */
66
66
  function builtinCommands() {
@@ -476,7 +476,7 @@ function cliFromTree(init, extra = {}) {
476
476
  };
477
477
  if (argv[0] === "__complete") {
478
478
  const words = argv[1] === "--" ? argv.slice(2) : argv.slice(1);
479
- const lines = await import("./completion-GgZmb_t7.js").then(async ({ complete, completionLines }) => completionLines(await complete(tree, words))).catch(() => "");
479
+ const lines = await import("./completion-DwUZqnou.js").then(async ({ complete, completionLines }) => completionLines(await complete(tree, words))).catch(() => "");
480
480
  if (lines !== "") out(lines);
481
481
  return {
482
482
  code: 0,
@@ -605,7 +605,7 @@ function cliFromTree(init, extra = {}) {
605
605
  try {
606
606
  const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
607
607
  node.load(),
608
- import("./config-DyGupd-1.js"),
608
+ import("./config-DPKOp4D5.js"),
609
609
  import("./env-DcxRyArf.js")
610
610
  ]);
611
611
  command = loaded;
@@ -1,17 +1,17 @@
1
1
  import { r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
3
- import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-DyhfGbUV.js";
3
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-dmC65uMm.js";
4
4
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
5
- import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-D7h2oWfS.js";
6
- import { n as render } from "./render-Hvu_ZKtr.js";
5
+ import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-BDeHrbby.js";
6
+ import { n as render } from "./render-eYxq_mwL.js";
7
7
  import { a as moduleKeyProblems, c as unsafeKey, i as entitlementsMode, n as accessRequirements, o as providerLabel, r as entitlementRequirements } from "./authorization-DJkkOjjG.js";
8
- import { s as schemaStampPath } from "./content-mapper-BM9asZuL.js";
8
+ import { s as schemaStampPath } from "./content-mapper-B6JGZZ-x.js";
9
9
  import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-DQayErI8.js";
10
- import { n as migrationsDir } from "./sql-layout-CGlyhvQ1.js";
11
- import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-3cetvs_N.js";
12
- import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-DAHcDTFh.js";
13
- import { a as compiledReadSets } from "./providers-xmyaROnG.js";
14
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BUd_MAbE.js";
10
+ import { n as migrationsDir } from "./sql-layout-oPEsvcMQ.js";
11
+ import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-CL-Gg-tZ.js";
12
+ import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-D1rjtFmq.js";
13
+ import { a as compiledReadSets } from "./providers-Ciss4nHV.js";
14
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-XPQbFJib.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-DNaRUG_M.js";
@@ -1,12 +1,12 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
3
3
  import { t as display } from "./io-CQzy8PEZ.js";
4
- import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-C-DXllAX.js";
4
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DDzGKmmT.js";
5
5
  import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
6
6
  import { t as connect } from "./db-B8zfxjl2.js";
7
7
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-DQayErI8.js";
8
- import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-D7u3LvNN.js";
9
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Deg53QHe.js";
8
+ import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-CVomaGBV.js";
9
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DowOyFq5.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-ENOc1zZ9.js";
1
+ import { a as toCatalog } from "./source-BPCSkEGq.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,4 +1,4 @@
1
- import { a as list, m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { a as list, m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
4
4
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
@@ -1,8 +1,8 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-DyhfGbUV.js";
2
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-dmC65uMm.js";
3
3
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
4
- import { n as managementSource, r as pgSource } from "./source-ENOc1zZ9.js";
5
- import { n as databaseUrl, u as accessToken } from "./config-C-DXllAX.js";
4
+ import { n as managementSource, r as pgSource } from "./source-BPCSkEGq.js";
5
+ import { n as databaseUrl, u as accessToken } from "./config-DDzGKmmT.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
7
7
  import { t as connect } from "./db-B8zfxjl2.js";
8
8
  import { existsSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-AGe2VWGm.js";
1
+ import { t as VERSION } from "./version-XN1WDU-l.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,5 +1,5 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
- import { l as stdinDatabaseUrl } from "./config-C-DXllAX.js";
2
+ import { l as stdinDatabaseUrl } from "./config-DDzGKmmT.js";
3
3
  // src/cli/commands/source-args.ts
4
4
  /**
5
5
  * The connection string from stdin, for commands that connect but read no
@@ -1,9 +1,9 @@
1
1
  import { n as __require, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.js";
2
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
3
- import { t as VERSION } from "./version-AGe2VWGm.js";
2
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
3
+ import { t as VERSION } from "./version-XN1WDU-l.js";
4
4
  import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
5
5
  import { t as display } from "./io-CQzy8PEZ.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-DyhfGbUV.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-dmC65uMm.js";
7
7
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
8
8
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
9
9
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-DGaKqtfR.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-BN7JlljA.js";
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-D7h2oWfS.js";
2
- import { a as toCatalog } from "./source-ENOc1zZ9.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-BDeHrbby.js";
2
+ import { a as toCatalog } from "./source-BPCSkEGq.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { dirname, join, relative, resolve, sep } from "node:path";
@@ -1,4 +1,4 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { r as supabaseCli } from "./exec-LJeQZ_9q.js";
3
3
  import { a as readSharedMemory, i as reportStacks, n as listStacks, r as prunePlan, t as branchName } from "./stacks-CEnRw_PH.js";
4
4
  // src/cli/commands/stack.ts
@@ -2,10 +2,10 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
3
  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";
4
4
  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";
5
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-CGlyhvQ1.js";
6
- import { r as layoutFor } from "./providers-xmyaROnG.js";
7
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-Cq5hkJsa.js";
8
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BUd_MAbE.js";
5
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-oPEsvcMQ.js";
6
+ import { r as layoutFor } from "./providers-Ciss4nHV.js";
7
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-6KOIDi_b.js";
8
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-XPQbFJib.js";
9
9
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
10
10
  import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
11
11
  import { dirname, join, resolve } from "node:path";
@@ -1,4 +1,4 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { n as CliError } from "./errors-DcJ_PayO.js";
4
4
  import { t as display } from "./io-CQzy8PEZ.js";
@@ -1,10 +1,10 @@
1
1
  import { t as display } from "./io-CQzy8PEZ.js";
2
2
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
3
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-CGlyhvQ1.js";
4
- import { r as layoutFor } from "./providers-xmyaROnG.js";
5
- import { r as migrationStamp } from "./migrations-Cq5hkJsa.js";
6
- 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-BUd_MAbE.js";
7
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-DFJfT7dH.js";
3
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-oPEsvcMQ.js";
4
+ import { r as layoutFor } from "./providers-Ciss4nHV.js";
5
+ import { r as migrationStamp } from "./migrations-6KOIDi_b.js";
6
+ 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-XPQbFJib.js";
7
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-CgpA7QSy.js";
8
8
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
9
9
  import { resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
@@ -1,8 +1,8 @@
1
- import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-CLlRvLN9.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
- import { t as syncModules } from "./sync-DFJfT7dH.js";
3
+ import { t as syncModules } from "./sync-CgpA7QSy.js";
4
4
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
5
- import { t as upgrade } from "./upgrade-C2Kdvrj-.js";
5
+ import { t as upgrade } from "./upgrade-CWx1Pdz2.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
8
8
  check: {
@@ -1,3 +1,3 @@
1
1
  // src/cli/version.ts
2
- const VERSION = "0.49.0";
2
+ const VERSION = "0.51.0";
3
3
  export { VERSION as t };
@@ -1,9 +1,9 @@
1
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-BkVCjoLP.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-M1yL9NiW.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-6EMtxwGE.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-ChYzUApb.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-DfgxFNFx.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-ClQWiVZ1.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-Z6S_jGD7.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-CimlbjXB.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-XiTA4O2z.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-CFT7e_HH.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-7-mAsoAB.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
1
  import { t as AsyncResult } from "../../result-CMqlHv82.js";
2
2
  import { T as UploadOptions, w as UploadBody } from "../../bucket-BIYeIS6c.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-M1yL9NiW.js";
4
- 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-6EMtxwGE.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-ChYzUApb.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-ClQWiVZ1.js";
4
+ 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-Z6S_jGD7.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-CimlbjXB.js";
6
6
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
7
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-CQnqTZrb.js";
7
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-hDDp188w.js";
8
8
  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";
9
9
  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";
10
10
  import { SupabaseClient } from "@supabase/supabase-js";
@@ -1,8 +1,8 @@
1
1
  import { n as isRecord } from "./guards-CsRa6v57.js";
2
- import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, b as nullableText, d as enumOrThrow, j as recordOf } from "./block-helpers-CCl3V9ku.js";
2
+ import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, b as nullableText, d as enumOrThrow, j as recordOf } from "./block-helpers-DApvw3n9.js";
3
3
  import { s as rowFields } from "./block-fields-B6_zYPTF.js";
4
4
  import { d as money } from "./money-hWAOR9jq.js";
5
- import { i as moneyOf, t as amountText } from "./money-codec-CvUy3_Ep.js";
5
+ import { i as moneyOf, t as amountText } from "./money-codec-lrXaOqi7.js";
6
6
  // src/blocks/orders/codecs.ts
7
7
  const ORDER_STATUSES = [
8
8
  "pending_payment",
@@ -5,8 +5,8 @@ import { a as ok, r as err, s as toDbError, t as AsyncResult } from "../result-D
5
5
  import { t as ISO_4217_MINOR_UNITS } from "../iso4217-oKsif_hW.js";
6
6
  import { s as verifyStripeWebhook } from "../verify-fRa6dgEY.js";
7
7
  import { _ as roundHalfEven, a as compareMoney, b as toDecimal, c as isMoney, d as money, f as moneyFromJson, g as parseMoney, h as negateMoney, i as applyRate, l as isRate, m as multiplyMoney, n as addMoney, o as formatMoney, p as moneyToJson, r as allocateMoney, s as isCurrency, t as CurrencyMismatchError, u as minorUnits, v as subtractMoney, y as sumMoney } from "../money-hWAOR9jq.js";
8
- import { n as paymentProviderOf, t as invalidPaymentAmount } from "../payments-D89SVEgj.js";
9
- import { a as taxProviderOf, i as reversalOf, n as fixedRates, r as invalidTaxCart, t as SHIPPING_LINE } from "../tax-D_M90sFh.js";
8
+ import { n as paymentProviderOf, t as invalidPaymentAmount } from "../payments-DjrRAHBY.js";
9
+ import { a as taxProviderOf, i as reversalOf, n as fixedRates, r as invalidTaxCart, t as SHIPPING_LINE } from "../tax-Deg3udmG.js";
10
10
  import { t as lazyStripe } from "../stripe-DKRwRWew.js";
11
11
  // src/commerce/stripe-shared.ts
12
12
  /**
@@ -1,6 +1,6 @@
1
1
  import { n as dbError } from "./errors-CXPerGIl.js";
2
2
  import { t as AsyncResult } from "./result-DrBaeIVt.js";
3
- import { n as credentialRefInTenant, t as credentialProviderOf } from "./provider-DRGTjcBY.js";
3
+ import { n as credentialRefInTenant, t as credentialProviderOf } from "./provider-Bkh8zSHN.js";
4
4
  // src/credentials/compose.ts
5
5
  const NO_CAPABILITIES = {
6
6
  userSubjects: false,
@@ -1,5 +1,5 @@
1
1
  import { o as problemResponse } from "./problem-gZxWhEP2.js";
2
- import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-BzeH7ffo.js";
2
+ import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-DBO28HF_.js";
3
3
  import { u as withPrimaryPin } from "./request-kind-tNDM5Z_o.js";
4
4
  import { c as defaultExpose, u as guard } from "./kit-Di_OULwH.js";
5
5
  import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
@@ -1,6 +1,6 @@
1
1
  import { N as Casing } from "../types-CaYa549m.js";
2
- import { Ct as SubjectPermission, Et as SubjectsConfig, St as SubjectConfig, Tt as SubjectTeam, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, wt as SubjectSearch, x as tenantNameOf } from "../blocks-ERs7xZ7E.js";
3
- import { $r as GEN_TASKS, Br as DoctorConfig, Gr as KeysConfig, Hr as GenConfig, Jr as PowerSyncGenConfig, Kr as MigrationSafetyConfig, Ur as GenTask, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Yr as SkillsAgent, ei as INTEGRATION_INFO, ln as FieldFormat, ni as IntegrationInfo, qr as OpenApiConfig, ri as SKILLS_AGENTS, sn as FIELD_FORMATS, ti as INTEGRATION_NAMES, un as FieldFormatInput } from "../define-block-DiW9g10_.js";
4
- import { $ as BlockEntity, $r as AppColumnAccess, $t as BetterSupabaseConfig, Ai as ExtrasFunction, Ar as SeedSampleConfig, At as GeneratorFunction, B as standardSchema, Bi as PostgresFunction, Br as VectorDistance, Bt as RelationsConfig, Ci as CatalogGrant, Ct as GeneratedFile, Di as CatalogTrigger, Dr as ResolvedSqlConfig, Dt as GeneratorColumn, Ei as CatalogTable, Er as ResolvedSeedConfig, Et as GeneratorBlockEntity, F as ZodGeneratorOptions, Fi as Snapshot, Fr as TopicTriggerConfig, Ft as GeneratorModel, G as JsonSchemaGeneratorOptions, Gi as RpcFunctionReturns, Gt as DataHooksSelect, H as nuqs, Hi as RpcFunction, Hr as CONFIG_DEFAULTS, Ht as TableConfig, I as zod, Ii as SnapshotBucket, Ir as TopicTriggerLookupConfig, It as GeneratorNoun, J as JsonSchemaTarget, Jr as APP_COLUMN_FORMATS, Jt as ResolvedExtensions, K as buildJsonSchema, Ki as RpcReturnColumn, Kt as FlatConfig, L as ValibotGeneratorOptions, Li as SnapshotExtras, Lr as TopicTriggerPayloadValueConfig, Lt as GeneratorTable, Mi as ExtrasHookFunction, Mr as SqlBlockDefaults, Mt as GeneratorInput, Ni as ExtrasTable, Nr as SqlConfig, Nt as GeneratorInputSchema, Oi as CatalogUnique, Or as SeedConfig, Ot as GeneratorEntitySchemas, P as ZodFlavor, Pi as ForeignKeyAction, Pr as SqlWorkflow, Pt as GeneratorJsonSchema, Q as tenantClaimPaths, Qr as APP_TABLE_EVENT_KINDS, Qt as AuthConfig, R as valibot, Ri as GeneratorMetadata, Rr as TopicTriggerTopicConfig, Rt as JsonSchemaSource, Si as CatalogFunctionArg, St as CodecsConfig, Ti as CatalogPolicy, Tr as RealtimeConfig, Tt as GeneratorBlock, U as FactoriesGeneratorOptions, Ui as RpcFunctionArg, Ut as DataHooksConfig, V as NuqsGeneratorOptions, Vi as PostgresFunctionArg, Vr as VectorSearchConfig, Vt as SourceConfig, W as factories, Wi as RpcFunctionOverload, Wt as DataHooksFramework, X as DEFAULT_CLAIMS, Xr as APP_ON_DELETE_ACTIONS, Xt as AppTableInput, Y as ClaimPaths, Yr as APP_COLUMN_TYPES, Yt as ApiConfig, Z as claimPaths, Zr as APP_ROLLUP_AGGREGATES, Zt as AppTablesInput, _i as CatalogColumn, _t as BucketName, ai as AppReference, an as SqlInput, at as CONFIG_GROUPS, bi as CatalogForeignKey, bt as resolveJsonSchema, ci as AppRollupConfig, cn as EntitlementPlansSource, ct as blockEntrySource, di as AppTableEvents, dn as ExposeConfig, dt as groupEntries, ei as AppColumnConfig, en as BlockInput, et as blockEntities, fi as AppTableSubject, fn as ExposePrivilege, ft as CONFIG_SCHEMA_URL, gi as CatalogCheck, gt as BlockTableReference, hi as Catalog, hn as ResolvedExpose, ht as resolveConfig, ii as AppOnDeleteAction, in as GenGroupConfig, ir as ExpandedConfig, it as blockSubjectTypes, ji as ExtrasHook, jr as SeedSampleSize, jt as GeneratorFunctionArg, ki as ExtrasDomain, kr as SeedDefaultsConfig, kt as GeneratorField, li as AppTableConfig, ln as EntitlementsConfig, lt as flattenConfig, mi as AppTablesConfig, mn as Privilege, mt as defineConfig, ni as AppColumnType, nn as DatabaseConfig, nt as blockEventRenames, oi as AppReferenceTarget, on as TenantConfig, ot as RENAMED_BLOCK_KEYS, pi as AppTableVersions, pn as ExposeRole, pt as ResolveInput, q as jsonSchema, qi as RpcTypeReference, qr as APP_COLUMN_ACCESS, qt as ResolvedConfig, ri as AppLookupConfig, rn as EnvironmentConfig, rt as blockFormerFunctions, si as AppRollupAggregate, sn as ToolingConfig, st as RENAMED_CONFIG_KEYS, ti as AppColumnFormat, tn as BlocksInput, tt as blockEntityRenames, ui as AppTableEventKind, un as ColumnPrivilege, ut as groupConfig, vi as CatalogColumnGrant, vt as ConfigReferences, wi as CatalogIndex, wr as BucketConfig, wt as Generator, xi as CatalogFunction, xt as ClaimsConfig, yi as CatalogEnum, yt as RoleNames, z as StandardSchemaGeneratorOptions, zi as PostgresColumn, zr as TopicTriggerValueConfig, zt as JsonTypeConfig } from "../context-DNwBlpKo.js";
5
- import { a as AuthorizationProvider, c as AuthorizationScope, d as providerApiProblem, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-N4bh4KQS.js";
6
- export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
2
+ import { Ct as SubjectPermission, Et as SubjectsConfig, St as SubjectConfig, Tt as SubjectTeam, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, wt as SubjectSearch, x as tenantNameOf } from "../blocks-DbarkJe1.js";
3
+ import { $r as GEN_TASKS, Br as DoctorConfig, Gr as KeysConfig, Hr as GenConfig, Jr as PowerSyncGenConfig, Kr as MigrationSafetyConfig, Ur as GenTask, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Yr as SkillsAgent, ei as INTEGRATION_INFO, ln as FieldFormat, ni as IntegrationInfo, qr as OpenApiConfig, ri as SKILLS_AGENTS, sn as FIELD_FORMATS, ti as INTEGRATION_NAMES, un as FieldFormatInput } from "../define-block-DLqYhrYF.js";
4
+ import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-NgBzQFD8.js";
5
+ import { a as AuthorizationProvider, c as AuthorizationScope, d as providerApiProblem, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-fXe0XyzB.js";
6
+ export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEmbedding, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
- import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-rv7V0R6O.js";
2
- import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-gJ9FX0jc.js";
1
+ import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-D3r2SfCb.js";
2
+ import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-DwPO3Dcs.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
4
- import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-ukDFg8oN.js";
4
+ import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-CAzvtvlH.js";
5
5
  import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
6
- import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-DYtSlwsi.js";
6
+ import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-DVRBLGIK.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-D9eVL_xi.js";
8
8
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
- import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-rv7V0R6O.js";
2
- import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-gJ9FX0jc.js";
1
+ import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-D3r2SfCb.js";
2
+ import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-DwPO3Dcs.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
4
4
  import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
5
- import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-ukDFg8oN.js";
5
+ import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-CAzvtvlH.js";
6
6
  import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-D9eVL_xi.js";
7
7
  // src/config/authorization.ts
8
8
  /**