permdock 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) 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-BWL5H82_.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-4vfaXj0U.js → arazzo-B_CPVseu.js} +2 -2
  12. package/dist/{arazzo-Dc969CA2.js → arazzo-C8u26FUA.js} +1 -1
  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-DaY-CWOr.js} +1 -1
  28. package/dist/{casbin-C1TQqWkK.js → casbin-JWZGKqzy.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-pEhjaPNs.js} +2 -2
  44. package/dist/{codemod-DN_fBt43.js → codemod-BUhreN8m.js} +2 -2
  45. package/dist/{codemod-WWxwgM77.js → codemod-Cv0-7Ogj.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-BG1wcLJ3.js} +1 -1
  49. package/dist/{config-CmuEoob8.js → config-Di9kWoLY.js} +1 -1
  50. package/dist/{config-report-BVm8Dhbj.js → config-report-B0IyW7EQ.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-CL1OigyD.js → doctor-Bp3xspBi.js} +2 -2
  67. package/dist/{doctor-BhhNMkU8.js → doctor-DpD4nHMS.js} +66 -14
  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/{gen-DonXr9Hg.js → gen-B2O9T25-.js} +1 -1
  83. package/dist/{gen-D0NqzeOP.js → gen-CKr1Vfiz.js} +1 -1
  84. package/dist/h3/index.d.ts +4 -4
  85. package/dist/h3/index.js +2 -2
  86. package/dist/hono/index.d.ts +4 -4
  87. package/dist/hono/index.js +1 -1
  88. package/dist/{hosted-iOGBI_ER.js → hosted-C2Pmhy2x.js} +2 -2
  89. package/dist/{hosted-H1xp5Dfw.d.ts → hosted-yhyAuQkL.d.ts} +1 -1
  90. package/dist/{import-DNaFHm53.js → import-DG6uswAo.js} +1 -1
  91. package/dist/{import-C8ffNykt.js → import-DVI_1tO_.js} +44 -0
  92. package/dist/{index-C2pmTzFx.d.ts → index--AwSBzJC.d.ts} +2 -2
  93. package/dist/{index-DLlWORcK.d.ts → index-B_I6N8Ju.d.ts} +4 -4
  94. package/dist/{index-B9-ZXNa-.d.ts → index-Bt37QovT.d.ts} +4 -4
  95. package/dist/{index-C5Tfpjex.d.ts → index-CLbGOPBr.d.ts} +1 -1
  96. package/dist/{index-DZnpRB0q.d.ts → index-CruReRkB.d.ts} +4 -4
  97. package/dist/{index-Cm6mHTZ-.d.ts → index-D7xGi1LS.d.ts} +16 -8
  98. package/dist/index.d.ts +16 -16
  99. package/dist/index.js +8 -8
  100. package/dist/{init-QfBfkrGu.js → init-C-cgOvCl.js} +1 -1
  101. package/dist/{init-4aRjat-S.js → init-DAPbdjcX.js} +3 -3
  102. package/dist/{instance-options-D6hyIKJF.d.ts → instance-options-VPsNQsTH.d.ts} +1 -1
  103. package/dist/{instance-snapshot-DXxcizAb.js → instance-snapshot-SX8zH_1t.js} +2 -2
  104. package/dist/jwt/index.d.ts +4 -4
  105. package/dist/{kernel-B2UCK36Z.js → kernel-_QEUOSU0.js} +4 -4
  106. package/dist/kysely/index.d.ts +3 -3
  107. package/dist/{login-Cg1la2yJ.js → login-CQGjpkuo.js} +3 -3
  108. package/dist/{login-lPtJIjbO.js → login-Cgix5FgG.js} +1 -1
  109. package/dist/{manifest-CDhdXgf6.js → manifest-CMu1IE0R.js} +33 -33
  110. package/dist/mcp/index.d.ts +8 -8
  111. package/dist/mcp/index.js +3 -3
  112. package/dist/nest/index.d.ts +4 -4
  113. package/dist/nest/index.js +1 -1
  114. package/dist/next/index.d.ts +10 -10
  115. package/dist/next/index.js +2 -2
  116. package/dist/next/plugin.d.ts +1 -1
  117. package/dist/node/index.d.ts +4 -4
  118. package/dist/node/index.js +1 -1
  119. package/dist/openai/index.d.ts +4 -4
  120. package/dist/openai/index.js +3 -3
  121. package/dist/openapi/index.d.ts +2 -2
  122. package/dist/{openapi-Cr0B3p2h.js → openapi-FVeCoh97.js} +2 -2
  123. package/dist/{openapi-C3BIVLTd.js → openapi-lsf1gEtr.js} +2 -2
  124. package/dist/orpc/index.d.ts +5 -5
  125. package/dist/orpc/index.js +2 -2
  126. package/dist/otel/index.d.ts +3 -3
  127. package/dist/{output-DYq_o2dM.js → output-DZQCr2lP.js} +1 -1
  128. package/dist/{ownership-CrmMERZv.js → ownership-CBuIjxKh.js} +2 -1
  129. package/dist/{parse-local-manifest-CQjRmzrw.d.ts → parse-local-manifest-CE4tgFsj.d.ts} +1 -1
  130. package/dist/pdp/index.d.ts +3 -3
  131. package/dist/pdp/index.js +1 -1
  132. package/dist/{permdock-DeOfonuG.js → permdock-C1DN_7a-.js} +3 -3
  133. package/dist/{permdock-B45vPQb4.d.ts → permdock-D4F2p5J8.d.ts} +3 -3
  134. package/dist/{permissions-Rk9_Gm04.js → permissions-8N2yFsUM.js} +1 -1
  135. package/dist/{policy-DTmkP72P.js → policy-CaAME-Rh.js} +1 -1
  136. package/dist/{policy-re2Oag8s.d.ts → policy-Dh9WVSVz.d.ts} +1 -1
  137. package/dist/{policy-from-catalog-Cljh_B5H.js → policy-from-catalog-CUNlpgz0.js} +4 -4
  138. package/dist/{policy-types-Ky7P23CP.d.ts → policy-types-BI9C5Sp5.d.ts} +8 -0
  139. package/dist/{postgrest-pwxeaeOW.d.ts → postgrest-CWCCbaxm.d.ts} +1 -1
  140. package/dist/powersync-BV68Jh-T.js +1 -0
  141. package/dist/{powersync-PKC4yT62.js → powersync-CRtuJXVB.js} +2 -2
  142. package/dist/{powersync-BoqBik-G.js → powersync-Dz4H1FLs.js} +6 -6
  143. package/dist/prisma/index.d.ts +2 -2
  144. package/dist/{protected-action-DHPqBLhz.d.ts → protected-action-ua0cx5cW.d.ts} +5 -5
  145. package/dist/{provider-C-CbGEii.d.ts → provider-D_hgjZRa.d.ts} +1 -1
  146. package/dist/pull-AOmtUo8V.js +1 -0
  147. package/dist/{pull-FG0Tf8aF.js → pull-DnhBA9pf.js} +1 -1
  148. package/dist/{push-CI5G7lRS.js → push-D2SsRW0U.js} +1 -1
  149. package/dist/{pushed-policy-DftSiyD3.js → pushed-policy-BERO0x9O.js} +1 -1
  150. package/dist/{pushed-policy-B94r9DlN.d.ts → pushed-policy-P0hgyLBh.d.ts} +1 -1
  151. package/dist/react/index.d.ts +6 -6
  152. package/dist/react/provider-client.d.ts +1 -1
  153. package/dist/react-native/index.d.ts +8 -8
  154. package/dist/{replay-BqmXcP7x.d.ts → replay-DYXI4gRN.d.ts} +1 -1
  155. package/dist/{request-context-uvaevbBu.js → request-context-BPTi68z5.js} +1 -1
  156. package/dist/resend/index.d.ts +4 -4
  157. package/dist/{resolve-names-Dg8560iu.js → resolve-names-CDnxNqNb.js} +1 -1
  158. package/dist/{rls-DJSczevJ.js → rls-CHZi5SUK.js} +1 -1
  159. package/dist/{rls-CJbWbxXv.js → rls-CbDKv6GP.js} +10 -10
  160. package/dist/{role-builder-C_2kWB_x.js → role-builder-C5AgaC1x.js} +17 -2
  161. package/dist/{rpc-D7cDHIVE.d.ts → rpc-D2LnFELm.d.ts} +1 -1
  162. package/dist/{rpc-m5hPklf-.js → rpc-DdkbQVlT.js} +1 -1
  163. package/dist/{run-BigMDvGR.js → run-Bnm5VZ8m.js} +2 -2
  164. package/dist/run-D6U-Gwok.js +1 -0
  165. package/dist/{run-ticket-DRA3POCY.d.ts → run-ticket-94DOS9Cd.d.ts} +2 -2
  166. package/dist/{saas-BHeoBqbW.js → saas-BEXnrH9H.js} +4 -4
  167. package/dist/{scan-BKLwCSVV.js → scan-VKkU4Ix9.js} +1 -1
  168. package/dist/{schema-CLuBlCCr.js → schema-5onstWlb.js} +1 -1
  169. package/dist/scim/index.d.ts +1 -1
  170. package/dist/server/index.d.ts +10 -10
  171. package/dist/server/index.js +1 -1
  172. package/dist/{server-types-CwpJe664.d.ts → server-types-ChzXWU4Y.d.ts} +8 -8
  173. package/dist/{sink-7Lrch8dn.d.ts → sink-RwmP7ZHs.d.ts} +2 -2
  174. package/dist/{skills-D42EyC8G.js → skills-B6sLqv4E.js} +1 -1
  175. package/dist/{skills-CyD_3eoi.js → skills-Yz3LfoAZ.js} +1 -1
  176. package/dist/{snapshot-cache-B9weL8NE.d.ts → snapshot-cache-MPinwwgZ.d.ts} +1 -1
  177. package/dist/solid/index.d.ts +5 -5
  178. package/dist/solid-start/index.d.ts +4 -4
  179. package/dist/solid-start/index.js +2 -2
  180. package/dist/{sources-4d3fl7cq.d.ts → sources-sgQlMfmz.d.ts} +1 -1
  181. package/dist/{src-HDDf9Eum.js → src-B8SQNsvw.js} +8 -6
  182. package/dist/ssf/index.d.ts +3 -3
  183. package/dist/{standard-webhooks-BGi8pUwo.d.ts → standard-webhooks-CFZIYtBF.d.ts} +2 -2
  184. package/dist/{store-CjJaZI_g.d.ts → store-Dpg_fSNQ.d.ts} +4 -4
  185. package/dist/{stores-Cam6GGAV.d.ts → stores-C2A6KsxE.d.ts} +5 -5
  186. package/dist/supabase/index.d.ts +5 -5
  187. package/dist/supabase/middleware.d.ts +5 -5
  188. package/dist/supabase/middleware.js +4 -4
  189. package/dist/{supabase-DBuZK2pP.js → supabase-CWpADE8k.js} +2 -2
  190. package/dist/supabase-hook-Clczf4iF.js +1 -0
  191. package/dist/{supabase-hook-Btk56XD6.js → supabase-hook-bDeWbKee.js} +3 -3
  192. package/dist/{supautils-lwXmXPP_.js → supautils-0RrdsFT3.js} +6 -6
  193. package/dist/svelte/index.d.ts +5 -5
  194. package/dist/svelte/runtime.d.ts +3 -3
  195. package/dist/svelte/source.d.ts +5 -5
  196. package/dist/sveltekit/index.d.ts +4 -4
  197. package/dist/sveltekit/index.js +1 -1
  198. package/dist/{tables-B72q9UFD.js → tables-C53U2zrN.js} +1 -1
  199. package/dist/tanstack-start/index.d.ts +4 -4
  200. package/dist/tanstack-start/index.js +1 -1
  201. package/dist/terminal/index.d.ts +5 -5
  202. package/dist/terminal/index.js +2 -2
  203. package/dist/testing/core.d.ts +1 -1
  204. package/dist/testing/core.js +1 -1
  205. package/dist/testing/index.d.ts +22 -22
  206. package/dist/testing/index.js +11 -11
  207. package/dist/testing/saas/index.d.ts +3 -3
  208. package/dist/testing/saas/index.js +2 -2
  209. package/dist/testing/saas/permissions.js +1 -1
  210. package/dist/trpc/index.d.ts +5 -5
  211. package/dist/trpc/index.js +2 -2
  212. package/dist/{type-helpers-CDxxNswo.d.ts → type-helpers-BjOLGVy1.d.ts} +1 -1
  213. package/dist/{types-CChFKY10.d.ts → types--_lpWUGV.d.ts} +4 -4
  214. package/dist/{types--HfnkawU.d.ts → types-BzxA2OAD.d.ts} +1 -1
  215. package/dist/{types-Bwdumeos.d.ts → types-C5p2hoBR.d.ts} +3 -3
  216. package/dist/{types-BVn1w_0o.d.ts → types-CMclYgSk.d.ts} +2 -2
  217. package/dist/{types-BwuNGQRm.d.ts → types-D1NjjwI4.d.ts} +1 -1
  218. package/dist/{types-g0Vk9k2c.d.ts → types-D8JVDWOr.d.ts} +2 -2
  219. package/dist/{types-oaqeYKQu.d.ts → types-DBVSljAx.d.ts} +2 -2
  220. package/dist/{types-Do4yihST.d.ts → types-DZwEOsK1.d.ts} +1 -1
  221. package/dist/{types-BlYPxJDR.d.ts → types-DnzRZjEu.d.ts} +4 -4
  222. package/dist/{types-OLSfBLa5.d.ts → types-Drs3OOAy.d.ts} +4 -4
  223. package/dist/{types-Do8qBcRO.d.ts → types-p8mhWTcR.d.ts} +3 -3
  224. package/dist/unplugin/index.d.ts +1 -1
  225. package/dist/{usage-C-wta3rx.js → usage-B6gmS634.js} +5 -3
  226. package/dist/{usage-BLhhEPcZ.js → usage-BFMCEgJp.js} +1 -1
  227. package/dist/usage-Csu-M5jC.js +1 -0
  228. package/dist/{validation-error-AhCHeeff.d.ts → validation-error-DkOK9zUE.d.ts} +1 -1
  229. package/dist/{verify-CaaZlnP5.js → verify-DFruUfZg.js} +8 -8
  230. package/dist/{version-cache-Ddvrfn1R.d.ts → version-cache-q5cpaDSt.d.ts} +1 -1
  231. package/dist/vue/index.d.ts +5 -5
  232. package/dist/{waiter-CROiWRIP.d.ts → waiter-BjVI_Byg.d.ts} +2 -2
  233. package/dist/webmcp/index.d.ts +1 -1
  234. package/dist/{who-can-jPfTABf-.js → who-can-CZeAwQZD.js} +1 -1
  235. package/dist/workflow/index.d.ts +3 -3
  236. package/dist/workflow/index.js +1 -1
  237. package/dist/workflow-sdk/index.d.ts +4 -4
  238. package/dist/{wrap-C-4o-Dpy.d.ts → wrap-CE5lxje7.d.ts} +2 -2
  239. package/package.json +1 -1
  240. package/skills/permdock-data/SKILL.md +1 -1
  241. package/skills/permdock-data/references/queries-and-rls.md +2 -0
  242. package/dist/powersync-B96MUB_Q.js +0 -1
  243. package/dist/pull-BjdsS9x1.js +0 -1
  244. package/dist/run-4m-TyVTD.js +0 -1
  245. package/dist/supabase-hook-2M-EpoRp.js +0 -1
  246. package/dist/usage-Csc_ZRd0.js +0 -1
