permdock 0.19.0 → 0.20.1

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 (249) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +3 -3
  3. package/dist/{adoption-scan-C_VQ-J2f.js → adoption-scan-BTG9Noyy.js} +1 -1
  4. package/dist/agent/index.d.ts +2 -2
  5. package/dist/agent/index.js +1 -1
  6. package/dist/ai-sdk/index.d.ts +3 -3
  7. package/dist/ai-sdk/index.js +3 -3
  8. package/dist/{approval-policies-CYqdqAob.d.ts → approval-policies-CKlByf5o.d.ts} +1 -1
  9. package/dist/{approval-prompt-BxYbwOAU.d.ts → approval-prompt-CQFiO1KE.d.ts} +1 -1
  10. package/dist/approvals/index.d.ts +3 -3
  11. package/dist/{arazzo-Dc969CA2.js → arazzo-CDXfX4u0.js} +1 -1
  12. package/dist/{arazzo-4vfaXj0U.js → arazzo-D4mKdaWI.js} +2 -2
  13. package/dist/astro/index.d.ts +4 -4
  14. package/dist/astro/index.js +1 -1
  15. package/dist/{audience-GCXRRAeZ.js → audience-BUonniPx.js} +1 -1
  16. package/dist/authzen/index.d.ts +5 -5
  17. package/dist/authzen/index.js +1 -1
  18. package/dist/{automation-BJiJT_Xr.d.ts → automation-CpOk7Tlu.d.ts} +1 -1
  19. package/dist/better-auth/index.d.ts +1 -1
  20. package/dist/better-auth/index.js +1 -1
  21. package/dist/better-supabase/index.d.ts +10 -10
  22. package/dist/better-supabase/index.js +5 -5
  23. package/dist/{bind-SpRxR213.d.ts → bind-CW7nsZ86.d.ts} +7 -7
  24. package/dist/{bind-BnKPWRrE.js → bind-gwEbe9hL.js} +3 -3
  25. package/dist/{build-instance-DrIbZVnm.js → build-instance-DaBdCRiz.js} +1 -1
  26. package/dist/{capability-Ci2S8Cdu.d.ts → capability-v2xZB7us.d.ts} +1 -1
  27. package/dist/{casbin-ChbpgfNR.js → casbin-BXlRcCdU.js} +1 -1
  28. package/dist/{casbin-C1TQqWkK.js → casbin-COUi09Ti.js} +1 -1
  29. package/dist/catalog/index.d.ts +4 -4
  30. package/dist/catalog/index.js +4 -4
  31. package/dist/{challenge-D57I5G1k.js → challenge-DbkpCx_v.js} +1 -1
  32. package/dist/chat/index.d.ts +1 -1
  33. package/dist/chat/index.js +1 -1
  34. package/dist/chat-sdk/index.d.ts +3 -3
  35. package/dist/claude-agent/index.d.ts +3 -3
  36. package/dist/claude-agent/index.js +2 -2
  37. package/dist/clerk/index.d.ts +2 -2
  38. package/dist/cli/bin.js +1 -1
  39. package/dist/cli/index.d.ts +4 -4
  40. package/dist/cli/index.js +2 -2
  41. package/dist/cloud/index.d.ts +8 -8
  42. package/dist/cloud/index.js +1 -1
  43. package/dist/{cloud-Dgj4FiEG.js → cloud-BW7JKfrF.js} +2 -2
  44. package/dist/{codemod-DN_fBt43.js → codemod-6CBQaT0x.js} +2 -2
  45. package/dist/{codemod-WWxwgM77.js → codemod-CR9EQBVd.js} +1 -1
  46. package/dist/compile/index.d.ts +1 -1
  47. package/dist/{compile-RaRUQhmD.d.ts → compile-DZftFfXc.d.ts} +2 -2
  48. package/dist/{completion-DnmUvCw0.js → completion-CYRlOJzv.js} +1 -1
  49. package/dist/{config-CmuEoob8.js → config-6iLK155o.js} +1 -1
  50. package/dist/{config-report-BVm8Dhbj.js → config-report-BLroaWCe.js} +1 -1
  51. package/dist/convex/index.d.ts +4 -4
  52. package/dist/convex/index.js +2 -2
  53. package/dist/{core-DNRWXyj4.d.ts → core-BOeGWbcR.d.ts} +2 -2
  54. package/dist/{core-ZIWZBi6-.js → core-BwVkrpsi.js} +3 -3
  55. package/dist/{create-BECB6fns.d.ts → create-BezeYFcT.d.ts} +6 -6
  56. package/dist/{create-CAZyXZFC.js → create-C0R8omeF.js} +3 -3
  57. package/dist/{create-CegYmYHu.js → create-DDUFG1ul.js} +3 -3
  58. package/dist/{create-0B_bjJc-.d.ts → create-DMCC5ZOi.d.ts} +7 -7
  59. package/dist/{create-DJ_5REgN.d.ts → create-DYSYYiLr.d.ts} +4 -4
  60. package/dist/delivery/index.d.ts +4 -4
  61. package/dist/delivery/index.js +1 -1
  62. package/dist/{denied-text-CF-2h8Vz.d.ts → denied-text-De8cw3MW.d.ts} +1 -1
  63. package/dist/{describe-DyN-HX6o.d.ts → describe-DibQM6g-.d.ts} +1 -1
  64. package/dist/{diff-BOU7sSnv.js → diff-Bd1-VCe5.js} +2 -2
  65. package/dist/{diff-BrmvcPXk.js → diff-DXRNcjpg.js} +1 -1
  66. package/dist/{doctor-BhhNMkU8.js → doctor-CJcS0Mrq.js} +68 -16
  67. package/dist/{doctor-CL1OigyD.js → doctor-DYTgibLC.js} +2 -2
  68. package/dist/drizzle/index.d.ts +3 -3
  69. package/dist/elysia/index.d.ts +4 -4
  70. package/dist/elysia/index.js +1 -1
  71. package/dist/{errors-POWcCXy7.d.ts → errors-OTE9u4Wk.d.ts} +1 -1
  72. package/dist/{evaluate-CrKkjgXS.js → evaluate-Dcq_U2TV.js} +2 -2
  73. package/dist/{evaluations--rkKhMqY.d.ts → evaluations-BgxEfPL7.d.ts} +3 -3
  74. package/dist/eve/index.d.ts +4 -4
  75. package/dist/eve/index.js +2 -2
  76. package/dist/express/index.d.ts +4 -4
  77. package/dist/express/index.js +1 -1
  78. package/dist/fastify/index.d.ts +4 -4
  79. package/dist/fastify/index.js +1 -1
  80. package/dist/{fetch-adapter-Bq4AB3W2.d.ts → fetch-adapter-DCQ4pZxf.d.ts} +2 -2
  81. package/dist/{fetch-adapter-Bm1iZolz.js → fetch-adapter-acq4dPX3.js} +1 -1
  82. package/dist/{fields-COvJbUva.js → fields-D_TfExiI.js} +1 -1
  83. package/dist/{gen-D0NqzeOP.js → gen-CH50v9VI.js} +1 -1
  84. package/dist/{gen-DonXr9Hg.js → gen-gv_WHBIG.js} +1 -1
  85. package/dist/h3/index.d.ts +4 -4
  86. package/dist/h3/index.js +2 -2
  87. package/dist/hono/index.d.ts +4 -4
  88. package/dist/hono/index.js +1 -1
  89. package/dist/{hosted-iOGBI_ER.js → hosted-C2Pmhy2x.js} +2 -2
  90. package/dist/{hosted-H1xp5Dfw.d.ts → hosted-yhyAuQkL.d.ts} +1 -1
  91. package/dist/{import-DNaFHm53.js → import-BlwuuZkr.js} +1 -1
  92. package/dist/{import-C8ffNykt.js → import-C2ExjVvv.js} +46 -2
  93. package/dist/{index-C2pmTzFx.d.ts → index--AwSBzJC.d.ts} +2 -2
  94. package/dist/{index-DLlWORcK.d.ts → index-B_I6N8Ju.d.ts} +4 -4
  95. package/dist/{index-B9-ZXNa-.d.ts → index-Bt37QovT.d.ts} +4 -4
  96. package/dist/{index-C5Tfpjex.d.ts → index-CLbGOPBr.d.ts} +1 -1
  97. package/dist/{index-DZnpRB0q.d.ts → index-CruReRkB.d.ts} +4 -4
  98. package/dist/{index-Cm6mHTZ-.d.ts → index-D7xGi1LS.d.ts} +16 -8
  99. package/dist/index.d.ts +16 -16
  100. package/dist/index.js +8 -8
  101. package/dist/{init-QfBfkrGu.js → init-B62H9Kyx.js} +1 -1
  102. package/dist/{init-4aRjat-S.js → init-CalppFAI.js} +3 -3
  103. package/dist/{instance-options-D6hyIKJF.d.ts → instance-options-VPsNQsTH.d.ts} +1 -1
  104. package/dist/{instance-snapshot-DXxcizAb.js → instance-snapshot-SX8zH_1t.js} +2 -2
  105. package/dist/jwt/index.d.ts +4 -4
  106. package/dist/{kernel-B2UCK36Z.js → kernel-_QEUOSU0.js} +4 -4
  107. package/dist/kysely/index.d.ts +3 -3
  108. package/dist/{login-Cg1la2yJ.js → login-MxQV1BLh.js} +3 -3
  109. package/dist/{login-lPtJIjbO.js → login-dDb_8muO.js} +1 -1
  110. package/dist/{manifest-CDhdXgf6.js → manifest-DvDzxhy6.js} +33 -33
  111. package/dist/mcp/index.d.ts +8 -8
  112. package/dist/mcp/index.js +3 -3
  113. package/dist/{migrate-BbY5-Khy.js → migrate-CkLHdwuH.js} +1 -1
  114. package/dist/nest/index.d.ts +4 -4
  115. package/dist/nest/index.js +1 -1
  116. package/dist/next/index.d.ts +10 -10
  117. package/dist/next/index.js +2 -2
  118. package/dist/next/plugin.d.ts +1 -1
  119. package/dist/node/index.d.ts +4 -4
  120. package/dist/node/index.js +1 -1
  121. package/dist/openai/index.d.ts +4 -4
  122. package/dist/openai/index.js +3 -3
  123. package/dist/openapi/index.d.ts +2 -2
  124. package/dist/{openapi-C3BIVLTd.js → openapi-BkGtE5kX.js} +2 -2
  125. package/dist/{openapi-Cr0B3p2h.js → openapi-DKePsnln.js} +2 -2
  126. package/dist/orpc/index.d.ts +5 -5
  127. package/dist/orpc/index.js +2 -2
  128. package/dist/otel/index.d.ts +3 -3
  129. package/dist/{output-DYq_o2dM.js → output-B2h-2g3F.js} +1 -1
  130. package/dist/{ownership-CrmMERZv.js → ownership-MGHa5vfX.js} +3 -2
  131. package/dist/{parse-local-manifest-CQjRmzrw.d.ts → parse-local-manifest-CE4tgFsj.d.ts} +1 -1
  132. package/dist/pdp/index.d.ts +3 -3
  133. package/dist/pdp/index.js +1 -1
  134. package/dist/{permdock-DeOfonuG.js → permdock-C1DN_7a-.js} +3 -3
  135. package/dist/{permdock-B45vPQb4.d.ts → permdock-D4F2p5J8.d.ts} +3 -3
  136. package/dist/{permissions-Rk9_Gm04.js → permissions-8N2yFsUM.js} +1 -1
  137. package/dist/{policy-DTmkP72P.js → policy-CaAME-Rh.js} +1 -1
  138. package/dist/{policy-re2Oag8s.d.ts → policy-Dh9WVSVz.d.ts} +1 -1
  139. package/dist/{policy-from-catalog-Cljh_B5H.js → policy-from-catalog-CUNlpgz0.js} +4 -4
  140. package/dist/{policy-types-Ky7P23CP.d.ts → policy-types-BI9C5Sp5.d.ts} +8 -0
  141. package/dist/{postgrest-pwxeaeOW.d.ts → postgrest-CWCCbaxm.d.ts} +1 -1
  142. package/dist/{powersync-BoqBik-G.js → powersync-CB8RwcB4.js} +7 -7
  143. package/dist/powersync-Cs1E04s6.js +1 -0
  144. package/dist/{powersync-PKC4yT62.js → powersync-Deim9O47.js} +2 -2
  145. package/dist/prisma/index.d.ts +2 -2
  146. package/dist/{protected-action-DHPqBLhz.d.ts → protected-action-ua0cx5cW.d.ts} +5 -5
  147. package/dist/{provider-C-CbGEii.d.ts → provider-D_hgjZRa.d.ts} +1 -1
  148. package/dist/pull-BLT25Y5C.js +1 -0
  149. package/dist/{pull-FG0Tf8aF.js → pull-BxqVL4Es.js} +1 -1
  150. package/dist/{push-CI5G7lRS.js → push-D2SsRW0U.js} +1 -1
  151. package/dist/{pushed-policy-DftSiyD3.js → pushed-policy-BERO0x9O.js} +1 -1
  152. package/dist/{pushed-policy-B94r9DlN.d.ts → pushed-policy-P0hgyLBh.d.ts} +1 -1
  153. package/dist/react/index.d.ts +6 -6
  154. package/dist/react/provider-client.d.ts +1 -1
  155. package/dist/react-native/index.d.ts +8 -8
  156. package/dist/{replay-BqmXcP7x.d.ts → replay-DYXI4gRN.d.ts} +1 -1
  157. package/dist/{request-context-uvaevbBu.js → request-context-BPTi68z5.js} +1 -1
  158. package/dist/resend/index.d.ts +4 -4
  159. package/dist/{resolve-names-Dg8560iu.js → resolve-names-BZQZRnMH.js} +3 -3
  160. package/dist/{rls-DJSczevJ.js → rls-DpoJ5gCg.js} +1 -1
  161. package/dist/{rls-CJbWbxXv.js → rls-OPorg_2G.js} +13 -13
  162. package/dist/{role-builder-C_2kWB_x.js → role-builder-C5AgaC1x.js} +17 -2
  163. package/dist/{rpc-D7cDHIVE.d.ts → rpc-D2LnFELm.d.ts} +1 -1
  164. package/dist/{rpc-m5hPklf-.js → rpc-DdkbQVlT.js} +1 -1
  165. package/dist/run-CW0QsyA9.js +1 -0
  166. package/dist/{run-BigMDvGR.js → run-YCpANf1B.js} +2 -2
  167. package/dist/{run-ticket-DRA3POCY.d.ts → run-ticket-94DOS9Cd.d.ts} +2 -2
  168. package/dist/{saas-BHeoBqbW.js → saas-BEXnrH9H.js} +4 -4
  169. package/dist/{scan-BKLwCSVV.js → scan-COvn7ZjN.js} +1 -1
  170. package/dist/{schema-CLuBlCCr.js → schema-BfSDo7Xj.js} +1 -1
  171. package/dist/scim/index.d.ts +1 -1
  172. package/dist/server/index.d.ts +10 -10
  173. package/dist/server/index.js +1 -1
  174. package/dist/{server-types-CwpJe664.d.ts → server-types-ChzXWU4Y.d.ts} +8 -8
  175. package/dist/{shared-DyYVEjKC.js → shared-sW3VYchq.js} +2 -1
  176. package/dist/{sink-7Lrch8dn.d.ts → sink-RwmP7ZHs.d.ts} +2 -2
  177. package/dist/{skills-D42EyC8G.js → skills-Ce4C2dq1.js} +1 -1
  178. package/dist/{skills-CyD_3eoi.js → skills-N2Hd8KN8.js} +1 -1
  179. package/dist/{snapshot-cache-B9weL8NE.d.ts → snapshot-cache-MPinwwgZ.d.ts} +1 -1
  180. package/dist/solid/index.d.ts +5 -5
  181. package/dist/solid-start/index.d.ts +4 -4
  182. package/dist/solid-start/index.js +2 -2
  183. package/dist/{sources-4d3fl7cq.d.ts → sources-sgQlMfmz.d.ts} +1 -1
  184. package/dist/{src-HDDf9Eum.js → src-B8SQNsvw.js} +8 -6
  185. package/dist/ssf/index.d.ts +3 -3
  186. package/dist/{standard-webhooks-BGi8pUwo.d.ts → standard-webhooks-CFZIYtBF.d.ts} +2 -2
  187. package/dist/{store-CjJaZI_g.d.ts → store-Dpg_fSNQ.d.ts} +4 -4
  188. package/dist/{stores-Cam6GGAV.d.ts → stores-C2A6KsxE.d.ts} +5 -5
  189. package/dist/supabase/index.d.ts +5 -5
  190. package/dist/supabase/middleware.d.ts +5 -5
  191. package/dist/supabase/middleware.js +4 -4
  192. package/dist/supabase-hook-7XxWGHQF.js +1 -0
  193. package/dist/{supabase-hook-Btk56XD6.js → supabase-hook-BCSwK5x-.js} +11 -6
  194. package/dist/{supabase-DBuZK2pP.js → supabase-zL7PC3RG.js} +2 -2
  195. package/dist/{supautils-lwXmXPP_.js → supautils-7UES0i4a.js} +68 -9
  196. package/dist/svelte/index.d.ts +5 -5
  197. package/dist/svelte/runtime.d.ts +3 -3
  198. package/dist/svelte/source.d.ts +5 -5
  199. package/dist/sveltekit/index.d.ts +4 -4
  200. package/dist/sveltekit/index.js +1 -1
  201. package/dist/{tables-B72q9UFD.js → tables-DSX_Ma_n.js} +329 -68
  202. package/dist/tanstack-start/index.d.ts +4 -4
  203. package/dist/tanstack-start/index.js +1 -1
  204. package/dist/terminal/index.d.ts +5 -5
  205. package/dist/terminal/index.js +2 -2
  206. package/dist/testing/core.d.ts +1 -1
  207. package/dist/testing/core.js +1 -1
  208. package/dist/testing/index.d.ts +22 -22
  209. package/dist/testing/index.js +11 -11
  210. package/dist/testing/saas/index.d.ts +3 -3
  211. package/dist/testing/saas/index.js +2 -2
  212. package/dist/testing/saas/permissions.js +1 -1
  213. package/dist/trpc/index.d.ts +5 -5
  214. package/dist/trpc/index.js +2 -2
  215. package/dist/{type-helpers-CDxxNswo.d.ts → type-helpers-BjOLGVy1.d.ts} +1 -1
  216. package/dist/{types-CChFKY10.d.ts → types--_lpWUGV.d.ts} +4 -4
  217. package/dist/{types--HfnkawU.d.ts → types-BzxA2OAD.d.ts} +1 -1
  218. package/dist/{types-Bwdumeos.d.ts → types-C5p2hoBR.d.ts} +3 -3
  219. package/dist/{types-BVn1w_0o.d.ts → types-CMclYgSk.d.ts} +2 -2
  220. package/dist/{types-BwuNGQRm.d.ts → types-D1NjjwI4.d.ts} +1 -1
  221. package/dist/{types-g0Vk9k2c.d.ts → types-D8JVDWOr.d.ts} +2 -2
  222. package/dist/{types-oaqeYKQu.d.ts → types-DBVSljAx.d.ts} +2 -2
  223. package/dist/{types-Do4yihST.d.ts → types-DZwEOsK1.d.ts} +1 -1
  224. package/dist/{types-BlYPxJDR.d.ts → types-DnzRZjEu.d.ts} +4 -4
  225. package/dist/{types-OLSfBLa5.d.ts → types-Drs3OOAy.d.ts} +4 -4
  226. package/dist/{types-Do8qBcRO.d.ts → types-p8mhWTcR.d.ts} +3 -3
  227. package/dist/unplugin/index.d.ts +1 -1
  228. package/dist/{usage-BLhhEPcZ.js → usage-BcAqmjkj.js} +1 -1
  229. package/dist/usage-BdIS9NfN.js +1 -0
  230. package/dist/{usage-C-wta3rx.js → usage-CUnw73Y-.js} +5 -3
  231. package/dist/{validation-error-AhCHeeff.d.ts → validation-error-DkOK9zUE.d.ts} +1 -1
  232. package/dist/{verify-CaaZlnP5.js → verify-V08pirDB.js} +10 -10
  233. package/dist/{version-cache-Ddvrfn1R.d.ts → version-cache-q5cpaDSt.d.ts} +1 -1
  234. package/dist/vue/index.d.ts +5 -5
  235. package/dist/{waiter-CROiWRIP.d.ts → waiter-BjVI_Byg.d.ts} +2 -2
  236. package/dist/webmcp/index.d.ts +1 -1
  237. package/dist/{who-can-jPfTABf-.js → who-can-CZeAwQZD.js} +1 -1
  238. package/dist/workflow/index.d.ts +3 -3
  239. package/dist/workflow/index.js +1 -1
  240. package/dist/workflow-sdk/index.d.ts +4 -4
  241. package/dist/{wrap-C-4o-Dpy.d.ts → wrap-CE5lxje7.d.ts} +2 -2
  242. package/package.json +1 -1
  243. package/skills/permdock-data/SKILL.md +1 -1
  244. package/skills/permdock-data/references/queries-and-rls.md +2 -0
  245. package/dist/powersync-B96MUB_Q.js +0 -1
  246. package/dist/pull-BjdsS9x1.js +0 -1
  247. package/dist/run-4m-TyVTD.js +0 -1
  248. package/dist/supabase-hook-2M-EpoRp.js +0 -1
  249. package/dist/usage-Csc_ZRd0.js +0 -1
