better-supabase 0.11.0 → 0.12.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.
- package/dist/{adapter-B2WRsRIg.js → adapter-CRNH2aX_.js} +362 -253
- package/dist/{agents-CbUIrH-w.d.ts → agents-CGP2AQge.d.ts} +1 -1
- package/dist/{ai-files-DXbgWA5M.js → ai-files-ChFDkMLN.js} +12 -4
- package/dist/ai-sdk/agents/index.d.ts +3 -3
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/files/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +2 -2
- package/dist/{ai-tasks-BJJChl-D.d.ts → ai-tasks-ZvPnNudQ.d.ts} +1 -1
- package/dist/{api-keys-qnM63qjS.d.ts → api-keys-AgDXbcql.d.ts} +1 -1
- package/dist/{approvals-CRZtzxNt.d.ts → approvals-CyX709B-.d.ts} +1 -1
- package/dist/astro/index.d.ts +6 -6
- package/dist/astro/index.js +2 -2
- package/dist/{attachments-Bk3tyeUF.js → attachments-CK8D8bIV.js} +8 -2
- package/dist/{authorization-hooks-mLi894KH.d.ts → authorization-hooks-WDQMKIsc.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-CTNKpBM6.d.ts → bind-Bfo40o63.d.ts} +3 -3
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +2 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +2 -2
- package/dist/blocks/ai-chat/react/index.d.ts +1 -1
- package/dist/blocks/ai-chat/solid/index.d.ts +2 -2
- package/dist/blocks/ai-chat/svelte/index.d.ts +2 -2
- package/dist/blocks/ai-chat/vue/index.d.ts +2 -2
- package/dist/blocks/ai-files/index.d.ts +2 -2
- package/dist/blocks/ai-files/index.js +1 -1
- package/dist/blocks/ai-providers/index.d.ts +2 -2
- package/dist/blocks/ai-tasks/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +2 -2
- package/dist/blocks/announcements/react/index.d.ts +1 -1
- package/dist/blocks/announcements/solid/index.d.ts +2 -2
- package/dist/blocks/announcements/svelte/index.d.ts +2 -2
- package/dist/blocks/announcements/vue/index.d.ts +2 -2
- package/dist/blocks/api-keys/index.d.ts +4 -4
- package/dist/blocks/api-keys/react/index.d.ts +1 -1
- package/dist/blocks/api-keys/react/server.d.ts +1 -1
- package/dist/blocks/api-keys/solid/index.d.ts +2 -2
- package/dist/blocks/api-keys/svelte/index.d.ts +2 -2
- package/dist/blocks/api-keys/vue/index.d.ts +2 -2
- package/dist/blocks/approvals/index.d.ts +2 -2
- package/dist/blocks/attachments/index.d.ts +2 -2
- package/dist/blocks/attachments/index.js +1 -1
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/audit/react/index.d.ts +1 -1
- package/dist/blocks/audit/react/server.d.ts +1 -1
- package/dist/blocks/audit/solid/index.d.ts +2 -2
- package/dist/blocks/audit/svelte/index.d.ts +2 -2
- package/dist/blocks/audit/vue/index.d.ts +2 -2
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/billing/react/index.d.ts +1 -1
- package/dist/blocks/billing/react/server.d.ts +1 -1
- package/dist/blocks/billing/solid/index.d.ts +2 -2
- package/dist/blocks/billing/svelte/index.d.ts +2 -2
- package/dist/blocks/billing/vue/index.d.ts +2 -2
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/react/index.d.ts +1 -1
- package/dist/blocks/bookings/solid/index.d.ts +2 -2
- package/dist/blocks/bookings/svelte/index.d.ts +2 -2
- package/dist/blocks/bookings/vue/index.d.ts +2 -2
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/calendar/index.d.ts +2 -2
- package/dist/blocks/calendar/react/index.d.ts +1 -1
- package/dist/blocks/calendar/solid/index.d.ts +2 -2
- package/dist/blocks/calendar/svelte/index.d.ts +2 -2
- package/dist/blocks/calendar/vue/index.d.ts +2 -2
- package/dist/blocks/catalog/index.d.ts +1 -1
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/comments/react/index.d.ts +1 -1
- package/dist/blocks/comments/react/server.d.ts +1 -1
- package/dist/blocks/comments/solid/index.d.ts +2 -2
- package/dist/blocks/comments/svelte/index.d.ts +2 -2
- package/dist/blocks/comments/vue/index.d.ts +2 -2
- package/dist/blocks/connectors/index.d.ts +2 -2
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +2 -3
- package/dist/blocks/drive/index.js +14 -5
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/engagements/index.d.ts +1 -1
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/entitlements/react/index.d.ts +2 -2
- package/dist/blocks/entitlements/solid/index.d.ts +2 -2
- package/dist/blocks/entitlements/svelte/index.d.ts +2 -2
- package/dist/blocks/entitlements/vue/index.d.ts +2 -2
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +2 -2
- package/dist/blocks/forms/react/index.d.ts +1 -1
- package/dist/blocks/forms/solid/index.d.ts +2 -2
- package/dist/blocks/forms/svelte/index.d.ts +2 -2
- package/dist/blocks/forms/vue/index.d.ts +2 -2
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +2 -2
- package/dist/blocks/imports/index.d.ts +1 -1
- package/dist/blocks/inbox/index.d.ts +2 -2
- package/dist/blocks/inbox/react/index.d.ts +2 -2
- package/dist/blocks/inbox/react/server.d.ts +2 -2
- package/dist/blocks/inbox/solid/index.d.ts +2 -2
- package/dist/blocks/inbox/svelte/index.d.ts +2 -2
- package/dist/blocks/inbox/vue/index.d.ts +2 -2
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/jobs/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +2 -2
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +3 -3
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/mfa/react/index.d.ts +1 -1
- package/dist/blocks/mfa/react/server.d.ts +1 -1
- package/dist/blocks/mfa/solid/index.d.ts +2 -2
- package/dist/blocks/mfa/svelte/index.d.ts +2 -2
- package/dist/blocks/mfa/vue/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +3 -3
- package/dist/blocks/notifications/react/index.d.ts +1 -1
- package/dist/blocks/notifications/react/server.d.ts +1 -1
- package/dist/blocks/notifications/solid/index.d.ts +2 -2
- package/dist/blocks/notifications/svelte/index.d.ts +2 -2
- package/dist/blocks/notifications/vue/index.d.ts +2 -2
- package/dist/blocks/number-sequences/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/react/index.d.ts +1 -1
- package/dist/blocks/onboarding/react/server.d.ts +1 -1
- package/dist/blocks/onboarding/solid/index.d.ts +2 -2
- package/dist/blocks/onboarding/svelte/index.d.ts +2 -2
- package/dist/blocks/onboarding/vue/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/organizations/react/index.d.ts +1 -1
- package/dist/blocks/organizations/react/server.d.ts +1 -1
- package/dist/blocks/organizations/solid/index.d.ts +2 -2
- package/dist/blocks/organizations/svelte/index.d.ts +2 -2
- package/dist/blocks/organizations/vue/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/parties/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +2 -2
- package/dist/blocks/reactions/react/index.d.ts +1 -1
- package/dist/blocks/reactions/solid/index.d.ts +2 -2
- package/dist/blocks/reactions/svelte/index.d.ts +2 -2
- package/dist/blocks/reactions/vue/index.d.ts +2 -2
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +3 -3
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rules/index.d.ts +4 -4
- package/dist/blocks/rules/react/index.d.ts +1 -1
- package/dist/blocks/rules/solid/index.d.ts +2 -2
- package/dist/blocks/rules/svelte/index.d.ts +2 -2
- package/dist/blocks/rules/vue/index.d.ts +2 -2
- package/dist/blocks/saved-views/index.d.ts +2 -2
- package/dist/blocks/saved-views/react/index.d.ts +1 -1
- package/dist/blocks/saved-views/react/server.d.ts +1 -1
- package/dist/blocks/saved-views/solid/index.d.ts +2 -2
- package/dist/blocks/saved-views/svelte/index.d.ts +2 -2
- package/dist/blocks/saved-views/vue/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +2 -2
- package/dist/blocks/search/react/index.d.ts +1 -1
- package/dist/blocks/search/react/server.d.ts +1 -1
- package/dist/blocks/search/solid/index.d.ts +2 -2
- package/dist/blocks/search/svelte/index.d.ts +2 -2
- package/dist/blocks/search/vue/index.d.ts +2 -2
- package/dist/blocks/service-principals/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/react/index.d.ts +1 -1
- package/dist/blocks/sessions/react/server.d.ts +1 -1
- package/dist/blocks/sessions/solid/index.d.ts +2 -2
- package/dist/blocks/sessions/svelte/index.d.ts +2 -2
- package/dist/blocks/sessions/vue/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/react/index.d.ts +1 -1
- package/dist/blocks/settings/react/server.d.ts +1 -1
- package/dist/blocks/settings/solid/index.d.ts +2 -2
- package/dist/blocks/settings/svelte/index.d.ts +2 -2
- package/dist/blocks/settings/vue/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shared-signals/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +2 -2
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/react/index.d.ts +1 -1
- package/dist/blocks/tags/react/server.d.ts +1 -1
- package/dist/blocks/tags/solid/index.d.ts +2 -2
- package/dist/blocks/tags/svelte/index.d.ts +2 -2
- package/dist/blocks/tags/vue/index.d.ts +2 -2
- package/dist/blocks/targets/index.d.ts +1 -1
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +3 -3
- package/dist/blocks/time-tracking/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/undo/react/index.d.ts +1 -1
- package/dist/blocks/undo/react/server.d.ts +1 -1
- package/dist/blocks/undo/solid/index.d.ts +2 -2
- package/dist/blocks/undo/svelte/index.d.ts +2 -2
- package/dist/blocks/undo/vue/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/usage/react/index.d.ts +1 -1
- package/dist/blocks/usage/react/server.d.ts +1 -1
- package/dist/blocks/usage/solid/index.d.ts +2 -2
- package/dist/blocks/usage/svelte/index.d.ts +2 -2
- package/dist/blocks/usage/vue/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +4 -4
- package/dist/blocks/work-items/index.d.ts +1 -1
- package/dist/blocks/workflow-builder/index.d.ts +4 -4
- package/dist/blocks/workflow-builder/react/index.d.ts +2 -2
- package/dist/blocks/workflow-builder/solid/index.d.ts +2 -2
- package/dist/blocks/workflow-builder/svelte/index.d.ts +2 -2
- package/dist/blocks/workflow-builder/vue/index.d.ts +2 -2
- package/dist/blocks/workflows/index.d.ts +2 -2
- package/dist/blocks/workflows/react/index.d.ts +1 -1
- package/dist/blocks/workflows/solid/index.d.ts +2 -2
- package/dist/blocks/workflows/svelte/index.d.ts +2 -2
- package/dist/blocks/workflows/vue/index.d.ts +2 -2
- package/dist/{bucket-BBSNDFNH.d.ts → bucket-BbePDVwc.d.ts} +16 -0
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/chat-sdk/react/index.d.ts +2 -2
- package/dist/chat-sdk/react/server.d.ts +2 -2
- package/dist/cli/add-DnAyR9w_.js +1 -0
- package/dist/cli/{add-B5V6uokQ.js → add-TT72pQk6.js} +3 -3
- package/dist/cli/adopt-BuS-DC7_.js +1 -0
- package/dist/cli/{adopt-Ht34C3QD.js → adopt-mbB1bcIG.js} +4 -4
- package/dist/cli/{apply-4BmTvj2A.js → apply-CiBFOFGw.js} +15 -21
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-jIvPqPtw.js → blocks-5-JGzwXX.js} +1 -1
- package/dist/cli/{blocks-bBI050w6.js → blocks-DeLQOlUK.js} +1 -1
- package/dist/cli/{cache-CVJmPGpd.js → cache-DQwgb3rg.js} +1 -1
- package/dist/cli/{codemod-vsknM1Ue.js → codemod-BzAMX4el.js} +2 -2
- package/dist/cli/{command-DLCZeHdo.js → command-dfdVhU_2.js} +16 -1
- package/dist/cli/{completion-CEZ-c3ja.js → completion-4lLjtI49.js} +1 -1
- package/dist/cli/{completion-D2BObVth.js → completion-D4InNrxw.js} +2 -2
- package/dist/cli/{completion-BAm8SwGQ.js → completion-zsp5s0zI.js} +2 -2
- package/dist/cli/{config-CynctXbc.js → config-CCyweX7Y.js} +1 -1
- package/dist/cli/{config-CC5DXgKX.js → config-DI6ielsx.js} +1 -1
- package/dist/cli/{config-C4e_RrmL.js → config-yZ55rsKZ.js} +1 -1
- package/dist/cli/{db-BxMRcHrY.js → db-TRymMyAW.js} +3 -3
- package/dist/cli/{design-edit-B-WsnhUF.js → design-edit-0U9iCTiS.js} +29 -2
- package/dist/cli/{doctor-D47sFjh9.js → doctor-DOfy6kjt.js} +119 -70
- package/dist/cli/env-Cmu99uKR.js +1 -0
- package/dist/cli/{env--JFvv45k.js → env-Dh5K5t2U.js} +32 -31
- package/dist/cli/{gen-D2E8osBE.js → gen-D3sC5jDn.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-Cx7DDAdQ.js → init-DNomoycJ.js} +12 -18
- package/dist/cli/{introspect-Ck7aa6v0.js → introspect-kYX06Q2g.js} +3 -3
- package/dist/cli/{keys-6ufnWeZl.js → keys-B8dIJwwi.js} +1 -1
- package/dist/cli/{live-CLxJNC0r.js → live-CkV3d3yp.js} +1 -1
- package/dist/cli/{mcp-BVWvEoKo.js → mcp-DrxB2Wuw.js} +3 -3
- package/dist/cli/{metadata-BRywyPvv.js → metadata-BGkle6WM.js} +1 -1
- package/dist/cli/{moved-BmtFuMK3.js → moved-BMQu1YNY.js} +1 -1
- package/dist/cli/{parse-ksnw4phM.js → parse-QzDvMpXH.js} +1 -1
- package/dist/cli/{preset-B1o6KbFp.js → preset-CfIs24cc.js} +1 -1
- package/dist/cli/run-Bck-p0MI.js +63 -0
- package/dist/cli/{run-Bb8Nn8Ax.js → run-BhJKAanr.js} +2 -2
- package/dist/cli/{run-nX5ffQM_.js → run-DRZ10srj.js} +51 -43
- package/dist/cli/{scaffold-DcXr4z7M.js → scaffold-DoURlDEI.js} +1 -1
- package/dist/cli/{scaffold-fO-FJGoO.js → scaffold-mzy3OsN5.js} +1 -1
- package/dist/cli/seed-C5q4UUIL.js +1 -0
- package/dist/cli/{seed-BmOC6_iz.js → seed-CIdg6s7m.js} +3 -3
- package/dist/cli/{skills-CUx7S0bk.js → skills-D3zwIlGA.js} +1 -1
- package/dist/cli/{snapshot-ClgWGd-b.js → snapshot-BBKFojqM.js} +3 -3
- package/dist/cli/{source-args-BDiUhsH8.js → source-args-Cwo7zwvq.js} +1 -1
- package/dist/cli/{spec-DjHpWZJM.js → spec-DOgQUZwM.js} +1 -1
- package/dist/cli/{spec-CM7iyRnE.js → spec-DZeIP9ta.js} +3 -3
- package/dist/cli/{sql-C4ymac2h.js → sql-CL_Lbhwl.js} +1 -1
- package/dist/cli/{sql-ybcjbz20.js → sql-DLOvvnBV.js} +1 -1
- package/dist/cli/stack-env-_uWWNHWq.js +87 -0
- package/dist/cli/{stack-status-Cb_D79ZR.js → stack-status-_NUgd-g5.js} +41 -1
- package/dist/cli/{version-CUKjFbNd.js → version-B7akdvDv.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{client-GdJH4XJM.d.ts → client-BAOZuBhz.d.ts} +1 -1
- package/dist/{client-B9_8yzct.d.ts → client-BJN0IMEp.d.ts} +2 -2
- package/dist/{client-QvuCfO4b.d.ts → client-BMcjLG0V.d.ts} +5 -5
- package/dist/{client-CeH7vd-g.d.ts → client-BN_fXOs7.d.ts} +1 -1
- package/dist/{client-CCGSn7m5.d.ts → client-BONsuFYf.d.ts} +4 -4
- package/dist/{client-CBQ2TV0r.d.ts → client-BPn9XhAM.d.ts} +1 -1
- package/dist/{client-ehjQ2tIT.d.ts → client-BtC-r4hE.d.ts} +3 -3
- package/dist/{client-DarDYaQj.d.ts → client-BuneNd-C.d.ts} +1 -1
- package/dist/{client-B_vHBwB6.d.ts → client-CHwNV8Kz.d.ts} +3 -3
- package/dist/{client-DbxvLC9Y.d.ts → client-CLQHsa-2.d.ts} +1 -1
- package/dist/{client-9ZOirdtr.d.ts → client-CMxxwT3N.d.ts} +3 -3
- package/dist/{client-B4a7f5ma.d.ts → client-CU7aNN_B.d.ts} +2 -2
- package/dist/{client-cWUWrgis.d.ts → client-CYEdJKjk.d.ts} +1 -1
- package/dist/{client-CNh-pjkT.d.ts → client-CYhSGlCN.d.ts} +3 -3
- package/dist/{client-5YAtJjyT.d.ts → client-D3gRTNSi.d.ts} +1 -1
- package/dist/{client-BqoYuTK3.d.ts → client-DB34f_7i.d.ts} +2 -2
- package/dist/{client-eCtwzCbQ.d.ts → client-DCawyopp.d.ts} +3 -3
- package/dist/{client-Bovn6-M9.d.ts → client-Dqa4XyJ5.d.ts} +1 -1
- package/dist/{client-CXTDJCIs.d.ts → client-Dr5h2r9r.d.ts} +1 -1
- package/dist/{client-CrZKZVbb.d.ts → client-DrTqKgvy.d.ts} +1 -1
- package/dist/{client-BNy-K6XT.d.ts → client-GCCRI9ge.d.ts} +1 -1
- package/dist/{client-DLz68Qga.d.ts → client-P6v3h7vh.d.ts} +1 -1
- package/dist/{client-CJT3xiuI.d.ts → client-P8l8ncxV.d.ts} +3 -3
- package/dist/{client-BXv09wO1.d.ts → client-kWg4OqIr.d.ts} +2 -2
- package/dist/{client-C3rmP3b0.d.ts → client-tvG258_1.d.ts} +4 -4
- package/dist/{client-Dft5Vq6m.d.ts → client-wKmX-f3r.d.ts} +1 -1
- package/dist/{composite-BFatHqOU.js → composite-1kPAxXto.js} +1 -1
- package/dist/{composite-B1Mmo4TU.d.ts → composite-DzvBL5nb.d.ts} +5 -5
- package/dist/{connectors-CR9FJGzV.d.ts → connectors-BwPNt-ZG.d.ts} +1 -1
- package/dist/{controller-BBXX1RMw.d.ts → controller-BZhiIb-N.d.ts} +1 -1
- package/dist/create/index.d.ts +24 -2
- package/dist/create/index.js +1001 -914
- package/dist/credentials/index.d.ts +2 -2
- package/dist/{define-M_r1d2AT.d.ts → define-DYZnvAbs.d.ts} +1 -1
- package/dist/{define-block-CPyJ95rq.d.ts → define-block-BHxLHLys.d.ts} +2 -2
- package/dist/edge/index.d.ts +8 -8
- package/dist/edge/index.js +3 -3
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-lTUwzvW4.d.ts → embeddings-CKhygw4C.d.ts} +1 -1
- package/dist/{ended-DQmwYosO.d.ts → ended-De6H52nX.d.ts} +1 -1
- package/dist/{entitlements-DgkeStXd.d.ts → entitlements-CtBGXb3B.d.ts} +2 -2
- package/dist/eve/index.d.ts +3 -3
- package/dist/eve/index.js +1 -1
- package/dist/{eve-C_Onyk_j.d.ts → eve-B6ru2Bt4.d.ts} +2 -2
- package/dist/{executor-DfdC00xr.d.ts → executor-BWgJNbGh.d.ts} +1 -1
- package/dist/expo/index.d.ts +3 -3
- package/dist/expo/index.js +3 -3
- package/dist/expo-sqlite/index.d.ts +1 -1
- package/dist/{field-errors-DmJICh93.d.ts → field-errors-Z-sgsdoN.d.ts} +6 -6
- package/dist/{framework-D6IFkuAg.d.ts → framework-BQhTsLX-.d.ts} +5 -5
- package/dist/{framework-Ch8bMmQY.js → framework-C6PKBgme.js} +1 -1
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +8 -8
- package/dist/hono/index.js +2 -2
- package/dist/{index-DgobXyil.d.ts → index-1Vsg-7YV.d.ts} +1 -1
- package/dist/{index-D8yhOz_4.d.ts → index-BJLPQr2s.d.ts} +36 -3
- package/dist/{index-CK0Sxx57.d.ts → index-C-_fs7EI.d.ts} +7 -7
- package/dist/{index-F6XTTkC9.d.ts → index-CXFf-c-j.d.ts} +4 -4
- package/dist/{index-CEcDqDhc.d.ts → index-Cm2-g_4H.d.ts} +1 -1
- package/dist/{index-qCG78-Rf.d.ts → index-DTQSeHx2.d.ts} +2 -2
- package/dist/{index-DHReeV74.d.ts → index-Hc4tetmB.d.ts} +1 -1
- package/dist/{index-Bq409YZn.d.ts → index-QWTq2o31.d.ts} +1 -1
- package/dist/{index-Csi8jD-m.d.ts → index-XcTBR4Gb.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/{kit-BeZX2pR_.d.ts → kit-De-EVRhw.d.ts} +3 -3
- package/dist/{knowledge-CRk1jOAJ.d.ts → knowledge-B5zdpDD-.d.ts} +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-FhFXzObg.d.ts → list-query-aXr2WkGA.d.ts} +1 -1
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +5 -5
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/index.d.ts +15 -15
- package/dist/next/index.js +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{outbox-njgoVzFA.d.ts → outbox-B1hZ7PPY.d.ts} +1 -1
- package/dist/{ports-DCAcG26M.d.ts → ports-BCDIbC_U.d.ts} +1 -1
- package/dist/{ports-DGe1vzF2.d.ts → ports-P0A5wo_-.d.ts} +2 -2
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +2 -2
- package/dist/preset/index.js +2 -2
- package/dist/{preset-Cqwlwx6G.js → preset-Cf0T9GRt.js} +49 -6
- package/dist/{provider-CNs0Jx0I.d.ts → provider-DXgx5oSA.d.ts} +1 -1
- package/dist/{push-token-D2sDxSNN.d.ts → push-token-y1Gnz5bQ.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +7 -7
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/session.d.ts +2 -2
- package/dist/react-router/index.d.ts +5 -5
- package/dist/react-router/index.js +2 -2
- package/dist/realtime/index.d.ts +5 -5
- package/dist/{refusal-CufncwaN.d.ts → refusal-C7geIBRl.d.ts} +1 -1
- package/dist/{resolve-f8QNuYI3.js → resolve-AtncaPTU.js} +12 -5
- package/dist/{resolve-Bqb8TMTt.d.ts → resolve-Ceft-18-.d.ts} +6 -2
- package/dist/{resource-execute-ruP2L1op.d.ts → resource-execute-Bxvgmx-n.d.ts} +1 -1
- package/dist/{resource-types-CGr0BbL-.d.ts → resource-types-LW1i5-h3.d.ts} +2 -2
- package/dist/{resources-BiQpsM6O.d.ts → resources-D3_FAz_H.d.ts} +1 -1
- package/dist/{respond-CEBC6KUX.d.ts → respond-BSL36dQp.d.ts} +1 -1
- package/dist/server/index.d.ts +27 -19
- package/dist/server/index.js +4 -4
- package/dist/{server-types-BKN_R4Ws.d.ts → server-types-fLdep4gb.d.ts} +11 -9
- package/dist/{session-CwpfitmI.d.ts → session-DObioXpX.d.ts} +3 -3
- package/dist/solid/index.d.ts +7 -7
- package/dist/{solid-controller-Uqi5ef6z.d.ts → solid-controller-CWotGxcG.d.ts} +1 -1
- package/dist/solid-start/index.d.ts +5 -5
- package/dist/solid-start/index.js +2 -2
- package/dist/sql/index.d.ts +1 -1
- package/dist/sql/index.js +1 -1
- package/dist/{sql-DCfCbS2j.js → sql-CT1Jnwp8.js} +1 -1
- package/dist/ssr/index.d.ts +4 -4
- package/dist/ssr/index.js +1 -1
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +11 -0
- package/dist/{subject-readers-BNQzBDN9.d.ts → subject-readers-BUChuOxL.d.ts} +1 -1
- package/dist/{support-BAhTqI7y.js → support-C2wPYwD7.js} +1 -1
- package/dist/{support-view-IRnDLuGN.d.ts → support-view-Bj_lZ8Wr.d.ts} +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/{svelte-controller-BQOIXWEw.d.ts → svelte-controller-sS4X66yL.d.ts} +1 -1
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tags-AUpl4Ob9.d.ts → tags-BrGopDVG.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-db/supabase/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +5 -5
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tenant-BNp3kBAG.d.ts → tenant-DZMLVuyQ.d.ts} +2 -2
- package/dist/testing/index.d.ts +13 -15
- package/dist/{topic-1WTkDnPd.d.ts → topic-DAY_HOX2.d.ts} +3 -3
- package/dist/{types-DDQ-Rsep.d.ts → types-BA1eTvy4.d.ts} +1 -1
- package/dist/{types-Bq64h5nY.d.ts → types-Bels39_u.d.ts} +2 -2
- package/dist/{types-DO9xWsGC.d.ts → types-DOC7wnh6.d.ts} +11 -2
- package/dist/{types-B4zhT6dq.d.ts → types-D_2rClz-.d.ts} +1 -1
- package/dist/upload-claim-BBFCZbBF.js +33 -0
- package/dist/{vault-DR2-zOjz.d.ts → vault-ClkzMGTP.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-BucYsoKq.d.ts → verify-DU4p9-Ve.d.ts} +1 -1
- package/dist/{version-TXpQEfh1.js → version-DSWxci83.js} +1 -1
- package/dist/{view-Bf7e07rQ.d.ts → view-KQhe6eNc.d.ts} +1 -1
- package/dist/vue/index.d.ts +7 -7
- package/dist/{vue-controller-Cav6Wt_r.d.ts → vue-controller-BUo1oove.d.ts} +1 -1
- package/dist/{watch-ry70AEm6.d.ts → watch-5btote1y.d.ts} +2 -2
- package/dist/{watch-topic-DWHy63ZJ.d.ts → watch-topic-C79ZW5-R.d.ts} +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/{workflow-sdk-DM7T3sF4.d.ts → workflow-sdk-CWdCWj7M.d.ts} +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/cli-commands-v1.json +15 -0
- package/schemas/config-v1.json +1 -1
- package/schemas/doctor-report-v1.json +1 -0
- package/dist/cli/add-DzRJEHzD.js +0 -1
- package/dist/cli/adopt-DDy50yz9.js +0 -1
- package/dist/cli/env-D-O91RK1.js +0 -1
- package/dist/cli/seed-C_BmN498.js +0 -1
|
@@ -6,7 +6,7 @@ import { t as BlockTransport } from "./block-transport-DezJPPA0.js";
|
|
|
6
6
|
import { r as BlockTemporalOptions } from "./block-helpers-CjcQM1yA.js";
|
|
7
7
|
import { n as BlockHooks } from "./block-hooks-DcPJHztl.js";
|
|
8
8
|
import { r as FieldsOf } from "./block-fields-DnaDbgZS.js";
|
|
9
|
-
import { u as KnowledgeScope } from "./knowledge-
|
|
9
|
+
import { u as KnowledgeScope } from "./knowledge-B5zdpDD-.js";
|
|
10
10
|
//#region src/blocks/agents/agents.d.ts
|
|
11
11
|
type AgentVisibility = "private" | "organization" | "public";
|
|
12
12
|
/** A knowledge scope an agent searches: its own (`agent`) or another one. */
|
|
@@ -5,6 +5,7 @@ import { t as fromStorageError } from "./errors-D3BR8iUk.js";
|
|
|
5
5
|
import { C as optionalText, D as recordOf, I as textOf, S as optionalInstant, _ as notFoundError, b as oneOf, h as instantOf, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "./block-helpers-DkVZNDrj.js";
|
|
6
6
|
import { r as withBlockHooks } from "./block-hooks-C22vuIUd.js";
|
|
7
7
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "./block-fields-Bv1hV855.js";
|
|
8
|
+
import { n as claimsUploads, t as claimUpload } from "./upload-claim-BBFCZbBF.js";
|
|
8
9
|
//#region src/blocks/ai-files/rows.ts
|
|
9
10
|
const FILE_STATUSES = [
|
|
10
11
|
"pending",
|
|
@@ -122,6 +123,10 @@ function parseAiFileUrl(url) {
|
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
125
|
const notFound = () => notFoundError("No AI file you can see has this id", "AI_FILE_NOT_FOUND");
|
|
126
|
+
const CLAIM_HINTS = {
|
|
127
|
+
notUploaded: "AI_FILE_NOT_UPLOADED",
|
|
128
|
+
forbidden: "AI_FILE_FORBIDDEN"
|
|
129
|
+
};
|
|
125
130
|
const notReady = () => dbError("invalid_request", "The file is not uploaded yet", { hint: "AI_FILE_NOT_READY" });
|
|
126
131
|
function stored(reply) {
|
|
127
132
|
return AsyncResult.from(async () => {
|
|
@@ -174,10 +179,13 @@ function createAiFiles(options) {
|
|
|
174
179
|
signedUrl: url.signedUrl,
|
|
175
180
|
token: url.token
|
|
176
181
|
}))),
|
|
177
|
-
confirm: (fileId, sha256) =>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
182
|
+
confirm: (fileId, sha256) => {
|
|
183
|
+
const confirmed = () => call("confirm_ai_file", {
|
|
184
|
+
file_id: fileId,
|
|
185
|
+
sha256
|
|
186
|
+
}, (value) => value).andThen(typed);
|
|
187
|
+
return claimsUploads(options.storage) ? get(fileId).andThen((row) => row.status === "pending" ? claimUpload(options.storage, row, CLAIM_HINTS).andThen(confirmed) : confirmed()) : confirmed();
|
|
188
|
+
},
|
|
181
189
|
get,
|
|
182
190
|
resolve,
|
|
183
191
|
list: (chatId) => call("list_ai_files", { chat_id: chatId }, (value) => recordsOf(value, "list_ai_files").map((raw) => [raw, fileOf(raw)])).andThen((rows) => allWithFields(fields, rows)),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as SessionActor, c as agentClaims, r as AgentActOptions } from "../../actor-BAhb-d1S.js";
|
|
2
|
-
import { d as KnowledgeSearchOptions, o as KnowledgeHit, r as Knowledge } from "../../knowledge-
|
|
3
|
-
import { t as Agent } from "../../agents-
|
|
2
|
+
import { d as KnowledgeSearchOptions, o as KnowledgeHit, r as Knowledge } from "../../knowledge-B5zdpDD-.js";
|
|
3
|
+
import { t as Agent } from "../../agents-CGP2AQge.js";
|
|
4
4
|
import { P as AiToolPolicy, _ as AiModerationAction, b as AiModerationStage, i as AiChat } from "../../ai-chat-D-2MH1sU.js";
|
|
5
5
|
import { r as AuthorizationOperation } from "../../authorization-ClWBcXJi.js";
|
|
6
6
|
import { t as OperationTable } from "../../operations-DQCWqkt3.js";
|
|
7
|
-
import { i as SearchToolOptions, r as ResultsFilter } from "../../embeddings-
|
|
7
|
+
import { i as SearchToolOptions, r as ResultsFilter } from "../../embeddings-CKhygw4C.js";
|
|
8
8
|
import { n as GatewayOptions } from "../../gateway-options-ClvvfuuU.js";
|
|
9
9
|
import { LanguageModel, LanguageModelMiddleware, StopCondition, ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
|
|
10
10
|
//#region src/ai-sdk/agents/authorization.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-BREt7qOh.js";
|
|
2
2
|
import { i as CursorPageOptions } from "../../block-helpers-CjcQM1yA.js";
|
|
3
3
|
import { g as JobHandler } from "../../types-BEEFkNFY.js";
|
|
4
|
-
import { i as AiBatchItemInput, r as AiBatchItem, t as AiBatch, u as AiProviders } from "../../types-
|
|
4
|
+
import { i as AiBatchItemInput, r as AiBatchItem, t as AiBatch, u as AiProviders } from "../../types-BA1eTvy4.js";
|
|
5
5
|
import { Experimental_BatchItemResult, Experimental_BatchProvider, Experimental_BatchReference, Experimental_BatchStatus, Experimental_StartBatchOptions, Experimental_StartBatchResult } from "ai";
|
|
6
6
|
//#region src/ai-sdk/batches/batches.d.ts
|
|
7
7
|
/** The AI SDK batch calls, replaceable in tests. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as Embedder, o as KnowledgeHit } from "../../knowledge-
|
|
2
|
-
import { a as SearchToolResult, c as embedWith, d as searchTool, f as supabaseEmbed, i as SearchToolOptions, l as modelName, n as Reranker, o as SupabaseAiSession, p as toSourceParts, r as ResultsFilter, s as SupabaseEmbedOptions, t as EmbedWithOptions, u as rerankWith } from "../../embeddings-
|
|
1
|
+
import { n as Embedder, o as KnowledgeHit } from "../../knowledge-B5zdpDD-.js";
|
|
2
|
+
import { a as SearchToolResult, c as embedWith, d as searchTool, f as supabaseEmbed, i as SearchToolOptions, l as modelName, n as Reranker, o as SupabaseAiSession, p as toSourceParts, r as ResultsFilter, s as SupabaseEmbedOptions, t as EmbedWithOptions, u as rerankWith } from "../../embeddings-CKhygw4C.js";
|
|
3
3
|
export { type EmbedWithOptions, type Embedder, type KnowledgeHit, type Reranker, type ResultsFilter, type SearchToolOptions, type SearchToolResult, type SupabaseAiSession, type SupabaseEmbedOptions, embedWith, modelName, rerankWith, searchTool, supabaseEmbed, toSourceParts };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, t as AsyncResult } from "../../result-BREt7qOh.js";
|
|
3
3
|
import { r as AiFilePart } from "../../message-B0fNJgq8.js";
|
|
4
|
-
import { c as AiFileSource, f as AiFiles } from "../../types-
|
|
4
|
+
import { c as AiFileSource, f as AiFiles } from "../../types-DOC7wnh6.js";
|
|
5
5
|
import { Experimental_DownloadFunction } from "ai";
|
|
6
6
|
//#region src/ai-sdk/files/files.d.ts
|
|
7
7
|
interface AiFileDownloadOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BV1SKTVs.js";
|
|
2
2
|
import { a as ok, r as err, t as AsyncResult } from "../../result-DIeYscA3.js";
|
|
3
3
|
import { f as errorText } from "../../block-helpers-DkVZNDrj.js";
|
|
4
|
-
import { r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-
|
|
4
|
+
import { r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-ChFDkMLN.js";
|
|
5
5
|
import { createDownload } from "ai";
|
|
6
6
|
//#region src/ai-sdk/files/files.ts
|
|
7
7
|
/** Thrown by the download function, so the SDK reports a failed file part. */
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { i as AiMessage } from "../message-B0fNJgq8.js";
|
|
|
4
4
|
import { g as JobHandler } from "../types-BEEFkNFY.js";
|
|
5
5
|
import { U as AiSandboxes } from "../ai-chat-D-2MH1sU.js";
|
|
6
6
|
import { n as GatewayOptions, r as gatewayOptions, t as GatewayContext } from "../gateway-options-ClvvfuuU.js";
|
|
7
|
-
import { p as ResolvedProviderKey, u as AiProviders } from "../types-
|
|
7
|
+
import { p as ResolvedProviderKey, u as AiProviders } from "../types-BA1eTvy4.js";
|
|
8
8
|
import { a as Usage } from "../usage-C504GF55.js";
|
|
9
9
|
import { a as GatewayClient, c as UsageSource, d as modelInputOf, f as problem429, h as usageQuota, i as CostBackfillPayload, l as costBackfill, m as usageOf, n as AiUsageMeters, o as GatewayModelEntry, p as usageEntries, r as CostBackfillOptions, s as ModelCatalogRefreshOptions, t as AiUsage, u as modelCatalogRefresh } from "../gateway-Bq_tWwxE.js";
|
|
10
10
|
import { i as fromModelMessages, n as ModelApproval, r as ModelSource, t as FromModelMessagesOptions } from "../model-messages-D4GZllOD.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, t as AsyncResult } from "../../result-BREt7qOh.js";
|
|
2
|
-
import { i as CredentialRef, r as CredentialProvider } from "../../provider-
|
|
3
|
-
import { r as ConnectorServer, s as Connectors } from "../../connectors-
|
|
4
|
-
import { n as VaultCredentials } from "../../vault-
|
|
2
|
+
import { i as CredentialRef, r as CredentialProvider } from "../../provider-DXgx5oSA.js";
|
|
3
|
+
import { r as ConnectorServer, s as Connectors } from "../../connectors-BwPNt-ZG.js";
|
|
4
|
+
import { n as VaultCredentials } from "../../vault-ClkzMGTP.js";
|
|
5
5
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, t as SupabaseMcpFeature } from "../../supabase-mcp-C6tMoEjn.js";
|
|
6
6
|
import { ToolSet } from "ai";
|
|
7
7
|
import { ElicitResult, ElicitationRequest, MCPClient, OAuthClientMetadata, OAuthClientProvider } from "@ai-sdk/mcp";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as JobHandler } from "../../types-BEEFkNFY.js";
|
|
2
|
-
import { r as ResultsFilter } from "../../embeddings-
|
|
3
|
-
import { i as MemoryHit, n as MemoryCommand, s as MemoryNamespace, t as Memory } from "../../types-
|
|
2
|
+
import { r as ResultsFilter } from "../../embeddings-CKhygw4C.js";
|
|
3
|
+
import { i as MemoryHit, n as MemoryCommand, s as MemoryNamespace, t as Memory } from "../../types-D_2rClz-.js";
|
|
4
4
|
import { LanguageModel, Tool } from "ai";
|
|
5
5
|
//#region src/ai-sdk/memory/memory.d.ts
|
|
6
6
|
/** The memory tool for any model, with the commands of Anthropic's memory tool. */
|
|
@@ -8,7 +8,7 @@ import { n as BlockHooks } from "./block-hooks-DcPJHztl.js";
|
|
|
8
8
|
import { r as FieldsOf } from "./block-fields-DnaDbgZS.js";
|
|
9
9
|
import { g as JobHandler } from "./types-BEEFkNFY.js";
|
|
10
10
|
import { r as RunState } from "./run-state-CPo-1X2B.js";
|
|
11
|
-
import { n as Notifier } from "./ports-
|
|
11
|
+
import { n as Notifier } from "./ports-P0A5wo_-.js";
|
|
12
12
|
//#region src/blocks/ai-tasks/ai-tasks.d.ts
|
|
13
13
|
/** A task run's state, in the words ai-chat and workflow runs share. */
|
|
14
14
|
type AiTaskRunStatus = Extract<RunState, "queued" | "running" | "completed" | "failed">;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as AsyncResult } from "./result-BREt7qOh.js";
|
|
3
3
|
import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
4
4
|
import { t as StandardSchemaV1 } from "./standard-BcUQuUgu.js";
|
|
5
|
-
import { n as AuthResolver } from "./resolve-
|
|
5
|
+
import { n as AuthResolver } from "./resolve-Ceft-18-.js";
|
|
6
6
|
import { t as BlockTransport } from "./block-transport-DezJPPA0.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "./block-helpers-CjcQM1yA.js";
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DcPJHztl.js";
|
|
@@ -6,7 +6,7 @@ import { t as BlockTransport } from "./block-transport-DezJPPA0.js";
|
|
|
6
6
|
import { r as BlockTemporalOptions } from "./block-helpers-CjcQM1yA.js";
|
|
7
7
|
import { n as BlockHooks } from "./block-hooks-DcPJHztl.js";
|
|
8
8
|
import { r as FieldsOf } from "./block-fields-DnaDbgZS.js";
|
|
9
|
-
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-
|
|
9
|
+
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-WDQMKIsc.js";
|
|
10
10
|
//#region src/blocks/approvals/approvals.d.ts
|
|
11
11
|
interface ApprovalsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
package/dist/astro/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as AnyModels, i as AnyFunctions } from "../types-BrpW5ixT.js";
|
|
2
|
-
import { t as BetterSupabase } from "../define-
|
|
3
|
-
import { j as StorageImageOptions } from "../index-
|
|
4
|
-
import { n as BetterServer } from "../server-types-
|
|
5
|
-
import { a as AuthorizedContext, c as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
6
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
7
|
-
import { n as FrameworkOptions, t as FrameworkLocals } from "../framework-
|
|
2
|
+
import { t as BetterSupabase } from "../define-DYZnvAbs.js";
|
|
3
|
+
import { j as StorageImageOptions } from "../index-Hc4tetmB.js";
|
|
4
|
+
import { n as BetterServer } from "../server-types-fLdep4gb.js";
|
|
5
|
+
import { a as AuthorizedContext, c as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-De-EVRhw.js";
|
|
6
|
+
import { t as RefusalRedirects } from "../refusal-C7geIBRl.js";
|
|
7
|
+
import { n as FrameworkOptions, t as FrameworkLocals } from "../framework-BQhTsLX-.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
//#region src/astro/index.d.ts
|
|
10
10
|
/** The part of Astro's `APIContext` (middleware, pages, endpoints, actions) the integration uses. */
|
package/dist/astro/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
1
|
+
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-CRNH2aX_.js";
|
|
2
2
|
import { t as defaultExpose } from "../respond-Bhp3G__q.js";
|
|
3
3
|
import { i as requireCaller, o as runAction } from "../kit-LTbHrWWD.js";
|
|
4
4
|
import { t as storageImageUrl } from "../image-url-pIVlO6R1.js";
|
|
5
5
|
import { t as around } from "../shared-BmMcMoW9.js";
|
|
6
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
6
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-C6PKBgme.js";
|
|
7
7
|
import { r as refusalResponse } from "../refusal-CFpfmjcS.js";
|
|
8
8
|
//#region src/astro/index.ts
|
|
9
9
|
function runtimeEnv(locals) {
|
|
@@ -5,6 +5,7 @@ import { t as fromStorageError } from "./errors-D3BR8iUk.js";
|
|
|
5
5
|
import { C as optionalText, D as recordOf, I as textOf, R as toInstant, S as optionalInstant, f as errorText, k as recordsOf, n as applyTemporal, o as blockCall } from "./block-helpers-DkVZNDrj.js";
|
|
6
6
|
import { r as withBlockHooks } from "./block-hooks-C22vuIUd.js";
|
|
7
7
|
import { c as withFields, i as extraOf, n as blockFields, r as extraFieldsArg, t as allWithFields } from "./block-fields-Bv1hV855.js";
|
|
8
|
+
import { n as claimsUploads, t as claimUpload } from "./upload-claim-BBFCZbBF.js";
|
|
8
9
|
//#region src/blocks/attachments/attachments.ts
|
|
9
10
|
const STATUSES = [
|
|
10
11
|
"pending",
|
|
@@ -39,6 +40,10 @@ function attachmentOf(value) {
|
|
|
39
40
|
scannedAt: optionalInstant(row["scanned_at"])
|
|
40
41
|
};
|
|
41
42
|
}
|
|
43
|
+
const CLAIM_HINTS = {
|
|
44
|
+
notUploaded: "ATTACHMENT_NOT_UPLOADED",
|
|
45
|
+
forbidden: "ATTACHMENT_FORBIDDEN"
|
|
46
|
+
};
|
|
42
47
|
const notFound = () => dbError("not_found", "No attachment you can see has this id", { hint: "ATTACHMENT_NOT_FOUND" });
|
|
43
48
|
/** A Storage reply as a result, its error mapped to a `DbError`. */
|
|
44
49
|
function stored(reply) {
|
|
@@ -84,7 +89,8 @@ function createAttachments(options) {
|
|
|
84
89
|
const fields = blockFields(options.fields, "attachment fields");
|
|
85
90
|
const typed = (value) => AsyncResult.from(() => withFields(fields, value, attachmentOf(value)));
|
|
86
91
|
const find = (id) => call("get_attachment", { id }, (value) => value).andThen((value) => isRecord(value) ? typed(value) : AsyncResult.err(notFound()));
|
|
87
|
-
const
|
|
92
|
+
const confirmed = (id) => call("confirm_attachment", { id }, (value) => value).andThen(typed);
|
|
93
|
+
const confirm = (id) => claimsUploads(options.storage) ? lookup(call, id).andThen((attachment) => attachment.uploadedAt === void 0 ? claimUpload(options.storage, attachment, CLAIM_HINTS).andThen(() => confirmed(id)) : confirmed(id)) : confirmed(id);
|
|
88
94
|
const requireScan = options.requireScan ?? true;
|
|
89
95
|
const ttl = options.downloadTtl ?? 300;
|
|
90
96
|
const bucket = (attachment) => options.storage.from(attachment.bucket);
|
|
@@ -140,7 +146,7 @@ function createAttachments(options) {
|
|
|
140
146
|
upsert: false
|
|
141
147
|
}));
|
|
142
148
|
if (!sent.ok) return discard(created, sent.error);
|
|
143
|
-
return
|
|
149
|
+
return confirmed(created.id);
|
|
144
150
|
}),
|
|
145
151
|
read: (id) => find(id).andThen((attachment) => {
|
|
146
152
|
const blocked = gate(attachment);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as RequestContext } from "./plugin-D-95Q0w0.js";
|
|
2
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
+
import { r as AuthState } from "./resolve-Ceft-18-.js";
|
|
3
3
|
//#region src/core/contracts/authorization-hooks.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An email address or chat user, as a bot or a mail webhook sees it. The
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as DbError, n as BetterResultApi, t as AsyncResult } from "../result-BREt7qOh.js";
|
|
2
2
|
import { B as TableKey, D as PrimaryKeyValue, G as Update, S as Insert, V as TableMeta, W as UniqueWhere, a as AnyModels, i as AnyFunctions } from "../types-BrpW5ixT.js";
|
|
3
3
|
import { r as ApplyExtension } from "../plugin-D-95Q0w0.js";
|
|
4
|
-
import { A as OverloadedName, B as UpsertArgs, Bt as WhereInput, C as ManyReturningArgs, Ct as FindOnlyArgs, D as OffsetRangeArgs, E as OffsetPageArgs, G as SearchScore, H as WriteArgs, I as Returned, It as RequestArgs, K as InferReadSetParams, L as RpcArgs, M as PlainName, N as RawRpcOptions, Nt as Payload, O as OverloadArgs, Pt as ReadArgs, R as RpcOptions, S as ManyResult, St as FindManyArgs, U as WriteManyArgs, V as UpsertManyArgs, W as SearchArgs, _ as Db, at as QuerySpec, b as DeleteExt, dt as AggregateArgs, et as ReadSetResult, g as CursorPageArgs, it as InferResult, j as PageOf, k as OverloadReturns, mt as AggregateResult, q as ReadSet, w as NoArgName, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs } from "../define-
|
|
5
|
-
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-
|
|
4
|
+
import { A as OverloadedName, B as UpsertArgs, Bt as WhereInput, C as ManyReturningArgs, Ct as FindOnlyArgs, D as OffsetRangeArgs, E as OffsetPageArgs, G as SearchScore, H as WriteArgs, I as Returned, It as RequestArgs, K as InferReadSetParams, L as RpcArgs, M as PlainName, N as RawRpcOptions, Nt as Payload, O as OverloadArgs, Pt as ReadArgs, R as RpcOptions, S as ManyResult, St as FindManyArgs, U as WriteManyArgs, V as UpsertManyArgs, W as SearchArgs, _ as Db, at as QuerySpec, b as DeleteExt, dt as AggregateArgs, et as ReadSetResult, g as CursorPageArgs, it as InferResult, j as PageOf, k as OverloadReturns, mt as AggregateResult, q as ReadSet, w as NoArgName, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs } from "../define-DYZnvAbs.js";
|
|
5
|
+
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-aXr2WkGA.js";
|
|
6
6
|
import { Result } from "better-result";
|
|
7
7
|
//#region src/better-result/better-result.d.ts
|
|
8
8
|
/** better-result's `Result` namespace with the function each `DbError` goes through. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as AnyModels, i as AnyFunctions } from "./types-BrpW5ixT.js";
|
|
2
|
-
import { _ as Db, t as BetterSupabase } from "./define-
|
|
3
|
-
import { t as ClientPorts } from "./ports-
|
|
4
|
-
import { s as BetterQueries } from "./index-
|
|
2
|
+
import { _ as Db, t as BetterSupabase } from "./define-DYZnvAbs.js";
|
|
3
|
+
import { t as ClientPorts } from "./ports-BCDIbC_U.js";
|
|
4
|
+
import { s as BetterQueries } from "./index-XcTBR4Gb.js";
|
|
5
5
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
6
6
|
//#region src/client/bind.d.ts
|
|
7
7
|
interface AuthUser {
|
|
@@ -7,7 +7,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CjcQM1yA.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DcPJHztl.js";
|
|
9
9
|
import { r as FieldsOf } from "../../block-fields-DnaDbgZS.js";
|
|
10
|
-
import { s as BlockOf } from "../../define-block-
|
|
10
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
11
11
|
//#region src/blocks/access-requests/access-requests.d.ts
|
|
12
12
|
interface AccessRequestsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as AgentEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
|
-
import { a as AgentSkill, c as AgentsOptions, i as AgentKnowledgeScope, l as NewAgent, n as AgentFields, o as AgentVisibility, r as AgentFilter, s as Agents, t as Agent, u as createAgents } from "../../agents-
|
|
4
|
-
import { s as BlockOf } from "../../define-block-
|
|
3
|
+
import { a as AgentSkill, c as AgentsOptions, i as AgentKnowledgeScope, l as NewAgent, n as AgentFields, o as AgentVisibility, r as AgentFilter, s as Agents, t as Agent, u as createAgents } from "../../agents-CGP2AQge.js";
|
|
4
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
5
5
|
//#region src/blocks/agents/events.d.ts
|
|
6
6
|
/** The events of the `agents` block: type to data. */
|
|
7
7
|
type AgentsEvents = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
2
2
|
import { a as AiCacheSetOptions, i as AiCacheOptions, n as AiCacheEntry, o as cacheKey, r as AiCacheKind, s as createAiCache, t as AiCache } from "../../ai-cache-BdeJKlrV.js";
|
|
3
|
-
import { s as BlockOf } from "../../define-block-
|
|
3
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
4
4
|
//#region src/blocks/ai-cache/manifest.d.ts
|
|
5
5
|
/** The `ai-cache` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const aiCacheBlock: BlockOf<"ai-cache", typeof createAiCache>;
|
|
@@ -2,8 +2,8 @@ import { g as AiToolEventData, m as AiChatEventData, wt as Events } from "../../
|
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
3
|
import { a as AiMessagePart, c as AiReasoningPart, d as AiTextPart, f as AiToolApprovalPart, g as isAiMessage, h as aiMessageSchema, i as AiMessage, l as AiSourcePart, m as AiToolResultPart, n as AiDataPart, o as AiMessagePartType, p as AiToolCallPart, r as AiFilePart, s as AiMessageRole, t as AI_MESSAGE_SCHEMA_ID, u as AiStepPart } from "../../message-B0fNJgq8.js";
|
|
4
4
|
import { $ as AiRunStep, A as AiStoredMessageStatus, B as AiSandbox, C as AiProject, D as AiSaveResult, E as AiRunStatus, F as AiUserMessageTrigger, G as AiHarnessSession, H as AiSandboxStopper, I as SharedAiChat, J as AiHarnessStatus, K as AiHarnessSessionPatch, L as aiChatListTopic, M as AiToolApproval, N as AiToolApprovalRequest, O as AiShareLink, P as AiToolPolicy, Q as AiRunState, R as aiChatTopic, S as AiPendingInputRequest, T as AiRunRelease, U as AiSandboxes, V as AiSandboxStatus, W as NewAiSandbox, X as AiRun, Y as AiPendingApproval, Z as AiRunQuery, _ as AiModerationAction, a as AiChatInput, b as AiModerationStage, c as AiChatPatch, d as AiChatShare, et as AiRunStepInput, f as AiChatVisibility, g as AiModelInput, h as AiModel, i as AiChat, j as AiStreamClaim, k as AiStoredMessage, l as AiChatQuery, m as AiMessageSibling, n as AiApprovalDecision, nt as AiRuns, o as AiChatOptions, p as AiFeedback, q as AiHarnessSessions, r as AiAssistantMessageOptions, rt as createHarnessSessions, s as AiChatPage, t as AiAppendResult, tt as AiRunStepStatus, u as AiChatRecord, v as AiModerationEvent, w as AiProjectInput, x as AiPendingInput, y as AiModerationInput, z as createAiChat } from "../../ai-chat-D-2MH1sU.js";
|
|
5
|
-
import { s as BlockOf } from "../../define-block-
|
|
6
|
-
import { _ as createAiChatTreeController, a as AiChatsActions, b as createAiShareController, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, m as AiShareController, n as AiChatTreeController, o as AiChatsController, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions, u as AiModelsController, v as createAiChatsController, y as createAiModelsController } from "../../client-
|
|
5
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
6
|
+
import { _ as createAiChatTreeController, a as AiChatsActions, b as createAiShareController, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, m as AiShareController, n as AiChatTreeController, o as AiChatsController, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions, u as AiModelsController, v as createAiChatsController, y as createAiModelsController } from "../../client-CYhSGlCN.js";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
//#region src/core/contracts/ai-message.d.ts
|
|
9
9
|
/** The `type` of each part in the canonical AI message (version 1); the SQL module and the message code both read it. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as AiChatQuery } from "../../../ai-chat-D-2MH1sU.js";
|
|
2
|
-
import { a as AiChatsActions, c as AiChatsSnapshot, f as AiModelsSnapshot, g as AiShareSnapshot, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, t as AiChatTreeActions } from "../../../client-
|
|
2
|
+
import { a as AiChatsActions, c as AiChatsSnapshot, f as AiModelsSnapshot, g as AiShareSnapshot, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, t as AiChatTreeActions } from "../../../client-CYhSGlCN.js";
|
|
3
3
|
//#region src/blocks/ai-chat/react/index.d.ts
|
|
4
4
|
interface ClientOptions {
|
|
5
5
|
/** The schema the calls go to: the module schema (default `better_supabase`), or the API schema from `blocks["ai-chat"].api`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-
|
|
1
|
+
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-CYhSGlCN.js";
|
|
2
2
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
3
|
-
import { t as SolidController } from "../../../solid-controller-
|
|
3
|
+
import { t as SolidController } from "../../../solid-controller-CWotGxcG.js";
|
|
4
4
|
//#region src/blocks/ai-chat/solid/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAiChatsController` as a Solid primitive: `state()` reads the snapshot.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-
|
|
1
|
+
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-CYhSGlCN.js";
|
|
2
2
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
3
|
-
import { t as SvelteController } from "../../../svelte-controller-
|
|
3
|
+
import { t as SvelteController } from "../../../svelte-controller-sS4X66yL.js";
|
|
4
4
|
//#region src/blocks/ai-chat/svelte/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAiChatsController` as a Svelte readable store of the snapshot, with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-
|
|
1
|
+
import { a as AiChatsActions, c as AiChatsSnapshot, d as AiModelsControllerOptions, f as AiModelsSnapshot, g as AiShareSnapshot, h as AiShareControllerOptions, i as AiChatTreeSnapshot, l as AiModelsActions, p as AiShareActions, r as AiChatTreeControllerOptions, s as AiChatsControllerOptions, t as AiChatTreeActions } from "../../../client-CYhSGlCN.js";
|
|
2
2
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
3
|
-
import { t as VueController } from "../../../vue-controller-
|
|
3
|
+
import { t as VueController } from "../../../vue-controller-BUo1oove.js";
|
|
4
4
|
//#region src/blocks/ai-chat/vue/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAiChatsController` as a Vue composable: `state` is a shallow ref of
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as StandardSchemaV1 } from "../../standard-BcUQuUgu.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
3
|
import { r as FieldsOf } from "../../block-fields-DnaDbgZS.js";
|
|
4
|
-
import { _ as NewAiFile, a as AiDocumentWithContent, c as AiFileSource, d as AiFileUpload, f as AiFiles, g as NewAiDocument, h as AiSuggestion, i as AiDocumentVersion, l as AiFileStatus, m as AiProviderFile, n as AiDocumentEdit, o as AiFile, p as AiFilesOptions, r as AiDocumentKind, s as AiFileBucket, t as AiDocument, u as AiFileStorage, v as StoredAiFile } from "../../types-
|
|
5
|
-
import { s as BlockOf } from "../../define-block-
|
|
4
|
+
import { _ as NewAiFile, a as AiDocumentWithContent, c as AiFileSource, d as AiFileUpload, f as AiFiles, g as NewAiDocument, h as AiSuggestion, i as AiDocumentVersion, l as AiFileStatus, m as AiProviderFile, n as AiDocumentEdit, o as AiFile, p as AiFilesOptions, r as AiDocumentKind, s as AiFileBucket, t as AiDocument, u as AiFileStorage, v as StoredAiFile } from "../../types-DOC7wnh6.js";
|
|
5
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
6
6
|
//#region src/blocks/ai-files/ai-files.d.ts
|
|
7
7
|
/** The URL a message stores for a file: `supabase-storage://{bucket}/{path}`. */
|
|
8
8
|
export declare function aiFileUrl(file: Pick<AiFile, "bucket" | "path">): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as aiFilesSqlOptions } from "../../options-B5BU2Yg7.js";
|
|
2
2
|
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-J7ZepTq2.js";
|
|
3
3
|
import { n as defineBlock } from "../../define-block-B6Gjs57G.js";
|
|
4
|
-
import { n as createAiFiles, r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-
|
|
4
|
+
import { n as createAiFiles, r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-ChFDkMLN.js";
|
|
5
5
|
//#region src/blocks/ai-files/manifest.ts
|
|
6
6
|
/** The `ai-files` block's manifest (ADR 0029). */
|
|
7
7
|
const aiFilesBlock = defineBlock({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as AiProviderKeyEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
|
-
import { a as AiBatchItemStatus, c as AiProviderKey, d as AiProvidersOptions, f as NewAiBatch, i as AiBatchItemInput, l as AiProviderKeyInput, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviders } from "../../types-
|
|
4
|
-
import { s as BlockOf } from "../../define-block-
|
|
3
|
+
import { a as AiBatchItemStatus, c as AiProviderKey, d as AiProvidersOptions, f as NewAiBatch, i as AiBatchItemInput, l as AiProviderKeyInput, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviders } from "../../types-BA1eTvy4.js";
|
|
4
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
5
5
|
//#region src/blocks/ai-providers/ai-providers.d.ts
|
|
6
6
|
/** Per-tenant provider keys and provider batch jobs. */
|
|
7
7
|
export declare function createAiProviders(options: AiProvidersOptions): AiProviders;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
2
|
-
import { s as BlockOf } from "../../define-block-
|
|
3
|
-
import { a as AiTaskRunStatus, c as AiTasksOptions, i as AiTaskRun, l as NewAiTask, n as AiTaskFields, o as AiTaskRunner, r as AiTaskOutcome, s as AiTasks, t as AiTask, u as createAiTasks } from "../../ai-tasks-
|
|
2
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
3
|
+
import { a as AiTaskRunStatus, c as AiTasksOptions, i as AiTaskRun, l as NewAiTask, n as AiTaskFields, o as AiTaskRunner, r as AiTaskOutcome, s as AiTasks, t as AiTask, u as createAiTasks } from "../../ai-tasks-ZvPnNudQ.js";
|
|
4
4
|
//#region src/blocks/ai-tasks/manifest.d.ts
|
|
5
5
|
/** The `ai-tasks` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const aiTasksBlock: BlockOf<"ai-tasks", typeof createAiTasks, Record<never, never>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as AnnouncementEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
|
-
import { s as BlockOf } from "../../define-block-
|
|
4
|
-
import { a as createAnnouncementsController, c as AnnouncementInput, d as AnnouncementsOptions, f as ManagedAnnouncement, i as AnnouncementsSnapshot, l as AnnouncementSeverity, n as AnnouncementsController, o as Announcement, p as createAnnouncements, r as AnnouncementsControllerOptions, s as AnnouncementAudience, t as AnnouncementsActions, u as Announcements } from "../../client-
|
|
3
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
4
|
+
import { a as createAnnouncementsController, c as AnnouncementInput, d as AnnouncementsOptions, f as ManagedAnnouncement, i as AnnouncementsSnapshot, l as AnnouncementSeverity, n as AnnouncementsController, o as Announcement, p as createAnnouncements, r as AnnouncementsControllerOptions, s as AnnouncementAudience, t as AnnouncementsActions, u as Announcements } from "../../client-CMxxwT3N.js";
|
|
5
5
|
//#region src/blocks/announcements/events.d.ts
|
|
6
6
|
/** The events of the `announcements` block: type to data. */
|
|
7
7
|
type AnnouncementsEvents = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as AnnouncementsSnapshot, t as AnnouncementsActions } from "../../../client-
|
|
1
|
+
import { i as AnnouncementsSnapshot, t as AnnouncementsActions } from "../../../client-CMxxwT3N.js";
|
|
2
2
|
//#region src/blocks/announcements/react/index.d.ts
|
|
3
3
|
export interface UseAnnouncementsOptions {
|
|
4
4
|
/** The active tenant, for tenant, role and plan audiences. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as SolidController } from "../../../solid-controller-
|
|
3
|
-
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-
|
|
2
|
+
import { t as SolidController } from "../../../solid-controller-CWotGxcG.js";
|
|
3
|
+
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-CMxxwT3N.js";
|
|
4
4
|
//#region src/blocks/announcements/solid/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAnnouncementsController` as a Solid primitive: `state()` reads the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as SvelteController } from "../../../svelte-controller-
|
|
3
|
-
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-
|
|
2
|
+
import { t as SvelteController } from "../../../svelte-controller-sS4X66yL.js";
|
|
3
|
+
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-CMxxwT3N.js";
|
|
4
4
|
//#region src/blocks/announcements/svelte/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAnnouncementsController` as a Svelte readable store of the snapshot,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as VueController } from "../../../vue-controller-
|
|
3
|
-
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-
|
|
2
|
+
import { t as VueController } from "../../../vue-controller-BUo1oove.js";
|
|
3
|
+
import { i as AnnouncementsSnapshot, r as AnnouncementsControllerOptions, t as AnnouncementsActions } from "../../../client-CMxxwT3N.js";
|
|
4
4
|
//#region src/blocks/announcements/vue/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createAnnouncementsController` as a Vue composable: `state` is a shallow ref
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { v as ApiKeyEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
2
|
-
import { r as AuthState } from "../../resolve-
|
|
2
|
+
import { r as AuthState } from "../../resolve-Ceft-18-.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
4
4
|
import { t as BlockProblemOptions } from "../../problem-DCDIQiTA.js";
|
|
5
|
-
import { s as BlockOf } from "../../define-block-
|
|
6
|
-
import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-
|
|
7
|
-
import { a as ApiKeysControllerOptions, i as ApiKeysController, n as ApiKeyDraft, o as ApiKeysSnapshot, r as ApiKeysActions, s as createApiKeysController, t as ApiKeyChange } from "../../client-
|
|
5
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
6
|
+
import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-AgDXbcql.js";
|
|
7
|
+
import { a as ApiKeysControllerOptions, i as ApiKeysController, n as ApiKeyDraft, o as ApiKeysSnapshot, r as ApiKeysActions, s as createApiKeysController, t as ApiKeyChange } from "../../client-DB34f_7i.js";
|
|
8
8
|
import { Entry } from "@supabase/middleware";
|
|
9
9
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
10
10
|
//#region src/blocks/api-keys/pipeline.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ApiKeyDraft, o as ApiKeysSnapshot, r as ApiKeysActions, t as ApiKeyChange } from "../../../client-
|
|
1
|
+
import { n as ApiKeyDraft, o as ApiKeysSnapshot, r as ApiKeysActions, t as ApiKeyChange } from "../../../client-DB34f_7i.js";
|
|
2
2
|
//#region src/blocks/api-keys/react/index.d.ts
|
|
3
3
|
export interface UseApiKeysOptions {
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ApiKeyDraft, t as ApiKeyChange } from "../../../client-
|
|
1
|
+
import { n as ApiKeyDraft, t as ApiKeyChange } from "../../../client-DB34f_7i.js";
|
|
2
2
|
import { ApiKeysState, UseApiKeysOptions } from "./index.js";
|
|
3
3
|
//#region src/blocks/api-keys/react/server.d.ts
|
|
4
4
|
/** The `react-server` build of `useApiKeys`: call `apiKeys.list()` instead. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as SolidController } from "../../../solid-controller-
|
|
3
|
-
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-
|
|
2
|
+
import { t as SolidController } from "../../../solid-controller-CWotGxcG.js";
|
|
3
|
+
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-DB34f_7i.js";
|
|
4
4
|
//#region src/blocks/api-keys/solid/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createApiKeysController` as a Solid primitive: `state()` reads the snapshot.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as SvelteController } from "../../../svelte-controller-
|
|
3
|
-
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-
|
|
2
|
+
import { t as SvelteController } from "../../../svelte-controller-sS4X66yL.js";
|
|
3
|
+
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-DB34f_7i.js";
|
|
4
4
|
//#region src/blocks/api-keys/svelte/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createApiKeysController` as a Svelte readable store of the snapshot, with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockOptions } from "../../../block-env-Dxl7rsI0.js";
|
|
2
|
-
import { t as VueController } from "../../../vue-controller-
|
|
3
|
-
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-
|
|
2
|
+
import { t as VueController } from "../../../vue-controller-BUo1oove.js";
|
|
3
|
+
import { a as ApiKeysControllerOptions, o as ApiKeysSnapshot, r as ApiKeysActions } from "../../../client-DB34f_7i.js";
|
|
4
4
|
//#region src/blocks/api-keys/vue/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* `createApiKeysController` as a Vue composable: `state` is a shallow ref of
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as CollaborationEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
|
-
import { s as BlockOf } from "../../define-block-
|
|
4
|
-
import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-
|
|
3
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
4
|
+
import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-CyX709B-.js";
|
|
5
5
|
//#region src/blocks/approvals/events.d.ts
|
|
6
6
|
/** The events of the `approvals` block: type to data. */
|
|
7
7
|
type ApprovalsEvents = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ot as StorageObjectEventData, wt as Events, y as AttachmentEventData } from "../../events-P3raDX2E.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
3
|
-
import { s as BlockOf } from "../../define-block-
|
|
4
|
-
import { C as createAttachments, S as createAttachmentScanner, _ as ObjectScanJob, a as Attachment, b as ScanVerdict, c as AttachmentScanJob, d as AttachmentStatus, f as AttachmentStorage, g as NewAttachment, h as AttachmentsOptions, l as AttachmentScanner, m as Attachments, o as AttachmentBucket, p as AttachmentUpload, s as AttachmentDownload, u as AttachmentScannerOptions, v as ObjectScanner, w as createObjectScanner, x as ScannedObject, y as ObjectScannerOptions } from "../../ports-
|
|
3
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
4
|
+
import { C as createAttachments, S as createAttachmentScanner, _ as ObjectScanJob, a as Attachment, b as ScanVerdict, c as AttachmentScanJob, d as AttachmentStatus, f as AttachmentStorage, g as NewAttachment, h as AttachmentsOptions, l as AttachmentScanner, m as Attachments, o as AttachmentBucket, p as AttachmentUpload, s as AttachmentDownload, u as AttachmentScannerOptions, v as ObjectScanner, w as createObjectScanner, x as ScannedObject, y as ObjectScannerOptions } from "../../ports-P0A5wo_-.js";
|
|
5
5
|
//#region src/blocks/attachments/events.d.ts
|
|
6
6
|
/** The events of the `attachments` block: type to data. */
|
|
7
7
|
type AttachmentsEvents = {
|
|
@@ -2,7 +2,7 @@ import { t as attachmentsSqlOptions } from "../../options-CyD7OObW.js";
|
|
|
2
2
|
import { n as event, t as defineEvents } from "../../event-map-Dy2vKHai.js";
|
|
3
3
|
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-J7ZepTq2.js";
|
|
4
4
|
import { n as defineBlock } from "../../define-block-B6Gjs57G.js";
|
|
5
|
-
import { i as createObjectScanner, n as createAttachmentScanner, r as createAttachments } from "../../attachments-
|
|
5
|
+
import { i as createObjectScanner, n as createAttachmentScanner, r as createAttachments } from "../../attachments-CK8D8bIV.js";
|
|
6
6
|
//#region src/blocks/attachments/events.ts
|
|
7
7
|
/** The `attachments` block's event types, for its manifest and `onBlockEvent`. */
|
|
8
8
|
const attachmentsEvents = defineEvents({
|
|
@@ -3,8 +3,8 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-BREt7qOh.js";
|
|
|
3
3
|
import { b as AuditRevealEventData, wt as Events } from "../../events-P3raDX2E.js";
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DezJPPA0.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "../../block-helpers-CjcQM1yA.js";
|
|
6
|
-
import { s as BlockOf } from "../../define-block-
|
|
7
|
-
import { A as AuditSort, C as auditSink, D as AuditFacet, E as AuditEntry, F as exportAuditLog, I as purgeAuditLog, L as setAuditRetention, M as OcsfProduct, N as PurgeAuditLogOptions, O as AuditListDefinition, P as auditListQuery, R as toOcsf, S as auditEventOf, T as AuditCsvOptions, _ as AuditPage, a as AuditLogSnapshot, b as createAudit, c as AuditCursor, d as AuditExportBucket, f as AuditExportOptions, g as AuditLogOptions, h as AuditLog, i as AuditLogControllerOptions, j as ExportAuditLogOptions, k as AuditRetentionSource, l as AuditDetails, m as AuditListOptions, n as AuditLogActions, o as createAuditLogController, p as AuditExportToStorageOptions, r as AuditLogController, s as AuditColumns, t as AuditFilters, u as AuditEventInput, v as AuditRecord, w as AuditCsvColumn, x as AuditSinkOptions, y as AuditReverted } from "../../client-
|
|
6
|
+
import { s as BlockOf } from "../../define-block-BHxLHLys.js";
|
|
7
|
+
import { A as AuditSort, C as auditSink, D as AuditFacet, E as AuditEntry, F as exportAuditLog, I as purgeAuditLog, L as setAuditRetention, M as OcsfProduct, N as PurgeAuditLogOptions, O as AuditListDefinition, P as auditListQuery, R as toOcsf, S as auditEventOf, T as AuditCsvOptions, _ as AuditPage, a as AuditLogSnapshot, b as createAudit, c as AuditCursor, d as AuditExportBucket, f as AuditExportOptions, g as AuditLogOptions, h as AuditLog, i as AuditLogControllerOptions, j as ExportAuditLogOptions, k as AuditRetentionSource, l as AuditDetails, m as AuditListOptions, n as AuditLogActions, o as createAuditLogController, p as AuditExportToStorageOptions, r as AuditLogController, s as AuditColumns, t as AuditFilters, u as AuditEventInput, v as AuditRecord, w as AuditCsvColumn, x as AuditSinkOptions, y as AuditReverted } from "../../client-CHwNV8Kz.js";
|
|
8
8
|
//#region src/blocks/audit/events.d.ts
|
|
9
9
|
/** The events of the `audit` block: type to data. */
|
|
10
10
|
type AuditEvents = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as AuditLogSnapshot, n as AuditLogActions, t as AuditFilters } from "../../../client-
|
|
1
|
+
import { a as AuditLogSnapshot, n as AuditLogActions, t as AuditFilters } from "../../../client-CHwNV8Kz.js";
|
|
2
2
|
//#region src/blocks/audit/react/index.d.ts
|
|
3
3
|
export interface UseAuditLogOptions {
|
|
4
4
|
/** The organization; the table waits without one. */
|