@@ -1,14 +1,14 @@
1
- import { N as PolicyVocabulary, Q as Intent, Yn as Decision, _r as JsonWebKeyLike, an as SnapshotTenants, en as Snapshot, lr as Actor, qt as Instant, xr as Subject } from "./policy-types-Ky7P23CP.js";
1
+ import { N as PolicyVocabulary, Q as Intent, Yn as Decision, _r as JsonWebKeyLike, an as SnapshotTenants, en as Snapshot, lr as Actor, qt as Instant, xr as Subject } from "./policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "./permission-types-CAY-GU7e.js";
3
- import { a as PermDock, u as SnapshotOptions } from "./permdock-B45vPQb4.js";
4
- import { m as ApprovalStore } from "./types--HfnkawU.js";
5
- import { a as ProblemDetails, t as ApprovalHint } from "./errors-POWcCXy7.js";
6
- import { t as InstanceOptions } from "./instance-options-D6hyIKJF.js";
3
+ import { a as PermDock, u as SnapshotOptions } from "./permdock-D4F2p5J8.js";
4
+ import { m as ApprovalStore } from "./types-BzxA2OAD.js";
5
+ import { a as ProblemDetails, t as ApprovalHint } from "./errors-OTE9u4Wk.js";
6
+ import { t as InstanceOptions } from "./instance-options-VPsNQsTH.js";
7
7
  import { t as RequestContext } from "./request-context-C2_1lchh.js";