@@ -10,10 +10,10 @@ import { d as scopeList, o as normalizeMemberships, p as tenantOf } from "./scop
10
10
  import { o as pickVisible, s as sanitizeContext } from "./validity-Buc7w8E9.js";
11
11
  import { t as byCodePoint } from "./compare-DTfyUunF.js";
12
12
  import { c as nowSeconds, d as resolveActiveTenant, m as tenantsOf, p as scopeField, t as heldRoleNamesIn, u as relatesTo } from "./tenancy-DvOHHk3-.js";
13
- import { d as policyX } from "./policy-DTmkP72P.js";
13
+ import { d as policyX } from "./policy-CaAME-Rh.js";
14
14
  import { r as isSubject, t as anonymousSubject } from "./subject-C7RddW0G.js";
15
- import { D as emptyListeners, E as emitSafe, N as contactMemberships, O as finish, P as isContact, i as customRolesFor, o as roleSourceFor, r as assignableNamesFor, s as sourceName, t as evaluate, u as customGrantsFor, w as unknownLevelsFor } from "./evaluate-CrKkjgXS.js";
16
- import { c as heldRoleNames, d as audiencesOf, g as asMembershipSource, i as assignableIn, l as roleLeaf, o as collectSnapshotGrants, s as whereGrant, t as snapshotOf, u as applyRoleKinds } from "./instance-snapshot-DXxcizAb.js";
15
+ import { D as emptyListeners, E as emitSafe, N as contactMemberships, O as finish, P as isContact, i as customRolesFor, o as roleSourceFor, r as assignableNamesFor, s as sourceName, t as evaluate, u as customGrantsFor, w as unknownLevelsFor } from "./evaluate-Dcq_U2TV.js";
16
+ import { c as heldRoleNames, d as audiencesOf, g as asMembershipSource, i as assignableIn, l as roleLeaf, o as collectSnapshotGrants, s as whereGrant, t as snapshotOf, u as applyRoleKinds } from "./instance-snapshot-SX8zH_1t.js";
17
17
  import { r as relationReader, t as pendingRelations } from "./relations-BxvRvDHK.js";