8
- import { n as PermDockWrap } from "./wrap-C-4o-Dpy.js";
8
+ import { n as PermDockWrap } from "./wrap-CE5lxje7.js";
9
9
  import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
10
- import { r as PdpFactory } from "./types-BVn1w_0o.js";
11
- import { i as evaluationsHandler } from "./evaluations--rkKhMqY.js";
10
+ import { r as PdpFactory } from "./types-CMclYgSk.js";
11
+ import { i as evaluationsHandler } from "./evaluations-BgxEfPL7.js";
12
12
  //#region src/server/connection.d.ts
13
13
  type ConnectionData<T> = T | (() => T | null | undefined | Promise<T | null | undefined>);
14
14
  type ConnectionOptions<T = unknown> = {
@@ -1,7 +1,7 @@
1
- import { Mt as Credential, Tt as SupportSession, X as DecisionSink, _n as SinkEvent, _t as TokenSigner, cn as AutomationEvent, gn as MembershipEvent, ln as CredentialEvent, on as AccessEvent } from "./policy-types-Ky7P23CP.js";
1
+ import { Mt as Credential, Tt as SupportSession, X as DecisionSink, _n as SinkEvent, _t as TokenSigner, cn as AutomationEvent, gn as MembershipEvent, ln as CredentialEvent, on as AccessEvent } from "./policy-types-BI9C5Sp5.js";
2
2
  import { M as AppData } from "./permission-types-CAY-GU7e.js";
3
3
  import { u as OperationRisk } from "./operations-Ci_rT6Uo.js";
4
- import { t as Automation } from "./automation-BJiJT_Xr.js";
4
+ import { t as Automation } from "./automation-CpOk7Tlu.js";
5
5
  //#region src/core/sink.d.ts
6
6
  /**
7
7
  * The closed list of CloudEvents `type` values, `com.permdock.<family>` or
@@ -1,7 +1,7 @@
1
1
  import { t as defineLeaf } from "./command-L8EstFNm.js";
2
2
  import { t as checkFlag } from "./flags-BlmpmXoY.js";
3
3
  import { r as pick, t as CANCELLED } from "./prompt-BYc6drYW.js";
4
- import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-CyD_3eoi.js";
4
+ import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-Yz3LfoAZ.js";
5
5
  //#region src/cli/commands/skills.ts
6
6
  const forFlag = { for: {
7
7
  type: "string",
@@ -2,7 +2,7 @@ import { t as byCodePoint } from "./compare-DTfyUunF.js";
2
2
  import { i as readJsonFile } from "./files-BSjrtIHw.js";
3
3
  import { l as packageRoot } from "./version-DMQ0dnN5.js";
4
4
  import { t as didYouMean } from "./args-iafbHiXn.js";
5
- import { a as nonEmptyOr } from "./output-DYq_o2dM.js";
5
+ import { a as nonEmptyOr } from "./output-DZQCr2lP.js";
6
6
  import { cpSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, writeFileSync } from "node:fs";
7
7
  import { basename, dirname, join, relative, resolve } from "node:path";
8
8
  import { pathToFileURL } from "node:url";
@@ -1,4 +1,4 @@
1
- import { en as Snapshot, qt as Instant } from "./policy-types-Ky7P23CP.js";
1
+ import { en as Snapshot, qt as Instant } from "./policy-types-BI9C5Sp5.js";
2
2
  //#region src/core/snapshot-cache.d.ts
3
3
  type CacheLifeForOptions = {
4
4
  /**
@@ -1,11 +1,11 @@
1
- import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, tr as GrantedDecision, vr as Membership, vt as TokenVerifier } from "../policy-types-Ky7P23CP.js";
1
+ import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, tr as GrantedDecision, vr as Membership, vt as TokenVerifier } 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 { c as requiredPlans } from "../errors-POWcCXy7.js";
6
- import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DyN-HX6o.js";
4
+ import { d as UncheckedData, s as RowData } from "../permdock-D4F2p5J8.js";
5
+ import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
6
+ import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DibQM6g-.js";
7
7
  import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
8
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, 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";
8
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, 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";
9
9
  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";
10
10
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
11
11
  import { Accessor, Accessor as Accessor$1, JSX } from "solid-js";
@@ -1,9 +1,9 @@
1
- import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
3
  import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
4
- import { a as PermDock } from "../permdock-B45vPQb4.js";
5
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CwpJe664.js";
6
- import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-Bq4AB3W2.js";
4
+ import { a as PermDock } from "../permdock-D4F2p5J8.js";
5
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-ChzXWU4Y.js";
6
+ import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-DCQ4pZxf.js";
7
7
  import { APIEvent, FetchEvent } from "@solidjs/start/server";
8
8
  //#region src/solid-start/create.d.ts
9
9
  /** The h3 event under every SolidStart request; `subject` and `scope` read it. */
@@ -1,6 +1,6 @@
1
1
  import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
2
- import { i as decorate } from "../bind-BnKPWRrE.js";
3
- import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-Bm1iZolz.js";
2
+ import { i as decorate } from "../bind-gwEbe9hL.js";
3
+ import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-acq4dPX3.js";
4
4
  //#region src/solid-start/create.ts
5
5
  /**
6
6
  * `event.locals`. Its type, `App.RequestEventLocals`, is declared by
@@ -1,4 +1,4 @@
1
- import { it as MembershipSource, sn as AuthEvent, yr as Principal } from "./policy-types-Ky7P23CP.js";
1
+ import { it as MembershipSource, sn as AuthEvent, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
2
  import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
3
3
  import { t as ClientNames } from "./clients-C_NOET3z.js";
4
4
  import { c as SupabaseManifestMembership } from "./manifest-B5yF3CIq.js";
@@ -1,7 +1,7 @@
1
1
  import { 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 { r as ownGet } from "./paths-CUvURzHp.js";
4
- import { d as assertSqlFunctionArg, f as assertSqlFunctionName, l as normalizeWhere, u as assertPortableTwin } from "./role-builder-C_2kWB_x.js";
4
+ import { d as assertSqlFunctionArg, f as assertSqlFunctionName, l as normalizeWhere, p as assertSqlFunctionSet, u as assertPortableTwin } from "./role-builder-C5AgaC1x.js";
5
5
  import { n as PermDockDeniedError } from "./errors-ynga1EQy.js";
6
6
  import { o as sameId } from "./expiry-6XByK0dm.js";
7
7
  import { n as internalsOf } from "./internals-B3IgHrvo.js";
@@ -15,16 +15,16 @@ import { u as evaluateCondition } from "./delegation-aK4T_5WU.js";
15
15
  import { _ as listPlans, a as authenticated, m as findRole, o as flattenGrantee } from "./grantee-Dke-9rd1.js";
16
16
  import { a as normalizeApproval, r as assertApprovalRelations } from "./approval-normalize-hlfO9BJv.js";
17
17
  import { m as tenantsOf, r as isMembershipExpired } from "./tenancy-DvOHHk3-.js";
18
- import { c as levelNames, i as grantList, n as declaredRoleNames } from "./policy-DTmkP72P.js";
19
- import { o as isPortableCondition } from "./hosted-iOGBI_ER.js";
18
+ import { c as levelNames, i as grantList, n as declaredRoleNames } from "./policy-CaAME-Rh.js";
19
+ import { o as isPortableCondition } from "./hosted-C2Pmhy2x.js";
20
20
  import { n as isOperationRisk } from "./operation-risks-BKOcTv8J.js";
21
21
  import { n as isOperationEffect } from "./operations-Bm9HFecz.js";
22
- import { C as tenantCustomRoles, S as roleAllowKeys, f as customRoleId, l as ceilingGrants, m as customRoleScope, p as customRoleOf, x as resolveCustomRole } from "./evaluate-CrKkjgXS.js";
23
- import { a as heldLevels, f as bindingOf, h as usesAssigns, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-DXxcizAb.js";
22
+ import { C as tenantCustomRoles, S as roleAllowKeys, f as customRoleId, l as ceilingGrants, m as customRoleScope, p as customRoleOf, x as resolveCustomRole } from "./evaluate-Dcq_U2TV.js";
23
+ import { a as heldLevels, f as bindingOf, h as usesAssigns, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-SX8zH_1t.js";
24
24
  import { n as relationId } from "./relations-BxvRvDHK.js";
25
25
  import { i as snapshotGrant, r as plainPermission, t as buildSnapshot } from "./snapshot-DHPih65J.js";
26
26
  import { n as LOCAL_CUSTOM_ROLE } from "./parse-local-manifest-Ce2N-Opr.js";
27
- import { c as APP, r as resolveSubject } from "./permdock-DeOfonuG.js";
27
+ import { c as APP, r as resolveSubject } from "./permdock-C1DN_7a-.js";
28
28
  import { i as memoryApprovalStore } from "./store-CSOsXd5s.js";
29
29
  import { n as wrapPermDock } from "./wrap-C5PWzgkq.js";
30
30
  //#region src/conditions/sql-function.ts
@@ -32,12 +32,14 @@ function sqlFunction(name, options) {
32
32
  assertSqlFunctionName(name);
33
33
  const args = options.args ?? [];
34
34
  for (const arg of args) assertSqlFunctionArg(arg);
35
+ if (options.set !== void 0) assertSqlFunctionSet(options.set);
35
36
  const twin = normalizeWhere(options.twin);
36
37
  assertPortableTwin(twin);
37
38
  return freezeDeep({
38
39
  op: "sqlFunction",
39
40
  name,
40
41
  args,
42
+ ...options.set === void 0 ? {} : { set: options.set },
41
43
  twin
42
44
  });
43
45
  }
@@ -1,4 +1,4 @@
1
- import { A as SsfSubject, C as SsfEventName, D as SsfReceiver, E as SsfPermDockOptions, M as SsfTransmitterConfiguration, N as SsfVerification, O as SsfStreamConfiguration, S as SsfEventListener, T as SsfPermDock, _ as SetSubject, a as PollHandle, b as SsfEventHandler, c as PushSetOptions, d as SetDelivery, f as SetDeliveryFailureCause, g as SetQueue, h as SetPollHandlerOptions, i as CaepReason, j as SsfSubjectResolver, k as SsfStreamStatus, l as ReplayStore, m as SetEvent, n as CaepEventName, o as PollOptions, p as SetError, r as CaepInitiatingEntity, s as PollResult, t as CaepCommon, u as RiscEventName, v as SignSetOptions, w as SsfOnEvent, x as SsfEventInput, y as SsfAuditEvent } from "../types-oaqeYKQu.js";
2
- import { t as memoryReplayStore } from "../replay-BqmXcP7x.js";
3
- import { A as createPermDock, C as memorySsfStreamStore, D as PollSetsResult, E as PollSetsOptions, O as PolledSet, S as SsfStreamStore, T as setPollHandler, _ as SsfFanOut, a as CaepTokenClaimsChange, b as ssfTransmitter, c as RiscEvents, d as caepEvents, f as pushSet, g as FanOutSetOptions, h as streamVerificationEvent, i as CaepEvents, k as pollSets, l as SSF_POLL_DELIVERY, m as signSet, n as CaepCredentialChange, o as RiscAccountDisabled, p as riscEvents, r as CaepDeviceComplianceChange, s as RiscCredentialCompromise, t as CaepAssuranceLevelChange, u as SSF_PUSH_DELIVERY, v as SsfTransmitterOptions, w as memorySetQueue, x as SsfStream, y as fanOutSet } from "../index-C2pmTzFx.js";
1
+ import { A as SsfSubject, C as SsfEventName, D as SsfReceiver, E as SsfPermDockOptions, M as SsfTransmitterConfiguration, N as SsfVerification, O as SsfStreamConfiguration, S as SsfEventListener, T as SsfPermDock, _ as SetSubject, a as PollHandle, b as SsfEventHandler, c as PushSetOptions, d as SetDelivery, f as SetDeliveryFailureCause, g as SetQueue, h as SetPollHandlerOptions, i as CaepReason, j as SsfSubjectResolver, k as SsfStreamStatus, l as ReplayStore, m as SetEvent, n as CaepEventName, o as PollOptions, p as SetError, r as CaepInitiatingEntity, s as PollResult, t as CaepCommon, u as RiscEventName, v as SignSetOptions, w as SsfOnEvent, x as SsfEventInput, y as SsfAuditEvent } from "../types-DBVSljAx.js";
2
+ import { t as memoryReplayStore } from "../replay-DYXI4gRN.js";
3
+ import { A as createPermDock, C as memorySsfStreamStore, D as PollSetsResult, E as PollSetsOptions, O as PolledSet, S as SsfStreamStore, T as setPollHandler, _ as SsfFanOut, a as CaepTokenClaimsChange, b as ssfTransmitter, c as RiscEvents, d as caepEvents, f as pushSet, g as FanOutSetOptions, h as streamVerificationEvent, i as CaepEvents, k as pollSets, l as SSF_POLL_DELIVERY, m as signSet, n as CaepCredentialChange, o as RiscAccountDisabled, p as riscEvents, r as CaepDeviceComplianceChange, s as RiscCredentialCompromise, t as CaepAssuranceLevelChange, u as SSF_PUSH_DELIVERY, v as SsfTransmitterOptions, w as memorySetQueue, x as SsfStream, y as fanOutSet } from "../index--AwSBzJC.js";
4
4
  export { type CaepAssuranceLevelChange, type CaepCommon, type CaepCredentialChange, type CaepDeviceComplianceChange, type CaepEventName, type CaepEvents, type CaepInitiatingEntity, type CaepReason, type CaepTokenClaimsChange, type FanOutSetOptions, type PollHandle, type PollOptions, type PollResult, type PollSetsOptions, type PollSetsResult, type PolledSet, type PushSetOptions, type ReplayStore, type RiscAccountDisabled, type RiscCredentialCompromise, type RiscEventName, type RiscEvents, SSF_POLL_DELIVERY, SSF_PUSH_DELIVERY, type SetDelivery, type SetDeliveryFailureCause, type SetError, type SetEvent, type SetPollHandlerOptions, type SetQueue, type SetSubject, type SignSetOptions, type SsfAuditEvent, type SsfEventHandler, type SsfEventInput, type SsfEventListener, type SsfEventName, type SsfFanOut, type SsfOnEvent, type SsfPermDock, type SsfPermDockOptions, type SsfReceiver, type SsfStream, type SsfStreamConfiguration, type SsfStreamStatus, type SsfStreamStore, type SsfSubject, type SsfSubjectResolver, type SsfTransmitterConfiguration, type SsfTransmitterOptions, type SsfVerification, caepEvents, createPermDock, fanOutSet, memoryReplayStore, memorySetQueue, memorySsfStreamStore, pollSets, pushSet, riscEvents, setPollHandler, signSet, ssfTransmitter, streamVerificationEvent };
@@ -1,5 +1,5 @@
1
- import { _r as JsonWebKeyLike, qt as Instant } from "./policy-types-Ky7P23CP.js";
2
- import { l as ReplayStore } from "./types-oaqeYKQu.js";
1
+ import { _r as JsonWebKeyLike, qt as Instant } from "./policy-types-BI9C5Sp5.js";
2
+ import { l as ReplayStore } from "./types-DBVSljAx.js";
3
3
  //#region src/server/standard-webhooks.d.ts
4
4
  /** The three Standard Webhooks headers a delivery carries. */
5
5
  type WebhookHeaders = {
@@ -1,8 +1,8 @@
1
- import { N as PolicyVocabulary, Yn as Decision, en as Snapshot, hr as Delegation, lr as Actor, vt as TokenVerifier, yr as Principal } from "./policy-types-Ky7P23CP.js";
1
+ import { N as PolicyVocabulary, Yn as Decision, en as Snapshot, hr as Delegation, lr as Actor, vt as TokenVerifier, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "./permission-types-CAY-GU7e.js";
3
- import { a as PermDock } from "./permdock-B45vPQb4.js";
4
- import { a as ProblemDetails } from "./errors-POWcCXy7.js";
5
- import { n as DescribeMessages, t as DecisionDescription } from "./describe-DyN-HX6o.js";
3
+ import { a as PermDock } from "./permdock-D4F2p5J8.js";
4
+ import { a as ProblemDetails } from "./errors-OTE9u4Wk.js";
5
+ import { n as DescribeMessages, t as DecisionDescription } from "./describe-DibQM6g-.js";
6
6
  import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
7
7
  //#region src/core/action-result.d.ts
8
8
  /** What a `protectAction` action resolves to; both members cross to the client. */
@@ -1,10 +1,10 @@
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, 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";
7
- import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-Bwdumeos.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, 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
+ import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-C5p2hoBR.js";
8
8
  import { Readable } from "svelte/store";
9
9
  //#region src/svelte/stores.d.ts
10
10
  declare function setPermDock(options: SveltePermDockOptions): ClientPermDock;
@@ -1,8 +1,8 @@
1
- import { qt as Instant, xr as Subject } from "../policy-types-Ky7P23CP.js";
2
- import { i as ApprovalPolicySource } from "../approval-policies-CYqdqAob.js";
3
- import { a as ApprovalDelegationSource, m as ApprovalStore, u as ApprovalRequest } from "../types--HfnkawU.js";
4
- import { a as SupabaseRpcClient, c as readSubjectRecord, i as SupabaseRpcCaller, n as PostgrestSourcesOptions, o as SupabaseRpcResult, r as SubjectRecord, s as postgrestSources, t as PostgrestSources } from "../postgrest-pwxeaeOW.js";
5
- import { A as SupabaseSubjectOptions, B as supabaseClaims, C as SupabasePrincipal, D as SupabaseRlsOptions, E as SupabaseRlsMembershipTable, F as SupabaseClaims, I as SupabaseClaimsOptions, L as SupabaseClaimsSchema, M as SupabaseSuspendedScope, N as SupabaseSuspension, O as SupabaseSessionLike, P as SupabaseActClaim, R as SupabaseMembershipClaim, S as SupabasePermissionRef, T as SupabaseRlsConfig, _ as SupabaseActor, a as MembershipStream, b as SupabaseInclude, c as SupabasePostgres, d as supabasePostgresQuery, f as tableMembershipSource, g as SupabaseActiveRow, h as RoleThrough, i as MembershipSql, j as SupabaseSuspendedMembership, k as SupabaseStorage, l as authzVersion, n as MembershipHolders, o as MembershipTableOptions, p as AuthorizeSqlOptions, r as MembershipJunctionOptions, s as SqlMembershipSource, t as AUTHZ_VERSION_TABLE, u as junctionMembershipSource, v as SupabaseActorResult, w as SupabaseRealtime, x as SupabaseMembershipTable, y as SupabaseDelegation, z as SupabasePermDockClaims } from "../sources-4d3fl7cq.js";
1
+ import { qt as Instant, xr as Subject } from "../policy-types-BI9C5Sp5.js";
2
+ import { i as ApprovalPolicySource } from "../approval-policies-CKlByf5o.js";
3
+ import { a as ApprovalDelegationSource, m as ApprovalStore, u as ApprovalRequest } from "../types-BzxA2OAD.js";
4
+ import { a as SupabaseRpcClient, c as readSubjectRecord, i as SupabaseRpcCaller, n as PostgrestSourcesOptions, o as SupabaseRpcResult, r as SubjectRecord, s as postgrestSources, t as PostgrestSources } from "../postgrest-CWCCbaxm.js";
5
+ import { A as SupabaseSubjectOptions, B as supabaseClaims, C as SupabasePrincipal, D as SupabaseRlsOptions, E as SupabaseRlsMembershipTable, F as SupabaseClaims, I as SupabaseClaimsOptions, L as SupabaseClaimsSchema, M as SupabaseSuspendedScope, N as SupabaseSuspension, O as SupabaseSessionLike, P as SupabaseActClaim, R as SupabaseMembershipClaim, S as SupabasePermissionRef, T as SupabaseRlsConfig, _ as SupabaseActor, a as MembershipStream, b as SupabaseInclude, c as SupabasePostgres, d as supabasePostgresQuery, f as tableMembershipSource, g as SupabaseActiveRow, h as RoleThrough, i as MembershipSql, j as SupabaseSuspendedMembership, k as SupabaseStorage, l as authzVersion, n as MembershipHolders, o as MembershipTableOptions, p as AuthorizeSqlOptions, r as MembershipJunctionOptions, s as SqlMembershipSource, t as AUTHZ_VERSION_TABLE, u as junctionMembershipSource, v as SupabaseActorResult, w as SupabaseRealtime, x as SupabaseMembershipTable, y as SupabaseDelegation, z as SupabasePermDockClaims } from "../sources-sgQlMfmz.js";
6
6
  import { _ as hasTokenHook, a as SupabaseManifestActiveRow, c as SupabaseManifestMembership, d as SupabaseManifestResourceNames, f as SupabaseManifestRls, g as SupabaseManifestValue, h as SupabaseManifestThrough, i as SupabaseManifest, l as SupabaseManifestNames, m as SupabaseManifestScopeNames, n as SupabaseHookClaim, o as SupabaseManifestColumn, p as SupabaseManifestRole, r as SupabaseHookManifest, s as SupabaseManifestHelper, t as SupabaseDatabaseManifest, u as SupabaseManifestRequires, v as parseSupabaseManifest } from "../manifest-B5yF3CIq.js";
7
7
  import { t as SqlQuery } from "../sql-B80DFdpG.js";
8
8
  import { n as supabaseTenantClaim, t as supabaseMembershipsBudget } from "../budget-CNLsV2SL.js";
@@ -1,10 +1,10 @@
1
- import { D as Policy, N as PolicyVocabulary, xr as Subject, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { D as Policy, N as PolicyVocabulary, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { a as PermDock } from "../permdock-B45vPQb4.js";
4
- import { t as InstanceOptions } from "../instance-options-D6hyIKJF.js";
3
+ import { a as PermDock } from "../permdock-D4F2p5J8.js";
4
+ import { t as InstanceOptions } from "../instance-options-VPsNQsTH.js";
5
5
  import { t as RequestContext } from "../request-context-C2_1lchh.js";
6
- import { i as OpenApiHooks } from "../server-types-CwpJe664.js";
7
- import { n as ServerAdapterServices } from "../bind-SpRxR213.js";
6
+ import { i as OpenApiHooks } from "../server-types-ChzXWU4Y.js";
7
+ import { n as ServerAdapterServices } from "../bind-CW7nsZ86.js";
8
8
  import { FetchHandler, Middleware } from "@supabase/middleware";
9
9
  //#region src/supabase/middleware.d.ts
10
10
  /**
@@ -1,11 +1,11 @@
1
1
  import { t as compact } from "../compact-CAf557ZB.js";
2
- import { l as withApp } from "../permdock-DeOfonuG.js";
2
+ import { l as withApp } from "../permdock-C1DN_7a-.js";
3
3
  import { t as composeWraps } from "../wrap-C5PWzgkq.js";
4
4
  import { r as credentialSubject } from "../credential-B3Hj4puZ.js";
5
5
  import { o as methodNotAllowed } from "../problem-BWP1l86g.js";
6
- import { r as instanceOptions } from "../build-instance-DrIbZVnm.js";
7
- import { t as createPermDock$1 } from "../create-CegYmYHu.js";
8
- import { n as attached } from "../bind-BnKPWRrE.js";
6
+ import { r as instanceOptions } from "../build-instance-DaBdCRiz.js";
7
+ import { t as createPermDock$1 } from "../create-DDUFG1ul.js";
8
+ import { n as attached } from "../bind-gwEbe9hL.js";
9
9
  import { defineMiddleware } from "@supabase/middleware";
10
10
  //#region src/supabase/middleware.ts
11
11
  const SECRET_KEY_NAME = /^[A-Za-z0-9_-]+$/u;
@@ -47,7 +47,7 @@ const hookGenerate = defineLeaf({
47
47
  const budget = given(flags.budget);
48
48
  const schema = given(flags.schema);
49
49
  const grantsOut = given(flags["grants-out"]);
50
- const { runSupabase } = await import("./supabase-hook-2M-EpoRp.js");
50
+ const { runSupabase } = await import("./supabase-hook-Clczf4iF.js");
51
51
  return runSupabase({
52
52
  cwd: ctx.cwd,
53
53
  config: ctx.config,
@@ -76,7 +76,7 @@ const inspect = defineLeaf({
76
76
  },
77
77
  async run(ctx, { flags }) {
78
78
  const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
79
- const { runSupabase } = await import("./supabase-hook-2M-EpoRp.js");
79
+ const { runSupabase } = await import("./supabase-hook-Clczf4iF.js");
80
80
  return runSupabase({
81
81
  cwd: ctx.cwd,
82
82
  config: ctx.config,
@@ -0,0 +1 @@
1
+ export { i as runSupabase } from "./supabase-hook-bDeWbKee.js";
@@ -20,12 +20,12 @@ import { n as MIGRATION_DIRS } from "./constants-DcJABbLW.js";
20
20
  import { f as writeOutputFiles, l as partPath, r as driftOf, u as pgDeltaPath } from "./output-files-CM0BnH05.js";
21
21
  import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
22
22
  import { A as quoteQualified, D as qualified, F as firstScopeType, I as scopeTypeOf, O as quoteIdent, R as tenantTypeOf, a as customRolesOn, j as quoteTable, k as quoteLiteral, l as USER_ID_HELPER, r as HELPERS, y as subjectIdSql } from "./shared-DyYVEjKC.js";
23
- import { E as TOKEN_SCOPE_ALLOWS, J as apiKeyFields, K as API_KEY_ALLOWS, R as globalRoleSource, _ as PERMISSION_HELPERS, at as memberForHelper, b as permissionKeysForHelper, bt as checkSuspension, ct as memberIdsHelper, dt as permittedForHelper, et as hasMemberFor, ft as permittedIdsHelper, g as OWNERSHIP, h as ASSIGNMENTS, lt as memberOfHelper, ot as memberForSources, rt as isTeamScope, st as memberForTable, tt as hasPermittedUsers, ut as memberRoleOf, v as checkName, vt as activeRowSql, x as permittedByPermissionHelper } from "./tables-B72q9UFD.js";
24
- import { a as guardedTables, t as ownershipRules, u as roleNames } from "./ownership-CrmMERZv.js";
23
+ import { E as TOKEN_SCOPE_ALLOWS, J as apiKeyFields, K as API_KEY_ALLOWS, R as globalRoleSource, _ as PERMISSION_HELPERS, at as memberForHelper, b as permissionKeysForHelper, bt as checkSuspension, ct as memberIdsHelper, dt as permittedForHelper, et as hasMemberFor, ft as permittedIdsHelper, g as OWNERSHIP, h as ASSIGNMENTS, lt as memberOfHelper, ot as memberForSources, rt as isTeamScope, st as memberForTable, tt as hasPermittedUsers, ut as memberRoleOf, v as checkName, vt as activeRowSql, x as permittedByPermissionHelper } from "./tables-C53U2zrN.js";
24
+ import { a as guardedTables, t as ownershipRules, u as roleNames } from "./ownership-CBuIjxKh.js";
25
25
  import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
26
26
  import { a as splitUndiffed, r as tableKey, t as decidingColumns } from "./deciding-columns-NB4wcyBf.js";
27
27
  import { c as ACTOR_MAY_WRITE, f as readOnlyActorKinds } from "./fields-COvJbUva.js";
28
- import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-Dg8560iu.js";
28
+ import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-CDnxNqNb.js";
29
29
  import { existsSync, readFileSync, readdirSync } from "node:fs";
30
30
  import { dirname, join, posix, resolve } from "node:path";
31
31
  //#region ../../node_modules/.pnpm/smol-toml@1.9.1/node_modules/smol-toml/dist/error.js
@@ -1,22 +1,22 @@
1
1
  import { c as listPermissions, u as renamedKeys } from "./permission-registry-B8tYxPIt.js";
2
2
  import { d as scopeList, s as resolveScope } from "./scopes-BSdYaGHs.js";
3
3
  import { o as flattenGrantee } from "./grantee-Dke-9rd1.js";
4
- import { l as policyLevels } from "./policy-DTmkP72P.js";
4
+ import { l as policyLevels } from "./policy-CaAME-Rh.js";
5
5
  import { a as describeError, i as configError } from "./errors-BhRkoNS7.js";
6
6
  import "./budget-BBCPDOGP.js";
7
7
  import { d as sqlTextArray, i as qualifySqlTable } from "./sql-0WjxIp9g.js";
8
8
  import { l as roleColumn } from "./sources-C4vkzZJV.js";
9
9
  import { t as beforeFirst } from "./text-BMFRfBqc.js";
10
10
  import { c as parseSplit } from "./output-files-CM0BnH05.js";
11
- import { x as resolveAuthorize } from "./supabase-hook-Btk56XD6.js";
11
+ import { x as resolveAuthorize } from "./supabase-hook-bDeWbKee.js";
12
12
  import { A as quoteQualified, C as parseMembershipsFlag, D as qualified, F as firstScopeType, O as quoteIdent, R as tenantTypeOf, a as customRolesOn, j as quoteTable, k as quoteLiteral, s as signedIn, t as CUSTOM_ROLES } from "./shared-DyYVEjKC.js";
13
- import { G as byKey, H as rolesTableScope, O as tokenScopesPlan, Q as graphSqlName, V as raiseSql, W as byCodeUnit, Y as apiKeysPlan, a as closureDepths, bt as checkSuspension, i as tablelessResources, o as graphPlan, r as tableNames, t as resolveVias, z as currentKeyExpr } from "./tables-B72q9UFD.js";
14
- import { o as assignableRoles, r as unsatisfiedKinds, t as ownershipRules, u as roleNames } from "./ownership-CrmMERZv.js";
13
+ import { G as byKey, H as rolesTableScope, O as tokenScopesPlan, Q as graphSqlName, V as raiseSql, W as byCodeUnit, Y as apiKeysPlan, a as closureDepths, bt as checkSuspension, i as tablelessResources, o as graphPlan, r as tableNames, t as resolveVias, z as currentKeyExpr } from "./tables-C53U2zrN.js";
14
+ import { o as assignableRoles, r as unsatisfiedKinds, t as ownershipRules, u as roleNames } from "./ownership-CBuIjxKh.js";
15
15
  import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
16
16
  import { i as group, o as sqlStatements } from "./deciding-columns-NB4wcyBf.js";
17
17
  import { d as orSql, h as branchClauses } from "./fields-COvJbUva.js";
18
- import { t as resolveNames } from "./resolve-names-Dg8560iu.js";
19
- import { m as tableFor } from "./verify-CaaZlnP5.js";
18
+ import { t as resolveNames } from "./resolve-names-CDnxNqNb.js";
19
+ import { m as tableFor } from "./verify-DFruUfZg.js";
20
20
  //#region src/cli/rls/custom-role-rebuild.ts
21
21
  const PREFIX = "PermDock CLI";
22
22
  /** A column of the roles-table row `r`. */
@@ -1,11 +1,11 @@
1
- import { c as requiredPlans } from "../errors-POWcCXy7.js";
2
- import { i as describe } from "../describe-DyN-HX6o.js";
1
+ import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
2
+ import { i as describe } from "../describe-DibQM6g-.js";
3
3
  import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
4
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, 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";
4
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, 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";
5
5
  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";
6
6
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
7
- import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-Bwdumeos.js";
8
- import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-Cam6GGAV.js";
7
+ import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-C5p2hoBR.js";
8
+ import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-C2A6KsxE.js";
9
9
  import { Component } from "svelte";
10
10
  //#region src/svelte/index.d.ts
11
11
  export declare const Protected: Component<ProtectedProps>;
@@ -1,7 +1,7 @@
1
- import { n as DescribeMessages } from "../describe-DyN-HX6o.js";
1
+ import { n as DescribeMessages } from "../describe-DibQM6g-.js";
2
2
  import { n as boundaryDigest, r as boundaryFallback, t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
3
- import { t as ClientStore } from "../store-CjJaZI_g.js";
4
- import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-Bwdumeos.js";
3
+ import { t as ClientStore } from "../store-Dpg_fSNQ.js";
4
+ import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-C5p2hoBR.js";
5
5
  //#region src/svelte/context.d.ts
6
6
  /** The provider's `defaults` and `messages`. */
7
7
  type PermDockUi = {
@@ -1,11 +1,11 @@
1
- import { c as requiredPlans } from "../errors-POWcCXy7.js";
2
- import { i as describe } from "../describe-DyN-HX6o.js";
1
+ import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
2
+ import { i as describe } from "../describe-DibQM6g-.js";
3
3
  import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
4
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, 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";
4
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, 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";
5
5
  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";
6
6
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
7
- import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-Bwdumeos.js";
8
- import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-Cam6GGAV.js";
7
+ import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-C5p2hoBR.js";
8
+ import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-C2A6KsxE.js";
9
9
  import { Component } from "svelte";
10
10
  //#region src/svelte/source.d.ts
11
11
  export declare const Protected: Component<ProtectedProps>;
@@ -1,9 +1,9 @@
1
- import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
3
  import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
4
- import { a as PermDock } from "../permdock-B45vPQb4.js";
5
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CwpJe664.js";
6
- import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-Bq4AB3W2.js";
4
+ import { a as PermDock } from "../permdock-D4F2p5J8.js";
5
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-ChzXWU4Y.js";
6
+ import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-DCQ4pZxf.js";
7
7
  import { RequestEvent } from "@sveltejs/kit";
8
8
  //#region src/sveltekit/create.d.ts
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
2
- import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-Bm1iZolz.js";
2
+ import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-acq4dPX3.js";
3
3
  //#region src/sveltekit/create.ts
4
4
  const route = {
5
5
  context: (event) => event,
@@ -4,7 +4,7 @@ import { c as rootScope, d as scopeList, l as scopeChain, s as resolveScope } fr
4
4
  import { o as flattenGrantee } from "./grantee-Dke-9rd1.js";
5
5
  import { r as relationCondition, t as inheritCondition } from "./grantee-conditions-DX4K_gGI.js";
6
6
  import { l as partitionsOf, p as scopeField } from "./tenancy-DvOHHk3-.js";
7
- import { a as delegatedScopeMap } from "./permdock-DeOfonuG.js";
7
+ import { a as delegatedScopeMap } from "./permdock-C1DN_7a-.js";
8
8
  import { i as configError } from "./errors-BhRkoNS7.js";
9
9
  import { d as sqlTextArray, i as qualifySqlTable, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
10
10
  import { a as scopeMembershipTable, d as restrictedRowsSql, i as scopeColumn, l as relationArmSql } from "./compile-B_oJqmIg.js";
@@ -1,9 +1,9 @@
1
- import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
3
  import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
4
- import { a as PermDock } from "../permdock-B45vPQb4.js";
5
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CwpJe664.js";
6
- import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-Bq4AB3W2.js";
4
+ import { a as PermDock } from "../permdock-D4F2p5J8.js";
5
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-ChzXWU4Y.js";
6
+ import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-DCQ4pZxf.js";
7
7
  import { RequestMiddleware, RequestMiddlewareAfterServer, createMiddleware } from "@tanstack/react-start";
8
8
  //#region src/tanstack-start/create.d.ts
9
9
  type TanStackStartPermDockOptions<TUser = unknown> = FetchAdapterOptions<Request, TUser>;
@@ -1,5 +1,5 @@
1
1
  import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
2
- import { t as fetchAdapter } from "../fetch-adapter-Bm1iZolz.js";
2
+ import { t as fetchAdapter } from "../fetch-adapter-acq4dPX3.js";
3
3
  import { createMiddleware } from "@tanstack/react-start";
4
4
  //#region src/tanstack-start/create.ts
5
5
  function createPermDock(policy, options) {
@@ -1,9 +1,9 @@
1
- import { D as Policy, N as PolicyVocabulary, Yn as Decision, qt as Instant, xr as Subject, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { D as Policy, N as PolicyVocabulary, Yn as Decision, qt as Instant, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { a as PermDock } from "../permdock-B45vPQb4.js";
4
- import { m as ApprovalStore } from "../types--HfnkawU.js";
5
- import { a as ProblemDetails, t as ApprovalHint } from "../errors-POWcCXy7.js";
6
- import { t as InstanceOptions } from "../instance-options-D6hyIKJF.js";
3
+ import { a as PermDock } from "../permdock-D4F2p5J8.js";
4
+ import { m as ApprovalStore } from "../types-BzxA2OAD.js";
5
+ import { a as ProblemDetails, t as ApprovalHint } from "../errors-OTE9u4Wk.js";
6
+ import { t as InstanceOptions } from "../instance-options-VPsNQsTH.js";
7
7
  //#region src/terminal/types.d.ts
8
8
  type TokenSourceName = "device" | "keychain" | "env" | "ci-oidc";
9
9
  type TokenSource = TokenSourceName | {
@@ -3,11 +3,11 @@ import { a as deniedMessage, i as approvalMessage, n as PermDockDeniedError, t a
3
3
  import { h as secondsAt } from "../time-nR1JesoH.js";
4
4
  import { r as isSubject } from "../subject-C7RddW0G.js";
5
5
  import { n as resourceRef } from "../resource-ref-CaS9yVPi.js";
6
- import { l as withApp } from "../permdock-DeOfonuG.js";
6
+ import { l as withApp } from "../permdock-C1DN_7a-.js";
7
7
  import { n as readBodyText } from "../body-text-DQhcmqdY.js";
8
8
  import { l as storedApprovalToken, s as resumeDecision } from "../helpers-D-MXwkOF.js";
9
9
  import { t as timeoutSignal } from "../timeout-D51niuQP.js";
10
- import { n as resolveOrNull, t as buildInstance } from "../build-instance-DrIbZVnm.js";
10
+ import { n as resolveOrNull, t as buildInstance } from "../build-instance-DaBdCRiz.js";
11
11
  import { a as refreshCredential, o as revokeCredential, s as runDeviceFlow, t as TERMINAL_TIMEOUT_MS } from "../device-BwbJNmb2.js";
12
12
  import { i as writeCredentials, n as deleteCredentials, r as readCredentials } from "../storage-C2bWdvJH.js";
13
13
  import { createInterface } from "node:readline";
@@ -1,2 +1,2 @@
1
- import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-DNRWXyj4.js";
1
+ import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-BOeGWbcR.js";
2
2
  export { type DescribePolicyConfig, type MatrixCell, type MatrixOutcome, type OrmParityCase, type OrmParityOptions, type OrmParityReport, type OrmParityRunInput, type OrmParityScenario, type PolicyMatrixCell, type PolicyMatrixReport, type RlsDbOutcome, type RlsFieldsOutcome, type RlsParityCase, type RlsParityFixture, type RlsParityOptions, type RlsParityReport, type RlsParitySubject, type RlsQueryFn, type RlsQueryResult, policyMatrix, testOrmParity, testRlsParity };
@@ -1 +1 @@
1
- export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-ZIWZBi6-.js";
1
+ export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-BwVkrpsi.js";
@@ -1,31 +1,31 @@
1
- import { Ct as WhereCompiler, D as Policy, G as CredentialVerifier, X as DecisionSink, Y as DecisionProvider, Z as EntitlementSource, _t as TokenSigner, ct as RelationSource, dn as DeliveryChannel, en as Snapshot, it as MembershipSource, lt as SettingsSource, mt as SubjectResolver, nt as LimitStore, q as CustomRoleSource, ut as SnapshotSource, vr as Membership, vt as TokenVerifier, xr as Subject, yr as Principal } from "../policy-types-Ky7P23CP.js";
1
+ import { Ct as WhereCompiler, D as Policy, G as CredentialVerifier, X as DecisionSink, Y as DecisionProvider, Z as EntitlementSource, _t as TokenSigner, ct as RelationSource, dn as DeliveryChannel, en as Snapshot, it as MembershipSource, lt as SettingsSource, mt as SubjectResolver, nt as LimitStore, q as CustomRoleSource, ut as SnapshotSource, vr as Membership, vt as TokenVerifier, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
2
  import { g as ResourceInit, l as InferPermissionTree, u as Permission } from "../permission-types-CAY-GU7e.js";
3
3
  import { r as Role } from "../vocabulary-DEJ5j4mR.js";
4
- import { st as LegacyCheck } from "../index-Cm6mHTZ-.js";
5
- import { i as ApprovalPolicySource } from "../approval-policies-CYqdqAob.js";
6
- import { _ as PrincipalSource, a as PermDock, b as Limits, h as PrincipalIdentity, u as SnapshotOptions, w as InstanceCache } from "../permdock-B45vPQb4.js";
7
- import { s as PolicySource } from "../hosted-H1xp5Dfw.js";
8
- import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types--HfnkawU.js";
9
- import { a as ProblemDetails } from "../errors-POWcCXy7.js";
10
- import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-0B_bjJc-.js";
11
- import { c as AccessReviewStore } from "../types-Do4yihST.js";
12
- import { R as IdempotencyStore } from "../index-DZnpRB0q.js";
4
+ import { st as LegacyCheck } from "../index-D7xGi1LS.js";
5
+ import { i as ApprovalPolicySource } from "../approval-policies-CKlByf5o.js";
6
+ import { _ as PrincipalSource, a as PermDock, b as Limits, h as PrincipalIdentity, u as SnapshotOptions, w as InstanceCache } from "../permdock-D4F2p5J8.js";
7
+ import { s as PolicySource } from "../hosted-yhyAuQkL.js";
8
+ import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types-BzxA2OAD.js";
9
+ import { a as ProblemDetails } from "../errors-OTE9u4Wk.js";
10
+ import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-DMCC5ZOi.js";
11
+ import { c as AccessReviewStore } from "../types-DZwEOsK1.js";
12
+ import { R as IdempotencyStore } from "../index-CruReRkB.js";
13
13
  import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
14
- import { s as SupportSessionSource } from "../index-DLlWORcK.js";
15
- import { n as VersionCache } from "../version-cache-Ddvrfn1R.js";
14
+ import { s as SupportSessionSource } from "../index-B_I6N8Ju.js";
15
+ import { n as VersionCache } from "../version-cache-q5cpaDSt.js";
16
16
  import { r as SupabaseHookManifest } from "../manifest-B5yF3CIq.js";
17
17
  import { t as supabaseMembershipsBudget } from "../budget-CNLsV2SL.js";
18
- import { a as AutomationSource, t as Automation } from "../automation-BJiJT_Xr.js";
19
- import { c as DeliveryTransport, g as TransportMessages } from "../types-Do8qBcRO.js";
20
- import { t as CloudApproverOptions } from "../types-CChFKY10.js";
21
- import { n as ApprovalWaiter } from "../waiter-CROiWRIP.js";
22
- import { g as SetQueue, l as ReplayStore } from "../types-oaqeYKQu.js";
23
- import { r as SnapshotStorage } from "../types-OLSfBLa5.js";
24
- import { x as DirectoryStore } from "../index-C5Tfpjex.js";
25
- import { S as SsfStreamStore } from "../index-C2pmTzFx.js";
26
- import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-DNRWXyj4.js";
18
+ import { a as AutomationSource, t as Automation } from "../automation-CpOk7Tlu.js";
19
+ import { c as DeliveryTransport, g as TransportMessages } from "../types-p8mhWTcR.js";
20
+ import { t as CloudApproverOptions } from "../types--_lpWUGV.js";
21
+ import { n as ApprovalWaiter } from "../waiter-BjVI_Byg.js";
22
+ import { g as SetQueue, l as ReplayStore } from "../types-DBVSljAx.js";
23
+ import { r as SnapshotStorage } from "../types-Drs3OOAy.js";
24
+ import { x as DirectoryStore } from "../index-CLbGOPBr.js";
25
+ import { S as SsfStreamStore } from "../index--AwSBzJC.js";
26
+ import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-BOeGWbcR.js";
27
27
  import { a as SaasProject } from "../permissions-Bx6UI8n1.js";
28
- import { n as saasPolicy } from "../policy-re2Oag8s.js";
28
+ import { n as saasPolicy } from "../policy-Dh9WVSVz.js";
29
29
  import { expectTypeOf } from "vitest";
30
30
  //#region src/testing/describe-policy.d.ts
31
31
  /** `policyMatrix` under Vitest: one test per cell, plus the exhaustive check. */