18
18
  import { i as snapshotGrant } from "./snapshot-DHPih65J.js";
19
19
  import { a as decideForTarget, i as permittedIds, o as deniedFor, r as mayUse, s as signSnapshot, t as whereFromGrants } from "./where-scope-BAyOsPQW.js";
@@ -1,9 +1,9 @@
1
- import { D as Policy, Er as Condition, J as CustomRoleSourceFactory, N as PolicyVocabulary, Q as Intent, Sn as Scope, X as DecisionSink, Yn as Decision, Z as EntitlementSource, _t as TokenSigner, an as SnapshotTenants, ar as Quota, ct as RelationSource, en as Snapshot, er as ExplainedDecision, hr as Delegation, ir as Obligation, it as MembershipSource, lr as Actor, lt as SettingsSource, nr as LimitDetail, nt as LimitStore, q as CustomRoleSource, qt as Instant, un as DecisionEvent, vr as Membership, wr as AdapterId, xr as Subject, y as GrantLimit, yr as Principal } from "./policy-types-Ky7P23CP.js";
1
+ import { D as Policy, Er as Condition, J as CustomRoleSourceFactory, N as PolicyVocabulary, Q as Intent, Sn as Scope, X as DecisionSink, Yn as Decision, Z as EntitlementSource, _t as TokenSigner, an as SnapshotTenants, ar as Quota, ct as RelationSource, en as Snapshot, er as ExplainedDecision, hr as Delegation, ir as Obligation, it as MembershipSource, lr as Actor, lt as SettingsSource, nr as LimitDetail, nt as LimitStore, q as CustomRoleSource, qt as Instant, un as DecisionEvent, vr as Membership, wr as AdapterId, xr as Subject, y as GrantLimit, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
2
  import { D as RowOf, M as AppData, b as ResourceNode, u as Permission } from "./permission-types-CAY-GU7e.js";
3
3
  import { a as RoleTree, n as PlanTree, r as Role } from "./vocabulary-DEJ5j4mR.js";
4
4
  import { t as Operation } from "./operations-Ci_rT6Uo.js";
5
- import { t as ApprovalPolicies } from "./approval-policies-CYqdqAob.js";
6
- import { a as HostedPolicies } from "./hosted-H1xp5Dfw.js";
5
+ import { t as ApprovalPolicies } from "./approval-policies-CKlByf5o.js";
6
+ import { a as HostedPolicies } from "./hosted-yhyAuQkL.js";
7
7
  //#region src/core/checks.d.ts
8
8
  /**
9
9
  * One check of `canAll` or `decideAll`: a permission alone, or with the row it
@@ -1,4 +1,4 @@
1
- import { c as crud } from "./src-HDDf9Eum.js";
1
+ import { c as crud } from "./src-B8SQNsvw.js";
2
2
  import { v as resource } from "./permission-registry-B8tYxPIt.js";
3
3
  import { f as definePlans, p as defineRoles } from "./grantee-Dke-9rd1.js";
4
4
  import { t as definePermissions } from "./permissions-BaoLxy66.js";
@@ -1,6 +1,6 @@
1
1
  import { t as compact } from "./compact-CAf557ZB.js";
2
2
  import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
- import { c as withGrantSchema, i as completeGrant, l as normalizeWhere, o as flattenGrants, s as flattenPermissions } from "./role-builder-C_2kWB_x.js";
3
+ import { c as withGrantSchema, i as completeGrant, l as normalizeWhere, o as flattenGrants, s as flattenPermissions } from "./role-builder-C5AgaC1x.js";
4
4
  import { c as listPermissions, i as getRegistry, m as annotationsFor, n as findPermission, s as isRegistryTree } from "./permission-registry-B8tYxPIt.js";
5
5
  import { d as isSelfParented, l as isFieldRelation } from "./resource-relations-8-pCScBO.js";
6
6
  import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
@@ -1,4 +1,4 @@
1
- import { D as Policy, xr as Subject, yr as Principal } from "./policy-types-Ky7P23CP.js";
1
+ import { D as Policy, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
2
  import { c as saasPlans, l as saasRoles, s as saasPermissions } from "./permissions-Bx6UI8n1.js";
3
3
  //#region src/testing/saas/policy.d.ts
4
4
  /** Daily API-key quota per subject; the bucket should be per tenant too. */
@@ -1,18 +1,18 @@
1
1
  import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
2
2
  import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
- import { l as normalizeWhere } from "./role-builder-C_2kWB_x.js";
3
+ import { l as normalizeWhere } from "./role-builder-C5AgaC1x.js";
4
4
  import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
5
5
  import { i as getRegistry, n as findPermission, v as resource } from "./permission-registry-B8tYxPIt.js";
6
6
  import { n as defineScopes } from "./scopes-BSdYaGHs.js";
7
7
  import { f as definePlans, p as defineRoles } from "./grantee-Dke-9rd1.js";
8
8
  import { o as readWireApproval } from "./approval-normalize-hlfO9BJv.js";
9
9
  import { r as readWireValidity } from "./validity-Buc7w8E9.js";
10
- import { a as indexPolicy, f as normalizeDelegation } from "./policy-DTmkP72P.js";
11
- import { o as isPortableCondition } from "./hosted-iOGBI_ER.js";
10
+ import { a as indexPolicy, f as normalizeDelegation } from "./policy-CaAME-Rh.js";
11
+ import { o as isPortableCondition } from "./hosted-C2Pmhy2x.js";
12
12
  import { t as definePermissions } from "./permissions-BaoLxy66.js";
13
13
  import { n as copyJson, t as checkSchema } from "./json-schema-BPGa-RjQ.js";
14
14
  import { t as parseCatalog } from "./parse-CXTT7hBq.js";
15
- import { n as parsePushedPolicy } from "./pushed-policy-DftSiyD3.js";
15
+ import { n as parsePushedPolicy } from "./pushed-policy-BERO0x9O.js";
16
16
  //#region src/catalog/json-schema-validator.ts
17
17
  const ANNOTATIONS = /* @__PURE__ */ new Set([
18
18
  "$schema",
@@ -121,6 +121,14 @@ type SqlFunctionCondition = {
121
121
  readonly op: "sqlFunction";
122
122
  readonly name: string;
123
123
  readonly args: readonly SqlFunctionArg[];
124
+ /**
125
+ * The set form: the row's `column` must be one of the ids the function
126
+ * returns, called once per statement as `"column" in (select name(args))`.
127
+ * Row-field args are not passed to the function.
128
+ */
129
+ readonly set?: {
130
+ readonly column: string;
131
+ };
124
132
  readonly twin: Condition;
125
133
  };
126
134
  /**
@@ -1,4 +1,4 @@
1
- import { D as Policy, dt as SourceCall, it as MembershipSource, pr as CustomRole, q as CustomRoleSource, rt as MemberEntry, vr as Membership, xr as Subject, yr as Principal } from "./policy-types-Ky7P23CP.js";
1
+ import { D as Policy, dt as SourceCall, it as MembershipSource, pr as CustomRole, q as CustomRoleSource, rt as MemberEntry, vr as Membership, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
2
  //#region src/supabase/postgrest.d.ts
3
3
  /**
4
4
  * What a supabase-js `rpc` call resolves to: `data` or an `error` with a
@@ -1,11 +1,11 @@
1
1
  import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
2
2
  import { c as isConditionDate, l as isConditionRef, o as hasConditionOp } from "./refs-C8BKxc_e.js";
3
- import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-HDDf9Eum.js";
3
+ import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-B8SQNsvw.js";
4
4
  import { n as findPermission } from "./permission-registry-B8tYxPIt.js";
5
5
  import { d as scopeList, s as resolveScope } from "./scopes-BSdYaGHs.js";
6
- import { l as policyLevels } from "./policy-DTmkP72P.js";
6
+ import { l as policyLevels } from "./policy-CaAME-Rh.js";
7
7
  import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
8
- import { t as getPermDock } from "./permdock-DeOfonuG.js";
8
+ import { t as getPermDock } from "./permdock-C1DN_7a-.js";
9
9
  import { u as usageResult } from "./errors-BhRkoNS7.js";
10
10
  import { c as requirePolicy } from "./load-BaEamml-.js";
11
11
  import { s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
@@ -15,11 +15,11 @@ import { t as applyFiles } from "./files-CfiRtQ-m.js";
15
15
  import { i as fileDrift } from "./output-files-CM0BnH05.js";
16
16
  import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-Cemqurt8.js";
17
17
  import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
18
- import { A as quoteQualified, O as quoteIdent, a as customRolesOn, t as CUSTOM_ROLES } from "./shared-DyYVEjKC.js";
19
- import { n as tableNameOf, r as tableNames } from "./tables-B72q9UFD.js";
20
- import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-CrmMERZv.js";
18
+ import { A as quoteQualified, O as quoteIdent, a as customRolesOn, t as CUSTOM_ROLES } from "./shared-sW3VYchq.js";
19
+ import { n as tableNameOf, r as tableNames } from "./tables-DSX_Ma_n.js";
20
+ import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-MGHa5vfX.js";
21
21
  import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
22
- import { m as tableFor, t as canFixture } from "./verify-CaaZlnP5.js";
22
+ import { m as tableFor, t as canFixture } from "./verify-V08pirDB.js";
23
23
  import { resolve } from "node:path";
24
24
  //#region src/cli/powersync/claims.ts
25
25
  /** The `/docs` section that explains why a claim stream needs a reconnect. */
@@ -0,0 +1 @@
1
+ export { n as runPowerSync } from "./powersync-CB8RwcB4.js";
@@ -14,7 +14,7 @@ const generate = defineLeaf({
14
14
  async run(ctx, { flags }) {
15
15
  const out = fileOut("powersync", flags.out);
16
16
  const from = given(flags.policy);
17
- const { runPowerSync } = await import("./powersync-B96MUB_Q.js");
17
+ const { runPowerSync } = await import("./powersync-Cs1E04s6.js");
18
18
  return runPowerSync({
19
19
  cwd: ctx.cwd,
20
20
  config: ctx.config,
@@ -45,7 +45,7 @@ const verify = defineLeaf({
45
45
  const db = await dbUrl(ctx, flags, { required: true });
46
46
  const fixtures = given(flags.fixtures);
47
47
  const from = given(flags.policy);
48
- const { runPowerSync } = await import("./powersync-B96MUB_Q.js");
48
+ const { runPowerSync } = await import("./powersync-Cs1E04s6.js");
49
49
  return runPowerSync({
50
50
  cwd: ctx.cwd,
51
51
  config: ctx.config,
@@ -1,5 +1,5 @@
1
- import { Er as Condition, qt as Instant, xr as Subject } from "../policy-types-Ky7P23CP.js";
2
- import { f as WhereResult } from "../permdock-B45vPQb4.js";
1
+ import { Er as Condition, qt as Instant, xr as Subject } from "../policy-types-BI9C5Sp5.js";
2
+ import { f as WhereResult } from "../permdock-D4F2p5J8.js";
3
3
  import { r as RelationsMapping } from "../graph-sql-BwFC4Qjs.js";
4
4
  import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-vNW8qmUH.js";
5
5
  //#region src/prisma/model-fields.d.ts
@@ -1,11 +1,11 @@
1
- import { N as PolicyVocabulary, Yn as Decision, vr as Membership } from "./policy-types-Ky7P23CP.js";
1
+ import { N as PolicyVocabulary, Yn as Decision, vr as Membership } from "./policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "./permission-types-CAY-GU7e.js";
3
3
  import { r as Role } from "./vocabulary-DEJ5j4mR.js";
4
- import { d as UncheckedData, s as RowData } from "./permdock-B45vPQb4.js";
5
- import { r as DescribeOptions, t as DecisionDescription } from "./describe-DyN-HX6o.js";
6
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-CjJaZI_g.js";
4
+ import { d as UncheckedData, s as RowData } from "./permdock-D4F2p5J8.js";
5
+ import { r as DescribeOptions, t as DecisionDescription } from "./describe-DibQM6g-.js";
6
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-Dpg_fSNQ.js";
7
7
  import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
8
- import { r as ProtectedProps } from "./types-BlYPxJDR.js";
8
+ import { r as ProtectedProps } from "./types-DnzRZjEu.js";
9
9
  import { ReactNode } from "react";
10
10
  //#region src/react/hooks.d.ts
11
11
  declare function usePermDock<V extends PolicyVocabulary = PolicyVocabulary>(): ClientPermDock<V>;
@@ -1,4 +1,4 @@
1
- import { n as PermDockProviderProps } from "./types-BlYPxJDR.js";
1
+ import { n as PermDockProviderProps } from "./types-DnzRZjEu.js";
2
2
  import { ReactElement } from "react";
3
3
  //#region src/react/provider.d.ts
4
4
  declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
@@ -0,0 +1 @@
1
+ export { n as runCloudPull } from "./pull-BxqVL4Es.js";
@@ -7,7 +7,7 @@ import { o as formatCatalogJson } from "./catalog-doc-nrgfbh8I.js";
7
7
  import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
8
8
  import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
9
9
  import { t as parseCatalog } from "./parse-CXTT7hBq.js";
10
- import { a as nonEmptyOr } from "./output-DYq_o2dM.js";
10
+ import { a as nonEmptyOr } from "./output-B2h-2g3F.js";
11
11
  import { t as POLICY_NOT_PUBLISHED } from "./problem-types-DSsRfONQ.js";
12
12
  import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
13
13
  import { l as cloudUrl, n as cliRuntime, o as readAuth } from "./auth-j3Eu-j4h.js";
@@ -6,7 +6,7 @@ import { s as cliVersion } from "./version-DMQ0dnN5.js";
6
6
  import { i as loadConfiguredPolicy } from "./load-BaEamml-.js";
7
7
  import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
8
8
  import { t as parseCatalog } from "./parse-CXTT7hBq.js";
9
- import { r as pushedPolicy } from "./pushed-policy-DftSiyD3.js";
9
+ import { r as pushedPolicy } from "./pushed-policy-BERO0x9O.js";
10
10
  import { n as runCatalog } from "./catalog-s0waIrfY.js";
11
11
  import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
12
12
  import { a as pushAuth, l as cloudUrl, n as cliRuntime, u as firstNonEmpty } from "./auth-j3Eu-j4h.js";
@@ -3,7 +3,7 @@ import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
3
  import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
4
4
  import { n as RFC3339_PATTERN } from "./time-nR1JesoH.js";
5
5
  import { i as wireValidity } from "./validity-Buc7w8E9.js";
6
- import { n as snapshotScopes } from "./instance-snapshot-DXxcizAb.js";
6
+ import { n as snapshotScopes } from "./instance-snapshot-SX8zH_1t.js";
7
7
  import { n as copyJson, r as forbiddenKeyPath, t as checkSchema } from "./json-schema-BPGa-RjQ.js";
8
8
  //#region src/catalog/pushed-policy.ts
9
9
  const strings = {
@@ -1,4 +1,4 @@
1
- import { D as Policy, Er as Condition, In as Grantee, W as WireValidity, b as GrantMeta, f as BreakGlassSpec, in as SnapshotScope, qn as AppObligation, s as ApprovalRequirement, y as GrantLimit } from "./policy-types-Ky7P23CP.js";
1
+ import { D as Policy, Er as Condition, In as Grantee, W as WireValidity, b as GrantMeta, f as BreakGlassSpec, in as SnapshotScope, qn as AppObligation, s as ApprovalRequirement, y as GrantLimit } from "./policy-types-BI9C5Sp5.js";
2
2
  import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
3
3
  //#region src/catalog/pushed-policy.d.ts
4
4
  /**
@@ -1,9 +1,9 @@
1
- import { c as requiredPlans } from "../errors-POWcCXy7.js";
2
- import { i as describe } from "../describe-DyN-HX6o.js";
3
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CjJaZI_g.js";
1
+ import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
2
+ import { i as describe } from "../describe-DibQM6g-.js";
3
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-Dpg_fSNQ.js";
4
4
  import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
5
- import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-BlYPxJDR.js";
5
+ import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-DnzRZjEu.js";
6
6
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
7
- import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-DHPqBLhz.js";
8
- import { t as PermDockProvider } from "../provider-C-CbGEii.js";
7
+ import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-ua0cx5cW.js";
8
+ import { t as PermDockProvider } from "../provider-D_hgjZRa.js";
9
9
  export { type ActionResult, type ApprovalHandle, type ApprovalState, type AuthzChangeRefresh, type ClientPermDock, type ClientStatus, type EventSourceRefreshOptions, type FilterResult, type GateMode, type GateView, type PermDockDefaults, PermDockProvider, type PermDockProviderProps, type PermissionSet, type PermissionState, Protected, type ProtectedAction, type ProtectedActionHandle, type ProtectedActionView, type ProtectedProps, type RefreshTrigger, type RolesOptions, type SubjectView, type TenantView, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
@@ -1,2 +1,2 @@
1
- import { t as PermDockProvider } from "../provider-C-CbGEii.js";
1
+ import { t as PermDockProvider } from "../provider-D_hgjZRa.js";
2
2
  export { PermDockProvider };
@@ -1,15 +1,15 @@
1
- import { $t as LocalSnapshotRows, Qt as LocalSnapshotManifest, Xt as LocalRowColumn, Yt as LocalMembershipRows, Zt as LocalRowValue, en as Snapshot, pr as CustomRole, qt as Instant, ut as SnapshotSource, vr as Membership } from "../policy-types-Ky7P23CP.js";
1
+ import { $t as LocalSnapshotRows, Qt as LocalSnapshotManifest, Xt as LocalRowColumn, Yt as LocalMembershipRows, Zt as LocalRowValue, en as Snapshot, pr as CustomRole, qt as Instant, ut as SnapshotSource, vr as Membership } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { c as requiredPlans } from "../errors-POWcCXy7.js";
4
- import { i as describe } from "../describe-DyN-HX6o.js";
5
- import { t as parseLocalSnapshotManifest } from "../parse-local-manifest-CQjRmzrw.js";
6
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CjJaZI_g.js";
3
+ import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
4
+ import { i as describe } from "../describe-DibQM6g-.js";
5
+ import { t as parseLocalSnapshotManifest } from "../parse-local-manifest-CE4tgFsj.js";
6
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-Dpg_fSNQ.js";
7
7
  import { i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
8
- import { r as ProtectedProps, t as PermDockDefaults } from "../types-BlYPxJDR.js";
8
+ import { r as ProtectedProps, t as PermDockDefaults } from "../types-DnzRZjEu.js";
9
9
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
10
- import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-DHPqBLhz.js";
10
+ import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-ua0cx5cW.js";
11
11
  import { n as RealtimeRefreshClient, t as RealtimeRefreshChannel } from "../client-JK504UCq.js";
12
- import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-OLSfBLa5.js";
12
+ import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-Drs3OOAy.js";
13
13
  import { ReactElement } from "react";
14
14
  //#region src/react-native/guards.d.ts
15
15
  /**
@@ -1,4 +1,4 @@
1
- import { l as ReplayStore } from "./types-oaqeYKQu.js";
1
+ import { l as ReplayStore } from "./types-DBVSljAx.js";
2
2
  //#region src/ssf/replay.d.ts
3
3
  declare function memoryReplayStore(): ReplayStore;
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { t as assertAppData } from "./app-data-UNNm07jV.js";
2
2
  import { n as wrapPermDock } from "./wrap-C5PWzgkq.js";
3
- import { t as buildInstance } from "./build-instance-DrIbZVnm.js";
3
+ import { t as buildInstance } from "./build-instance-DaBdCRiz.js";
4
4
  //#region src/core/request-context.ts
5
5
  /**
6
6
  * Errors an adapter raises around one instance (a `context` hook that threw, an
@@ -1,7 +1,7 @@
1
- import { X as DecisionSink } from "../policy-types-Ky7P23CP.js";
2
- import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-BxYbwOAU.js";
3
- import { d as EmailTransport, o as DeliveryResult, u as EmailMessage } from "../types-Do8qBcRO.js";
4
- import { l as ReplayStore } from "../types-oaqeYKQu.js";
1
+ import { X as DecisionSink } from "../policy-types-BI9C5Sp5.js";
2
+ import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-CQFiO1KE.js";
3
+ import { d as EmailTransport, o as DeliveryResult, u as EmailMessage } from "../types-p8mhWTcR.js";
4
+ import { l as ReplayStore } from "../types-DBVSljAx.js";
5
5
  //#region src/resend/approval-email.d.ts
6
6
  type ApprovalEmailOptions = {
7
7
  /**
@@ -4,9 +4,9 @@ import { d as scopeList } from "./scopes-BSdYaGHs.js";
4
4
  import { i as configError } from "./errors-BhRkoNS7.js";
5
5
  import "./budget-BBCPDOGP.js";
6
6
  import "./sources-C4vkzZJV.js";
7
- import { A as quoteQualified, D as qualified, I as scopeTypeOf, O as quoteIdent } from "./shared-DyYVEjKC.js";
8
- import { F as globalRoleRows, Q as graphSqlName, Z as graphHelper, _ as PERMISSION_HELPERS, at as memberForHelper, c as holderSources, ct as memberIdsHelper, dt as permittedForHelper, ft as permittedIdsHelper, ht as scopeTable, lt as memberOfHelper, nt as inheritedRowsHelper, o as graphPlan, pt as restrictedHelper, r as tableNames, rt as isTeamScope, tt as hasPermittedUsers, v as checkName, x as permittedByPermissionHelper } from "./tables-B72q9UFD.js";
9
- import { t as FIELD_VIEWS } from "./fields-COvJbUva.js";
7
+ import { A as quoteQualified, D as qualified, I as scopeTypeOf, O as quoteIdent } from "./shared-sW3VYchq.js";
8
+ import { F as globalRoleRows, Q as graphSqlName, Z as graphHelper, _ as PERMISSION_HELPERS, at as memberForHelper, c as holderSources, ct as memberIdsHelper, dt as permittedForHelper, ft as permittedIdsHelper, ht as scopeTable, lt as memberOfHelper, nt as inheritedRowsHelper, o as graphPlan, pt as restrictedHelper, r as tableNames, rt as isTeamScope, tt as hasPermittedUsers, v as checkName, x as permittedByPermissionHelper } from "./tables-DSX_Ma_n.js";
9
+ import { t as FIELD_VIEWS } from "./fields-D_TfExiI.js";
10
10
  //#region src/cli/rls/permission-holders.ts
11
11
  /**
12
12
  * `permitted_<scope>_users(p_permission, p_id)`. Names are part of the SQL
@@ -192,7 +192,7 @@ async function rlsInput(ctx, verb, shape, options) {
192
192
  };
193
193
  }
194
194
  async function runRls(input) {
195
- return (await import("./rls-CJbWbxXv.js")).runRls(input);
195
+ return (await import("./rls-OPorg_2G.js")).runRls(input);
196
196
  }
197
197
  const generate = defineLeaf({
198
198
  flags: {
@@ -8,25 +8,25 @@ import { o as sqlFiles } from "./files-BSjrtIHw.js";
8
8
  import { c as requirePolicy } from "./load-BaEamml-.js";
9
9
  import { i as qualifySqlTable, r as escapeSqlIdent } from "./sql-0WjxIp9g.js";
10
10
  import "./sources-C4vkzZJV.js";
11
- import { t as policyFromCatalog } from "./policy-from-catalog-Cljh_B5H.js";
11
+ import { t as policyFromCatalog } from "./policy-from-catalog-CUNlpgz0.js";
12
12
  import { t as beforeFirst } from "./text-BMFRfBqc.js";
13
13
  import { i as INDEXES_MARKER, n as GRANTS_MARKER, o as SEEDS_MARKER, t as BACKFILL_MARKER } from "./markers-BeHZ4x9Q.js";
14
- import { a as nonEmptyOr } from "./output-DYq_o2dM.js";
14
+ import { a as nonEmptyOr } from "./output-B2h-2g3F.js";
15
15
  import { i as requirePeer, n as packageManagerOf, t as addLine } from "./peer-BuK9F53f.js";
16
16
  import { t as POLICY_NOT_PUBLISHED } from "./problem-types-DSsRfONQ.js";
17
- import { t as fetchProjectPolicy } from "./pull-FG0Tf8aF.js";
17
+ import { t as fetchProjectPolicy } from "./pull-BxqVL4Es.js";
18
18
  import { n as MIGRATION_DIRS } from "./constants-DcJABbLW.js";
19
19
  import { a as isSeedsDirectory, c as parseSplit, d as seedsMigration, f as writeOutputFiles, l as partPath, n as dataMigrationFile, r as driftOf, u as pgDeltaPath } from "./output-files-CM0BnH05.js";
20
20
  import { t as connectPgPool } from "./pg-Ddxsd5ZB.js";
21
- import { b as rbacScaffold, d as resolveSchemas, f as schemasRefusal, o as supabaseHookSql, p as declarativeSql, s as approvalsSql, t as grantsLabel, u as isSupabaseSchemas, y as parseRbacAuthorize } from "./supabase-hook-Btk56XD6.js";
22
- import { A as quoteQualified, D as qualified$1, I as scopeTypeOf, O as quoteIdent$1, _ as subjectClaimJsonSql, c as SESSION_LIVE_HELPER, g as sessionLiveHelperSql, j as quoteTable, k as quoteLiteral, r as HELPERS, t as CUSTOM_ROLES, y as subjectIdSql } from "./shared-DyYVEjKC.js";
23
- import { C as accessSql, G as byKey, T as seedSql, Z as graphHelper, ct as memberIdsHelper, ft as permittedIdsHelper, ht as scopeTable, mt as scopeSources, r as tableNames, s as graphSql, w as helpersSql, x as permittedByPermissionHelper, y as permissionHelpersSql } from "./tables-B72q9UFD.js";
24
- import { c as breakGlassKey, i as assignmentSql, l as collectGrants, n as ownershipSql, s as breakGlassHolder } from "./ownership-CrmMERZv.js";
21
+ import { b as rbacScaffold, d as resolveSchemas, f as schemasRefusal, o as supabaseHookSql, p as declarativeSql, s as approvalsSql, t as grantsLabel, u as isSupabaseSchemas, y as parseRbacAuthorize } from "./supabase-hook-BCSwK5x-.js";
22
+ import { A as quoteQualified, D as qualified$1, I as scopeTypeOf, O as quoteIdent$1, _ as subjectClaimJsonSql, c as SESSION_LIVE_HELPER, g as sessionLiveHelperSql, j as quoteTable, k as quoteLiteral, r as HELPERS, t as CUSTOM_ROLES, y as subjectIdSql } from "./shared-sW3VYchq.js";
23
+ import { C as accessSql, G as byKey, T as seedSql, Z as graphHelper, ct as memberIdsHelper, ft as permittedIdsHelper, ht as scopeTable, mt as scopeSources, r as tableNames, s as graphSql, w as helpersSql, x as permittedByPermissionHelper, y as permissionHelpersSql } from "./tables-DSX_Ma_n.js";
24
+ import { c as breakGlassKey, i as assignmentSql, l as collectGrants, n as ownershipSql, s as breakGlassHolder } from "./ownership-MGHa5vfX.js";
25
25
  import { a as splitUndiffed } from "./deciding-columns-NB4wcyBf.js";
26
- import { a as fieldViewsSql, c as ACTOR_MAY_WRITE, f as readOnlyActorKinds, i as fieldViews, l as actorMayWriteSql, n as columnGrantSql, o as rowBranches, p as readOnlyActorPolicies, r as columnRevokeSql, u as assemblePolicies } from "./fields-COvJbUva.js";
27
- import { n as permissionHoldersSql } from "./resolve-names-Dg8560iu.js";
28
- import { _ as indexTargets, a as verifyResult, b as readTableIndexFacts, c as callsHelper, g as INDEX_COLUMNS_SQL, h as COLUMNS_SQL, i as verifyIgnores, l as helperCallKeys, m as tableFor, n as runRlsVerify, o as HELPER_TABLES, p as compileGrants, r as rlsFinding, v as indexesSql, y as pruneIndexTargets } from "./verify-CaaZlnP5.js";
29
- import { a as buildContext, c as levelKeys, d as rebuildPlan, i as splitsPart, l as rowHelpersSql, n as generateOptions, o as CANDIDATES, r as isRefusal, s as inheritTargets, t as supautilsRejections, u as DROPPED_LIST } from "./supautils-lwXmXPP_.js";
26
+ import { a as fieldViewsSql, c as ACTOR_MAY_WRITE, f as readOnlyActorKinds, i as fieldViews, l as actorMayWriteSql, n as columnGrantSql, o as rowBranches, p as readOnlyActorPolicies, r as columnRevokeSql, u as assemblePolicies } from "./fields-D_TfExiI.js";
27
+ import { n as permissionHoldersSql } from "./resolve-names-BZQZRnMH.js";
28
+ import { _ as indexTargets, a as verifyResult, b as readTableIndexFacts, c as callsHelper, g as INDEX_COLUMNS_SQL, h as COLUMNS_SQL, i as verifyIgnores, l as helperCallKeys, m as tableFor, n as runRlsVerify, o as HELPER_TABLES, p as compileGrants, r as rlsFinding, v as indexesSql, y as pruneIndexTargets } from "./verify-V08pirDB.js";
29
+ import { a as buildContext, c as levelKeys, d as rebuildPlan, i as splitsPart, l as rowHelpersSql, n as generateOptions, o as CANDIDATES, r as isRefusal, s as inheritTargets, t as supautilsRejections, u as DROPPED_LIST } from "./supautils-7UES0i4a.js";
30
30
  import { readFileSync } from "node:fs";
31
31
  import { basename, delimiter, join } from "node:path";
32
32
  import { spawn } from "node:child_process";
@@ -2502,7 +2502,7 @@ async function migrate(input) {
2502
2502
  output: generated.output
2503
2503
  };
2504
2504
  await requirePeer(() => import("pgsql-parser"), "pgsql-parser", "permdock rls migrate", input.cwd, PGSQL_PARSER_MAJOR);
2505
- const { migrateTarget, runRlsMigrate } = await import("./migrate-BbY5-Khy.js");
2505
+ const { migrateTarget, runRlsMigrate } = await import("./migrate-CkLHdwuH.js");
2506
2506
  return runRlsMigrate({
2507
2507
  cwd: input.cwd,
2508
2508
  sql: input.sql,
@@ -2618,7 +2618,7 @@ async function runRls(input) {
2618
2618
  }
2619
2619
  case "import": {
2620
2620
  await requirePeer(() => import("pgsql-parser"), "pgsql-parser", "permdock rls import", input.cwd, PGSQL_PARSER_MAJOR);
2621
- const { runRlsImport } = await import("./import-C8ffNykt.js");
2621
+ const { runRlsImport } = await import("./import-C2ExjVvv.js");
2622
2622
  return runRlsImport({
2623
2623
  cwd: input.cwd,
2624
2624
  config: input.config,
@@ -1,4 +1,4 @@
1
- import { a as sole, n as isReadonlyArray, t as compact } from "./compact-CAf557ZB.js";
1
+ import { a as sole, n as isReadonlyArray, r as isRecord, t as compact } from "./compact-CAf557ZB.js";
2
2
  import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
3
  import { i as ownKeys, n as isForbiddenKey, t as assertSafeKey } from "./paths-CUvURzHp.js";
4
4
  import { c as isConditionDate, l as isConditionRef, r as isSubjectRef, s as isCondition, u as isSqlFunctionField } from "./refs-C8BKxc_e.js";
@@ -30,6 +30,18 @@ function assertSqlFunctionName(name) {
30
30
  function assertSqlFunctionArg(arg) {
31
31
  if (isSqlFunctionField(arg)) assertSafeKey(arg.field, "sqlFunction argument field");
32
32
  }
33
+ /**
34
+ * The set form's column: a plain SQL identifier, because the generator quotes
35
+ * it as one column name rather than walking a dotted path.
36
+ */
37
+ function assertSqlFunctionSet(value) {
38
+ if (!isRecord(value)) throw new TypeError("PermDock: sqlFunction set must be { column: '<column>' }");
39
+ const keys = Object.keys(value);
40
+ const column = value["column"];
41
+ if (keys.length !== 1 || keys[0] !== "column" || typeof column !== "string") throw new TypeError("PermDock: sqlFunction set must be { column: '<column>' }");
42
+ assertSafeKey(column, "sqlFunction set column");
43
+ if (!IDENT.test(column)) throw new Error(`PermDock: sqlFunction set column '${column}' is not a SQL identifier`);
44
+ }
33
45
  function assertPortableTwin(condition, depth = 0) {
34
46
  /* v8 ignore next 3 */
35
47
  if (depth > 32) throw new Error("PermDock: sqlFunction twin is nested too deeply");
@@ -91,6 +103,7 @@ function collapse(condition) {
91
103
  op: "sqlFunction",
92
104
  name: condition.name,
93
105
  args: condition.args,
106
+ ...condition.set === void 0 ? {} : { set: condition.set },
94
107
  twin: collapse(condition.twin)
95
108
  });
96
109
  return freezeDeep(condition);
@@ -141,6 +154,7 @@ function normalizeSqlFunction(input) {
141
154
  assertSqlFunctionName(input.name);
142
155
  const args = input.args ?? [];
143
156
  for (const arg of args) assertSqlFunctionArg(arg);
157
+ if (input.set !== void 0) assertSqlFunctionSet(input.set);
144
158
  if (isCondition(input.twin) && input.twin.op === "sqlFunction") throw new Error("PermDock: sqlFunction twin must not nest sqlFunction");
145
159
  const twin = isCondition(input.twin) ? collapse(input.twin) : normalizeWhere(input.twin);
146
160
  assertPortableTwin(twin);
@@ -148,6 +162,7 @@ function normalizeSqlFunction(input) {
148
162
  op: "sqlFunction",
149
163
  name: input.name,
150
164
  args,
165
+ ...input.set === void 0 ? {} : { set: input.set },
151
166
  twin
152
167
  });
153
168
  }
@@ -487,4 +502,4 @@ function roleRules(roleName, scope, options) {
487
502
  });
488
503
  }
489
504
  //#endregion
490
- export { deny as a, withGrantSchema as c, assertSqlFunctionArg as d, assertSqlFunctionName as f, completeGrant as i, normalizeWhere as l, role as n, flattenGrants as o, opaque as p, allow as r, flattenPermissions as s, normalizeAssurance as t, assertPortableTwin as u };
505
+ export { deny as a, withGrantSchema as c, assertSqlFunctionArg as d, assertSqlFunctionName as f, completeGrant as i, normalizeWhere as l, opaque as m, role as n, flattenGrants as o, assertSqlFunctionSet as p, allow as r, flattenPermissions as s, normalizeAssurance as t, assertPortableTwin as u };
@@ -1,5 +1,5 @@
1
1
  import { u as Permission } from "./permission-types-CAY-GU7e.js";
2
- import { o as ProtectOptions } from "./server-types-CwpJe664.js";
2
+ import { o as ProtectOptions } from "./server-types-ChzXWU4Y.js";
3
3
  //#region src/server/stream.d.ts
4
4
  type StreamProtectOptions = ProtectOptions & {
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { t as compact } from "./compact-CAf557ZB.js";
2
2
  import { s as requestFromContext } from "./http-DKLXrFGk.js";
3
3
  import { n as tenantScope } from "./adapter-context-OHikyRqV.js";
4
- import { t as adapterKernel } from "./bind-BnKPWRrE.js";
4
+ import { t as adapterKernel } from "./bind-gwEbe9hL.js";
5
5
  import { r as guardIterable } from "./stream-DQ3rbO3J.js";
6
6
  //#region src/server/rpc.ts
7
7
  /** The tRPC and oRPC error code for a Problem Details status. */
@@ -0,0 +1 @@
1
+ export { t as run } from "./run-YCpANf1B.js";
@@ -5,9 +5,9 @@ import { a as resolveCwd, i as readConfig } from "./config-D2oXUwos.js";
5
5
  import { t as beforeFirst } from "./text-BMFRfBqc.js";
6
6
  import { a as GLOBAL_FLAGS, i as suggestion, n as parseFlags, r as parseLeaf } from "./args-iafbHiXn.js";
7
7
  import { r as progressReporter, t as redact } from "./credentials-dkycUsY3.js";
8
- import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-CDhdXgf6.js";
8
+ import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-DvDzxhy6.js";
9
9
  import { t as createStyle } from "./style-Ds11Hmk4.js";
10
- import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-DYq_o2dM.js";
10
+ import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-B2h-2g3F.js";
11
11
  import { stripVTControlCharacters } from "node:util";
12
12
  import { existsSync, statSync } from "node:fs";
13
13
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
- import { _t as TokenSigner, dr as AuthorizationDetail, gt as TokenFailureCause, hr as Delegation, lr as Actor, qt as Instant, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "./policy-types-Ky7P23CP.js";
2
- import { _ as PrincipalSource } from "./permdock-B45vPQb4.js";
1
+ import { _t as TokenSigner, dr as AuthorizationDetail, gt as TokenFailureCause, hr as Delegation, lr as Actor, qt as Instant, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
+ import { _ as PrincipalSource } from "./permdock-D4F2p5J8.js";
3
3
  //#region src/server/run-ticket.d.ts
4
4
  /**
5
5
  * What started the run: a saved automation, a background job, or a caller's own
@@ -1,12 +1,12 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { i as principal } from "./refs-C8BKxc_e.js";
3
- import { a as deny, n as role, r as allow } from "./role-builder-C_2kWB_x.js";
4
- import { A as memoryCustomRoleSource, C as limits, S as memoryRelationSource, w as memoryLimitStore } from "./src-HDDf9Eum.js";
3
+ import { a as deny, n as role, r as allow } from "./role-builder-C5AgaC1x.js";
4
+ import { A as memoryCustomRoleSource, C as limits, S as memoryRelationSource, w as memoryLimitStore } from "./src-B8SQNsvw.js";
5
5
  import { h as secondsAt } from "./time-nR1JesoH.js";
6
6
  import { l as relation, n as anyone } from "./grantee-Dke-9rd1.js";
7
- import { r as definePolicy } from "./policy-DTmkP72P.js";
7
+ import { r as definePolicy } from "./policy-CaAME-Rh.js";
8
8
  import { s as quoteSqlLiteral } from "./sql-0WjxIp9g.js";
9
- import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-Rk9_Gm04.js";
9
+ import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-8N2yFsUM.js";
10
10
  //#region src/testing/saas/policy.ts
11
11
  function isSubject(user) {
12
12
  return user !== null && "context" in user && "principal" in user;
@@ -16,7 +16,7 @@ const scan = defineLeaf({
16
16
  }
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- const { runAdoptionScan } = await import("./adoption-scan-C_VQ-J2f.js");
19
+ const { runAdoptionScan } = await import("./adoption-scan-BTG9Noyy.js");
20
20
  return runAdoptionScan({
21
21
  cwd: ctx.cwd,
22
22
  srcPath: flags.src.length > 0 ? flags.src : ctx.config.collect?.srcPath ?? ["src"],
@@ -1,7 +1,7 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { l as packageRoot } from "./version-DMQ0dnN5.js";
3
3
  import { t as DRAFT_PINS } from "./pins-nqarl3oE.js";
4
- import { a as nonEmptyOr } from "./output-DYq_o2dM.js";
4
+ import { a as nonEmptyOr } from "./output-B2h-2g3F.js";
5
5
  import { t as require__2020 } from "./2020-CJbO8Bvz.js";
6
6
  import { readFileSync } from "node:fs";
7
7
  import { join } from "node:path";
@@ -1,3 +1,3 @@
1
1
  import { t as SqlQuery } from "../sql-B80DFdpG.js";
2
- import { A as ScimFilter, C as DirectoryUser, D as PATCH_SCHEMA, E as LIST_SCHEMA, F as ScimTokenOptions, I as USER_SCHEMA, L as isDirectoryNotFoundError, M as ScimPage, N as ScimPageResult, O as ROLES_EXTENSION, P as ScimPatchOp, R as isDirectoryUniquenessError, S as DirectoryUniquenessError, T as GROUP_SCHEMA, _ as DirectoryChange, a as normalizePatchOps, b as DirectoryNotFoundError, c as filterSupported, d as resourceTypes, f as schemas, g as APP_DATA_EXTENSION, h as sha256Hex, i as directoryMembershipSource, j as ScimHandlerOptions, k as SCIM_CONTENT_TYPE, l as matchFilter, m as authenticateScim, n as postgresDirectoryStore, o as tenantFromPath, p as serviceProviderConfig, r as memoryDirectoryStore, s as scimHandler, t as PostgresDirectoryStoreOptions, u as parseScimFilter, v as DirectoryGroup, w as ERROR_SCHEMA, x as DirectoryStore, y as DirectoryMembershipSourceOptions } from "../index-C5Tfpjex.js";
2
+ import { A as ScimFilter, C as DirectoryUser, D as PATCH_SCHEMA, E as LIST_SCHEMA, F as ScimTokenOptions, I as USER_SCHEMA, L as isDirectoryNotFoundError, M as ScimPage, N as ScimPageResult, O as ROLES_EXTENSION, P as ScimPatchOp, R as isDirectoryUniquenessError, S as DirectoryUniquenessError, T as GROUP_SCHEMA, _ as DirectoryChange, a as normalizePatchOps, b as DirectoryNotFoundError, c as filterSupported, d as resourceTypes, f as schemas, g as APP_DATA_EXTENSION, h as sha256Hex, i as directoryMembershipSource, j as ScimHandlerOptions, k as SCIM_CONTENT_TYPE, l as matchFilter, m as authenticateScim, n as postgresDirectoryStore, o as tenantFromPath, p as serviceProviderConfig, r as memoryDirectoryStore, s as scimHandler, t as PostgresDirectoryStoreOptions, u as parseScimFilter, v as DirectoryGroup, w as ERROR_SCHEMA, x as DirectoryStore, y as DirectoryMembershipSourceOptions } from "../index-CLbGOPBr.js";
3
3
  export { APP_DATA_EXTENSION, type DirectoryChange, type DirectoryGroup, type DirectoryMembershipSourceOptions, DirectoryNotFoundError, type DirectoryStore, DirectoryUniquenessError, type DirectoryUser, ERROR_SCHEMA, GROUP_SCHEMA, LIST_SCHEMA, PATCH_SCHEMA, type PostgresDirectoryStoreOptions, ROLES_EXTENSION, SCIM_CONTENT_TYPE, type ScimFilter, type ScimHandlerOptions, type ScimPage, type ScimPageResult, type ScimPatchOp, type ScimTokenOptions, type SqlQuery, USER_SCHEMA, authenticateScim, directoryMembershipSource, filterSupported, isDirectoryNotFoundError, isDirectoryUniquenessError, matchFilter, memoryDirectoryStore, normalizePatchOps, parseScimFilter, postgresDirectoryStore, resourceTypes, schemas, scimHandler, serviceProviderConfig, sha256Hex, tenantFromPath };
@@ -1,13 +1,13 @@
1
- import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-AhCHeeff.js";
2
- import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-POWcCXy7.js";
1
+ import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-DkOK9zUE.js";
2
+ import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-OTE9u4Wk.js";
3
3
  import { t as RequestContext } from "../request-context-C2_1lchh.js";
4
4
  import { i as memoryRevocationFeed, n as RevocationFeed, t as RevocationEvent } from "../revocations-BaUXHM1N.js";
5
- import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types-CwpJe664.js";
6
- import { i as evaluationsHandler } from "../evaluations--rkKhMqY.js";
7
- import { C as subjectFromApiKey, E as createPermDock, S as parseFeedKey, T as problemFromError, _ as generateApiKey, a as SupportSessionContext, b as memoryCredentialStore, c as SupportSessionSubjectOptions, d as ApiKeyFailureCause, f as ApiKeyParts, g as apiKeyVerifier, h as StoredCredential, i as wwwAuthenticate, l as signSupportSession, m as MemoryCredentialStore, n as problemResponse, o as SupportSessionFailureCause, p as ApiKeySubjectOptions, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession, v as generateFeedKey, w as ProblemFromErrorOptions, x as parseApiKey, y as hashApiKey } from "../index-DLlWORcK.js";
8
- import { l as ReplayStore } from "../types-oaqeYKQu.js";
9
- import { a as WebhookInput, c as WebhookMessage, d as WebhookSigningKey, f as WebhookVerifier, h as webhookVerifier, i as WebhookHeaders, l as WebhookSigner, m as webhookSigner, n as WebhookAlgorithm, o as WebhookJwk, p as WebhookVerifierOptions, r as WebhookFailureCause, s as WebhookJwks, t as VerifiedWebhookMessage, u as WebhookSignerOptions } from "../standard-webhooks-BGi8pUwo.js";
10
- import { t as memoryReplayStore } from "../replay-BqmXcP7x.js";
11
- import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-B9weL8NE.js";
12
- import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-DRA3POCY.js";
5
+ import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types-ChzXWU4Y.js";
6
+ import { i as evaluationsHandler } from "../evaluations-BgxEfPL7.js";
7
+ import { C as subjectFromApiKey, E as createPermDock, S as parseFeedKey, T as problemFromError, _ as generateApiKey, a as SupportSessionContext, b as memoryCredentialStore, c as SupportSessionSubjectOptions, d as ApiKeyFailureCause, f as ApiKeyParts, g as apiKeyVerifier, h as StoredCredential, i as wwwAuthenticate, l as signSupportSession, m as MemoryCredentialStore, n as problemResponse, o as SupportSessionFailureCause, p as ApiKeySubjectOptions, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession, v as generateFeedKey, w as ProblemFromErrorOptions, x as parseApiKey, y as hashApiKey } from "../index-B_I6N8Ju.js";
8
+ import { l as ReplayStore } from "../types-DBVSljAx.js";
9
+ import { a as WebhookInput, c as WebhookMessage, d as WebhookSigningKey, f as WebhookVerifier, h as webhookVerifier, i as WebhookHeaders, l as WebhookSigner, m as webhookSigner, n as WebhookAlgorithm, o as WebhookJwk, p as WebhookVerifierOptions, r as WebhookFailureCause, s as WebhookJwks, t as VerifiedWebhookMessage, u as WebhookSignerOptions } from "../standard-webhooks-CFZIYtBF.js";
10
+ import { t as memoryReplayStore } from "../replay-DYXI4gRN.js";
11
+ import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-MPinwwgZ.js";
12
+ import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-94DOS9Cd.js";
13
13
  export { type ApiKeyFailureCause, type ApiKeyParts, type ApiKeySubjectOptions, type ApprovalHint, type CacheLifeForOptions, type Connection, type ConnectionData, type ConnectionOptions, type DeniedResponse, type DeniedResponseEvent, type DiscoverViaSignatureAgentOptions, type Guard, InvalidSignatureError, type MemoryCredentialStore, type OpenApiHooks, type OperationScopes, PROBLEM_BASE, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, type ProblemFromErrorOptions, type ProtectOptions, RUN_TICKET_CLAIMS, type ReplayStore, type RequestContext, type RevocationEvent, type RevocationFeed, type RunActClaim, type RunAutomation, type RunBinding, type RunContext, type RunKind, type RunPrincipal, type RunResource, type RunTicket, type RunTicketAutomations, type RunTicketFailureCause, type RunTicketInput, type RunTicketOptions, type RunTicketSubjectOptions, type ScopeGuard, type ServerPermDock, type ServerPermDockOptions, type SnapshotHeaders, type SnapshotHeadersOptions, type SnapshotQuery, type StoredCredential, type SupportSessionContext, type SupportSessionFailureCause, type SupportSessionSource, type SupportSessionSubjectOptions, type TenantOption, type TenantScope, type VerifiedWebhookMessage, type WebBotAuthJwk, type WebBotAuthKeyLookup, type WebBotAuthKeys, type WebBotAuthOptions, type WebBotAuthVerifier, type WebhookAlgorithm, type WebhookFailureCause, type WebhookHeaders, type WebhookInput, type WebhookJwk, type WebhookJwks, type WebhookMessage, type WebhookSigner, type WebhookSignerOptions, type WebhookSigningKey, type WebhookVerifier, type WebhookVerifierOptions, apiKeyVerifier, cacheLifeFor, createPermDock, discoverViaSignatureAgent, evaluationsHandler, generateApiKey, generateFeedKey, hashApiKey, invalidSignatureProblem, invalidSignatureResponse, memoryCredentialStore, memoryReplayStore, memoryRevocationFeed, parseApiKey, parseFeedKey, parseRunTicket, problemFromDecision, problemFromError, problemResponse, signRunTicket, signSupportSession, snapshotHeaders, snapshotKey, snapshotTag, subjectFromApiKey, subjectFromRunTicket, subjectFromSupportSession, tenantScope, validationProblem, webBotAuthVerifier, webhookSigner, webhookVerifier, wwwAuthenticate };